mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 23:41:21 +00:00
Merge pull request #50 from bartvdbraak/feat/pnpm-package-manager
Change package manager to `pnpm`
This commit is contained in:
commit
02fb2cecc4
8 changed files with 4406 additions and 4061 deletions
19
.github/workflows/lighthouse-report.yaml
vendored
19
.github/workflows/lighthouse-report.yaml
vendored
|
@ -21,6 +21,9 @@ jobs:
|
|||
env:
|
||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18]
|
||||
steps:
|
||||
- name: Sticky Comment on Pull Request
|
||||
uses: marocchino/sticky-pull-request-comment@v2.6.2
|
||||
|
@ -31,16 +34,22 @@ jobs:
|
|||
|
||||

|
||||
|
||||
- name: Check out
|
||||
- name: Checkout Git repository
|
||||
uses: actions/checkout@v3.5.3
|
||||
|
||||
- name: Set up Node.js
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2.2.4
|
||||
with:
|
||||
version: 8.6.2
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3.6.0
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn global add @unlighthouse/cli puppeteer
|
||||
run: pnpm add -g @unlighthouse/cli puppeteer
|
||||
|
||||
- name: Retrieve Vercel Preview URL
|
||||
uses: zentered/vercel-preview-url@v1.1.9
|
||||
|
@ -56,7 +65,7 @@ jobs:
|
|||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
with:
|
||||
deployment-url: ${{ steps.vercel_preview_url.outputs.preview_url }}
|
||||
timeout: 60
|
||||
timeout: 120
|
||||
|
||||
- name: Build Unlighthouse report
|
||||
run: |
|
||||
|
|
18
.github/workflows/lint-deps-check.yaml
vendored
18
.github/workflows/lint-deps-check.yaml
vendored
|
@ -16,18 +16,26 @@ jobs:
|
|||
run-checks:
|
||||
name: Run checks
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18, 20]
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
- name: Checkout Git repository
|
||||
uses: actions/checkout@v3.5.3
|
||||
|
||||
- name: Set up Node.js
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2.2.4
|
||||
with:
|
||||
version: 8.6.2
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3.6.0
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v2.3.0
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -22,7 +22,9 @@
|
|||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
pnpm-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-error.log*
|
||||
|
||||
# local env files
|
||||
.env*.local
|
||||
|
|
|
@ -2,6 +2,7 @@ cache
|
|||
.cache
|
||||
package.json
|
||||
package-lock.json
|
||||
pnpm-lock.yaml
|
||||
public
|
||||
CHANGELOG.md
|
||||
.yarn
|
||||
|
|
10
README.md
10
README.md
|
@ -17,15 +17,15 @@
|
|||
|
||||
To install the project and its dependencies, follow these steps:
|
||||
|
||||
1. Ensure you have `yarn` installed on your system. If not, you can install it by running:
|
||||
1. Ensure you have `pnpm` installed on your system. If not, you can install it by running:
|
||||
|
||||
```sh-session
|
||||
npm install -g yarn
|
||||
npm install -g pnpm
|
||||
```
|
||||
|
||||
2. Run the following command to install the project dependencies:
|
||||
```sh-session
|
||||
yarn install
|
||||
pnpm install
|
||||
```
|
||||
|
||||
### Environment Variables
|
||||
|
@ -43,7 +43,7 @@ After setting up the required services, you need to set the corresponding enviro
|
|||
To build the project, execute the following command:
|
||||
|
||||
```sh-session
|
||||
yarn build
|
||||
pnpm build
|
||||
```
|
||||
|
||||
## Run
|
||||
|
@ -51,5 +51,5 @@ yarn build
|
|||
To run the project locally, use the following command:
|
||||
|
||||
```sh-session
|
||||
yarn dev
|
||||
pnpm turbo run dev
|
||||
```
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
"preview": "next build && next start",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"format:write": "prettier . --write --cache",
|
||||
"format:check": "prettier . --check --cache"
|
||||
"format:check": "prettier . --check --cache",
|
||||
"deps:check": "depcheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"@clerk/clerk-react": "^4.19.0",
|
||||
|
|
4369
pnpm-lock.yaml
Normal file
4369
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue