diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7bbb7d..df25717 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,9 @@ jobs: with: node-version: "22.x" registry-url: "https://registry.npmjs.org" - - run: npm run release + - run: npm run create:package - run: npm install - - run: npm run publish + - run: npm run release - run: cd ~/work/framework/framework/dist && npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index fa339ed..8722b03 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@next2d/framework", "description": "Next2D Framework is designed according to the principles of clean architecture, domain-driven development, test-driven development, and MVVM, with an emphasis on flexibility, scalability, and maintainability, and a design methodology that keeps each layer loosely coupled.", - "version": "3.0.1", + "version": "3.0.2", "homepage": "https://next2d.app", "bugs": "https://github.com/Next2D/Framework/issues/new", "author": "Toshiyuki Ienaga (https://github.com/ienaga/)", @@ -22,8 +22,8 @@ "scripts": { "lint": "eslint src/**/*.ts", "clean": "node ./scripts/clean.js", - "release": "node ./scripts/release.js", - "publish": "node ./scripts/version.js && tsc && node ./scripts/publish.js", + "create:package": "node ./scripts/create.js", + "release": "node ./scripts/version.js && tsc && node ./scripts/publish.js", "test": "vitest" }, "repository": { diff --git a/scripts/release.js b/scripts/create.js similarity index 100% rename from scripts/release.js rename to scripts/create.js