installing typescript directly

This commit is contained in:
denihs
2023-06-29 20:22:04 -04:00
parent 5fc9abc5ae
commit 5f96ff4ce3
3 changed files with 13 additions and 5 deletions

View File

@@ -165,6 +165,8 @@ jobs:
npm install @types/node@18.11.9 --save-dev
# Ensure that meteor/tools has no TypeScript errors.
../meteor npm install -g typescript
# Ensure to add node_modules to tools
ln -s ../dev_bundle/lib/node_modules node_modules
popd
./meteor --get-ready
# shouldn't take longer than 60 minutes

6
package-lock.json generated
View File

@@ -518,9 +518,9 @@
"dev": true
},
"@types/node": {
"version": "14.18.41",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.41.tgz",
"integrity": "sha512-2cfHr8AsUjKx6u4Q+d2eqK51z8+HueoumCQGCKVt95y/yGG4uajOuCANSnE20mbLw94h3tMcddIJ8nYkTu2mFw==",
"version": "18.16.18",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz",
"integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==",
"dev": true
},
"@types/semver": {

View File

@@ -17,7 +17,7 @@
"@babel/eslint-parser": "^7.21.3",
"@babel/eslint-plugin": "^7.19.1",
"@babel/preset-react": "^7.18.6",
"@types/node": "^14.17.6",
"@types/node": "^18.16.18",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
@@ -46,7 +46,13 @@
"no-console": "off",
"camelcase": "warn",
"consistent-return": "off",
"quotes": ["warn", "single", { "allowTemplateLiterals": true }],
"quotes": [
"warn",
"single",
{
"allowTemplateLiterals": true
}
],
"no-shadow": [
"error",
{