chore: 更新仓库 URL (ecs-framework → esengine)
仓库已从 esengine/ecs-framework 重命名为 esengine/esengine 更新所有引用旧 URL 的文件
This commit is contained in:
@@ -2,7 +2,7 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
console.log('🚀 使用 Rollup 构建 @esengine/ecs-framework-math npm包...');
|
||||
console.log('🚀 使用 Rollup 构建 @esengine/esengine-math npm包...');
|
||||
|
||||
async function main() {
|
||||
try {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"id": "math",
|
||||
"name": "@esengine/ecs-framework-math",
|
||||
"name": "@esengine/esengine-math",
|
||||
"displayName": "Math",
|
||||
"description": "Vector, Matrix, Transform and other math utilities | 向量、矩阵、变换等数学工具",
|
||||
"version": "1.0.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@esengine/ecs-framework-math",
|
||||
"name": "@esengine/esengine-math",
|
||||
"version": "1.0.5",
|
||||
"description": "ECS框架2D数学库 - 提供向量、矩阵、几何形状和碰撞检测功能",
|
||||
"main": "bin/index.js",
|
||||
@@ -60,7 +60,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/esengine/ecs-framework.git",
|
||||
"url": "https://github.com/esengine/esengine.git",
|
||||
"directory": "packages/math"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ const { readFileSync } = require('fs');
|
||||
const pkg = JSON.parse(readFileSync('./package.json', 'utf8'));
|
||||
|
||||
const banner = `/**
|
||||
* @esengine/ecs-framework-math v${pkg.version}
|
||||
* @esengine/esengine-math v${pkg.version}
|
||||
* ECS框架2D数学库 - 提供向量、矩阵、几何形状和碰撞检测功能
|
||||
*
|
||||
* @author ${pkg.author}
|
||||
@@ -109,7 +109,7 @@ module.exports = [
|
||||
file: 'dist/index.d.ts',
|
||||
format: 'es',
|
||||
banner: `/**
|
||||
* @esengine/ecs-framework-math v${pkg.version}
|
||||
* @esengine/esengine-math v${pkg.version}
|
||||
* TypeScript definitions
|
||||
*/`
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user