chore(build): change to pnpm from yarn (#919)

* flip to npm

* try pnpm

* nothing good started with p anyway

* I want to go outside.

* Split out deps and build

* 30 seconds on the fetch, reintroduce the p

* lock it in

* flip lock file to pnpm

* nuke yarn.lock

* kirby no longer has yarn

* flip goreleaser to v4, was using node12.

* snapshots don't have tags

* Update README.md

* pin offline dockerfile

* Delete .yarnrc.yml

* Delete web/.yarn directory

* fix: update scripts

---------

Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
Kyle Sanderson 2023-05-08 11:28:43 -07:00 committed by GitHub
parent ac61334f93
commit 762a0bb36b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 5248 additions and 8137 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,3 +0,0 @@
yarnPath: .yarn/releases/yarn-3.2.2.cjs
nodeLinker: node-modules
enableGlobalCache: true

View file

@ -6,7 +6,7 @@ This project uses React built with Vite.
In the project directory, you can run:
### `yarn start`
### `pnpm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
@ -14,7 +14,7 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `yarn build`
### `pnpm run build`
Builds the app for production to the `dist` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
@ -24,4 +24,4 @@ Your app is ready to be deployed!
## Learn More
To learn React, check out the [React documentation](https://reactjs.org/).
To learn React, check out the [React documentation](https://reactjs.org/).

View file

@ -41,7 +41,7 @@
"build": "tsc && vite build",
"serve": "vite preview",
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx --color",
"lint:watch": "npm run lint -- --watch"
"lint:watch": "pnpm run lint -- --watch"
},
"browserslist": {
"production": [
@ -77,6 +77,5 @@
"tailwindcss": "^3.1.3",
"typescript": "^4.7.3",
"vite": "^4.2.1"
},
"packageManager": "yarn@3.2.2"
}
}

5222
web/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff