Skip to content

Commit

Permalink
Merge pull request #187 from SpriteStudio/feature/rollup4
Browse files Browse the repository at this point in the history
feature/rollup4
  • Loading branch information
Naruto authored Nov 3, 2023
2 parents 7fa5230 + 61900d0 commit 70f6203
Show file tree
Hide file tree
Showing 19 changed files with 1,309 additions and 885 deletions.
1,935 changes: 1,180 additions & 755 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"typedoc": "^0.25.1",
"lerna": "^7.3.0",
"typedoc": "^0.25.3",
"lerna": "^7.4.2",
"ncp": "^2.0.0",
"rimraf": "^5.0.5",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"eslint": "^8.52.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"@typescript-eslint/eslint-plugin-tslint": "^6.7.3",
"@typescript-eslint/eslint-plugin-tslint": "^6.9.1",
"eslint-config-prettier": "^9.0.0"
},
"optionalDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ss6player-lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ npm i
npm run build
```

ビルドが成功すると `ss6player-lib.umd.js``ss6player-lib.es5.js``SS6PlayerForWeb/packages/ss6player-lib/dist` ディレクトリ以下に生成されます。
ビルドが成功すると `ss6player-lib.umd.js``ss6player-lib.es6.js``SS6PlayerForWeb/packages/ss6player-lib/dist` ディレクトリ以下に生成されます。

### 単独ビルド

Expand Down
32 changes: 16 additions & 16 deletions packages/ss6player-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"SpriteStudio"
],
"main": "dist/ss6player-lib.umd.js",
"module": "dist/ss6player-lib.es5.js",
"module": "dist/ss6player-lib.es6.js",
"typings": "dist/types/ss6player-lib.d.ts",
"bugs": {
"url": "https://github.com/SpriteStudio/SS6PlayerForWeb/issues"
Expand All @@ -29,7 +29,7 @@
"start": "npm run watch",
"lint": "eslint -c ../../.eslintrc.js --ext .ts ./src",
"prebuild": "npm run clean",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs --strictDeprecations",
"watch": "rollup -c rollup.config.ts -w",
"dist": "npm run docs && npm run build",
"clean": "rimraf dist",
Expand All @@ -40,24 +40,24 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"typedoc": "^0.25.1",
"typedoc": "^0.25.3",
"flatbuffers": "^23.5.26",
"lodash.camelcase": "^4.3.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"@rollup/plugin-typescript": "^11.1.4",
"@rollup/plugin-commonjs": "^25.0.4",
"rollup": "^4.2.0",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-commonjs": "^25.0.7",
"rollup-plugin-includepaths": "^0.2.4",
"@rollup/plugin-json": "^6.0.0",
"rollup-plugin-license": "^3.1.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"rollup-plugin-esbuild": "^6.0.2",
"esbuild": "^0.19.4",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@typescript-eslint/eslint-plugin-tslint": "^6.7.3",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"@rollup/plugin-json": "^6.0.1",
"rollup-plugin-license": "^3.2.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"rollup-plugin-esbuild": "^6.1.0",
"esbuild": "^0.19.5",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@typescript-eslint/eslint-plugin-tslint": "^6.9.1",
"eslint": "^8.52.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-config-prettier": "^9.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ss6player-pixi/Player/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</head>
<body>
<!-- pixi.jsの読込 -->
<script src="../../../node_modules/pixi.js/dist/pixi.min.js"></script>
<script src="../node_modules/pixi.js/dist/pixi.min.js"></script>
<!-- ss6player -->
<script src="../dist/ss6player-pixi.umd.js"></script>
<!-- ユーザープログラムの読込 -->
Expand Down
2 changes: 1 addition & 1 deletion packages/ss6player-pixi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ npm i
npm run build
```

ビルドが成功すると `ss6player-pixi.umd.js``ss6player-pixi.es5.js``SS6PlayerForWeb/packages/ss6player-pixi/dist` ディレクトリ以下に生成されます。
ビルドが成功すると `ss6player-pixi.umd.js``ss6player-pixi.es6.js``SS6PlayerForWeb/packages/ss6player-pixi/dist` ディレクトリ以下に生成されます。

### 単独ビルド

