From 0c442f7be794c0e43cc295660d02e4958e583684 Mon Sep 17 00:00:00 2001 From: ienaga Date: Mon, 24 Mar 2025 09:00:16 +0900 Subject: [PATCH] =?UTF-8?q?#169=20publish=E6=99=82=E3=81=AE=E3=83=91?= =?UTF-8?q?=E3=83=83=E3=82=B1=E3=83=BC=E3=82=B8=E6=9B=B8=E3=81=8D=E5=87=BA?= =?UTF-8?q?=E3=81=97=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 9 --------- package-lock.json | 4 ++-- package.json | 2 +- scripts/publish.js | 15 +++++++++++++-- src/index.ts | 2 +- 5 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7a3ebc73..98e506e0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -49,19 +49,10 @@ jobs: - run: cd ~/work/player/player/dist/packages/render-queue && npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - # - run: cd ~/work/player/player/dist/packages/renderer && npm publish --access public - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - run: cd ~/work/player/player/dist/packages/text && npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - # - run: cd ~/work/player/player/dist/packages/texture-packer && npm publish --access public - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - run: cd ~/work/player/player/dist/packages/ui && npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - # - run: cd ~/work/player/player/dist/packages/webgl && npm publish --access public - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} - run: cd ~/work/player/player && npm run clean \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5d9c2015..e9387d58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@next2d/player", - "version": "2.0.2", + "version": "2.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@next2d/player", - "version": "2.0.2", + "version": "2.0.3", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index fee8b0fb..73d47737 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@next2d/player", - "version": "2.0.2", + "version": "2.0.3", "description": "Experience the fast and beautiful anti-aliased rendering of WebGL. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.", "author": "Toshiyuki Ienaga (https://github.com/ienaga/)", "license": "MIT", diff --git a/scripts/publish.js b/scripts/publish.js index 41a3a2d5..56c730a1 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -25,9 +25,20 @@ const execute = () => const dirName = dirList[idx]; - basePackageJson.dependencies[`@next2d/${dirName}`] = basePackageJson.version; + switch (dirName) { - const outDir = join(process.cwd(), `dist/packages/${dirName}`); + case "renderer": + case "webgl": + case "texture-packer": + break; + + default: + basePackageJson.dependencies[`@next2d/${dirName}`] = basePackageJson.version; + break; + + } + + const outDir = join(process.cwd(), `dist/packages/${dirName}`); const packagePath = join(process.cwd(), `packages/${dirName}`); // LICENSE diff --git a/src/index.ts b/src/index.ts index c27db219..c1c2a050 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ import { Next2D } from "@next2d/core"; if (!("next2d" in window)) { - console.log("%c Next2D Player %c 2.1.0 %c https://next2d.app", + console.log("%c Next2D Player %c 2.0.3 %c https://next2d.app", "color: #fff; background: #5f5f5f", "color: #fff; background: #4bc729", "");