Skip to content

Commit ecd8e8b

Browse files
committed
feat: remove downlevel scripts and definitions
1 parent 1307651 commit ecd8e8b

File tree

31 files changed

+31
-318
lines changed

31 files changed

+31
-318
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
"@types/node": "^18.19.1",
120120
"@vitest/coverage-v8": "^3.2.4",
121121
"deepmerge": "^4.2.2",
122-
"downlevel-dts": "~0.11.0",
123122
"es-check": "^7.2.1",
124123
"eslint": "8.57.0",
125124
"jsdom": "^21.1.2",

packages/aws-serverless/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@
5454
}
5555
}
5656
},
57-
"typesVersions": {
58-
"<5.0": {
59-
"build/npm/types/index.d.ts": [
60-
"build/npm/types-ts3.8/index.d.ts"
61-
]
62-
}
63-
},
6457
"publishConfig": {
6558
"access": "public"
6659
},
@@ -83,9 +76,7 @@
8376
"build:layer": "rimraf build/aws && rollup -c rollup.lambda-extension.config.mjs && yarn ts-node scripts/buildLambdaLayer.ts",
8477
"build:dev": "run-p build:transpile build:types",
8578
"build:transpile": "rollup -c rollup.npm.config.mjs && yarn build:layer",
86-
"build:types": "run-s build:types:core build:types:downlevel",
87-
"build:types:core": "tsc -p tsconfig.types.json",
88-
"build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8",
79+
"build:types": "tsc -p tsconfig.types.json",
8980
"build:watch": "run-p build:transpile:watch build:types:watch",
9081
"build:dev:watch": "yarn build:watch",
9182
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",

packages/browser-utils/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@
2828
}
2929
}
3030
},
31-
"typesVersions": {
32-
"<5.0": {
33-
"build/types/index.d.ts": [
34-
"build/types-ts3.8/index.d.ts"
35-
]
36-
}
37-
},
3831
"publishConfig": {
3932
"access": "public"
4033
},
@@ -45,9 +38,7 @@
4538
"build": "run-p build:transpile build:types",
4639
"build:dev": "yarn build",
4740
"build:transpile": "rollup -c rollup.npm.config.mjs",
48-
"build:types": "run-s build:types:core build:types:downlevel",
49-
"build:types:core": "tsc -p tsconfig.types.json",
50-
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
41+
"build:types": "tsc -p tsconfig.types.json",
5142
"build:watch": "run-p build:transpile:watch build:types:watch",
5243
"build:dev:watch": "run-p build:transpile:watch build:types:watch",
5344
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",

packages/browser/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@
3333
}
3434
}
3535
},
36-
"typesVersions": {
37-
"<5.0": {
38-
"build/npm/types/index.d.ts": [
39-
"build/npm/types-ts3.8/index.d.ts"
40-
]
41-
}
42-
},
4336
"publishConfig": {
4437
"access": "public"
4538
},
@@ -59,9 +52,7 @@
5952
"build:dev": "run-p build:transpile build:types",
6053
"build:bundle": "rollup -c rollup.bundle.config.mjs",
6154
"build:transpile": "rollup -c rollup.npm.config.mjs",
62-
"build:types": "run-s build:types:core build:types:downlevel",
63-
"build:types:core": "tsc -p tsconfig.types.json",
64-
"build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8",
55+
"build:types": "tsc -p tsconfig.types.json",
6556
"build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch",
6657
"build:dev:watch": "run-p build:transpile:watch build:types:watch",
6758
"build:bundle:watch": "rollup -c rollup.bundle.config.mjs --watch",

packages/bun/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@
2828
}
2929
}
3030
},
31-
"typesVersions": {
32-
"<5.0": {
33-
"build/types/index.d.ts": [
34-
"build/types-ts3.8/index.d.ts"
35-
]
36-
}
37-
},
3831
"publishConfig": {
3932
"access": "public"
4033
},
@@ -49,9 +42,7 @@
4942
"build": "run-p build:transpile build:types",
5043
"build:dev": "yarn build",
5144
"build:transpile": "rollup -c rollup.npm.config.mjs",
52-
"build:types": "run-s build:types:core build:types:downlevel",
53-
"build:types:core": "tsc -p tsconfig.types.json",
54-
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
45+
"build:types": "tsc -p tsconfig.types.json",
5546
"build:watch": "run-p build:transpile:watch build:types:watch",
5647
"build:dev:watch": "yarn build:watch",
5748
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",