Expand Down
2 changes: 1 addition & 1 deletion packages/ss6player-pixi/examples/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</head>
<body>
<!-- pixi.jsの読込 -->
<script src="../../../../node_modules/pixi.js/dist/pixi.min.js"></script>
<script src="../../node_modules/pixi.js/dist/pixi.min.js"></script>
<!-- ss6player -->
<script src="../../dist/ss6player-pixi.umd.js"></script>
<!-- ユーザープログラムの読込 -->
Expand Down
54 changes: 27 additions & 27 deletions packages/ss6player-pixi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"pixi"
],
"main": "dist/ss6player-pixi.umd.js",
"module": "dist/ss6player-pixi.es5.js",
"module": "dist/ss6player-pixi.es6.js",
"typings": "dist/types/ss6player-pixi.d.ts",
"bugs": {
"url": "https://github.com/SpriteStudio/SS6PlayerForWeb/issues"
Expand All @@ -35,7 +35,7 @@
"start": "npm run watch",
"lint": "eslint -c ../../.eslintrc.js --ext .ts ./src",
"prebuild": "npm run clean",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs --strictDeprecations",
"docs": "typedoc --out ../../docs/ss6player_pixi_api src/ss6player-pixi.ts",
"watch": "rollup -c rollup.config.ts -w",
"dist": "npm run docs && npm run build",
Expand All @@ -48,37 +48,37 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"typedoc": "^0.25.1",
"typedoc": "^0.25.3",
"flatbuffers": "^23.5.26",
"lodash.camelcase": "^4.3.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"@rollup/plugin-typescript": "^11.1.4",
"@rollup/plugin-commonjs": "^25.0.4",
"rollup": "^4.2.0",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-commonjs": "^25.0.7",
"rollup-plugin-includepaths": "^0.2.4",
"@rollup/plugin-json": "^6.0.0",
"rollup-plugin-license": "^3.1.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"rollup-plugin-tsconfig-paths": "^1.5.1",
"rollup-plugin-esbuild": "^6.0.2",
"esbuild": "^0.19.4",
"pixi.js": "^7.3.1",
"@pixi/assets": "^7.3.1",
"@pixi/display": "^7.3.1",
"@pixi/mesh-extras": "^7.3.1",
"@pixi/ticker": "^7.3.1",
"@pixi/filter-color-matrix": "^7.3.1",
"@pixi/core": "^7.3.1",
"@pixi/constants": "^7.3.1",
"@pixi/mixin-get-child-by-name": "^7.3.1",
"concurrently": "^8.2.1",
"@rollup/plugin-json": "^6.0.1",
"rollup-plugin-license": "^3.2.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"rollup-plugin-tsconfig-paths": "^1.5.2",
"rollup-plugin-esbuild": "^6.1.0",
"esbuild": "^0.19.5",
"pixi.js": "^7.3.2",
"@pixi/assets": "^7.3.2",
"@pixi/display": "^7.3.2",
"@pixi/mesh-extras": "^7.3.2",
"@pixi/ticker": "^7.3.2",
"@pixi/filter-color-matrix": "^7.3.2",
"@pixi/core": "^7.3.2",
"@pixi/constants": "^7.3.2",
"@pixi/mixin-get-child-by-name": "^7.3.2",
"concurrently": "^8.2.2",
"http-server": "^14.1.1",
"opener": "^1.5.2",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@typescript-eslint/eslint-plugin-tslint": "^6.7.3",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@typescript-eslint/eslint-plugin-tslint": "^6.9.1",
"eslint": "^8.52.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-config-prettier": "^9.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ss6player-pixi6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ npm i
npm run build
```

ビルドが成功すると `ss6player-pixi6.umd.js``ss6player-pixi6.es5.js``SS6PlayerForWeb/packages/ss6player-pixi6/dist` ディレクトリ以下に生成されます。
ビルドが成功すると `ss6player-pixi6.umd.js``ss6player-pixi6.es6.js``SS6PlayerForWeb/packages/ss6player-pixi6/dist` ディレクトリ以下に生成されます。

### 単独ビルド

Expand Down
36 changes: 18 additions & 18 deletions packages/ss6player-pixi6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"pixi"
],
"main": "dist/ss6player-pixi6.umd.js",
"module": "dist/ss6player-pixi6.es5.js",
"module": "dist/ss6player-pixi6.es6.js",
"typings": "dist/types/ss6player-pixi6.d.ts",
"bugs": {
"url": "https://github.com/SpriteStudio/SS6PlayerForWeb/issues"
Expand All @@ -35,7 +35,7 @@
"start": "npm run watch",
"lint": "eslint -c ../../.eslintrc.js --ext .ts ./src",
"prebuild": "npm run clean",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs --strictDeprecations",
"docs": "typedoc --out ../../docs/ss6player_pixi6_api src/ss6player-pixi6.ts",
"watch": "rollup -c rollup.config.ts -w",
"dist": "npm run docs && npm run build",
Expand All @@ -47,19 +47,19 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"typedoc": "^0.25.0",
"typedoc": "^0.25.3",
"lodash.camelcase": "^4.3.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"@rollup/plugin-typescript": "^11.1.4",
"@rollup/plugin-commonjs": "^25.0.4",
"rollup": "^4.2.0",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-commonjs": "^25.0.7",
"rollup-plugin-includepaths": "^0.2.4",
"@rollup/plugin-json": "^6.0.0",
"rollup-plugin-license": "^3.1.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"rollup-plugin-tsconfig-paths": "^1.5.1",
"rollup-plugin-esbuild": "^6.0.2",
"esbuild": "^0.19.4",
"@rollup/plugin-json": "^6.0.1",
"rollup-plugin-license": "^3.2.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"rollup-plugin-tsconfig-paths": "^1.5.2",
"rollup-plugin-esbuild": "^6.1.0",
"esbuild": "^0.19.5",
"pixi.js": "^6.5.10",
"@pixi/loaders": "^6.5.10",
"@pixi/display": "^6.5.10",
Expand All @@ -68,14 +68,14 @@
"@pixi/filter-color-matrix": "^6.5.10",
"@pixi/core": "^6.5.10",
"@pixi/constants": "^6.5.10",
"concurrently": "^8.2.1",
"concurrently": "^8.2.2",
"http-server": "^14.1.1",
"opener": "^1.5.2",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@typescript-eslint/eslint-plugin-tslint": "^6.7.3",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@typescript-eslint/eslint-plugin-tslint": "^6.9.1",
"eslint": "^8.52.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-config-prettier": "^9.0.0"
},
Expand Down
32 changes: 16 additions & 16 deletions packages/ss6player-rpgmakermz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"start": "npm run watch",
"lint": "eslint -c ../../.eslintrc.js --ext .js ./src",
"prebuild": "npm run clean",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs",
"build": "tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs --strictDeprecations",
"deploy": "npm run build && npx ncp dist/ss6player-rpgmakermz.js SampleProject/js/plugins/ss6player-rpgmakermz.js",
"watch": "rollup -c rollup.config.ts -w",
"dist": "npm run build",
Expand All @@ -47,29 +47,29 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"typedoc": "^0.25.1",
"typedoc": "^0.25.3",
"lodash.camelcase": "^4.3.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"@rollup/plugin-typescript": "^11.1.4",
"@rollup/plugin-commonjs": "^25.0.4",
"rollup": "^4.2.0",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-commonjs": "^25.0.7",
"rollup-plugin-includepaths": "^0.2.4",
"@rollup/plugin-json": "^6.0.0",
"rollup-plugin-license": "^3.1.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"rollup-plugin-esbuild": "^6.0.2",
"esbuild": "^0.19.4",
"@rollup/plugin-json": "^6.0.1",
"rollup-plugin-license": "^3.2.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"rollup-plugin-esbuild": "^6.1.0",
"esbuild": "^0.19.5",
"pixi.js": "^5.3.12",
"concurrently": "^8.2.1",
"concurrently": "^8.2.2",
"http-server": "^14.1.1",
"opener": "^1.5.2",
"replace": "^1.2.2",
"ncp": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@typescript-eslint/eslint-plugin-tslint": "^6.7.3",
"eslint": "^8.50.0",
"eslint-plugin-import": "^2.28.1",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@typescript-eslint/eslint-plugin-tslint": "^6.9.1",
"eslint": "^8.52.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-config-prettier": "^9.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ss6player-viewer/Player/player.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta http-equiv=”Cache-Control” content=”no-cache”>
<title>SpriteStudio Web Player</title>
<!-- pixi.jsの読込 -->
<script src="../../../node_modules/pixi.js/dist/pixi.min.js"></script>
<script src="../node_modules/pixi.js/dist/pixi.min.js"></script>
<script src="../dist/ss6player-viewer.umd.js"></script>
<link rel="stylesheet" href="./player.css">

Expand Down
2 changes: 1 addition & 1 deletion packages/ss6player-viewer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ npm i
npm run build
```

ビルドが成功すると `ss6player-viewer.umd.js``ss6player-viewer.min.js``ss6player-viewer.es5.js``SS6PlayerForWeb/packages/ss6player-viewer/dist` ディレクトリ以下に生成されます。
ビルドが成功すると `ss6player-viewer.umd.js``ss6player-viewer.min.js``ss6player-viewer.es6.js``SS6PlayerForWeb/packages/ss6player-viewer/dist` ディレクトリ以下に生成されます。

### 単独ビルド

Expand Down
Loading

0 comments on commit 70f6203

Please sign in to comment.