Skip to content

Commit dc0afc0

Browse files
authored
Delete ts cache on clean (#1604)
This is necessary to reset the ts cache; otherwise it will still think that the generated files are there and won't build them after we clean ## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet
1 parent 921f8dd commit dc0afc0

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

packages/cheatsheet-local/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": "pnpm build:prod",
1212
"build:dev": "pnpm webpack --mode=development",
1313
"build:prod": "pnpm webpack --mode=production --node-env=production",
14-
"clean": "rm -rf ./out"
14+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1515
},
1616
"keywords": [],
1717
"author": "",

packages/cheatsheet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "jest",
88
"compile": "tsc --build",
99
"watch": "tsc --build --watch",
10-
"clean": "rm -rf ./out"
10+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1111
},
1212
"keywords": [],
1313
"author": "",

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"compile": "tsc --build",
88
"watch": "tsc --build --watch",
9-
"clean": "rm -rf ./out"
9+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1010
},
1111
"keywords": [],
1212
"author": "",

packages/cursorless-engine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"compile": "tsc --build",
88
"watch": "tsc --build --watch",
9-
"clean": "rm -rf ./out"
9+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1010
},
1111
"keywords": [],
1212
"author": "",

packages/cursorless-org-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"write-heading-ids": "docusaurus write-heading-ids",
1616
"compile": "tsc --build",
1717
"watch": "tsc --build --watch",
18-
"clean": "rm -rf ./out"
18+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1919
},
2020
"dependencies": {
2121
"@algolia/client-search": "4.15.0",

packages/cursorless-org/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "next lint",
1111
"compile": "tsc --build",
1212
"watch": "tsc --build --watch",
13-
"clean": "rm -rf ./out"
13+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1414
},
1515
"dependencies": {
1616
"@cursorless/cheatsheet": "workspace:*",

packages/cursorless-vscode-e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"scripts": {
1414
"compile": "tsc --build",
1515
"watch": "tsc --build --watch",
16-
"clean": "rm -rf ./out"
16+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1717
},
1818
"keywords": [],
1919
"author": "",

packages/cursorless-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@
846846
"hat-adjustment-average": "tsx --conditions=cursorless:bundler src/scripts/hatAssignments/add.ts",
847847
"compile": "tsc --build",
848848
"watch": "tsc --build --watch",
849-
"clean": "rm -rf ./out"
849+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
850850
},
851851
"devDependencies": {
852852
"@types/chai": "^4.3.3",

packages/meta-updater/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "esbuild ./src/index.ts --conditions=cursorless:bundler --bundle --outfile=dist/index.cjs --format=cjs --platform=node",
88
"compile": "tsc --build",
99
"watch": "tsc --build --watch",
10-
"clean": "rm -rf ./out"
10+
"clean": "rm -rf ./out tsconfig.tsbuildinfo"
1111
},
1212
"dependencies": {
1313
"@cursorless/common": "workspace:*",

packages/meta-updater/src/updatePackageJson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export async function updatePackageJson(
6464
const extraScripts = isRoot
6565
? {}
6666
: {
67-
clean: "rm -rf ./out",
67+
clean: "rm -rf ./out tsconfig.tsbuildinfo",
6868
};
6969

7070
return {

0 commit comments

Comments
 (0)