Skip to content

Commit

Permalink
fix: typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelfimov committed Jul 1, 2024
1 parent 039bfb1 commit 27ccb0e
Show file tree
Hide file tree
Showing 48 changed files with 213 additions and 198 deletions.
210 changes: 110 additions & 100 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion cli/cli-ui-error-info-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@atls/cli-ui-stack-trace-component": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"ink": "^4.2.0",
"react": "^18.3.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Box } from 'ink'
import { Text } from 'ink'
import React from 'react'

// @ts-expect-error any
import { StackTrace } from '@atls/cli-ui-stack-trace-component'

export interface ErrorProps {
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-ui-git-commit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"@atls/code-commit": "workspace:*",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@yarnpkg/libui": "^3.0.0",
"camelcase": "^7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-ui-log-record-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"@atls/logger": "0.0.2",
"@jest/globals": "29.7.0",
"@types/node": "20",
"@types/node": "20.14.9",
"@types/react": "18.3.3",
"ink": "3.2.0",
"react": "^18.3.1",
Expand Down
1 change: 0 additions & 1 deletion cli/cli-ui-parts/src/submit-factory.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const SubmitInjectedComponentFactory = <T,>(InjectedComponent: any) => {
const [value, setValue] = useState<T>()

if (!value) {
// @ts-expect-error any
return <InjectedComponent onSubmit={setValue} />
}

Expand Down
2 changes: 1 addition & 1 deletion cli/cli-ui-pretty-logs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"react": "^18.3.1"
},
"devDependencies": {
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-ui-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react": "^18.3.1"
},
"devDependencies": {
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-ui-schematics-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@atls/cli-ui-parts": "workspace:*",
"@atls/schematics": "workspace:*",
"@types/node": "20",
"@types/node": "20.14.9",
"@types/react": "18.3.3",
"@yarnpkg/libui": "3.0.0",
"camelcase": "8.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import React from 'react'
import { IndicatorComponent } from '@atls/cli-ui-parts'
import { ProjectType } from '@atls/schematics'

// @ts-expect-error any
const Submit = ({ onSubmit, ...props }: any) => {
// eslint-disable-next-line
useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-ui-source-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@types/babel__code-frame": "7.0.3",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"ink": "^4.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion cli/cli-ui-typescript-diagnostic-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ink": "^4.2.0",
"react": "^18.3.1",
"strip-ansi": "^7.1.0",
"typescript": "^5.1.6"
"typescript": "5.2.2"
},
"peerDependencies": {
"ink": "^3.0.8",
Expand Down
2 changes: 1 addition & 1 deletion code/code-commit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@jest/globals": "^29.6.1",
"@types/conventional-commits-parser": "^3.0.3",
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion code/code-format-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"esbuild": "^0.17.19",
"rollup": "^3.26.2",
"rollup-plugin-esbuild": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion code/code-format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"prettier": "^3.0.0"
},
"devDependencies": {
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion code/code-icons-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"esbuild": "^0.17.19",
"rollup": "^3.26.2",
"rollup-plugin-esbuild": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions code/code-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"@yarnpkg/cli": "^4.2.2",
"@yarnpkg/core": "^4.0.5",
"camelcase": "^7.0.1",
"typescript": "^5.1.6",
"typescript": "5.2.2",
"webpack-chain-5": "^8.0.2"
},
"devDependencies": {
"@atls/logger": "^0.0.2",
"@jest/globals": "^29.6.1",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/webpack": "^5.28.1",
"@yarnpkg/fslib": "^3.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion code/code-lint-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"esbuild": "^0.17.19",
"rollup": "^3.26.2",
"rollup-plugin-esbuild": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion code/code-lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"ignore": "^5.2.4"
},
"devDependencies": {
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion code/code-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@yarnpkg/fslib": "^3.1.0"
},
"devDependencies": {
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion code/code-schematics-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@types/node": "20",
"@types/node": "20.14.9",
"builtin-modules": "3.3.0",
"esbuild": "0.17.19",
"rollup": "3.29.4",
Expand Down
2 changes: 1 addition & 1 deletion code/code-service-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"esbuild": "^0.17.19",
"rollup": "^3.26.2",
"rollup-plugin-esbuild": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions code/code-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"@atls/webpack-start-server-plugin": "workspace:*",
"@yarnpkg/cli": "^4.2.2",
"@yarnpkg/core": "^4.0.5",
"typescript": "^5.1.6",
"typescript": "5.2.2",
"webpack-chain-5": "^8.0.2"
},
"devDependencies": {
"@jest/globals": "^29.6.1",
"@monstrs/logger": "latest",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/webpack": "^5.28.1",
"@yarnpkg/fslib": "^3.1.0",
"package-json-type": "^1.0.3"
Expand Down
2 changes: 1 addition & 1 deletion code/code-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@jest/types": "^29.6.1"
},
"devDependencies": {
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"peerDependenciesMeta": {
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion code/code-typescript-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"rollup": "^3.26.2",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^5.1.6"
"typescript": "5.2.2"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions code/code-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
},
"devDependencies": {
"@types/deepmerge": "2.2.0",
"@types/node": "^20.4.0",
"typescript": "^5.1.6"
"@types/node": "^20.14.9",
"typescript": "5.2.2"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion config/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/eslint": "^8.40.2",
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
2 changes: 1 addition & 1 deletion config/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"jest-static-stubs": "^0.0.1"
},
"devDependencies": {
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"peerDependenciesMeta": {
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion config/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prettier": "^3.0.0"
},
"devDependencies": {
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"publishConfig": {
"access": "public",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"yarn:download": "yarn workspace @atls/yarn-plugin-pnp-patch yarn:download && yarn workspace @atls/yarn-test-utils yarn:download"
},
"resolutions": {
"@types/node": "18.16.4",
"@types/node": "20.14.9",
"@yarnpkg/core@^4.0.0-rc.45": "patch:@yarnpkg/core@npm%3A4.0.0-rc.43#./.yarn/patches/@yarnpkg-core-npm-4.0.0-rc.42-029d9f8b24.patch",
"@yarnpkg/libui@^3.0.0-rc.45": "patch:@yarnpkg/libui@npm%3A3.0.0-rc.43#./.yarn/patches/@yarnpkg-libui-npm-3.0.0-rc.42-329bd4139e.patch",
"@yarnpkg/plugin-essentials@npm:^3.3.0": "patch:@yarnpkg/plugin-essentials@npm%3A4.0.0-rc.43#~/.yarn/patches/@yarnpkg-plugin-essentials-npm-4.0.0-rc.43-ae03fd5937.patch",
Expand All @@ -36,10 +36,10 @@
},
"devDependencies": {
"@atls/code-runtime": "workspace:*",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@yarnpkg/builder": "^4.1.1",
"esbuild": "npm:esbuild-wasm@^0.17.18",
"typescript": "^5.1.6"
"typescript": "5.2.2"
},
"packageManager": "[email protected]",
"tools": {
Expand Down
2 changes: 1 addition & 1 deletion prettier/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@babel/types": "^7.22.5",
"@types/node": "^20.4.0",
"@types/node": "^20.14.9",
"@types/prettier": "^2.7.3"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions runtime/code-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"eslint": "^8.44.0",
"node-loader": "^2.0.0",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"typescript": "5.2.2",
"webpack": "^5.88.1"
},
"devDependencies": {
"@types/eslint": "^8.40.2",
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion schematics/schematics-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"@types/js-yaml": "4.0.9",
"@types/node": "20",
"@types/node": "20.14.9",
"rimraf": "5.0.5",
"typescript": "5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion schematics/schematics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/jest": "^29.5.12",
"@types/node": "20",
"@types/node": "20.14.9",
"copy-dir": "1.3.0",
"globby": "14.0.1"
},
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"target": "es2021",
"jsx": "react",
"strictPropertyInitialization": false,
"outDir": "./dist"
"outDir": "./dist",
"allowImportingTsExtensions": true
},
"include": [
"prettier/**/*",
Expand Down
2 changes: 1 addition & 1 deletion webpack/webpack-start-server-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"webpack": "^5.88.1"
},
"devDependencies": {
"@types/node": "^20.4.0"
"@types/node": "^20.14.9"
},
"publishConfig": {
"access": "public",
Expand Down
Loading

0 comments on commit 27ccb0e

Please sign in to comment.