Skip to content

Commit 535c145

Browse files
authored
Merge pull request #5 from razor-x/prettier
Prettier
2 parents aecd0d0 + fce326f commit 535c145

File tree

20 files changed

+537
-433
lines changed

20 files changed

+537
-433
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,27 @@ on:
77
jobs:
88
test:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 30
11+
strategy:
12+
matrix:
13+
node:
14+
- '14'
15+
- '16'
16+
io:
17+
- noop
18+
- linux
1019
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
20+
- name: Checkout
21+
uses: actions/checkout@v3
22+
- name: Setup
23+
uses: actions/setup-node@v3
1324
with:
1425
cache: npm
15-
node-version: '16'
16-
registry-url: 'https://registry.npmjs.org'
17-
- run: npm ci
18-
- name: Test noop IO
26+
node-version: ${{ matrix.node }}
27+
- name: Install dependencies
28+
run: npm ci
29+
- name: Test
1930
run: npm test
2031
env:
21-
CURATOR_IO: noop
22-
CURATOR_PKG: noop
23-
- name: Test linux IO
24-
run: npm test
25-
env:
26-
CURATOR_IO: linux
32+
CURATOR_IO: ${{ matrix.io }}
2733
CURATOR_PKG: noop

.github/workflows/publish.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
---
2-
name: release
2+
name: publish
33

44
on:
55
push:
66
tags:
77
- 'v*'
88

99
jobs:
10-
publish:
10+
npm:
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 30
1213
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
15-
with:
16-
cache: npm
17-
node-version: '16'
18-
registry-url: 'https://registry.npmjs.org'
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- name: Setup
17+
uses: actions/setup-node@v3
1918
- name: Publish
2019
uses: JS-DevTools/npm-publish@v1
2120
with:

.gitignore

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Parts of this file were adapted from
22
# GitHub’s collection of .gitignore file templates
3-
# which are Copyright (c) 2020 GitHub, Inc.
3+
# which are Copyright (c) 2022 GitHub, Inc.
44
# and released under the MIT License.
55
# For more details, visit the project page:
66
# https://github.com/github/gitignore
@@ -18,7 +18,10 @@ test/dest
1818
# npm config
1919
.npmrc
2020

21-
# Yarn lockfile (only npm supported)
21+
# Temporary development files
22+
tmp
23+
24+
# Yarn lockfile (only package-lock.json supported)
2225
yarn.lock
2326

2427
# Logs
@@ -28,6 +31,7 @@ npm-debug.log*
2831
yarn-debug.log*
2932
yarn-error.log*
3033
lerna-debug.log*
34+
.pnpm-debug.log*
3135

3236
# Diagnostic reports (https://nodejs.org/api/report.html)
3337
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -76,6 +80,9 @@ web_modules/
7680
# Optional eslint cache
7781
.eslintcache
7882

83+
# Optional stylelint cache
84+
.stylelintcache
85+
7986
# Microbundle cache
8087
.rpt2_cache/
8188
.rts2_cache_cjs/
@@ -91,9 +98,12 @@ web_modules/
9198
# Yarn Integrity file
9299
.yarn-integrity
93100

94-
# dotenv environment variables file
101+
# dotenv environment variable files
95102
.env
96-
.env.test
103+
.env.development.local
104+
.env.test.local
105+
.env.production.local
106+
.env.local
97107

98108
# parcel-bundler cache (https://parceljs.org/)
99109
.cache
@@ -116,6 +126,13 @@ dist
116126
# vuepress build output
117127
.vuepress/dist
118128

129+
# vuepress v2.x temp and cache directory
130+
.temp
131+
.cache
132+
133+
# Docusaurus cache and generated files
134+
.docusaurus
135+
119136
# Serverless directories
120137
.serverless/
121138

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/gallium

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"jsxSingleQuote": true,
5+
"trailingComma": "none",
6+
"endOfLine": "lf"
7+
}

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017-2018 Evan Sosenko
3+
Copyright (c) 2017-2022 Evan Sosenko
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

0 commit comments

Comments
 (0)