[viewer] link p-viewer instead for easier viewer dev
This commit is contained in:
parent
92c782d686
commit
86ffedff1e
6 changed files with 307 additions and 2630 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
- name: Install pnpm
|
||||
run: npm i -g pnpm
|
||||
# todo this needs investigating fixing
|
||||
- run: pnpm install --no-frozen-lockfile
|
||||
- run: pnpm install
|
||||
- run: pnpm lint
|
||||
- run: pnpm check-build
|
||||
- run: nohup pnpm prod-start &
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@
|
|||
"test:cypress": "cypress run",
|
||||
"test:e2e": "start-test http-get://localhost:8080 test:cypress",
|
||||
"prod-start": "node server.js",
|
||||
"postinstall": "node scripts/gen-texturepack-files.mjs",
|
||||
"viewer-init": "path-exists prismarine-viewer/node_modules || pnpm i --dir prismarine-viewer",
|
||||
"postinstall": "node scripts/gen-texturepack-files.mjs && pnpm viewer-init",
|
||||
"lint": "eslint \"{src,cypress}/**/*.{ts,js,jsx,tsx}\""
|
||||
},
|
||||
"keywords": [
|
||||
|
|
@ -67,6 +68,7 @@
|
|||
"crypto-browserify": "^3.12.0",
|
||||
"cypress": "^9.5.4",
|
||||
"cypress-esbuild-preprocessor": "^1.0.2",
|
||||
"path-exists-cli": "^2.0.0",
|
||||
"eslint": "^8.50.0",
|
||||
"eslint-config-zardoy": "^0.2.17",
|
||||
"events": "^3.3.0",
|
||||
|
|
@ -80,7 +82,7 @@
|
|||
"npm-run-all": "^4.1.5",
|
||||
"os-browserify": "^0.3.0",
|
||||
"path-browserify": "^1.0.1",
|
||||
"prismarine-viewer": "file:prismarine-viewer",
|
||||
"prismarine-viewer": "link:prismarine-viewer",
|
||||
"process": "github:PrismarineJS/node-process",
|
||||
"rimraf": "^5.0.1",
|
||||
"stream-browserify": "^3.0.0",
|
||||
|
|
|
|||
2823
pnpm-lock.yaml
generated
2823
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -8,7 +8,7 @@
|
|||
"pretest": "npm run lint",
|
||||
"lint": "standard",
|
||||
"fix": "standard --fix",
|
||||
"prepare": "node viewer/generateTextures.js && node buildWorker.mjs"
|
||||
"postinstall": "node viewer/generateTextures.js && node buildWorker.mjs"
|
||||
},
|
||||
"author": "PrismarineJS",
|
||||
"license": "MIT",
|
||||
|
|
@ -22,16 +22,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@tweenjs/tween.js": "^20.0.3",
|
||||
"compression": "^1.7.4",
|
||||
"express": "^4.17.1",
|
||||
"minecraft-data": "^3.0.0",
|
||||
"minecrafthawkeye": "^1.3.6",
|
||||
"prismarine-block": "^1.7.3",
|
||||
"prismarine-chunk": "^1.22.0",
|
||||
"prismarine-world": "^3.3.1",
|
||||
"socket.io": "^4.0.0",
|
||||
"socket.io-client": "^4.0.0",
|
||||
"three": "0.128.0",
|
||||
"three.meshline": "^1.3.0",
|
||||
"vec3": "^0.1.7",
|
||||
"assert": "^2.0.0",
|
||||
|
|
@ -39,13 +34,8 @@
|
|||
"canvas": "^2.11.2",
|
||||
"filesize": "^10.0.12",
|
||||
"fs-extra": "^11.0.0",
|
||||
"jest": "^27.0.4",
|
||||
"jest-puppeteer": "^6.0.0",
|
||||
"lil-gui": "^0.18.2",
|
||||
"minecraft-assets": "^1.9.0",
|
||||
"minecraft-wrap": "^1.3.0",
|
||||
"mineflayer": "^4.0.0",
|
||||
"mineflayer-pathfinder": "^2.0.0",
|
||||
"prismarine-schematic": "^1.2.0",
|
||||
"prismarine-viewer": "link:./",
|
||||
"process": "^0.11.10"
|
||||
|
|
|
|||
16
prismarine-viewer/pnpm-lock.yaml
generated
16
prismarine-viewer/pnpm-lock.yaml
generated
|
|
@ -1,16 +0,0 @@
|
|||
lockfileVersion: '6.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
devDependencies:
|
||||
lil-gui:
|
||||
specifier: ^0.18.2
|
||||
version: 0.18.2
|
||||
|
||||
packages:
|
||||
|
||||
/lil-gui@0.18.2:
|
||||
resolution: {integrity: sha512-DgdrLy3/KGC0PiQLKgOcJMPItP4xY4iWgJ9+91Zaxfr8GCTmMps05QS9w9jW7yspILlbscbquwjOwxmWnSx5Uw==}
|
||||
dev: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue