Skip to content

Commit 6acfb7b

Browse files
committed
* Re-enabled patch-package, and fixed the dependency patch files. (yarn 2 not yet supported for patch-creation, so used workaround here: ds300/patch-package#272 (comment))
1 parent 6ac556e commit 6acfb7b

12 files changed

+76
-72
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"package.json"
2121
],
2222
"scripts": {
23-
"#postinstall": "patch-package"
23+
"postinstall": "patch-package"
2424
},
2525
"dependencyOverrideGroups": [
2626
{

patches/@apollo+client++symbol-observable+4.0.0.patch

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

patches/@apollo+client++tslib+2.3.0.patch

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

patches/@wry+context+0.6.1.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
diff --git a/node_modules/@wry/context/package.json b/node_modules/@wry/context/package.json
2-
index 6a7749a..d543d7d 100644
2+
index b66fd24..c2a597a 100644
33
--- a/node_modules/@wry/context/package.json
44
+++ b/node_modules/@wry/context/package.json
5-
@@ -1,5 +1,7 @@
5+
@@ -6,6 +6,7 @@
66
"license": "MIT",
7-
- "main": "lib/context.js",
8-
+ "type": "module",
9-
+ "main": "lib/context.esm.js",
7+
"main": "lib/context.js",
108
"module": "lib/context.esm.js",
11-
"name": "@wry/context",
12-
"repository": {
9+
+ "type": "module",
10+
"types": "lib/context.d.ts",
11+
"keywords": [],
12+
"homepage": "https://github.com/benjamn/wryware",

patches/@wry+equality+0.5.2.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
diff --git a/node_modules/@wry/equality/package.json b/node_modules/@wry/equality/package.json
2-
index 162bf76..20f327f 100644
2+
index 702fd27..aefccab 100644
33
--- a/node_modules/@wry/equality/package.json
44
+++ b/node_modules/@wry/equality/package.json
5-
@@ -1,5 +1,7 @@
5+
@@ -6,6 +6,7 @@
66
"license": "MIT",
7-
- "main": "lib/equality.js",
8-
+ "type": "module",
9-
+ "main": "lib/equality.esm.js",
7+
"main": "lib/equality.js",
108
"module": "lib/equality.esm.js",
11-
"name": "@wry/equality",
12-
"repository": {
9+
+ "type": "module",
10+
"types": "lib/equality.d.ts",
11+
"keywords": [],
12+
"homepage": "https://github.com/benjamn/wryware",

patches/@wry+trie+0.3.1.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
diff --git a/node_modules/@wry/trie/package.json b/node_modules/@wry/trie/package.json
2-
index 950d387..96c8851 100644
2+
index ee0e009..2a52395 100644
33
--- a/node_modules/@wry/trie/package.json
44
+++ b/node_modules/@wry/trie/package.json
5-
@@ -1,5 +1,7 @@
5+
@@ -6,6 +6,7 @@
66
"license": "MIT",
7-
- "main": "lib/trie.js",
8-
+ "type": "module",
9-
+ "main": "lib/trie.esm.js",
7+
"main": "lib/trie.js",
108
"module": "lib/trie.esm.js",
11-
"name": "@wry/trie",
12-
"repository": {
9+
+ "type": "module",
10+
"types": "lib/trie.d.ts",
11+
"keywords": [
12+
"trie",

patches/graphql-tag+2.12.5.patch

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
diff --git a/node_modules/graphql-tag/package.json b/node_modules/graphql-tag/package.json
2-
index 18716c1..60750ce 100644
2+
index 1a022a8..3f4eedf 100644
33
--- a/node_modules/graphql-tag/package.json
44
+++ b/node_modules/graphql-tag/package.json
5-
@@ -1,4 +1,5 @@
6-
"license": "MIT",
7-
+ "type": "module",
5+
@@ -5,6 +5,7 @@
86
"main": "./main.js",
97
"module": "./lib/index.js",
10-
"name": "graphql-tag",
8+
"jsnext:main": "./lib/index.js",
9+
+ "type": "module",
10+
"types": "./lib/index.d.ts",
11+
"sideEffects": false,
12+
"scripts": {

patches/optimism+0.16.1.patch

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
diff --git a/node_modules/optimism/package.json b/node_modules/optimism/package.json
2-
index f3ff064..ecb3f6a 100644
2+
index b9e8ac2..91d38fb 100644
33
--- a/node_modules/optimism/package.json
44
+++ b/node_modules/optimism/package.json
5-
@@ -1,1 +1,2 @@
6-
{
7-
+ "type": "module",
5+
@@ -16,6 +16,7 @@
6+
],
7+
"main": "lib/bundle.cjs.js",
8+
"module": "lib/bundle.esm.js",
9+
+ "type": "module",
10+
"types": "lib/index.d.ts",
11+
"license": "MIT",
12+
"homepage": "https://github.com/benjamn/optimism#readme",

patches/symbol-observable+4.0.0.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/node_modules/symbol-observable/package.json b/node_modules/symbol-observable/package.json
2+
index bd03d4f..aa0c0cf 100644
3+
--- a/node_modules/symbol-observable/package.json
4+
+++ b/node_modules/symbol-observable/package.json
5+
@@ -26,6 +26,7 @@
6+
"main": "lib/index.js",
7+
"module": "es/index.js",
8+
"jsnext:main": "es/index.js",
9+
+ "type": "module",
10+
"typings": "index.d.ts",
11+
"keywords": [
12+
"symbol",

patches/ts-invariant+0.9.1.patch

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
diff --git a/node_modules/ts-invariant/package.json b/node_modules/ts-invariant/package.json
2-
index 91f4e03..df29d32 100644
2+
index 5c297d7..493d886 100644
33
--- a/node_modules/ts-invariant/package.json
44
+++ b/node_modules/ts-invariant/package.json
5-
@@ -1,5 +1,6 @@
6-
"gitHead": "a88a6701d6a65bfd46dad7be3e07be85fc0c60f2",
7-
"homepage": "https://github.com/apollographql/invariant-packages",
5+
@@ -6,6 +6,7 @@
6+
"license": "MIT",
7+
"main": "lib/invariant.js",
8+
"module": "lib/invariant.esm.js",
89
+ "type": "module",
10+
"types": "lib/invariant.d.ts",
911
"keywords": [
1012
"invariant",
11-
"assertion",
12-
diff --git a/node_modules/ts-invariant/process/package.json b/node_modules/ts-invariant/process/package.json
13-
index 0f2cc43..6c8737b 100644
14-
--- a/node_modules/ts-invariant/process/package.json
15-
+++ b/node_modules/ts-invariant/process/package.json
16-
@@ -1,5 +1,6 @@
17-
{
18-
"name": "ts-invariant/process",
19-
+ "type": "module",
20-
"main": "./main.js",
21-
"module": "./index.js",
22-
"types": "./index.d.ts",

0 commit comments

Comments
 (0)