chore: use serve instead of firebase emulator
This commit is contained in:
parent
0312a631a0
commit
f4e08865c5
7 changed files with 168 additions and 3287 deletions
|
@ -5,7 +5,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "open-cli http://localhost:3000 && next dev",
|
"dev": "open-cli http://localhost:3000 && next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"serve": "cd ../.. && firebase emulators:start --only hosting --config=firebase.test.blog.json",
|
"serve": "serve build --listen 3000",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"test:e2e": "playwright test",
|
"test:e2e": "playwright test",
|
||||||
"clean": "rm -rf .next .turbo build node_modules test-results"
|
"clean": "rm -rf .next .turbo build node_modules test-results"
|
||||||
|
@ -35,7 +35,6 @@
|
||||||
"eslint": "8.45.0",
|
"eslint": "8.45.0",
|
||||||
"eslint-config-next": "13.4.12",
|
"eslint-config-next": "13.4.12",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"firebase-tools": "^12.4.6",
|
|
||||||
"highlight.js": "^11.8.0",
|
"highlight.js": "^11.8.0",
|
||||||
"katex": "^0.16.8",
|
"katex": "^0.16.8",
|
||||||
"next": "13.4.12",
|
"next": "13.4.12",
|
||||||
|
@ -45,6 +44,7 @@
|
||||||
"prettier-plugin-tailwindcss": "^0.4.1",
|
"prettier-plugin-tailwindcss": "^0.4.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
|
"serve": "^14.2.0",
|
||||||
"tailwindcss": "3.3.3",
|
"tailwindcss": "3.3.3",
|
||||||
"typescript": "5.1.6",
|
"typescript": "5.1.6",
|
||||||
"zustand": "^4.3.9"
|
"zustand": "^4.3.9"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"cp": "cp ../../packages/content/dist/skills.svg ../../packages/content/dist/resume.pdf static",
|
"cp": "cp ../../packages/content/dist/skills.svg ../../packages/content/dist/resume.pdf static",
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "pnpm cp && vite build",
|
"build": "pnpm cp && vite build",
|
||||||
"serve": "cd ../.. && firebase emulators:start --only hosting --config=firebase.test.main.json",
|
"serve": "serve build --listen 5173",
|
||||||
"test:e2e": "playwright test",
|
"test:e2e": "playwright test",
|
||||||
"clean": "rm -rf .turbo .svelte-kit build node_modules vite.config.ts.timestamp-*",
|
"clean": "rm -rf .turbo .svelte-kit build node_modules vite.config.ts.timestamp-*",
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
|
@ -31,11 +31,11 @@
|
||||||
"eslint-plugin-import": "^2.27.5",
|
"eslint-plugin-import": "^2.27.5",
|
||||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||||
"eslint-plugin-svelte": "^2.32.2",
|
"eslint-plugin-svelte": "^2.32.2",
|
||||||
"firebase-tools": "^12.4.6",
|
|
||||||
"postcss": "^8.4.25",
|
"postcss": "^8.4.25",
|
||||||
"prettier-plugin-svelte": "^2.10.1",
|
"prettier-plugin-svelte": "^2.10.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.3.0",
|
"prettier-plugin-tailwindcss": "^0.3.0",
|
||||||
"sass": "^1.63.6",
|
"sass": "^1.63.6",
|
||||||
|
"serve": "^14.2.0",
|
||||||
"svelte": "^4.0.5",
|
"svelte": "^4.0.5",
|
||||||
"svelte-check": "^3.4.5",
|
"svelte-check": "^3.4.5",
|
||||||
"tailwindcss": "^3.3.2",
|
"tailwindcss": "^3.3.2",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "open-cli http://localhost:5174 && next dev -p 5174",
|
"dev": "open-cli http://localhost:5174 && next dev -p 5174",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"serve": "cd ../.. && firebase emulators:start --only hosting --config=firebase.test.portfolio.json",
|
"serve": "serve dist --listen 5174",
|
||||||
"test:e2e": "playwright test",
|
"test:e2e": "playwright test",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"clean": "rm -rf .next .turbo dist node_modules test-results"
|
"clean": "rm -rf .next .turbo dist node_modules test-results"
|
||||||
|
@ -35,7 +35,6 @@
|
||||||
"autoprefixer": "10.4.14",
|
"autoprefixer": "10.4.14",
|
||||||
"eslint": "8.45.0",
|
"eslint": "8.45.0",
|
||||||
"eslint-config-next": "13.4.12",
|
"eslint-config-next": "13.4.12",
|
||||||
"firebase-tools": "^12.4.6",
|
|
||||||
"highlight.js": "^11.8.0",
|
"highlight.js": "^11.8.0",
|
||||||
"katex": "^0.16.8",
|
"katex": "^0.16.8",
|
||||||
"next": "13.4.12",
|
"next": "13.4.12",
|
||||||
|
@ -46,6 +45,7 @@
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-collapse": "^5.1.1",
|
"react-collapse": "^5.1.1",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
|
"serve": "^14.2.0",
|
||||||
"tailwindcss": "3.3.3",
|
"tailwindcss": "3.3.3",
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.1.6"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
{
|
|
||||||
"hosting": {
|
|
||||||
"cleanUrls": true,
|
|
||||||
"trailingSlash": false,
|
|
||||||
"public": "apps/blog/build",
|
|
||||||
"ignore": ["**/.*"]
|
|
||||||
},
|
|
||||||
|
|
||||||
"emulators": {
|
|
||||||
"hub": {
|
|
||||||
"name": "hub",
|
|
||||||
"host": "localhost",
|
|
||||||
"port": 4400
|
|
||||||
},
|
|
||||||
"hosting": {
|
|
||||||
"host": "localhost",
|
|
||||||
"port": 3000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"hosting": {
|
|
||||||
"cleanUrls": true,
|
|
||||||
"trailingSlash": false,
|
|
||||||
"public": "apps/main/build",
|
|
||||||
"ignore": ["**/.*"]
|
|
||||||
},
|
|
||||||
|
|
||||||
"emulators": {
|
|
||||||
"hub": {
|
|
||||||
"name": "hub",
|
|
||||||
"host": "localhost",
|
|
||||||
"port": 4401
|
|
||||||
},
|
|
||||||
"hosting": {
|
|
||||||
"port": 5173
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"hosting": {
|
|
||||||
"cleanUrls": true,
|
|
||||||
"trailingSlash": false,
|
|
||||||
"public": "apps/portfolio/dist",
|
|
||||||
"ignore": ["**/.*"]
|
|
||||||
},
|
|
||||||
|
|
||||||
"emulators": {
|
|
||||||
"hub": {
|
|
||||||
"name": "hub",
|
|
||||||
"host": "localhost",
|
|
||||||
"port": 4402
|
|
||||||
},
|
|
||||||
"hosting": {
|
|
||||||
"port": 5174
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
3383
pnpm-lock.yaml
generated
3383
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue