@nexusgame/dev 0.0.0-stage → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,34 @@
1
1
  {
2
2
  "name": "@nexusgame/dev",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.4.0",
4
+ "type": "module",
5
+ "description": "Nexus Playground - local game development and debugging toolkit",
6
+ "bin": {
7
+ "npgame-dev": "./dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "dependencies": {
13
+ "miniflare": "^4.20260302.0",
14
+ "commander": "^12.0.0",
15
+ "chalk": "^5.3.0"
16
+ },
17
+ "devDependencies": {
18
+ "tsup": "^8.0.1",
19
+ "tsx": "^4.7.0",
20
+ "typescript": "^5.3.3",
21
+ "@types/node": "^20.11.0",
22
+ "@nexusgame/engine-client": "0.1.0",
23
+ "@nexusgame/workspace-client": "0.1.0",
24
+ "@nexusgame/engine-console": "0.1.0"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "scripts": {
30
+ "build": "tsup --config tsup.config.ts && cp ../../nexus-engine/dist/engine-worker.js dist/engine-worker.js && (test -f ../../engine-console/dist/index.html && test -f ../../engine-console/dist/workspace.html || (echo '❌ engine-console 未构建,请先运行 pnpm --filter @nexusgame/engine-console run build' && exit 1)) && rm -rf dist/console && cp -R ../../engine-console/dist dist/console",
31
+ "typecheck": "tsc --noEmit",
32
+ "dev": "tsx src/index.ts"
33
+ }
6
34
  }