Skip to content

Commit c0f19b7

Browse files
deyaaeldeenCopilot
andauthored
Migrate libs with no polyfills to warp (#37372)
As the title says. Code gen is also generating warp configs: Azure/autorest.typescript#3802 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent de2a0c4 commit c0f19b7

800 files changed

Lines changed: 6629 additions & 8604 deletions

File tree

Some content is hidden

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

pnpm-lock.yaml

Lines changed: 2 additions & 1196 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/advisor/arm-advisor/package.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"playwright": "catalog:testing",
4141
"prettier": "catalog:",
4242
"rimraf": "catalog:",
43-
"tshy": "catalog:",
4443
"typescript": "catalog:",
4544
"vitest": "catalog:testing"
4645
},
@@ -90,18 +89,6 @@
9089
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-advisor?view=azure-node-preview"
9190
},
9291
"type": "module",
93-
"tshy": {
94-
"project": "../../../tsconfig.src.build.json",
95-
"exports": {
96-
"./package.json": "./package.json",
97-
".": "./src/index.ts"
98-
},
99-
"dialects": [
100-
"esm",
101-
"commonjs"
102-
],
103-
"selfLink": false
104-
},
10592
"exports": {
10693
"./package.json": "./package.json",
10794
".": {
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
exports:
2+
"./package.json": "./package.json"
3+
".": "./src/index.ts"
4+
5+
targets:
6+
- name: esm
7+
condition: import
8+
tsconfig: "../../../tsconfig.src.esm.json"
9+
- name: commonjs
10+
condition: require
11+
tsconfig: "../../../tsconfig.src.cjs.json"

sdk/agricultureplatform/arm-agricultureplatform/package.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,6 @@
77
},
88
"sideEffects": false,
99
"autoPublish": false,
10-
"tshy": {
11-
"exports": {
12-
"./package.json": "./package.json",
13-
".": "./src/index.ts",
14-
"./api": "./src/api/index.ts",
15-
"./api/agriService": "./src/api/agriService/index.ts",
16-
"./api/operations": "./src/api/operations/index.ts",
17-
"./models": "./src/models/index.ts"
18-
},
19-
"dialects": [
20-
"esm",
21-
"commonjs"
22-
],
23-
"esmDialects": [
24-
"browser",
25-
"react-native"
26-
],
27-
"selfLink": false,
28-
"project": "../../../tsconfig.src.build.json"
29-
},
3010
"type": "module",
3111
"keywords": [
3212
"node",
@@ -86,7 +66,6 @@
8666
"playwright": "catalog:testing",
8767
"prettier": "catalog:",
8868
"rimraf": "catalog:",
89-
"tshy": "catalog:",
9069
"typescript": "catalog:",
9170
"vitest": "catalog:testing"
9271
},
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
exports:
2+
"./package.json": "./package.json"
3+
".": "./src/index.ts"
4+
"./api": "./src/api/index.ts"
5+
"./api/agriService": "./src/api/agriService/index.ts"
6+
"./api/operations": "./src/api/operations/index.ts"
7+
"./models": "./src/models/index.ts"
8+
9+
targets:
10+
- name: browser
11+
tsconfig: "../../../tsconfig.src.browser.json"
12+
- name: react-native
13+
tsconfig: "../../../tsconfig.src.react-native.json"
14+
- name: esm
15+
condition: import
16+
tsconfig: "../../../tsconfig.src.esm.json"
17+
- name: commonjs
18+
condition: require
19+
tsconfig: "../../../tsconfig.src.cjs.json"

sdk/agrifood/agrifood-farming-rest/package.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -95,27 +95,10 @@
9595
"playwright": "catalog:testing",
9696
"prettier": "catalog:",
9797
"rimraf": "catalog:",
98-
"tshy": "catalog:",
9998
"typescript": "catalog:",
10099
"vitest": "catalog:testing"
101100
},
102101
"type": "module",
103-
"tshy": {
104-
"project": "../../../tsconfig.src.build.json",
105-
"exports": {
106-
"./package.json": "./package.json",
107-
".": "./src/index.ts"
108-
},
109-
"dialects": [
110-
"esm",
111-
"commonjs"
112-
],
113-
"esmDialects": [
114-
"browser",
115-
"react-native"
116-
],
117-
"selfLink": false
118-
},
119102
"exports": {
120103
"./package.json": "./package.json",
121104
".": {
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
exports:
2+
"./package.json": "./package.json"
3+
".": "./src/index.ts"
4+
5+
targets:
6+
- name: browser
7+
tsconfig: "../../../tsconfig.src.browser.json"
8+
- name: react-native
9+
tsconfig: "../../../tsconfig.src.react-native.json"
10+
- name: esm
11+
condition: import
12+
tsconfig: "../../../tsconfig.src.esm.json"
13+
- name: commonjs
14+
condition: require
15+
tsconfig: "../../../tsconfig.src.cjs.json"

sdk/agrifood/arm-agrifood/package.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"@vitest/coverage-istanbul": "catalog:testing",
4040
"cross-env": "catalog:",
4141
"rimraf": "catalog:",
42-
"tshy": "catalog:",
4342
"typescript": "catalog:",
4443
"vitest": "catalog:testing"
4544
},
@@ -89,18 +88,6 @@
8988
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-agrifood?view=azure-node-preview"
9089
},
9190
"type": "module",
92-
"tshy": {
93-
"project": "../../../tsconfig.src.build.json",
94-
"exports": {
95-
"./package.json": "./package.json",
96-
".": "./src/index.ts"
97-
},
98-
"dialects": [
99-
"esm",
100-
"commonjs"
101-
],
102-
"selfLink": false
103-
},
10491
"exports": {
10592
"./package.json": "./package.json",
10693
".": {
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
exports:
2+
"./package.json": "./package.json"
3+
".": "./src/index.ts"
4+
5+
targets:
6+
- name: esm
7+
condition: import
8+
tsconfig: "../../../tsconfig.src.esm.json"
9+
- name: commonjs
10+
condition: require
11+
tsconfig: "../../../tsconfig.src.cjs.json"

sdk/ai/ai-agents/package.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,6 @@
77
},
88
"sideEffects": false,
99
"autoPublish": false,
10-
"tshy": {
11-
"exports": {
12-
"./package.json": "./package.json",
13-
".": "./src/index.ts"
14-
},
15-
"dialects": [
16-
"esm",
17-
"commonjs"
18-
],
19-
"esmDialects": [
20-
"browser",
21-
"react-native"
22-
],
23-
"selfLink": false,
24-
"project": "../../../tsconfig.src.build.json"
25-
},
2610
"type": "module",
2711
"keywords": [
2812
"node",
@@ -93,7 +77,6 @@
9377
"playwright": "catalog:testing",
9478
"prettier": "^3.2.5",
9579
"rimraf": "catalog:",
96-
"tshy": "catalog:",
9780
"typescript": "catalog:",
9881
"vitest": "catalog:testing"
9982
},

0 commit comments

Comments
 (0)