Skip to content

Commit

Permalink
chore: add dev:local npm command (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
HolbyFPV authored Dec 1, 2024
1 parent 0ef92ee commit 9052353
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ npm i -g pnpm
# Install dependencies.
pnpm i

# Start in development mode.
# Start in development mode. (config: /zebar/examples/)
pnpm dev

# Start in development mode. (config: ~/.glz/zebar/)
pnpm dev:local
```

After making your changes, push to your fork and [submit a pull request](https://github.com/glzr-io/zebar/pulls). Please try to address only a single feature or fix in the PR so that it's easy to review.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"build": "pnpm run -r build",
"dev": "pnpm run --filter zebar build && pnpm run --parallel dev",
"dev:local": "pnpm run --filter zebar build && pnpm run --parallel dev:local",
"format": "prettier --write . && pnpm run -r format",
"lint": "prettier --check . && pnpm run -r lint"
},
Expand Down
1 change: 1 addition & 0 deletions packages/client-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"scripts": {
"build": "tsup src/index.ts --format esm --dts",
"dev": "npm run build -- --watch src",
"dev:local": "npm run build -- --watch src",
"prepublishOnly": "npm run build"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"build": "npm run tauri build -- --verbose",
"dev": "npm run tauri dev -- -- -- startup --config-dir=../../examples",
"dev:local": "npm run tauri dev -- -- -- startup",
"format": "cargo fmt",
"lint": "cargo fmt --check",
"tauri": "tauri"
Expand Down
3 changes: 2 additions & 1 deletion packages/settings-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"scripts": {
"build": "vite build",
"dev": "vite"
"dev": "vite",
"dev:local": "vite"
},
"dependencies": {
"@glzr/components": "1.0.2",
Expand Down

0 comments on commit 9052353

Please sign in to comment.