Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more explicit type exports #1307

Merged
merged 14 commits into from
Oct 24, 2022
215 changes: 0 additions & 215 deletions packages/bundle-source/.circleci/config.yml

This file was deleted.

10 changes: 10 additions & 0 deletions packages/bundle-source/jsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./jsconfig.json",
"compilerOptions": {
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
},
"exclude": ["test/"]
}
13 changes: 11 additions & 2 deletions packages/bundle-source/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@
"compilerOptions": {
"target": "esnext",
"module": "esnext",
// "checkJs": true,
"noEmit": true,
"downlevelIteration": true,
"strictNullChecks": true,
"moduleResolution": "node"
"moduleResolution": "node",
"types": [
"node",
]
},
"include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"]
"include": [
"*.js",
"*.ts",
"src/**/*.js",
"src/**/*.ts"
]
}
3 changes: 3 additions & 0 deletions packages/bundle-source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
},
"scripts": {
"build": "exit 0",
"clean": "tsc --build jsconfig.build.json --clean",
"prepack": "tsc --build jsconfig.build.json",
"postpack": "yarn clean",
"test": "ava",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
Expand Down
Loading