chore: remove patch-package, bun supports it

This commit is contained in:
Colin Darie 2024-11-21 16:13:00 +01:00
parent aeffd19abd
commit 0286a56b78
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 8 additions and 9 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -53,7 +53,6 @@
"lightgallery": "^2.7.2", "lightgallery": "^2.7.2",
"maplibre-gl": "^4.5.0", "maplibre-gl": "^4.5.0",
"match-sorter": "^6.3.4", "match-sorter": "^6.3.4",
"patch-package": "^8.0.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-aria-components": "^1.3.1", "react-aria-components": "^1.3.1",
"react-coordinate-input": "^1.0.0", "react-coordinate-input": "^1.0.0",
@ -112,7 +111,6 @@
"lint:css": "prettier app/assets/stylesheets --check", "lint:css": "prettier app/assets/stylesheets --check",
"lint:css:fix": "prettier app/assets/stylesheets --write", "lint:css:fix": "prettier app/assets/stylesheets --write",
"graphql:doc:build": "RAILS_ENV=production bin/rake graphql:schema:idl && spectaql spectaql_config.yml", "graphql:doc:build": "RAILS_ENV=production bin/rake graphql:schema:idl && spectaql spectaql_config.yml",
"postinstall": "patch-package",
"test": "vitest", "test": "vitest",
"coverage": "vitest run --coverage", "coverage": "vitest run --coverage",
"up": "bunx npm-check-updates --root --format group -i", "up": "bunx npm-check-updates --root --format group -i",
@ -197,6 +195,7 @@
] ]
}, },
"patchedDependencies": { "patchedDependencies": {
"@gouvfr/dsfr@1.12.1": "patches/@gouvfr%2Fdsfr@1.12.1.patch" "@gouvfr/dsfr@1.12.1": "patches/@gouvfr%2Fdsfr@1.12.1.patch",
"@hotwired/turbo@7.3.0": "patches/@hotwired%2Fturbo@7.3.0.patch"
} }
} }

View file

@ -1,7 +1,7 @@
diff --git a/node_modules/@hotwired/turbo/dist/turbo.es2017-esm.js b/node_modules/@hotwired/turbo/dist/turbo.es2017-esm.js diff --git a/dist/turbo.es2017-esm.js b/dist/turbo.es2017-esm.js
index cfe4084..fd54933 100644 index cfe4084..fd54933 100644
--- a/node_modules/@hotwired/turbo/dist/turbo.es2017-esm.js --- a/dist/turbo.es2017-esm.js
+++ b/node_modules/@hotwired/turbo/dist/turbo.es2017-esm.js +++ b/dist/turbo.es2017-esm.js
@@ -802,6 +802,7 @@ class FormSubmission { @@ -802,6 +802,7 @@ class FormSubmission {
var _a; var _a;
this.state = FormSubmissionState.stopped; this.state = FormSubmissionState.stopped;
@ -10,10 +10,10 @@ index cfe4084..fd54933 100644
this.resetSubmitterText(); this.resetSubmitterText();
dispatch("turbo:submit-end", { dispatch("turbo:submit-end", {
target: this.formElement, target: this.formElement,
diff --git a/node_modules/@hotwired/turbo/dist/turbo.es2017-umd.js b/node_modules/@hotwired/turbo/dist/turbo.es2017-umd.js diff --git a/dist/turbo.es2017-umd.js b/dist/turbo.es2017-umd.js
index 303ecf2..08dd969 100644 index 303ecf2..08dd969 100644
--- a/node_modules/@hotwired/turbo/dist/turbo.es2017-umd.js --- a/dist/turbo.es2017-umd.js
+++ b/node_modules/@hotwired/turbo/dist/turbo.es2017-umd.js +++ b/dist/turbo.es2017-umd.js
@@ -808,6 +808,7 @@ Copyright © 2023 37signals LLC @@ -808,6 +808,7 @@ Copyright © 2023 37signals LLC
var _a; var _a;
this.state = FormSubmissionState.stopped; this.state = FormSubmissionState.stopped;