Skip to content

Commit

Permalink
ci: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gearonix committed Oct 6, 2023
1 parent 3e53fd3 commit 55887d2
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 23 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ module.exports = grnx({
tsconfig: 'tsconfig.base.json',
monorepo: true,
ext: {
'import/export': 'off',
'import/no-default-export': 'off',
'import/no-self-import': 'off',
'max-len': 'off'
}
})
3 changes: 2 additions & 1 deletion apps/client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"jsxImportSource": "preact",
"types": ["vite/client", "vitest"]
"types": ["vite/client", "vitest"],
"strictNullChecks": true
},
"files": [],
"include": [],
Expand Down
3 changes: 2 additions & 1 deletion apps/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
],
"compilerOptions": {
"esModuleInterop": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"strictNullChecks": true
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.2.2",
"typescript": "^5.1.9",
"vite": "^4.4.11",
"vite-plugin-dts": "^3.6.0",
"vite-plugin-dynamic-import": "^1.5.0",
Expand Down
6 changes: 2 additions & 4 deletions packages/api/common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"name": "cg-api-common",
"version": "0.0.1",
"type": "commonjs",
"main": "./src/index.js",
"typings": "./src/index.d.ts"
"version": "1.0.0",
"main": "./src/index.js"
}
3 changes: 2 additions & 1 deletion packages/api/common/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"lintFilePatterns": [
"packages/api/common/**/*.ts",
"packages/api/common/package.json"
]
],
"fix": true
}
},
"test": {
Expand Down
3 changes: 2 additions & 1 deletion packages/api/common/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"strictNullChecks": true
},
"files": [],
"include": [],
Expand Down
3 changes: 2 additions & 1 deletion packages/api/services/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"strictNullChecks": true
},
"files": [],
"include": [],
Expand Down
3 changes: 2 additions & 1 deletion packages/config/src/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"module": "esnext",
"lib": ["es2020", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true
"skipDefaultLibCheck": true,
"strictNullChecks": true
}
}
3 changes: 2 additions & 1 deletion packages/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"module": "ESNext",
"moduleResolution": "Node"
"moduleResolution": "Node",
"strictNullChecks": true
},
"files": [],
"include": ["src/**/*.ts"],
Expand Down
3 changes: 2 additions & 1 deletion packages/web/editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"types": ["vite/client", "vitest"]
"types": ["vite/client", "vitest"],
"strictNullChecks": true
},
"files": [],
"include": [],
Expand Down
3 changes: 2 additions & 1 deletion packages/web/shared/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"types": ["vite/client", "vitest"]
"types": ["vite/client", "vitest"],
"strictNullChecks": true
},
"files": [],
"include": [],
Expand Down
3 changes: 2 additions & 1 deletion packages/web/ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"types": [
"vite/client",
"vitest"
]
],
"strictNullChecks": true
},
"files": [],
"include": [],
Expand Down
8 changes: 3 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2652,7 +2652,7 @@ __metadata:
tsconfig-paths: ^4.2.0
tsconfig-paths-webpack-plugin: ^4.1.0
tslib: ^2.6.2
typescript: ^5.2.2
typescript: ^5.1.9
uuid: ^9.0.1
vite: ^4.4.11
vite-plugin-dts: ^3.6.0
Expand Down Expand Up @@ -12382,8 +12382,6 @@ __metadata:
"cg-api-common@workspace:packages/api/common":
version: 0.0.0-use.local
resolution: "cg-api-common@workspace:packages/api/common"
dependencies:
tslib: ^2.3.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -29059,7 +29057,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^4.6.4 || ^5.0.0, typescript@npm:^5.2.2":
"typescript@npm:^4.6.4 || ^5.0.0, typescript@npm:^5.1.9":
version: 5.2.2
resolution: "typescript@npm:5.2.2"
bin:
Expand Down Expand Up @@ -29089,7 +29087,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@^4.6.4 || ^5.0.0#~builtin<compat/typescript>, typescript@patch:typescript@^5.2.2#~builtin<compat/typescript>":
"typescript@patch:typescript@^4.6.4 || ^5.0.0#~builtin<compat/typescript>, typescript@patch:typescript@^5.1.9#~builtin<compat/typescript>":
version: 5.2.2
resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin<compat/typescript>::version=5.2.2&hash=f3b441"
bin:
Expand Down

0 comments on commit 55887d2

Please sign in to comment.