Skip to content

Commit 1d927e0

Browse files
committed
Remove typescript dependencies from workspace packages and update bump script messages
├── apps │ ├── browser │ │ ├── package.json │ │ └── tsconfig.json │ ├── editor │ │ ├── package.json │ │ └── tsconfig.json │ └── web │ ├── package.json │ └── tsconfig.json ├── package.json ├── packages │ ├── shared │ │ ├── package.json │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ └── ui │ ├── package.json │ └── tsconfig.json └── tsconfig.json
1 parent b1d4bef commit 1d927e0

13 files changed

Lines changed: 7 additions & 38 deletions

File tree

‎apps/browser/package.json‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
"@pmmmwh/react-refresh-webpack-plugin": "0.6.1",
99
"@svgr/webpack": "8.1.0",
1010
"@types/archiver": "6.0.3",
11-
"@types/chrome": "0.3.7",
12-
"@types/jest": "29.5.14",
1311
"@types/node": "20.x",
1412
"@types/react": "18.2.60",
1513
"@types/react-dom": "18.2.19",
@@ -26,7 +24,6 @@
2624
"style-loader": "3.3.3",
2725
"ts-loader": "9.5.4",
2826
"ts-node": "10.9.2",
29-
"typescript": "6.0.2",
3027
"webextension-polyfill": "0.12.0",
3128
"webpack": "5.112.2",
3229
"webpack-cli": "5.1.4",

‎apps/browser/scripts/bump.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rl.question(`Bump version of the browser extension to ${next_version}? (y/N) `,
3131

3232
try {
3333
execSync(`git add "${manifest_path}"`, { stdio: 'ignore' })
34-
execSync(`git commit --no-verify -m "Bump version to ${manifest.version}"`, {
34+
execSync(`git commit --no-verify -m "Bump version of the browser extension to ${manifest.version}"`, {
3535
stdio: 'ignore'
3636
})
3737
console.log('Successfully committed the version bump.')

‎apps/browser/tsconfig.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"target": "ESNext",
44
"lib": ["dom", "ESNext"],
55
"module": "commonjs",
6-
"outDir": "out",
76
"rootDir": "../../",
87
"sourceMap": true,
98
"esModuleInterop": true,

‎apps/editor/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,6 @@
14041404
"react-dom": "18.2.0",
14051405
"rimraf": "6.0.1",
14061406
"simplebar-react": "3.3.1",
1407-
"typescript": "6.0.2",
14081407
"ui": "workspace:*",
14091408
"utf-8-validate": "6.0.5",
14101409
"ws": "8.21.3"

‎apps/editor/scripts/bump.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rl.question(`Bump version of the VS Code extension to ${next_version}? (y/N) `,
3131

3232
try {
3333
execSync(`git add "${pkg_path}"`, { stdio: 'ignore' })
34-
execSync(`git commit --no-verify -m "Bump version to ${pkg.version}"`, {
34+
execSync(`git commit --no-verify -m "Bump version of the VS Code extension to ${pkg.version}"`, {
3535
stdio: 'ignore'
3636
})
3737
console.log('Successfully committed the version bump.')

‎apps/editor/tsconfig.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"target": "ESNext",
5-
"outDir": "out",
65
"lib": ["ESNext", "dom"],
76
"sourceMap": true,
87
"strict": true,

‎apps/web/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"@types/negotiator": "0.6.3",
2020
"@types/node": "20.0.0",
2121
"@types/react": "18.2.60",
22-
"@types/react-dom": "18.2.19",
23-
"typescript": "6.0.2"
22+
"@types/react-dom": "18.2.19"
2423
}
2524
}

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "CWC",
3+
"packageManager": "pnpm@12.17.0+sha512.b8d223ebec04b580a89ed206daa71d1bccb6a1ee1d52efa95cc3b0db75271561df8f0d8e2c43add39c5ec08018af7a8a95108e7090f95a29f88727b7a40fd53d",
34
"scripts": {
45
"prepare": "husky",
56
"test": "jest",
@@ -8,7 +9,6 @@
89
"lint:fix": "eslint . --ext ts,tsx --fix",
910
"typecheck": "tsc --noEmit"
1011
},
11-
"packageManager": "pnpm@12.17.0+sha512.b8d223ebec04b580a89ed206daa71d1bccb6a1ee1d52efa95cc3b0db75271561df8f0d8e2c43add39c5ec08018af7a8a95108e7090f95a29f88727b7a40fd53d",
1212
"devDependencies": {
1313
"@types/chrome": "0.3.7",
1414
"@types/jest": "29.5.14",

‎packages/shared/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"name": "shared",
33
"dependencies": {
44
"react": "18.2.0",
5-
"react-dom": "18.2.0",
6-
"typescript": "6.0.2"
5+
"react-dom": "18.2.0"
76
},
87
"devDependencies": {
98
"@types/node": "20.x",

‎packages/shared/tsconfig.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"target": "ESNext",
5-
"outDir": "out",
65
"lib": ["ESNext", "dom"],
76
"sourceMap": true,
87
"strict": true,

0 commit comments

Comments
 (0)