Upgrade to Yarn 4.0.2
Unlike previous attempts to do future-Yarn, this seemed to just mostly go swimmingly, idk why! (I moved to a new computer and installed new Yarn without really thinking, and hey nice!) There was an issue where it was trying to do some glob expansion in one of the arguments for the `build` script, fixed! (Idk why Yarn has its own glob expansion and different from previous versions, but ok!)
This commit is contained in:
parent
d4e77b9ad9
commit
03f38c6461
3 changed files with 4852 additions and 3470 deletions
1
.yarnrc.yml
Normal file
1
.yarnrc.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
nodeLinker: node-modules
|
|
@ -39,7 +39,7 @@
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.2.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=/assets --asset-names=[name]-[hash].digested --loader:.js=jsx --loader:.png=file --loader:.svg=file --loader:.min.js=text",
|
"build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=/assets --asset-names='[name]-[hash].digested' --loader:.js=jsx --loader:.png=file --loader:.svg=file --loader:.min.js=text",
|
||||||
"build:dev": "yarn build --public-path=/dev-assets",
|
"build:dev": "yarn build --public-path=/dev-assets",
|
||||||
"dev": "yarn build:dev --watch",
|
"dev": "yarn build:dev --watch",
|
||||||
"lint": "eslint app/javascript",
|
"lint": "eslint app/javascript",
|
||||||
|
|
Loading…
Reference in a new issue