Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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<ienaga@next2d.app> (https://github.com/ienaga/)",
"license": "MIT",
Expand Down
15 changes: 13 additions & 2 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"");
Expand Down
Loading