Skip to content

Commit

Permalink
Add skipLibCheck to build calls
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Feb 9, 2024
1 parent e5e26b1 commit 5101ee6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -39,14 +39,14 @@
"build:wasm": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm --target web --no-pack && shx rm wasm/.gitignore",
"build:wasm:node": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm-node --target nodejs --no-pack && shx rm wasm-node/.gitignore",
"update:napi": "npm run build:napi && npm run build:copy-native",
"build:js": "rollup --config rollup.config.ts --configPlugin typescript --forceExit",
"build:js:node": "rollup --config rollup.config.ts --configPlugin typescript --configIsBuildNode --forceExit",
"build:js": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --forceExit",
"build:js:node": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --configIsBuildNode --forceExit",
"build:prepare": "concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js:node\" && npm run build:copy-native",
"update:js": "npm run build:js && npm run build:copy-native",
"build:copy-native": "shx mkdir -p dist && shx cp rollup.*.node dist/",
"dev": "vitepress dev docs",
"build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit",
"build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --forceExit && shx rm -rf dist-build",
"build:cjs": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --configTest --forceExit",
"build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --forceExit && shx rm -rf dist-build",
"build:docs": "vitepress build docs",
"build:ast-converters": "node scripts/generate-ast-converters.js",
"preview:docs": "vitepress preview docs",
Expand Down Expand Up @@ -84,7 +84,7 @@
"test:only": "mocha test/test.js",
"test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit && tsc --noEmit -p scripts",
"test:browser": "mocha test/browser/index.js",
"watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
"watch": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --watch"
},
"repository": "rollup/rollup",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.ts
Expand Up @@ -48,7 +48,7 @@ const nodePlugins: readonly Plugin[] = [
ignoreTryCatch: false,
include: 'node_modules/**'
}),
typescript(),
typescript({ skipLibCheck: true }),
cleanBeforeWrite('dist'),
externalNativeImport()
];
Expand Down Expand Up @@ -89,7 +89,7 @@ export default async function (
addCliEntry(),
esmDynamicImport(),
!command.configTest && collectLicenses(),
!command.configTest && copyNodeTypes()
copyNodeTypes()
],
strictDeprecations: true,
treeshake
Expand Down Expand Up @@ -148,7 +148,7 @@ export default async function (
nodeResolve({ browser: true }),
json(),
commonjs(),
typescript(),
typescript({ skipLibCheck: true }),
terser({ module: true, output: { comments: 'some' } }),
collectLicensesBrowser(),
writeLicenseBrowser(),
Expand Down

0 comments on commit 5101ee6

Please sign in to comment.