Skip to content

Commit f22c2e0

Browse files
committed
Reapply "build(deps): use typescript@7 beta"
This reverts commit b670234.
1 parent 51b522d commit f22c2e0

17 files changed

Lines changed: 281 additions & 221 deletions

File tree

apps/docs/next-env-custom.d.ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

apps/docs/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"create-scss-lookup": "pnpm run run-script scripts/createScssLookup.ts",
1111
"create-stackblitz-template": "pnpm run run-script scripts/createStackBlitzTemplate.ts",
1212
"update-algolia-index": "pnpm run run-script scripts/updateAlgoliaIndex.ts",
13-
"typecheck-src": "tsc --noEmit",
14-
"typecheck-scripts": "tsc --noEmit -P scripts/tsconfig.json",
13+
"typecheck-src": "tsgo --noEmit",
14+
"typecheck-scripts": "tsgo --noEmit -P scripts/tsconfig.json",
1515
"typecheck": "npm-run-all typecheck-src typecheck-scripts",
1616
"check-format": "prettier --check .",
1717
"format": "prettier --write .",
@@ -81,6 +81,7 @@
8181
"@types/node": "^24.12.2",
8282
"@types/react": "^19.2.14",
8383
"@types/react-dom": "^19.2.3",
84+
"@typescript/native-preview": "beta",
8485
"babel-plugin-react-compiler": "^1.0.0",
8586
"chokidar": "^5.0.0",
8687
"dotenv": "^17.4.2",
@@ -95,7 +96,7 @@
9596
"svgo": "^4.0.1",
9697
"tsx": "^4.21.0",
9798
"typedoc": "^0.28.19",
98-
"typescript": "^6.0.3"
99+
"typescript": "npm:@typescript/typescript6@^6.0.0"
99100
},
100101
"volta": {
101102
"node": "24.12.0",

apps/next-playground/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"clean": "concurrently 'pnpm clean-dist' 'pnpm clean-cache'",
1111
"check-format": "prettier --check .",
1212
"format": "prettier --write .",
13-
"typecheck": "tsc --noEmit",
13+
"typecheck": "tsgo --noEmit",
1414
"lint": "eslint \"**/*.{ts,tsx,js,jsx}\"",
1515
"lint-fix": "pnpm lint --fix",
1616
"dev": "next dev"
@@ -35,13 +35,14 @@
3535
"@types/node": "^24.12.2",
3636
"@types/react": "^19.2.14",
3737
"@types/react-dom": "^19.2.3",
38+
"@typescript/native-preview": "beta",
3839
"concurrently": "^9.2.1",
3940
"eslint": "^9.39.4",
4041
"prettier": "^3.8.3",
4142
"sass-embedded": "^1.99.0",
4243
"serve": "^14.2.6",
4344
"ts-node": "^10.9.2",
44-
"typescript": "^6.0.3"
45+
"typescript": "npm:@typescript/typescript6@^6.0.0"
4546
},
4647
"volta": {
4748
"node": "24.12.0",

apps/vite-playground/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
"format": "prettier --write .",
1313
"lint": "NODE_ENV=production eslint .",
1414
"lint-fix": "pnpm lint --fix",
15-
"typecheck": "tsc --noEmit",
15+
"typecheck": "tsgo --noEmit",
1616
"typecheck-watch": "pnpm typecheck --watch",
1717
"test": "vitest",
1818
"test-run": "vitest run",
1919
"test-coverage": "vitest --coverage",
2020
"test-run-coverage": "pnpm test-run --coverage",
2121
"test-run-snapshot": "pnpm test-run -u",
2222
"dev": "vite",
23-
"build": "tsc -b && vite build",
23+
"build": "tsgo -b && vite build",
2424
"preview": "vite preview"
2525
},
2626
"author": "Mikkel Laursen <mlaursen03@gmail.com>",
@@ -42,12 +42,13 @@
4242
"@types/react-dom": "^19.2.3",
4343
"@vitejs/plugin-react": "^6.0.1",
4444
"@vitest/coverage-v8": "^4.1.5",
45+
"@typescript/native-preview": "beta",
4546
"babel-plugin-react-compiler": "^1.0.0",
4647
"concurrently": "^9.2.1",
4748
"eslint": "^9.39.4",
4849
"prettier": "^3.8.3",
4950
"sass-embedded": "^1.99.0",
50-
"typescript": "^6.0.3",
51+
"typescript": "npm:@typescript/typescript6@^6.0.0",
5152
"vite": "^8.0.9",
5253
"vitest": "^4.1.5"
5354
},

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@
5050
"@changesets/cli": "^2.31.0",
5151
"@mlaursen/release-script": "^0.2.0",
5252
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
53+
"@typescript/native-preview": "beta",
5354
"cross-env": "^10.1.0",
5455
"eslint": "^9.39.4",
5556
"husky": "^9.1.7",
5657
"lint-staged": "^16.4.0",
5758
"prettier": "^3.8.3",
5859
"tsx": "^4.21.0",
5960
"turbo": "^2.9.6",
60-
"typescript": "^6.0.3"
61+
"typescript": "npm:@typescript/typescript6@^6.0.0"
6162
},
6263
"lint-staged": {
6364
"**/*.{scss,js,jsx,md,yml,json,ts,tsx}": [

packages/@types__sassdoc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
3131
"@types/node": "^24.12.2",
3232
"prettier": "^3.8.3",
33-
"typescript": "^6.0.3"
33+
"typescript": "npm:@typescript/typescript6@^6.0.0"
3434
},
3535
"peerDependencies": {
3636
"sassdoc": "^2.7.4"

packages/code/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
"build": "npm-run-all build-esm build-types build-scss",
1919
"build-esm": "swc -d ./dist --strip-leading-paths src",
2020
"build-esm-watch": "pnpm run build-esm --watch",
21-
"build-types": "tsc -P tsconfig.types.json",
21+
"build-types": "tsgo -P tsconfig.types.json",
2222
"build-types-watch": "pnpm run build-types --watch",
2323
"build-scss": "cp -f src/_code.scss dist/_code.scss",
2424
"build-scss-watch": "chokidar \"src/*.scss\" -c \"pnpm run build-scss\"",
2525
"clean-dist": "rm -rf dist",
2626
"clean": "rm -rf .turbo dist node_modules",
27-
"typecheck": "tsc --noEmit",
27+
"typecheck": "tsgo --noEmit",
2828
"lint-scripts": "eslint \"src/**/*.{ts,tsx,js,jsx,cjs,mjs}\"",
2929
"lint-styles": "stylelint \"src/**/*.{css,scss}\"",
3030
"lint": "npm-run-all lint-scripts lint-styles",
@@ -78,6 +78,7 @@
7878
"@types/prismjs": "^1.26.6",
7979
"@types/react": "^19.2.14",
8080
"@types/react-dom": "^19.2.3",
81+
"@typescript/native-preview": "beta",
8182
"chokidar-cli": "^3.0.0",
8283
"eslint": "^9.39.4",
8384
"jest": "^30.3.0",
@@ -90,7 +91,7 @@
9091
"react-dom": "^19.2.5",
9192
"sass": "^1.99.0",
9293
"stylelint": "^17.8.0",
93-
"typescript": "^6.0.3"
94+
"typescript": "npm:@typescript/typescript6@^6.0.0"
9495
},
9596
"peerDependencies": {
9697
"react": ">= 19",

packages/codemod/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"prepare-release": "npm-run-all clean-dist build",
1717
"clean-dist": "rm -rf dist",
1818
"clean": "rm -rf .turbo dist node_modules",
19-
"typecheck": "tsc --noEmit",
19+
"typecheck": "tsgo --noEmit",
2020
"check-format": "prettier --check .",
2121
"format": "prettier --write .",
2222
"lint": "eslint \"**/*.{ts,tsx,js,jsx,cjs,mjs}\"",
@@ -79,7 +79,7 @@
7979
"jest-watch-typeahead": "^3.0.1",
8080
"prettier": "^3.8.3",
8181
"tsx": "^4.21.0",
82-
"typescript": "^6.0.3"
82+
"typescript": "npm:@typescript/typescript6@^6.0.0"
8383
},
8484
"publishConfig": {
8585
"access": "public"

packages/core/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"lint-styles": "stylelint \"src/**/*.{css,scss}\"",
7272
"lint": "concurrently 'pnpm lint-scripts' 'pnpm lint-styles'",
7373
"lint-fix": "concurrently 'pnpm lint-scripts --fix' 'pnpm lint-styles --fix'",
74-
"typecheck": "tsc --noEmit",
74+
"typecheck": "tsgo --noEmit",
7575
"typecheck-watch": "pnpm typecheck --watch",
7676
"test": "vitest",
7777
"test-run": "vitest run",
@@ -80,7 +80,7 @@
8080
"test-run-snapshot": "pnpm test-run -u",
8181
"build-esm": "swc -d ./dist --strip-leading-paths src",
8282
"build-esm-watch": "pnpm run build-esm --watch",
83-
"build-types": "tsc -P tsconfig.types.json",
83+
"build-types": "tsgo -P tsconfig.types.json",
8484
"build-types-watch": "pnpm run build-types --watch",
8585
"build-scss": "mlaursen-cli copy-scss-files -r '_colors.scss' -r '_a11y.scss'",
8686
"build-scss-watch": "pnpm build-scss --watch",
@@ -135,6 +135,7 @@
135135
"@types/react-dom": "^19.2.3",
136136
"@vitejs/plugin-react-swc": "^4.3.0",
137137
"@vitest/coverage-v8": "^4.1.5",
138+
"@typescript/native-preview": "beta",
138139
"chokidar": "^5.0.0",
139140
"concurrently": "^9.2.1",
140141
"eslint": "^9.39.4",
@@ -150,7 +151,7 @@
150151
"ts-morph": "^27.0.2",
151152
"ts-node": "^10.9.2",
152153
"tsx": "^4.21.0",
153-
"typescript": "^6.0.3",
154+
"typescript": "npm:@typescript/typescript6@^6.0.0",
154155
"vitest": "^4.1.5"
155156
},
156157
"peerDependencies": {

packages/docs-generator/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"build": "npm-run-all build-esm build-types",
1414
"build-esm": "swc -d ./dist --strip-leading-paths src",
1515
"build-esm-watch": "pnpm run build-esm --watch",
16-
"build-types": "tsc -P tsconfig.types.json",
16+
"build-types": "tsgo -P tsconfig.types.json",
1717
"build-types-watch": "pnpm run build-types --watch",
1818
"prism-themes": "tsx src/scripts/create-prism-themes.ts",
1919
"clean-dist": "rm -rf dist",
2020
"clean": "rm -rf .turbo dist node_modules",
21-
"typecheck": "tsc --noEmit",
21+
"typecheck": "tsgo --noEmit",
2222
"check-format": "prettier --check .",
2323
"format": "prettier --write .",
2424
"lint": "eslint \"src/**/*.{ts,tsx,js,jsx,cjs,mjs}\"",
@@ -101,7 +101,7 @@
101101
"prism-themes": "^1.9.0",
102102
"prismjs": "^1.30.0",
103103
"tsx": "^4.21.0",
104-
"typescript": "^6.0.3"
104+
"typescript": "npm:@typescript/typescript6@^6.0.0"
105105
},
106106
"volta": {
107107
"node": "24.12.0",

0 commit comments

Comments
 (0)