Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit fe64f40

Browse files
committed
chore: remove servor & replace with Vite preview
1 parent 308f523 commit fe64f40

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
with:
8585
install: false
8686
# working-directory: packages/dnd
87-
start: yarn serve:demo
87+
start: yarn vite:preview
8888
wait-on: 'http://localhost:4300'
8989
config-file: test/cypress.config.ts
9090
browser: chrome

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"scripts": {
1919
"start": "ng serve --port 4300",
20+
"vite:preview": "vite preview --outDir=website --port=4300",
2021
"prebuild": "npm-run-all delete:dist lint prettier:check",
2122
"build": "ng-packagr -p ng-package.json -c tsconfig.json",
2223
"postbuild": "npm-run-all copy:i18n",
@@ -32,7 +33,6 @@
3233
"prettier:check": "prettier --check **/*.{html,js,ts}",
3334
"prettier:write": "prettier --write **/*.{html,js,ts}",
3435
"release": "release-it --only-version",
35-
"serve:demo": "servor ./website index.html 4300",
3636
"test": "ng test",
3737
"test:watch": "ng test --watch",
3838
"test:coverage": "vitest --no-watch --coverage"
@@ -127,7 +127,6 @@
127127
"rimraf": "^6.0.1",
128128
"rxjs": "^7.8.2",
129129
"sass": "^1.86.1",
130-
"servor": "^4.0.2",
131130
"sortablejs": "^1.15.6",
132131
"stream-browserify": "^3.0.0",
133132
"ts-node": "^10.9.2",

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12294,11 +12294,6 @@ [email protected], serve-static@^1.16.2:
1229412294
parseurl "~1.3.3"
1229512295
send "0.19.0"
1229612296

12297-
servor@^4.0.2:
12298-
version "4.0.2"
12299-
resolved "https://registry.yarnpkg.com/servor/-/servor-4.0.2.tgz#6d5e5c61fbb3d6f4bde72995dbe6745829395971"
12300-
integrity sha512-MlmQ5Ntv4jDYUN060x/KEmN7emvIqKMZ9OkM+nY8Bf2+KkyLmGsTqWLyAN2cZr5oESAcH00UanUyyrlS1LRjFw==
12301-
1230212297
1230312298
version "1.1.0"
1230412299
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"

0 commit comments

Comments
 (0)