Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use pnpm instead of yarn #129

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
],
"import/no-extraneous-dependencies": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/control-has-associated-label": "off",
"no-await-in-loop": "off",
"no-else-return": "off",
"no-inner-declarations": "off",
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install modules
run: yarn
run: pnpm install
- name: Run ESLint
run: yarn lint
run: pnpm lint
7 changes: 5 additions & 2 deletions .github/workflows/migrate-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
- name: Install dependencies
run: yarn
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install modules
run: pnpm install
- name: Migrate database
run: npx prisma migrate deploy
env:
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ Make sure to follow the [installation instructions](installations.md) to ensure
First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Expand Down
10 changes: 6 additions & 4 deletions installations.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
## Installations

Make sure you have the following items:

- [nvm](https://github.com/nvm-sh/nvm#installing-and-updating)
- yarn - `npm install --global yarn`
- run `yarn --version` to verify the installation worked correctly
- [vercel cli](https://vercel.com/docs/cli) — `yarn global add vercel`
- pnpm - `brew install pnpm`
- run `pnpm` to verify the installation worked correctly
- if `pnpm` is too annoying to type, add `alias pn=pnpm` (or whatever alias you want) to your bashrc
- [vercel cli](https://vercel.com/docs/cli) — `pnpm i -g vercel`
- run `vercel --version` to verify the installation worked correctly
- run `vercel link` to link to the current vercel project
- follow the commands to log in with GitHub
- follow the commands to link the catalog project
- verify you have a `.vercel` directory in the project root
- run `vercel env pull` to populate your `.env.local` file with necessary environment variables

You should be ready to run the app now with `yarn dev`.
You should be ready to run the app now with `pnpm dev`.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dependencies": {
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.2",
"@headlessui/react": "^1.7.16",
"@leeoniya/ufuzzy": "^1.0.11",
"@prisma/client": "5.2.0",
Expand Down
Loading
Loading