Skip to content

Commit

Permalink
build: use pnpm package manager everywhere (#396)
Browse files Browse the repository at this point in the history
* build: use pnpm package manager everywhere

Signed-off-by: tison <wander4096@gmail.com>

* chore: Delete .github/workflows/deploy.yml

---------

Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun authored Jan 3, 2024
1 parent d6b3477 commit f55d1db
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 20,764 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: pnpm install --no-frozen-lockfile

- name: Run build
run: npm run build:docker
run: pnpm run build:docker

- name: Calculate checksum and rename binary
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
pnpm commitlint --edit $1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint-staged
pnpm run lint-staged
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Open you browser and visit `http://localhost:8080/dashboard/`
- [Install GreptimeDB](https://docs.greptime.com/getting-started/installation/overview)
- Run `./greptime standalone start`
- Clone this project `git clone https://github.com/GreptimeTeam/dashboard.git`
- Run `npm install` for dependencies
- Run `npm run dev` and visit the URL in output
- Run `pnpm install` for dependencies
- Run `pnpm run dev` and visit the URL in output

## Screenshot

Expand Down
Loading

0 comments on commit f55d1db

Please sign in to comment.