Exclude js globe files from TS checking

This commit is contained in:
2021-10-04 13:06:05 +02:00
parent 4df9cdedd6
commit a65a68bb11
4 changed files with 9 additions and 80 deletions

View File

@@ -18,7 +18,6 @@
"dependencies": {
"dayjs": "^1.10.7",
"focus-visible": "^5.2.0",
"motion": "^10.1.3",
"sanitize.css": "^12.0.1"
},
"devDependencies": {
@@ -32,7 +31,7 @@
"sass": "^1.42.1",
"svelte": "^3.43.1",
"svelte-check": "^2.2.6",
"svelte-preprocess": "^4.9.7",
"svelte-preprocess": "^4.9.8",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},

82
pnpm-lock.yaml generated
View File

@@ -10,19 +10,17 @@ specifiers:
eslint: ^7.32.0
eslint-plugin-svelte3: ^3.2.1
focus-visible: ^5.2.0
motion: ^10.1.3
sanitize.css: ^12.0.1
sass: ^1.42.1
svelte: ^3.43.1
svelte-check: ^2.2.6
svelte-preprocess: ^4.9.7
svelte-preprocess: ^4.9.8
tslib: ^2.3.1
typescript: ^4.4.3
dependencies:
dayjs: 1.10.7
focus-visible: 5.2.0
motion: 10.1.3
sanitize.css: 12.0.1
devDependencies:
@@ -36,7 +34,7 @@ devDependencies:
sass: 1.42.1
svelte: 3.43.1
svelte-check: 2.2.6_sass@1.42.1+svelte@3.43.1
svelte-preprocess: 4.9.7_e4d174f1a3c6f6c9a7413fc1fdd258af
svelte-preprocess: 4.9.8_e4d174f1a3c6f6c9a7413fc1fdd258af
tslib: 2.3.1
typescript: 4.4.3
@@ -62,19 +60,6 @@ packages:
js-tokens: 4.0.0
dev: true
/@emotion/is-prop-valid/0.8.8:
resolution: {integrity: sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==}
requiresBuild: true
dependencies:
'@emotion/memoize': 0.7.4
dev: false
optional: true
/@emotion/memoize/0.7.4:
resolution: {integrity: sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==}
dev: false
optional: true
/@eslint/eslintrc/0.4.3:
resolution: {integrity: sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==}
engines: {node: ^10.12.0 || >=12.0.0}
@@ -900,27 +885,6 @@ packages:
resolution: {integrity: sha512-Rwix9pBtC1Nuy5wysTmKy+UjbDJpIfg8eHjw0rjZ1mX4GNLz1Bmd16uDpI3Gk1i70Fgcs8Csg2lPm8HULFg9DQ==}
dev: false
/framer-motion/4.1.17:
resolution: {integrity: sha512-thx1wvKzblzbs0XaK2X0G1JuwIdARcoNOW7VVwjO8BUltzXPyONGAElLu6CiCScsOQRI7FIk/45YTFtJw5Yozw==}
peerDependencies:
react: '>=16.8 || ^17.0.0'
react-dom: '>=16.8 || ^17.0.0'
dependencies:
framesync: 5.3.0
hey-listen: 1.0.8
popmotion: 9.3.6
style-value-types: 4.1.4
tslib: 2.3.1
optionalDependencies:
'@emotion/is-prop-valid': 0.8.8
dev: false
/framesync/5.3.0:
resolution: {integrity: sha512-oc5m68HDO/tuK2blj7ZcdEBRx3p1PjrgHazL8GYEpvULhrtGIFbQArN6cQS2QhW8mitffaB+VYzMjDqBxxQeoA==}
dependencies:
tslib: 2.3.1
dev: false
/fs.realpath/1.0.0:
resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=}
dev: true
@@ -1007,10 +971,6 @@ packages:
function-bind: 1.1.1
dev: true
/hey-listen/1.0.8:
resolution: {integrity: sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==}
dev: false
/ignore/4.0.6:
resolution: {integrity: sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==}
engines: {node: '>= 4'}
@@ -1181,21 +1141,6 @@ packages:
minimist: 1.2.5
dev: true
/motion/10.1.3:
resolution: {integrity: sha512-/Ipnj+77iYbEs/KIFMWc+ApzoPNuxWfLw1tSET+2iIjoGtCCwWpW9zbZ3/vPyCG02P2w0rrjctFswg6/ly32Ow==}
peerDependencies:
react: ^17.0.2
react-dom: ^17.0.2
peerDependenciesMeta:
react:
optional: true
react-dom:
optional: true
dependencies:
framer-motion: 4.1.17
tslib: 2.3.1
dev: false
/mri/1.2.0:
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
engines: {node: '>=4'}
@@ -1273,15 +1218,6 @@ packages:
engines: {node: '>=8.6'}
dev: true
/popmotion/9.3.6:
resolution: {integrity: sha512-ZTbXiu6zIggXzIliMi8LGxXBF5ST+wkpXGEjeTUDUOCdSQ356hij/xjeUdv0F8zCQNeqB1+PR5/BB+gC+QLAPw==}
dependencies:
framesync: 5.3.0
hey-listen: 1.0.8
style-value-types: 4.1.4
tslib: 2.3.1
dev: false
/postcss/8.3.8:
resolution: {integrity: sha512-GT5bTjjZnwDifajzczOC+r3FI3Cu+PgPvrsjhQdRqa2kTJ4968/X9CUce9xttIB0xOs5c6xf0TCWZo/y9lF6bA==}
engines: {node: ^10 || ^12 || >=14}
@@ -1494,13 +1430,6 @@ packages:
engines: {node: '>=8'}
dev: true
/style-value-types/4.1.4:
resolution: {integrity: sha512-LCJL6tB+vPSUoxgUBt9juXIlNJHtBMy8jkXzUJSBzeHWdBu6lhzHqCvLVkXFGsFIlNa2ln1sQHya/gzaFmB2Lg==}
dependencies:
hey-listen: 1.0.8
tslib: 2.3.1
dev: false
/supports-color/5.5.0:
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
engines: {node: '>=4'}
@@ -1529,7 +1458,7 @@ packages:
sade: 1.7.4
source-map: 0.7.3
svelte: 3.43.1
svelte-preprocess: 4.9.7_e4d174f1a3c6f6c9a7413fc1fdd258af
svelte-preprocess: 4.9.8_e4d174f1a3c6f6c9a7413fc1fdd258af
typescript: 4.4.3
transitivePeerDependencies:
- '@babel/core'
@@ -1552,8 +1481,8 @@ packages:
svelte: 3.43.1
dev: true
/svelte-preprocess/4.9.7_e4d174f1a3c6f6c9a7413fc1fdd258af:
resolution: {integrity: sha512-jPiizMqGTp4X3Hv00qTPbGH2r5khuqNazzlqSXZNJKo44nLVQYMyDYM1rOq3MRrzCs5Xk3J48k67u8c6fGBsvQ==}
/svelte-preprocess/4.9.8_e4d174f1a3c6f6c9a7413fc1fdd258af:
resolution: {integrity: sha512-EQS/oRZzMtYdAprppZxY3HcysKh11w54MgA63ybtL+TAZ4hVqYOnhw41JVJjWN9dhPnNjjLzvbZ2tMhTsla1Og==}
engines: {node: '>= 9.11.2'}
requiresBuild: true
peerDependencies:
@@ -1645,6 +1574,7 @@ packages:
/tslib/2.3.1:
resolution: {integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==}
dev: true
/tsutils/3.21.0_typescript@4.4.3:
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}

View File

@@ -1,4 +1,3 @@
// @ts-nocheck
import { Renderer } from './beam'
import { Camera } from './beam'
import { vec2, vec3, mat4 } from './beam'

View File

@@ -29,5 +29,6 @@
"$modules/*": ["src/modules/*"]
}
},
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"]
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"],
"exclude": ["src/modules/globe/**/*.js"]
}