Skip to content

Commit

Permalink
chore: use shell-emulator (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru authored Dec 12, 2022
1 parent 266388c commit 7c6ebd5
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 46 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shell-emulator=true
5 changes: 2 additions & 3 deletions examples/nuxt-style/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"private": true,
"scripts": {
"dev": "nodemon --watch ../../dist/*.js -x 'cross-env DEBUG=vite-plugin-pages:* vite'",
"build": "cross-env DEBUG=vite-plugin-pages vite build",
"dev": "nodemon --watch ../../dist/*.js -x 'DEBUG=vite-plugin-pages:* vite'",
"build": "DEBUG=vite-plugin-pages vite build",
"serve": "vite preview"
},
"dependencies": {
Expand All @@ -12,7 +12,6 @@
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.3",
"@vue/compiler-sfc": "^3.2.38",
"cross-env": "^7.0.3",
"nodemon": "^2.0.19",
"typescript": "^4.8.2",
"vite": "^3.0.9",
Expand Down
5 changes: 2 additions & 3 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "react",
"private": true,
"scripts": {
"dev": "nodemon --watch ../../dist/*.js -x 'cross-env DEBUG=vite-plugin-pages:* vite'",
"build": "cross-env DEBUG=vite-plugin-pages vite build",
"dev": "nodemon --watch ../../dist/*.js -x 'DEBUG=vite-plugin-pages:* vite'",
"build": "DEBUG=vite-plugin-pages vite build",
"serve": "vite preview"
},
"dependencies": {
Expand All @@ -17,7 +17,6 @@
"@types/react-router-config": "^5.0.6",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^2.0.1",
"cross-env": "^7.0.3",
"nodemon": "^2.0.19",
"typescript": "^4.8.2",
"vite": "^3.0.9",
Expand Down
5 changes: 2 additions & 3 deletions examples/remix-style/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"private": true,
"scripts": {
"dev": "nodemon --watch ../../dist/*.js -x 'cross-env DEBUG=vite-plugin-pages:* vite'",
"build": "cross-env DEBUG=vite-plugin-pages vite build",
"dev": "nodemon --watch ../../dist/*.js -x 'DEBUG=vite-plugin-pages:* vite'",
"build": "DEBUG=vite-plugin-pages vite build",
"serve": "vite preview"
},
"dependencies": {
Expand All @@ -16,7 +16,6 @@
"@types/react-router-config": "^5.0.6",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^2.0.1",
"cross-env": "^7.0.3",
"nodemon": "^2.0.19",
"typescript": "^4.8.2",
"vite": "^3.0.9",
Expand Down
5 changes: 2 additions & 3 deletions examples/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"private": true,
"scripts": {
"dev": "nodemon --watch ../../dist/*.js -x 'cross-env DEBUG=vite-plugin-pages:* vite'",
"build": "cross-env DEBUG=vite-plugin-pages vite build",
"dev": "nodemon --watch ../../dist/*.js -x 'DEBUG=vite-plugin-pages:* vite'",
"build": "DEBUG=vite-plugin-pages vite build",
"serve": "vite preview"
},
"dependencies": {
"@solidjs/router": "^0.5.0",
"solid-js": "^1.5.4"
},
"devDependencies": {
"cross-env": "^7.0.3",
"nodemon": "^2.0.19",
"typescript": "^4.8.2",
"vite": "^3.0.9",
Expand Down
5 changes: 2 additions & 3 deletions examples/vue-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"type": "module",
"private": true,
"scripts": {
"dev": "nodemon --watch ../../dist/*.js -x 'cross-env DEBUG=vite-plugin-pages:* vite'",
"build": "cross-env DEBUG=vite-plugin-pages vite build",
"dev": "nodemon --watch ../../dist/*.js -x 'DEBUG=vite-plugin-pages:* vite'",
"build": "DEBUG=vite-plugin-pages vite build",
"serve": "vite preview"
},
"dependencies": {
Expand All @@ -13,7 +13,6 @@
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.3",
"@vue/compiler-sfc": "^3.2.38",
"cross-env": "^7.0.3",
"nodemon": "^2.0.19",
"typescript": "^4.8.2",
"vite": "^3.0.9",
Expand Down
5 changes: 2 additions & 3 deletions examples/vue-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"build": "pnpm build:client && pnpm build:server",
"build:client": "vite build --ssrManifest --outDir dist/client",
"build:server": "vite build --ssr src/entry-server.ts --outDir dist/server",
"generate": "cross-env DEBUG=vite-plugin-pages:* vite build --ssrManifest --outDir dist/static && yarn build:server && esno prerender",
"serve": "cross-env NODE_ENV=production esno server"
"generate": "DEBUG=vite-plugin-pages:* vite build --ssrManifest --outDir dist/static && yarn build:server && esno prerender",
"serve": "NODE_ENV=production esno server"
},
"dependencies": {
"vue": "^3.2.38",
Expand All @@ -20,7 +20,6 @@
"@vue/compiler-sfc": "^3.2.38",
"@vue/server-renderer": "^3.2.38",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"esno": "^0.16.3",
"express": "^4.18.1",
"fast-glob": "^3.2.11",
Expand Down
5 changes: 2 additions & 3 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "vue",
"private": true,
"scripts": {
"dev": "nodemon --watch ../../dist/*.js -x 'cross-env DEBUG=vite-plugin-pages:* vite'",
"build": "cross-env DEBUG=vite-plugin-pages:* vite build",
"dev": "nodemon --watch ../../dist/*.js -x 'DEBUG=vite-plugin-pages:* vite'",
"build": "DEBUG=vite-plugin-pages:* vite build",
"serve": "vite preview"
},
"dependencies": {
Expand All @@ -14,7 +14,6 @@
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.3",
"@vue/compiler-sfc": "^3.2.38",
"cross-env": "^7.0.3",
"nodemon": "^2.0.19",
"typescript": "^4.8.2",
"vite": "^3.0.9",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"@vitest/ui": "^0.24.3",
"@vue/compiler-sfc": "^3.2.45",
"bumpp": "^8.2.1",
"cross-env": "^7.0.3",
"eslint": "^8.28.0",
"esno": "^0.16.3",
"playwright": "^1.28.1",
Expand Down
24 changes: 0 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c6ebd5

Please sign in to comment.