Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit f80496d

Browse files
committed
Update project
1 parent 595d46d commit f80496d

File tree

8 files changed

+137
-1809
lines changed

8 files changed

+137
-1809
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
with:
2020
version: 6
2121

22-
- name: Set node version to 14
22+
- name: Set node version to 16
2323
uses: actions/setup-node@v2
2424
with:
25-
node-version: 14
25+
node-version: 16
2626
cache: 'pnpm'
2727

2828
- name: Versions
@@ -31,7 +31,7 @@ jobs:
3131
echo "npm : $(npm --version)"
3232
echo "node: $(node --version)"
3333
echo "process.versions:"
34-
pnpm node -p process.versions
34+
node -p process.versions
3535
3636
- name: Install dependencies
3737
run: pnpm install --frozen-lockfile

.prettierrc.cjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// @ts-check
2+
3+
/**
4+
* @type {import('prettier').Options}
5+
*/
6+
module.exports = {
7+
plugins: [require.resolve('prettier-plugin-organize-imports')],
8+
9+
arrowParens: 'always',
10+
bracketSpacing: true,
11+
printWidth: 120,
12+
semi: true,
13+
singleQuote: true,
14+
tabWidth: 2,
15+
trailingComma: 'none',
16+
useTabs: false
17+
};

.prettierrc.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,31 @@
4040
],
4141
"devDependencies": {
4242
"@types/eslint": "~7.28.2",
43-
"@types/node": "~16.11.4",
43+
"@types/node": "~16.11.6",
4444
"@types/prettier": "~2.4.1",
45-
"@typescript-eslint/eslint-plugin": "~5.1.1-alpha.8",
46-
"@typescript-eslint/parser": "~5.1.1-alpha.8",
45+
"@typescript-eslint/eslint-plugin": "~5.2.0",
46+
"@typescript-eslint/parser": "~5.2.0",
4747
"change-case": "~4.1.2",
4848
"eslint": "~8.1.0",
4949
"eslint-config-prettier": "~8.3.0",
5050
"eslint-plugin-inclusive-language": "~2.1.1",
51-
"eslint-plugin-jsdoc": "~37.0.0",
51+
"eslint-plugin-jsdoc": "~37.0.3",
5252
"eslint-plugin-node": "~11.1.0",
5353
"eslint-plugin-prettier": "~4.0.0",
5454
"eslint-plugin-spellcheck": "~0.0.19",
5555
"eslint-plugin-unicorn": "~37.0.1",
5656
"eslint-plugin-vue": "~7.20.0",
5757
"esno": "~0.10.1",
5858
"json-schema-to-typescript": "~10.1.5",
59-
"np": "~7.5.0",
6059
"prettier": "2.4.1",
6160
"prettier-plugin-organize-imports": "~2.3.4",
6261
"typescript": "~4.4.4",
6362
"upper-case-first": "~2.0.2"
63+
},
64+
"packageManager": "pnpm@6",
65+
"engines": {
66+
"node": ">= 16.9.0",
67+
"npm": ">= 7.0.0",
68+
"pnpm": ">= 6.17.0"
6469
}
6570
}

0 commit comments

Comments
 (0)