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

[code-infra] Move typescript-to-proptypes to internal-scripts package #41079

Merged
merged 13 commits into from
Feb 20, 2024
Prev Previous commit
Next Next commit
Fix typecheck errors
  • Loading branch information
michaldudak committed Feb 15, 2024
commit badb0ba0241ffd64e663e64c38bc063d79cbf36f
2 changes: 1 addition & 1 deletion packages-internal/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"release:publish": "pnpm publish --tag latest",
"release:publish:dry-run": "pnpm publish --tag latest --registry=\"http://localhost:4873/\"",
"test": "cd ../../ && cross-env NODE_ENV=test mocha --config packages-internal/scripts/typescript-to-proptypes/test/.mocharc.js 'packages-internal/scripts/typescript-to-proptypes/**/*.test.ts'",
"typescript": "tsc --project tsconfig.typecheck.json"
"typescript": "tsc --build tsconfig.typecheck.json"
},
"dependencies": {
"@babel/core": "^7.23.9",
Expand Down
4 changes: 3 additions & 1 deletion packages-internal/scripts/tsconfig.typecheck.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"rootDir": "../..",
"types": ["node", "mocha"],
"noEmit": true
},
"include": ["./**/*.ts"],
"exclude": ["./build", "./node_modules"]
"exclude": ["./build", "./node_modules"],
"references": [{ "path": "../../packages/docs-utils/tsconfig.build.json" }]
}