fix: 恢复 @esengine/ecs-framework 包名
上一个提交错误地将 npm 包名也改了,这里恢复正确的包名。 只更新 GitHub 仓库 URL,不改变 npm 包名。
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/esengine-math npm包...');
|
||||
console.log('🚀 使用 Rollup 构建 @esengine/ecs-framework-math npm包...');
|
||||
|
||||
async function main() {
|
||||
try {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"id": "math",
|
||||
"name": "@esengine/esengine-math",
|
||||
"name": "@esengine/ecs-framework-math",
|
||||
"displayName": "Math",
|
||||
"description": "Vector, Matrix, Transform and other math utilities | 向量、矩阵、变换等数学工具",
|
||||
"version": "1.0.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@esengine/esengine-math",
|
||||
"name": "@esengine/ecs-framework-math",
|
||||
"version": "1.0.5",
|
||||
"description": "ECS框架2D数学库 - 提供向量、矩阵、几何形状和碰撞检测功能",
|
||||
"main": "bin/index.js",
|
||||
|
||||
@@ -7,7 +7,7 @@ const { readFileSync } = require('fs');
|
||||
const pkg = JSON.parse(readFileSync('./package.json', 'utf8'));
|
||||
|
||||
const banner = `/**
|
||||
* @esengine/esengine-math v${pkg.version}
|
||||
* @esengine/ecs-framework-math v${pkg.version}
|
||||
* ECS框架2D数学库 - 提供向量、矩阵、几何形状和碰撞检测功能
|
||||
*
|
||||
* @author ${pkg.author}
|
||||
@@ -109,7 +109,7 @@ module.exports = [
|
||||
file: 'dist/index.d.ts',
|
||||
format: 'es',
|
||||
banner: `/**
|
||||
* @esengine/esengine-math v${pkg.version}
|
||||
* @esengine/ecs-framework-math v${pkg.version}
|
||||
* TypeScript definitions
|
||||
*/`
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user