upgrade typescript version to 4.7.4

This commit is contained in:
Val Erastov 2022-08-15 23:13:26 -07:00
parent ecb5e45cd3
commit 6289b8b343
5 changed files with 1973 additions and 1708 deletions

View file

@ -1,5 +1,5 @@
{
"presets": ["@babel/typescript", "@babel/env", "@babel/react", "@babel/flow"],
"presets": ["@babel/typescript", "@babel/env", "@babel/react"],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/proposal-class-properties",

1
externals.d.ts vendored
View file

@ -7,5 +7,4 @@ declare const verb: any;
declare const FS: any;
declare const __CAD_APP: any;
declare const __DEBUG__: any;
declare const Module: any;

3637
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -29,19 +29,18 @@
},
"homepage": "https://github.com/xibyte/jsketcher",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.10",
"@babel/eslint-parser": "^7.18.9",
"@babel/eslint-plugin": "^7.18.9",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-flow": "^7.9.0",
"@babel/preset-react": "^7.9.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.18.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-stage-2": "^7.8.3",
"@babel/preset-typescript": "^7.9.0",
"@babel/preset-typescript": "^7.18.6",
"@cypress/webpack-preprocessor": "^4.1.3",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
@ -67,9 +66,7 @@
"less-vars-loader": "^1.1.0",
"raw-loader": "^4.0.0",
"style-loader": "^1.1.3",
"ts-loader": "^7.0.2",
"typescript": "^3.8.3",
"typescript-loader": "^1.1.3",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",

View file

@ -20,7 +20,9 @@
]
}
},
"includes": [
"./externals.d.ts"
"include": [
"modules/**/*",
"web/app/**/*",
"externals.d.ts"
]
}