Skip to content

Commit

Permalink
Change patch to happen via pnpm feature
Browse files Browse the repository at this point in the history
  • Loading branch information
backspace committed Dec 31, 2023
1 parent f3d8c21 commit 4906466
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 81 deletions.
7 changes: 5 additions & 2 deletions gathering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"lint:hbs": "ember-template-lint .",
"lint:hbs:fix": "ember-template-lint . --fix",
"lint:js": "eslint . --cache",
"postinstall": "patch-package",
"lint:js:fix": "eslint . --fix",
"start": "ember serve",
"test": "concurrently \"npm:lint\" \"npm:test:*\" --names \"lint,test:\"",
Expand Down Expand Up @@ -106,7 +105,6 @@
"maxrects-packer": "^2.7.3",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"patch-package": "^6.5.1",
"pdfkit": "^0.14.0",
"postcss": "^8.4.32",
"postcss-import": "^15.1.0",
Expand Down Expand Up @@ -153,5 +151,10 @@
},
"ember": {
"edition": "octane"
},
"pnpm": {
"patchedDependencies": {
"js-graph-algorithms@1.0.18": "patches/js-graph-algorithms@1.0.18.patch"
}
}
}
14 changes: 0 additions & 14 deletions gathering/patches/js-graph-algorithms+1.0.18.patch

This file was deleted.

17 changes: 17 additions & 0 deletions gathering/patches/js-graph-algorithms@1.0.18.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index 79edc7b5e4012eafc3b4c8de07ceac4247bd8d2e..0000000000000000000000000000000000000000
diff --git a/src/jsgraphs.js b/src/jsgraphs.js
index 12fbde597d1692039a3f1ad8826eadd66ccddffc..e21ab1c1385faed3671cff468526c36936b72809 100644
--- a/src/jsgraphs.js
+++ b/src/jsgraphs.js
@@ -1202,7 +1202,4 @@ var jsgraphs = jsgraphs || {};
jss.FordFulkerson = FordFulkerson;
})(jsgraphs);

-var module = module || {};
-if(module) {
- module.exports = jsgraphs;
-}
\ No newline at end of file
+module.exports = jsgraphs;
73 changes: 8 additions & 65 deletions gathering/pnpm-lock.yaml

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

0 comments on commit 4906466

Please sign in to comment.