File tree Expand file tree Collapse file tree 3 files changed +32
-25
lines changed
Expand file tree Collapse file tree 3 files changed +32
-25
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,17 @@ on: [push, pull_request]
44
55env :
66 FORCE_COLOR : 2
7-
87jobs :
98 full :
10- name : Node.js 15 Full
9+ name : Node.js 16 Full
1110 runs-on : ubuntu-latest
1211 steps :
1312 - name : Checkout the repository
1413 uses : actions/checkout@v2
1514 - name : Install Node.js
16- uses : actions/setup-node@v2-beta
15+ uses : actions/setup-node@v2
1716 with :
18- node-version : 15
17+ node-version : 16
1918 - name : Install dependencies
2019 uses : bahmutov/npm-install@v1
2120 - name : Run tests
Original file line number Diff line number Diff line change 1717 "license" : " MIT" ,
1818 "repository" : " logux/vue-devtools" ,
1919 "sideEffects" : false ,
20- "types" : " ./index.d.ts" ,
2120 "type" : " module" ,
21+ "types" : " ./index.d.ts" ,
22+ "exports" : {
23+ "." : " ./index.js"
24+ },
2225 "engines" : {
23- "node" : " ^12.0.0 || >=14 .0.0"
26+ "node" : " ^12.0.0 || ^14.0.0 || >=16 .0.0"
2427 },
2528 "peerDependencies" : {
2629 "@logux/client" : " logux/client#next" ,
5558 "prettier" : " ^2.2.1" ,
5659 "simple-git-hooks" : " ^2.4.1"
5760 },
58- "husky" : {
59- "hooks" : {
60- "pre-commit" : " lint-staged"
61- }
61+ "simple-git-hooks" : {
62+ "pre-commit" : " npx lint-staged"
6263 },
6364 "lint-staged" : {
6465 "*.md" : " yaspeller" ,
65- "*.js" : " eslint" ,
66- "*.ts" : " eslint"
66+ "*.js" : [
67+ " prettier --write" ,
68+ " eslint"
69+ ],
70+ "*.ts" : [
71+ " prettier --write" ,
72+ " eslint"
73+ ]
6774 },
68- "jest" : {
69- "preset" : " ts-jest" ,
70- "testEnvironment" : " node" ,
71- "coverageThreshold" : {
72- "global" : {
73- "statements" : 100
74- }
75- }
75+ "prettier" : {
76+ "arrowParens" : " avoid" ,
77+ "jsxSingleQuote" : false ,
78+ "quoteProps" : " consistent" ,
79+ "semi" : false ,
80+ "singleQuote" : true ,
81+ "trailingComma" : " none"
7682 },
7783 "eslintConfig" : {
78- "extends" : " @logux/eslint-config/ts "
84+ "extends" : " @logux/eslint-config/esm "
7985 },
8086 "eslintIgnore" : [
8187 " **/errors.ts"
97103 },
98104 "sharec" : {
99105 "config" : " @logux/sharec-config" ,
100- "version" : " 0.8.5 "
106+ "version" : " 0.10.1 "
101107 }
102108}
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3+ "module" : " esnext" ,
34 "target" : " es2018" ,
4- "module" : " commonjs" ,
5- "allowJs" : true ,
65 "strict" : true ,
76 "noEmit" : true ,
8- "skipLibCheck" : true
7+ "allowJs" : true ,
8+ "skipLibCheck" : true ,
9+ "esModuleInterop" : true ,
10+ "moduleResolution" : " node"
911 },
1012 "exclude" : [
1113 " **/errors.ts"
You can’t perform that action at this time.
0 commit comments