Skip to content

Commit 1e6af8a

Browse files
authored
chore, avoid generating "dist" dir in this workspace by adding "noEmit" flag to "tsc" (teambit#9424)
1 parent f7f748c commit 1e6af8a

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.circleci/config.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,7 @@ jobs:
425425
- run:
426426
name: 'make sure the packages used in legacy are specified in package.json'
427427
command: 'cd bit && node scripts/validate-pkg-exist-in-pkg-json.js'
428-
- persist_to_workspace:
429-
root: .
430-
paths:
431-
- bit/dist
428+
432429

433430
setup_harmony:
434431
resource_class: large

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@
4242
"dev-link": "node ./scripts/establish-dev-link.js $1",
4343
"dev-link:windows": "node ./scripts/establish-dev-link-windows.js $1",
4444
"ts-coverage": "type-coverage",
45-
"check-types": "tsc",
46-
"ts-watch": "tsc -w",
45+
"check-types": "tsc --noEmit",
4746
"oxlint": "oxlint --deny-warnings",
4847
"lint:only": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\"",
49-
"lint": "tsc && eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\"",
48+
"lint": "tsc --noEmit && eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\"",
5049
"lint:table": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\" --format table",
5150
"lint:html": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\" --format html -o eslint-report.html",
5251
"lint-circle": "eslint \"{e2e,scopes,components}/**/*.{ts,tsx}\" --format junit -o junit/eslint-results.xml",

tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
"outDir": "./dist"
1818
},
1919
"include": [
20-
"src",
2120
"scopes",
2221
"e2e",
23-
"components",
24-
"toolbox"
22+
"components"
2523
],
2624
"exclude": [
2725
"node_modules",

0 commit comments

Comments
 (0)