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", "");