fix: add private:true to packages not meant for npm (#345)

* fix(ci): run on all PRs with conditional skip

- Remove paths filter from pull_request trigger
- Add check-changes job to detect code changes
- Skip full CI if no code files changed
- Satisfies branch protection while avoiding unnecessary builds

* fix: add private:true to packages not meant for npm

Prevents changesets from trying to publish internal packages:
- engine/* (8 packages)
- rendering/* (8 packages)
- physics/* (2 packages)
- streaming/* (1 package)
- tools/sdk, tools/worker-generator
This commit is contained in:
YHH
2025-12-26 17:45:00 +08:00
committed by GitHub
parent ec72df7af5
commit a049bbe2f5
21 changed files with 754 additions and 733 deletions

View File

@@ -48,5 +48,6 @@
"dependencies": {
"@types/pako": "^2.0.4",
"pako": "^2.1.0"
}
},
"private": true
}

View File

@@ -1,48 +1,49 @@
{
"name": "@esengine/engine-core",
"version": "1.0.0",
"description": "Engine core components - Transform, etc.",
"esengine": {
"plugin": true,
"pluginExport": "EnginePlugin",
"category": "core",
"isEnginePlugin": true
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/ecs-framework-math": "workspace:*",
"@esengine/platform-common": "workspace:*"
},
"devDependencies": {
"@esengine/build-config": "workspace:*",
"rimraf": "^5.0.5",
"tsup": "^8.0.0",
"typescript": "^5.3.3"
},
"keywords": [
"ecs",
"engine",
"transform"
],
"author": "yhh",
"license": "MIT"
"name": "@esengine/engine-core",
"version": "1.0.0",
"description": "Engine core components - Transform, etc.",
"esengine": {
"plugin": true,
"pluginExport": "EnginePlugin",
"category": "core",
"isEnginePlugin": true
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/ecs-framework-math": "workspace:*",
"@esengine/platform-common": "workspace:*"
},
"devDependencies": {
"@esengine/build-config": "workspace:*",
"rimraf": "^5.0.5",
"tsup": "^8.0.0",
"typescript": "^5.3.3"
},
"keywords": [
"ecs",
"engine",
"transform"
],
"author": "yhh",
"license": "MIT",
"private": true
}

View File

@@ -1,48 +1,49 @@
{
"name": "@esengine/material-system",
"version": "1.0.0",
"description": "Material and shader system for ES Engine",
"esengine": {
"plugin": true,
"pluginExport": "MaterialSystemPlugin",
"category": "rendering",
"isEnginePlugin": true
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"devDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/asset-system": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/build-config": "workspace:*",
"rimraf": "^5.0.5",
"tsup": "^8.0.0",
"typescript": "^5.3.3"
},
"keywords": [
"ecs",
"material",
"shader",
"webgl",
"rendering"
],
"author": "yhh",
"license": "MIT"
"name": "@esengine/material-system",
"version": "1.0.0",
"description": "Material and shader system for ES Engine",
"esengine": {
"plugin": true,
"pluginExport": "MaterialSystemPlugin",
"category": "rendering",
"isEnginePlugin": true
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"devDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/asset-system": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/build-config": "workspace:*",
"rimraf": "^5.0.5",
"tsup": "^8.0.0",
"typescript": "^5.3.3"
},
"keywords": [
"ecs",
"material",
"shader",
"webgl",
"rendering"
],
"author": "yhh",
"license": "MIT",
"private": true
}

View File

@@ -46,5 +46,6 @@
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/platform-common"
}
},
"private": true
}

View File

@@ -57,5 +57,6 @@
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/platform-web"
}
},
"private": true
}

View File

@@ -52,5 +52,6 @@
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/platform-wechat"
}
},
"private": true
}

View File

@@ -1,45 +1,46 @@
{
"name": "@esengine/runtime-core",
"version": "1.0.0",
"description": "Runtime core - plugin management and system initialization",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/ecs-framework-math": "workspace:*",
"@esengine/ecs-engine-bindgen": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/asset-system": "workspace:*",
"@esengine/platform-common": "workspace:*"
},
"devDependencies": {
"@esengine/build-config": "workspace:*",
"rimraf": "^5.0.5",
"tsup": "^8.0.0",
"typescript": "^5.3.3"
},
"keywords": [
"ecs",
"runtime",
"plugin"
],
"author": "yhh",
"license": "MIT"
"name": "@esengine/runtime-core",
"version": "1.0.0",
"description": "Runtime core - plugin management and system initialization",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/ecs-framework-math": "workspace:*",
"@esengine/ecs-engine-bindgen": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/asset-system": "workspace:*",
"@esengine/platform-common": "workspace:*"
},
"devDependencies": {
"@esengine/build-config": "workspace:*",
"rimraf": "^5.0.5",
"tsup": "^8.0.0",
"typescript": "^5.3.3"
},
"keywords": [
"ecs",
"runtime",
"plugin"
],
"author": "yhh",
"license": "MIT",
"private": true
}

View File

@@ -1,56 +1,57 @@
{
"name": "@esengine/script-runtime",
"version": "1.0.0",
"description": "Server-side blueprint execution for programmable strategy games | 服务器端蓝图执行,用于可编程策略游戏",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"module.json"
],
"scripts": {
"clean": "rimraf dist tsconfig.tsbuildinfo",
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit"
},
"keywords": [
"ecs",
"script-runtime",
"screeps",
"server-side",
"game-engine"
],
"author": "yhh",
"license": "MIT",
"devDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/blueprint": "workspace:*",
"@esengine/build-config": "workspace:*",
"@types/node": "^20.19.17",
"rimraf": "^5.0.0",
"tsup": "^8.0.0",
"typescript": "^5.8.3"
},
"dependencies": {
"tslib": "^2.8.1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/script-runtime"
"name": "@esengine/script-runtime",
"version": "1.0.0",
"description": "Server-side blueprint execution for programmable strategy games | 服务器端蓝图执行,用于可编程策略游戏",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"module.json"
],
"scripts": {
"clean": "rimraf dist tsconfig.tsbuildinfo",
"build": "tsup",
"build:watch": "tsup --watch",
"type-check": "tsc --noEmit"
},
"keywords": [
"ecs",
"script-runtime",
"screeps",
"server-side",
"game-engine"
],
"author": "yhh",
"license": "MIT",
"devDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/blueprint": "workspace:*",
"@esengine/build-config": "workspace:*",
"@types/node": "^20.19.17",
"rimraf": "^5.0.0",
"tsup": "^8.0.0",
"typescript": "^5.8.3"
},
"dependencies": {
"tslib": "^2.8.1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/script-runtime"
},
"private": true
}