Skip to content

Commit 5bd5ab7

Browse files
committed
Remove yarn 1.x from dependencies
1 parent 1fa58bd commit 5bd5ab7

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
"htmx.org": "^2.0.5",
1919
"jquery": "^3.7.1",
2020
"masonry-layout": "^4.2.2",
21-
"popper.js": "^1.16.1",
22-
"yarn": "^1.22.22"
21+
"popper.js": "^1.16.1"
2322
},
2423
"scripts": {
25-
"build:css:sass": "sass wger/core/static/scss/main.scss wger/core/static/yarn/bootstrap-compiled.css"
24+
"build:css:sass": "sass wger/core/static/scss/main.scss wger/core/static/yarn/bootstrap-compiled.css",
25+
"install": "yarn install && yarn run postinstall",
26+
"postinstall": "rm -rf wger/core/static/yarn/ && mkdir -p wger/core/static/yarn/ && cp -r node_modules/* wger/core/static/yarn/"
2627
},
2728
"engines": {
2829
"yarn": ">= 1.0.0"

yarn.lock

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,5 @@ __metadata:
149149
jquery: "npm:^3.7.1"
150150
masonry-layout: "npm:^4.2.2"
151151
popper.js: "npm:^1.16.1"
152-
yarn: "npm:^1.22.22"
153152
languageName: unknown
154153
linkType: soft
155-
156-
"yarn@npm:^1.22.22":
157-
version: 1.22.22
158-
resolution: "yarn@npm:1.22.22"
159-
bin:
160-
yarn: bin/yarn.js
161-
yarnpkg: bin/yarn.js
162-
checksum: 10c0/8c77198c93d7542e7f4e131c63b66de357b7076ecfbcfe709ec0d674115c2dd9edaa45196e5510e6e9366d368707a802579e3402071002e1c9d9a99d491478de
163-
languageName: node
164-
linkType: hard

0 commit comments

Comments
 (0)