packages/cloudflare/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@
3838
}
3939
}
4040
},
41-
"typesVersions": {
42-
"<5.0": {
43-
"build/types/index.d.ts": [
44-
"build/types-ts3.8/index.d.ts"
45-
]
46-
}
47-
},
4841
"publishConfig": {
4942
"access": "public"
5043
},
@@ -69,9 +62,7 @@
6962
"build": "run-p build:transpile build:types",
7063
"build:dev": "yarn build",
7164
"build:transpile": "rollup -c rollup.npm.config.mjs",
72-
"build:types": "run-s build:types:core build:types:downlevel",
73-
"build:types:core": "tsc -p tsconfig.types.json",
74-
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
65+
"build:types": "tsc -p tsconfig.types.json",
7566
"build:watch": "run-p build:transpile:watch build:types:watch",
7667
"build:dev:watch": "yarn build:watch",
7768
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",

packages/core/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,14 @@
2828
}
2929
}
3030
},
31-
"typesVersions": {
32-
"<5.0": {
33-
"build/types/index.d.ts": [
34-
"build/types-ts3.8/index.d.ts"
35-
]
36-
}
37-
},
3831
"publishConfig": {
3932
"access": "public"
4033
},
4134
"scripts": {
4235
"build": "run-p build:transpile build:types",
4336
"build:dev": "yarn build",
4437
"build:transpile": "rollup -c rollup.npm.config.mjs",
45-
"build:types": "run-s build:types:core build:types:downlevel",
46-
"build:types:core": "tsc -p tsconfig.types.json",
47-
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
38+
"build:types": "tsc -p tsconfig.types.json",
4839
"build:watch": "run-p build:transpile:watch build:types:watch",
4940
"build:dev:watch": "yarn build:watch",
5041
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",

packages/feedback/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@
2828
}
2929
}
3030
},
31-
"typesVersions": {
32-
"<5.0": {
33-
"build/npm/types/index.d.ts": [
34-
"build/npm/types-ts3.8/index.d.ts"
35-
]
36-
}
37-
},
3831
"publishConfig": {
3932
"access": "public"
4033
},
@@ -49,9 +42,7 @@
4942
"build:transpile": "rollup -c rollup.npm.config.mjs",
5043
"build:bundle": "rollup -c rollup.bundle.config.mjs",
5144
"build:dev": "run-p build:transpile build:types",
52-
"build:types": "run-s build:types:core build:types:downlevel",
53-
"build:types:core": "tsc -p tsconfig.types.json",
54-
"build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8 && yarn node ./scripts/shim-preact-export.js",
45+
"build:types": "tsc -p tsconfig.types.json",
5546
"build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch",
5647
"build:dev:watch": "run-p build:transpile:watch build:types:watch",
5748
"build:transpile:watch": "yarn build:transpile --watch",

packages/gatsby/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@
3434
}
3535
}
3636
},
37-
"typesVersions": {
38-
"<5.0": {
39-
"build/types/index.d.ts": [
40-
"build/types-ts3.8/index.d.ts"
41-
]
42-
}
43-
},
4437
"publishConfig": {
4538
"access": "public"
4639
},
@@ -65,9 +58,7 @@
6558
"build:plugin": "tsc -p tsconfig.plugin.json",
6659
"build:transpile": "run-p build:rollup build:plugin",
6760
"build:rollup": "rollup -c rollup.npm.config.mjs",
68-
"build:types": "run-s build:types:core build:types:downlevel",
69-
"build:types:core": "tsc -p tsconfig.types.json",
70-
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
61+
"build:types": "tsc -p tsconfig.types.json",
7162
"build:watch": "run-p build:transpile:watch build:types:watch",
7263
"build:dev:watch": "yarn build:watch",
7364
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",

packages/google-cloud-serverless/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@
3737
}
3838
}
3939
},
40-
"typesVersions": {
41-
"<5.0": {
42-
"build/types/index.d.ts": [
43-
"build/types-ts3.8/index.d.ts"
44-
]
45-
}
46-
},
4740
"publishConfig": {
4841
"access": "public"
4942
},
@@ -70,9 +63,7 @@
7063
"build": "run-p build:transpile build:types",
7164
"build:dev": "yarn build",
7265
"build:transpile": "rollup -c rollup.npm.config.mjs",
73-
"build:types": "run-s build:types:core build:types:downlevel",
74-
"build:types:core": "tsc -p tsconfig.types.json",
75-
"build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8",
66+
"build:types": "tsc -p tsconfig.types.json",
7667
"build:watch": "run-p build:transpile:watch build:types:watch",
7768
"build:dev:watch": "yarn build:watch",
7869
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",

0 commit comments

Comments
 (0)