Skip to content

Commit

Permalink
* Integrated the "patch-package" lib. (for making changes to npm pack…
Browse files Browse the repository at this point in the history
…ages without needing to fork them; worth having [especially for installs in docker], even given annoyance here: npm/rfcs#325)

* Added patch that may allow dm_server to start, in docker.
  • Loading branch information
Venryx committed Aug 6, 2021
1 parent cf1bd7b commit 4df2c5f
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 0 deletions.
192 changes: 192 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"LICENSE",
"package.json"
],
"scripts": {
"postinstall": "patch-package"
},
"@peerDependencies": "Keep peerDeps and devDeps synced. (having own modules, which use explicit-versioning, at end)",
"peerDependencies": {
"firebase": "^7.7.0",
Expand Down Expand Up @@ -96,6 +99,7 @@
"mobx-sync": "3.0.0",
"moment": "2.24.0",
"node-sass": "^6.0.0",
"patch-package": "^6.4.7",
"postcss-loader": "^6.1.0",
"raven-js": "^3.27.0",
"rc-slider": "^8.7.1",
Expand Down
11 changes: 11 additions & 0 deletions patches/ts-invariant+0.9.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/node_modules/ts-invariant/process/package.json b/node_modules/ts-invariant/process/package.json
index 0f2cc43..6c8737b 100644
--- a/node_modules/ts-invariant/process/package.json
+++ b/node_modules/ts-invariant/process/package.json
@@ -1,5 +1,6 @@
{
"name": "ts-invariant/process",
+ "type": "module",
"main": "./main.js",
"module": "./index.js",
"types": "./index.d.ts",

0 comments on commit 4df2c5f

Please sign in to comment.