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

feat: add configPath and silent options #12

Merged
merged 6 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ You can configure additional options using `cloudflareDev: { }` in `nitro.config
- Install the latest LTS version of [Node.js](https://nodejs.org/en/)
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `pnpm install`
- Build in stub mode using `pnpm build --stub`
- Prepare the build in stub mode using `pnpm dev:prepare`
atinux marked this conversation as resolved.
Show resolved Hide resolved
- Run Nitro playground using `pnpm dev:nitro` or Nuxt playground using `pnpm dev:nuxt`

## License
Expand Down
6 changes: 3 additions & 3 deletions examples/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"preview": "nuxt preview"
},
"devDependencies": {
"nuxt": "^3.9.3",
"vue": "^3.4.14",
"vue-router": "^4.2.5",
"nuxt": "^3.10.3",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"nitro-cloudflare-dev": "latest"
}
}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dist"
],
"scripts": {
"dev:prepare": "unbuild --stub",
"build": "unbuild",
"dev:nitro": "pnpm run -C examples/nitro dev",
"dev:nuxt": "pnpm run -C examples/nuxt dev",
Expand All @@ -41,19 +42,19 @@
"pkg-types": "^1.0.3"
},
"devDependencies": {
"@types/node": "^20.11.26",
"@types/node": "^20.11.28",
"changelogen": "^0.5.5",
"eslint": "^8.57.0",
"eslint-config-unjs": "^0.2.1",
"h3": "^1.11.1",
"jiti": "^1.21.0",
"miniflare": "^3.20240304.1",
"nitropack": "^2.9.3",
"miniflare": "^3.20240304.2",
"nitropack": "^2.9.4",
"nuxt": "^3.10.3",
"prettier": "^3.2.5",
"typescript": "^5.4.2",
"unbuild": "^2.0.0",
"wrangler": "^3.33.0"
"wrangler": "^3.34.2"
},
"packageManager": "pnpm@8.15.4"
}
}
Loading
Loading