mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
Remove references to yarn and replace them with pnpm
This commit is contained in:
parent
3552a5e3aa
commit
880cc07c79
12 changed files with 27 additions and 2073 deletions
2
.github/actions/setup-node/action.yml
vendored
2
.github/actions/setup-node/action.yml
vendored
|
@ -8,7 +8,7 @@ inputs:
|
|||
cache:
|
||||
description: "Package manager for caching"
|
||||
required: false
|
||||
default: "yarn"
|
||||
default: "pnpm"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
8
.github/actions/yarn-install/action.yml
vendored
8
.github/actions/yarn-install/action.yml
vendored
|
@ -1,8 +1,8 @@
|
|||
name: "Yarn Install"
|
||||
description: "Runs yarn install with --frozen-lockfile"
|
||||
name: "Pnpm Install"
|
||||
description: "Runs pnpm install with --frozen-lockfile"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Run yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Run pnpm install
|
||||
run: pnpm install --frozen-lockfile
|
||||
shell: bash
|
||||
|
|
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -18,10 +18,10 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup-node
|
||||
- uses: ./.github/actions/yarn-install
|
||||
- uses: ./.github/actions/pnpm-install
|
||||
|
||||
- name: Check types
|
||||
run: yarn type-check
|
||||
run: pnpm type-check
|
||||
|
||||
sherif:
|
||||
name: Sherif
|
||||
|
@ -39,10 +39,10 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup-node
|
||||
- uses: ./.github/actions/yarn-install
|
||||
- uses: ./.github/actions/pnpm-install
|
||||
|
||||
- name: Check linting rules
|
||||
run: yarn lint
|
||||
run: pnpm lint
|
||||
|
||||
unit-tests:
|
||||
name: Unit tests
|
||||
|
@ -50,10 +50,10 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup-node
|
||||
- uses: ./.github/actions/yarn-install
|
||||
- uses: ./.github/actions/pnpm-install
|
||||
|
||||
- name: Run tests
|
||||
run: yarn test:unit
|
||||
run: pnpm test:unit
|
||||
|
||||
# Label of the container job
|
||||
integration-tests:
|
||||
|
@ -66,25 +66,25 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup-node
|
||||
- uses: ./.github/actions/yarn-install
|
||||
- uses: ./.github/actions/pnpm-install
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt-get update
|
||||
|
||||
- name: Install playwright dependencies
|
||||
run: yarn playwright install --with-deps chromium
|
||||
run: pnpm playwright install --with-deps chromium
|
||||
|
||||
- name: Create production build
|
||||
run: yarn turbo build:test --filter=@rallly/web
|
||||
run: pnpm turbo build:test --filter=@rallly/web
|
||||
|
||||
- name: Start services
|
||||
run: yarn docker:up
|
||||
run: pnpm docker:up
|
||||
|
||||
- name: Setup database
|
||||
run: yarn db:deploy
|
||||
run: pnpm db:deploy
|
||||
|
||||
- name: Run tests
|
||||
run: yarn turbo test:integration
|
||||
run: pnpm turbo test:integration
|
||||
|
||||
- name: Upload artifact playwright-report
|
||||
if: ${{ success() || failure() }}
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -21,8 +21,6 @@ node_modules
|
|||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# local env files
|
||||
.env
|
||||
|
|
10
README.md
10
README.md
|
@ -38,7 +38,7 @@ The following instructions are for running the project locally for development.
|
|||
2. Install dependencies
|
||||
|
||||
```bash
|
||||
yarn
|
||||
pnpm install
|
||||
```
|
||||
|
||||
3. Setup environment variables
|
||||
|
@ -54,7 +54,7 @@ The following instructions are for running the project locally for development.
|
|||
4. Generate Prisma client
|
||||
|
||||
```bash
|
||||
yarn db:generate
|
||||
pnpm db:generate
|
||||
```
|
||||
|
||||
5. Setup database
|
||||
|
@ -64,13 +64,13 @@ The following instructions are for running the project locally for development.
|
|||
To start the database, run:
|
||||
|
||||
```bash
|
||||
yarn docker:up
|
||||
pnpm docker:up
|
||||
```
|
||||
|
||||
Next run the following command to setup the database:
|
||||
|
||||
```bash
|
||||
yarn db:reset
|
||||
pnpm db:reset
|
||||
```
|
||||
|
||||
This will:
|
||||
|
@ -82,7 +82,7 @@ The following instructions are for running the project locally for development.
|
|||
6. Start the Next.js server
|
||||
|
||||
```bash
|
||||
yarn dev
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
## Contributors
|
||||
|
|
|
@ -13,7 +13,7 @@ To preview your changes locally, you can use the [mintlify cli](https://mintlify
|
|||
Install the cli globally:
|
||||
|
||||
```bash
|
||||
yarn global add mintlify
|
||||
pnpm install --global mintlify
|
||||
```
|
||||
|
||||
Navigate to this directory (where you can find `mint.json`):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"installCommand": "yarn install",
|
||||
"buildCommand": "cd ../.. && yarn db:generate && yarn build:landing",
|
||||
"installCommand": "pnpm install",
|
||||
"buildCommand": "cd ../.. && pnpm db:generate && pnpm build:landing",
|
||||
"outputDirectory": ".next"
|
||||
}
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
"i18n:scan": "i18next-scanner --config i18next-scanner.config.js",
|
||||
"test:integration": "NODE_ENV=test playwright test",
|
||||
"test:unit": "vitest run",
|
||||
"test": "yarn test:unit && yarn test:e2e",
|
||||
"test:codegen": "playwright codegen http://localhost:3000",
|
||||
"docker:start": "./scripts/docker-start.sh"
|
||||
},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"installCommand": "yarn install",
|
||||
"buildCommand": "cd ../.. && yarn db:generate && yarn build:web && yarn db:deploy",
|
||||
"installCommand": "pnpm install",
|
||||
"buildCommand": "cd ../.. && pnpm db:generate && pnpm build:web && pnpm db:deploy",
|
||||
"outputDirectory": ".next"
|
||||
}
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@prisma/client@^4.10.1":
|
||||
version "4.10.1"
|
||||
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-4.10.1.tgz#c47fd54661ee74b174cee63e9dc418ecf57a6ccd"
|
||||
integrity sha512-VonXLJZybdt8e5XZH5vnIGCRNnIh6OMX1FS3H/yzMGLT3STj5TJ/OkMcednrvELgk8PK89Vo3aSh51MWNO0axA==
|
||||
dependencies:
|
||||
"@prisma/engines-version" "4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19"
|
||||
|
||||
"@prisma/engines-version@4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19":
|
||||
version "4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19"
|
||||
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19.tgz#312359d9d00e39e323136d0270876293d315658e"
|
||||
integrity sha512-tsjTho7laDhf9EJ9EnDxAPEf7yrigSMDhniXeU4YoWc7azHAs4GPxRi2P9LTFonmHkJLMOLjR77J1oIP8Ife1w==
|
||||
|
||||
"@prisma/engines@4.10.1":
|
||||
version "4.10.1"
|
||||
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.10.1.tgz#c7062747f254e5d5fce98a8cae566c25f9f29fb2"
|
||||
integrity sha512-B3tcTxjx196nuAu1GOTKO9cGPUgTFHYRdkPkTS4m5ptb2cejyBlH9X7GOfSt3xlI7p4zAJDshJP4JJivCg9ouA==
|
||||
|
||||
prisma@^4.10.1:
|
||||
version "4.10.1"
|
||||
resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.10.1.tgz#88084695d7b364ae6bebf93d5006f84439c4e7d1"
|
||||
integrity sha512-0jDxgg+DruB1kHVNlcspXQB9au62IFfVg9drkhzXudszHNUAQn0lVuu+T8np0uC2z1nKD5S3qPeCyR8u5YFLnA==
|
||||
dependencies:
|
||||
"@prisma/engines" "4.10.1"
|
|
@ -1,27 +0,0 @@
|
|||
# React Email Starter
|
||||
|
||||
A live preview right in your browser so you don't need to keep sending real emails during development.
|
||||
|
||||
## Getting Started
|
||||
|
||||
First, install the dependencies:
|
||||
|
||||
```sh
|
||||
npm install
|
||||
# or
|
||||
yarn
|
||||
```
|
||||
|
||||
Then, run the development server:
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
# or
|
||||
yarn dev
|
||||
```
|
||||
|
||||
Open [localhost:3000](http://localhost:3000) with your browser to see the result.
|
||||
|
||||
## License
|
||||
|
||||
MIT License
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue