Skip to content

Commit 295b8a4

Browse files
committed
Migrate to tsc from tsup, remove redundant packages
1 parent 8295b90 commit 295b8a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+225
-833
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ yarn-error.log*
3838
# Misc
3939
.DS_Store
4040
*.pem
41+
42+
# TypeScript build info
43+
tsconfig.tsbuildinfo

apps/cache-testing/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"type": "module",
77
"scripts": {
88
"build": "next build && tsx create-instances.ts",
9+
"check-types": "tsc --noEmit",
910
"cluster:start": "pm2 start cluster.config.js --env production",
1011
"cluster:stop": "pm2 kill",
1112
"e2e": "playwright test --config=./playwright.config.ts",

apps/cache-testing/tests/app.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88

99
const paths = [
1010
'/app/with-params/dynamic-true/200',
11-
'/app/with-params/nesh-cache/200',
1211
// '/app/with-params/dynamic-false/200', // this fails with native next.js cache
1312
'/app/no-params/dynamic-true/200',
1413
'/app/no-params/dynamic-false/200',

apps/cache-testing/tsconfig.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,8 @@
33
"compilerOptions": {
44
"paths": {
55
"cache-testing/*": ["./src/*"]
6-
},
7-
"plugins": [
8-
{
9-
"name": "next"
10-
}
11-
],
12-
"strictNullChecks": true
6+
}
137
},
14-
"include": [
15-
"next-env.d.ts",
16-
"**/*.ts",
17-
"**/*.tsx",
18-
".next/types/**/*.ts",
19-
"run-app-instances.ts"
20-
],
8+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
219
"exclude": ["node_modules"]
2210
}

docs/cache-handler-docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"build:docs": "next build && pagefind --site .next/server/app --output-path out/_pagefind",
8+
"check-types": "tsc --noEmit",
89
"dev:docs": "next dev --turbo",
910
"eslint:check": "next lint",
1011
"eslint:fix": "next lint --fix",

docs/cache-handler-docs/tsconfig.json

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,9 @@
22
"extends": "@repo/typescript-config/nextjs.json",
33
"compilerOptions": {
44
"paths": {
5-
"cache-handler-docs/*": ["./src/*"]
6-
},
7-
"plugins": [
8-
{
9-
"name": "next"
10-
}
11-
]
5+
"cache-testing/*": ["./src/*"]
6+
}
127
},
13-
"include": [
14-
"next-env.d.ts",
15-
"**/*.ts",
16-
"**/*.tsx",
17-
".next/types/**/*.ts",
18-
"next.config.ts"
19-
],
20-
8+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
219
"exclude": ["node_modules"]
2210
}

internal/backend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"license": "MIT",
66
"type": "module",
77
"scripts": {
8+
"check-types": "tsc --noEmit",
89
"dev": "tsx --watch ./src/backend.ts",
910
"start": "tsx ./src/backend.ts"
1011
},

internal/backend/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@repo/typescript-config/base.json",
3-
"include": ["."],
4-
"exclude": ["dist", "node_modules"]
2+
"extends": "@repo/typescript-config/local.json",
3+
"include": ["**/*.ts"],
4+
"exclude": ["node_modules"]
55
}

internal/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"eslint": "9.21.0",
1313
"eslint-config-prettier": "10.0.2",
1414
"eslint-plugin-react": "7.37.4",
15-
"eslint-plugin-react-hooks": "5.1.0",
15+
"eslint-plugin-react-hooks": "5.2.0",
1616
"eslint-plugin-turbo": "2.4.4",
1717
"globals": "16.0.0",
1818
"typescript": "5.7.3",

internal/next-common/package.json

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

0 commit comments

Comments
 (0)