@awayfl/awayfl-player 0.2.30 → 0.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/awayfl-player.umd.js +26 -140
- package/bundle/awayfl-player.umd.js.gz +0 -0
- package/bundle/awayfl-player.umd.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/AVMDebugInterface.js +2 -2
- package/dist/lib/AVMPlayer.js +2 -2
- package/dist/src/Main.js +19 -0
- package/index.ts +1 -1
- package/lib/AVMDebugInterface.ts +2 -2
- package/package.json +14 -17
- package/scripts/initAwayDev_win.bat +20 -0
- package/scripts/updateAwayDev_win.bat +2 -0
- package/tsconfig.json +0 -4
- package/webpack.config.js +64 -42
- package/yarn-error.log +0 -109
package/dist/index.js
CHANGED
|
@@ -157,13 +157,13 @@ var AVMDebug = /** @class */ (function () {
|
|
|
157
157
|
if (pool) {
|
|
158
158
|
//@ts-ignore
|
|
159
159
|
var partition = pool.getNode(node).partition;
|
|
160
|
-
var picker = PickGroup.getInstance(
|
|
160
|
+
var picker = PickGroup.getInstance().getBoundsPicker(partition);
|
|
161
161
|
//@ts-ignore
|
|
162
162
|
box = picker.getBoxBounds(pool.getNode(this.player.root), true, true);
|
|
163
163
|
}
|
|
164
164
|
else {
|
|
165
165
|
//@ts-ignore
|
|
166
|
-
box = PickGroup.getInstance(
|
|
166
|
+
box = PickGroup.getInstance().getBoundsPicker(node.partition).getBoxBounds(this.player.root);
|
|
167
167
|
}
|
|
168
168
|
if (!box)
|
|
169
169
|
return null;
|
package/dist/lib/AVMPlayer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { AVMStage, AVMEvent } from "@awayfl/swf-loader";
|
|
2
|
+
import { AVMStage, AVMEvent, AVMVERSION } from "@awayfl/swf-loader";
|
|
3
3
|
import { AVMDebug } from "./AVMDebugInterface";
|
|
4
4
|
import { AVM1Handler } from '@awayfl/avm1';
|
|
5
5
|
import { AVM2Handler } from '@awayfl/avm2';
|
|
@@ -19,7 +19,7 @@ var AVMPlayer = /** @class */ (function (_super) {
|
|
|
19
19
|
}
|
|
20
20
|
AVMPlayer.prototype.onAVMAvailable = function (event) {
|
|
21
21
|
if (this._debug) {
|
|
22
|
-
this._debug.onAvmInit(event.avmVersion ===
|
|
22
|
+
this._debug.onAvmInit(event.avmVersion === AVMVERSION.AVM1 ? 1 : 2);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
return AVMPlayer;
|
package/dist/src/Main.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { AVMPlayer } from "../index";
|
|
3
|
+
var Main = /** @class */ (function (_super) {
|
|
4
|
+
__extends(Main, _super);
|
|
5
|
+
function Main(gameConfig) {
|
|
6
|
+
return _super.call(this, gameConfig) || this;
|
|
7
|
+
// LoaderInfo.DefaultLocation="/";
|
|
8
|
+
// gameConfig.redirects = [{
|
|
9
|
+
// test: /img/,
|
|
10
|
+
// resolve: (url) => `./assets/${url.replace(/\/\//g,'')}`
|
|
11
|
+
// },{
|
|
12
|
+
// test: /media/,
|
|
13
|
+
// resolve: (url) => `./assets/${url.replace(/\/\//g,'')}`
|
|
14
|
+
// }];
|
|
15
|
+
}
|
|
16
|
+
return Main;
|
|
17
|
+
}(AVMPlayer));
|
|
18
|
+
;
|
|
19
|
+
window["AVMPlayerClass"] = Main;
|
package/index.ts
CHANGED
package/lib/AVMDebugInterface.ts
CHANGED
|
@@ -191,14 +191,14 @@ export class AVMDebug {
|
|
|
191
191
|
if (pool) {
|
|
192
192
|
//@ts-ignore
|
|
193
193
|
const partition = pool.getNode(node).partition;
|
|
194
|
-
const picker = PickGroup.getInstance(
|
|
194
|
+
const picker = PickGroup.getInstance().getBoundsPicker(partition);
|
|
195
195
|
|
|
196
196
|
//@ts-ignore
|
|
197
197
|
box = picker.getBoxBounds(pool.getNode(this.player.root), true, true);
|
|
198
198
|
|
|
199
199
|
} else {
|
|
200
200
|
//@ts-ignore
|
|
201
|
-
box = PickGroup.getInstance(
|
|
201
|
+
box = PickGroup.getInstance().getBoundsPicker(node.partition).getBoxBounds(this.player.root);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
if (!box)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awayfl/awayfl-player",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.32",
|
|
4
4
|
"description": "Flash Player emulator for executing SWF files (published for FP versions 6 and up) in javascript",
|
|
5
5
|
"main": "bundle/awayfl-player.umd.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prebuild:prod": "npm run clean:bin",
|
|
31
31
|
"build:prod": "webpack --config webpack.config.js --progress --env.prod",
|
|
32
32
|
"server": "npm run server:dev",
|
|
33
|
-
"server:dev": "webpack-dev-server --config webpack.config.js --progress
|
|
33
|
+
"server:dev": "webpack-dev-server --config webpack.config.js --progress",
|
|
34
34
|
"server:dev:hmr": "npm run server:dev -- --hot",
|
|
35
35
|
"server:prod": "http-server bin --cors",
|
|
36
36
|
"start": "npm run server:dev",
|
|
@@ -82,22 +82,19 @@
|
|
|
82
82
|
"@awayjs/view": "^0.6.0",
|
|
83
83
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
84
84
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"rimraf": "^3.0.2",
|
|
91
|
-
"rollup": "^2.45.2",
|
|
92
|
-
"rollup-plugin-gzip": "^2.5.0",
|
|
85
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
86
|
+
"html-webpack-plugin": "^5.5.0",
|
|
87
|
+
"rimraf": "^4.4.0",
|
|
88
|
+
"rollup": "^2.79.1",
|
|
89
|
+
"rollup-plugin-gzip": "^3.1.0",
|
|
93
90
|
"rollup-plugin-terser": "^7.0.2",
|
|
94
|
-
"terser-webpack-plugin": "^
|
|
95
|
-
"ts-loader": "^
|
|
91
|
+
"terser-webpack-plugin": "^5.3.7",
|
|
92
|
+
"ts-loader": "^9.4.2",
|
|
96
93
|
"tslib": "^1.9.0",
|
|
97
|
-
"typescript": "^
|
|
98
|
-
"webpack": "^
|
|
99
|
-
"webpack-cli": "^
|
|
100
|
-
"webpack-dev-server": "^
|
|
101
|
-
"webpack-merge": "^
|
|
94
|
+
"typescript": "^4.9.5",
|
|
95
|
+
"webpack": "^5.76.2",
|
|
96
|
+
"webpack-cli": "^5.0.1",
|
|
97
|
+
"webpack-dev-server": "^4.12.0",
|
|
98
|
+
"webpack-merge": "^5.8.0"
|
|
102
99
|
}
|
|
103
100
|
}
|
|
@@ -9,6 +9,7 @@ ECHO [32m Cloning "@awayjs" modules from Github[0m
|
|
|
9
9
|
|
|
10
10
|
mkdir @awayjs
|
|
11
11
|
cd @awayjs
|
|
12
|
+
git clone https://github.com/awayjs/assembly.git
|
|
12
13
|
git clone https://github.com/awayjs/core.git
|
|
13
14
|
git clone https://github.com/awayjs/graphics.git
|
|
14
15
|
git clone https://github.com/awayjs/scene.git
|
|
@@ -17,11 +18,19 @@ git clone https://github.com/awayjs/renderer.git
|
|
|
17
18
|
git clone https://github.com/awayjs/materials.git
|
|
18
19
|
git clone https://github.com/awayjs/view.git
|
|
19
20
|
|
|
21
|
+
ECHO [32m Checkout and link "@awayjs/assembly" module[0m
|
|
22
|
+
cd assembly
|
|
23
|
+
git checkout dev
|
|
24
|
+
call yarn
|
|
25
|
+
call yarn link
|
|
26
|
+
cd..
|
|
27
|
+
|
|
20
28
|
ECHO [32m Checkout and link "@awayjs/core" module[0m
|
|
21
29
|
cd core
|
|
22
30
|
git checkout dev
|
|
23
31
|
call yarn
|
|
24
32
|
call yarn link
|
|
33
|
+
call yarn link @awayjs/assembly
|
|
25
34
|
cd..
|
|
26
35
|
|
|
27
36
|
ECHO [32m Checkout and link "@awayjs/stage" module[0m
|
|
@@ -29,6 +38,7 @@ cd stage
|
|
|
29
38
|
git checkout dev
|
|
30
39
|
call yarn
|
|
31
40
|
call yarn link
|
|
41
|
+
call yarn link @awayjs/assembly
|
|
32
42
|
call yarn link @awayjs/core
|
|
33
43
|
cd..
|
|
34
44
|
|
|
@@ -37,6 +47,7 @@ cd view
|
|
|
37
47
|
git checkout dev
|
|
38
48
|
call yarn
|
|
39
49
|
call yarn link
|
|
50
|
+
call yarn link @awayjs/assembly
|
|
40
51
|
call yarn link @awayjs/core
|
|
41
52
|
call yarn link @awayjs/stage
|
|
42
53
|
cd..
|
|
@@ -46,6 +57,7 @@ cd renderer
|
|
|
46
57
|
git checkout dev
|
|
47
58
|
call yarn
|
|
48
59
|
call yarn link
|
|
60
|
+
call yarn link @awayjs/assembly
|
|
49
61
|
call yarn link @awayjs/core
|
|
50
62
|
call yarn link @awayjs/stage
|
|
51
63
|
call yarn link @awayjs/view
|
|
@@ -56,6 +68,7 @@ cd graphics
|
|
|
56
68
|
git checkout dev
|
|
57
69
|
call yarn
|
|
58
70
|
call yarn link
|
|
71
|
+
call yarn link @awayjs/assembly
|
|
59
72
|
call yarn link @awayjs/core
|
|
60
73
|
call yarn link @awayjs/stage
|
|
61
74
|
call yarn link @awayjs/view
|
|
@@ -67,6 +80,7 @@ cd materials
|
|
|
67
80
|
git checkout dev
|
|
68
81
|
call yarn
|
|
69
82
|
call yarn link
|
|
83
|
+
call yarn link @awayjs/assembly
|
|
70
84
|
call yarn link @awayjs/core
|
|
71
85
|
call yarn link @awayjs/stage
|
|
72
86
|
call yarn link @awayjs/renderer
|
|
@@ -78,6 +92,7 @@ cd scene
|
|
|
78
92
|
git checkout dev
|
|
79
93
|
call yarn
|
|
80
94
|
call yarn link
|
|
95
|
+
call yarn link @awayjs/assembly
|
|
81
96
|
call yarn link @awayjs/core
|
|
82
97
|
call yarn link @awayjs/stage
|
|
83
98
|
call yarn link @awayjs/view
|
|
@@ -102,6 +117,7 @@ cd swf-loader
|
|
|
102
117
|
git checkout dev
|
|
103
118
|
call yarn
|
|
104
119
|
call yarn link
|
|
120
|
+
call yarn link @awayjs/assembly
|
|
105
121
|
call yarn link @awayjs/core
|
|
106
122
|
call yarn link @awayjs/view
|
|
107
123
|
call yarn link @awayjs/stage
|
|
@@ -116,6 +132,7 @@ cd avm1
|
|
|
116
132
|
git checkout dev
|
|
117
133
|
call yarn
|
|
118
134
|
call yarn link
|
|
135
|
+
call yarn link @awayjs/assembly
|
|
119
136
|
call yarn link @awayjs/core
|
|
120
137
|
call yarn link @awayjs/view
|
|
121
138
|
call yarn link @awayjs/stage
|
|
@@ -131,6 +148,7 @@ cd avm2
|
|
|
131
148
|
git checkout dev
|
|
132
149
|
call yarn
|
|
133
150
|
call yarn link
|
|
151
|
+
call yarn link @awayjs/assembly
|
|
134
152
|
call yarn link @awayjs/core
|
|
135
153
|
call yarn link @awayjs/view
|
|
136
154
|
call yarn link @awayjs/renderer
|
|
@@ -146,6 +164,7 @@ cd playerglobal
|
|
|
146
164
|
git checkout dev
|
|
147
165
|
call yarn
|
|
148
166
|
call yarn link
|
|
167
|
+
call yarn link @awayjs/assembly
|
|
149
168
|
call yarn link @awayjs/core
|
|
150
169
|
call yarn link @awayjs/stage
|
|
151
170
|
call yarn link @awayjs/view
|
|
@@ -163,6 +182,7 @@ cd awayfl-player
|
|
|
163
182
|
git checkout dev
|
|
164
183
|
call yarn
|
|
165
184
|
call yarn link
|
|
185
|
+
call yarn link @awayjs/assembly
|
|
166
186
|
call yarn link @awayjs/core
|
|
167
187
|
call yarn link @awayjs/stage
|
|
168
188
|
call yarn link @awayjs/view
|
package/tsconfig.json
CHANGED
|
@@ -4,14 +4,10 @@
|
|
|
4
4
|
"target": "es5",
|
|
5
5
|
"module": "es2015",
|
|
6
6
|
"moduleResolution": "node",
|
|
7
|
-
"noImplicitUseStrict": true,
|
|
8
7
|
"noEmitHelpers": true,
|
|
9
8
|
"importHelpers": true,
|
|
10
9
|
"declaration": true,
|
|
11
10
|
"declarationMap": true,
|
|
12
11
|
"outDir": "./dist"
|
|
13
12
|
},
|
|
14
|
-
"files": [
|
|
15
|
-
"./index.ts"
|
|
16
|
-
]
|
|
17
13
|
}
|
package/webpack.config.js
CHANGED
|
@@ -6,7 +6,7 @@ const HTMLWebPackPlugin = require('html-webpack-plugin');
|
|
|
6
6
|
const Terser = require('terser-webpack-plugin')
|
|
7
7
|
const rimraf = require("rimraf");
|
|
8
8
|
const tsloader = require.resolve('ts-loader');
|
|
9
|
-
const merge = require("webpack-merge");
|
|
9
|
+
const merge = require("webpack-merge").merge;
|
|
10
10
|
const config = require('./awayfl.config.js')
|
|
11
11
|
|
|
12
12
|
module.exports = (env = {}) => {
|
|
@@ -70,7 +70,9 @@ module.exports = (env = {}) => {
|
|
|
70
70
|
colors: true // wp4
|
|
71
71
|
},
|
|
72
72
|
devServer: {
|
|
73
|
-
|
|
73
|
+
client: {
|
|
74
|
+
progress: true,
|
|
75
|
+
}
|
|
74
76
|
},
|
|
75
77
|
|
|
76
78
|
|
|
@@ -81,12 +83,14 @@ module.exports = (env = {}) => {
|
|
|
81
83
|
devtool: 'source-map',
|
|
82
84
|
//devtool: 'cheap-module-eval-source-map',//use this option for recompiling libs
|
|
83
85
|
devServer: {
|
|
84
|
-
contentBase: path.join(process.cwd(), "src"),
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
//contentBase: path.join(process.cwd(), "src"),
|
|
87
|
+
static: {
|
|
88
|
+
publicPath: "/",
|
|
89
|
+
},
|
|
87
90
|
open: false,
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
client: {
|
|
92
|
+
progress: true,
|
|
93
|
+
}
|
|
90
94
|
},
|
|
91
95
|
optimization: {
|
|
92
96
|
//minimize: false // wp4
|
|
@@ -127,16 +131,20 @@ const processConfig = (config, rootPath, CopyWebPackPlugin, HTMLWebPackPlugin, B
|
|
|
127
131
|
// if no split, copy as3 buildins to asset folder
|
|
128
132
|
// if split, we will copy them for each game-config individually
|
|
129
133
|
if (config.buildinsPath && config.buildinsPath.length && !config.split) {
|
|
130
|
-
plugins.push(new CopyWebPackPlugin(
|
|
131
|
-
|
|
132
|
-
|
|
134
|
+
plugins.push(new CopyWebPackPlugin({
|
|
135
|
+
patterns: [
|
|
136
|
+
{ from: config.buildinsPath, to: 'assets/builtins' },
|
|
137
|
+
],
|
|
138
|
+
}));
|
|
133
139
|
}
|
|
134
140
|
|
|
135
141
|
// copy loader.js to js-folder
|
|
136
142
|
// if split, this will be copied to the subfolder together with webpack-bundel
|
|
137
|
-
plugins.push(new CopyWebPackPlugin(
|
|
138
|
-
|
|
139
|
-
|
|
143
|
+
plugins.push(new CopyWebPackPlugin({
|
|
144
|
+
patterns: [
|
|
145
|
+
{ from: config.loaderTemplate, to: 'js' },
|
|
146
|
+
],
|
|
147
|
+
}));
|
|
140
148
|
|
|
141
149
|
// collect all game-urls to create a index.html:
|
|
142
150
|
let gameURLS = {};
|
|
@@ -153,9 +161,11 @@ const processConfig = (config, rootPath, CopyWebPackPlugin, HTMLWebPackPlugin, B
|
|
|
153
161
|
// if split, copy buildins to each output folder:
|
|
154
162
|
|
|
155
163
|
if (config.buildinsPath && config.buildinsPath.length && config.split) {
|
|
156
|
-
plugins.push(new CopyWebPackPlugin(
|
|
157
|
-
|
|
158
|
-
|
|
164
|
+
plugins.push(new CopyWebPackPlugin({
|
|
165
|
+
patterns: [
|
|
166
|
+
{ from: config.buildinsPath, to: outputPath + 'assets/builtins' },
|
|
167
|
+
],
|
|
168
|
+
}));
|
|
159
169
|
}
|
|
160
170
|
|
|
161
171
|
// get config for this file merged with default values from global config:
|
|
@@ -173,12 +183,16 @@ const processConfig = (config, rootPath, CopyWebPackPlugin, HTMLWebPackPlugin, B
|
|
|
173
183
|
if (!fs.existsSync(path.join(rootPath, "src", "assets", configForHTML.splash))) {
|
|
174
184
|
throw ("invalid splashscreen path for fileconfig " + configForHTML.splash);
|
|
175
185
|
}
|
|
176
|
-
plugins.push(new CopyWebPackPlugin(
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
186
|
+
plugins.push(new CopyWebPackPlugin({
|
|
187
|
+
patterns: [
|
|
188
|
+
{ from: swfPath, to: outputPath + "assets" },
|
|
189
|
+
],
|
|
190
|
+
}));
|
|
191
|
+
plugins.push(new CopyWebPackPlugin({
|
|
192
|
+
patterns: [
|
|
193
|
+
{ from: path.join(rootPath, "src", "assets", configForHTML.splash), to: outputPath + "assets" },
|
|
194
|
+
],
|
|
195
|
+
}));
|
|
182
196
|
|
|
183
197
|
// optional copy startscreen:
|
|
184
198
|
|
|
@@ -186,9 +200,11 @@ const processConfig = (config, rootPath, CopyWebPackPlugin, HTMLWebPackPlugin, B
|
|
|
186
200
|
if (!fs.existsSync(path.join(rootPath, "src", "assets", configForHTML.start))) {
|
|
187
201
|
throw ("invalid startscreen path for fileconfig " + configForHTML.start);
|
|
188
202
|
}
|
|
189
|
-
plugins.push(new CopyWebPackPlugin(
|
|
190
|
-
|
|
191
|
-
|
|
203
|
+
plugins.push(new CopyWebPackPlugin({
|
|
204
|
+
patterns: [
|
|
205
|
+
{ from: path.join(rootPath, "src", "assets", configForHTML.start), to: outputPath + "assets" },
|
|
206
|
+
],
|
|
207
|
+
}));
|
|
192
208
|
}
|
|
193
209
|
|
|
194
210
|
// create/prepare config props needed for runtime
|
|
@@ -208,9 +224,11 @@ const processConfig = (config, rootPath, CopyWebPackPlugin, HTMLWebPackPlugin, B
|
|
|
208
224
|
if (!fs.existsSync(res_path)) {
|
|
209
225
|
throw ("invalid filename path for resource " + res_path);
|
|
210
226
|
}
|
|
211
|
-
plugins.push(new CopyWebPackPlugin(
|
|
212
|
-
|
|
213
|
-
|
|
227
|
+
plugins.push(new CopyWebPackPlugin({
|
|
228
|
+
patterns: [
|
|
229
|
+
{ from: res_path, to: outputPath + "assets" },
|
|
230
|
+
],
|
|
231
|
+
}));
|
|
214
232
|
stats = fs.statSync(res_path);
|
|
215
233
|
res_filesize = stats["size"];
|
|
216
234
|
copiedResources[res_unique_outputPath] = res_filesize;
|
|
@@ -235,9 +253,11 @@ const processConfig = (config, rootPath, CopyWebPackPlugin, HTMLWebPackPlugin, B
|
|
|
235
253
|
let folder = fs.lstatSync(res_path).isDirectory();
|
|
236
254
|
let name = path.basename(res_path);
|
|
237
255
|
|
|
238
|
-
plugins.push(new CopyWebPackPlugin(
|
|
239
|
-
|
|
240
|
-
|
|
256
|
+
plugins.push(new CopyWebPackPlugin({
|
|
257
|
+
patterns: [
|
|
258
|
+
{ from: res_path, to: outputPath + "assets" + (folder ? "/" + name : "") },
|
|
259
|
+
],
|
|
260
|
+
}));
|
|
241
261
|
|
|
242
262
|
}
|
|
243
263
|
}
|
|
@@ -316,18 +336,20 @@ const processConfig = (config, rootPath, CopyWebPackPlugin, HTMLWebPackPlugin, B
|
|
|
316
336
|
}
|
|
317
337
|
}
|
|
318
338
|
|
|
319
|
-
plugins.push(new CopyWebPackPlugin(
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
.
|
|
326
|
-
|
|
327
|
-
|
|
339
|
+
plugins.push(new CopyWebPackPlugin({
|
|
340
|
+
patterns: [
|
|
341
|
+
{
|
|
342
|
+
from: htmlSourcePath,
|
|
343
|
+
to: htmlOutputPath,
|
|
344
|
+
transform: function (content, src) {
|
|
345
|
+
return content.toString()
|
|
346
|
+
.replace(/INSERT_TITLE/g, configForHTML.title ? configForHTML.title : "UNTITLED")
|
|
347
|
+
.replace(/INSERT_SPLASHSCREEN/g, configForHTML.splash)
|
|
348
|
+
.replace(/INSERT_CODE/g, jsStringForHTML);
|
|
349
|
+
}
|
|
328
350
|
}
|
|
329
|
-
|
|
330
|
-
|
|
351
|
+
],
|
|
352
|
+
}));
|
|
331
353
|
};
|
|
332
354
|
|
|
333
355
|
var swfPath, stats, filesize;
|
package/yarn-error.log
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
Arguments:
|
|
2
|
-
C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js
|
|
3
|
-
|
|
4
|
-
PATH:
|
|
5
|
-
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Yarn\bin\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\TortoiseHg\;C:\Program Files\nodejs\;C:\Program Files\dotnet\;C:\Users\Rob Bateman\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\Rob Bateman\AppData\Local\GitHubDesktop\bin;C:\Users\Rob Bateman\AppData\Local\Yarn\bin;C:\Users\Rob Bateman\AppData\Local\Microsoft\WindowsApps;C:\Users\Rob Bateman\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Rob Bateman\AppData\Roaming\npm;
|
|
6
|
-
|
|
7
|
-
Yarn version:
|
|
8
|
-
1.6.0
|
|
9
|
-
|
|
10
|
-
Node version:
|
|
11
|
-
10.15.3
|
|
12
|
-
|
|
13
|
-
Platform:
|
|
14
|
-
win32 x64
|
|
15
|
-
|
|
16
|
-
Trace:
|
|
17
|
-
Error: https://registry.yarnpkg.com/@awayfl%2favm2: Not found
|
|
18
|
-
at Request.params.callback [as _callback] (C:\Program Files (x86)\Yarn\lib\cli.js:65327:18)
|
|
19
|
-
at Request.self.callback (C:\Program Files (x86)\Yarn\lib\cli.js:133155:22)
|
|
20
|
-
at Request.emit (events.js:189:13)
|
|
21
|
-
at Request.<anonymous> (C:\Program Files (x86)\Yarn\lib\cli.js:134138:10)
|
|
22
|
-
at Request.emit (events.js:189:13)
|
|
23
|
-
at IncomingMessage.<anonymous> (C:\Program Files (x86)\Yarn\lib\cli.js:134058:12)
|
|
24
|
-
at Object.onceWrapper (events.js:277:13)
|
|
25
|
-
at IncomingMessage.emit (events.js:194:15)
|
|
26
|
-
at endReadableNT (_stream_readable.js:1125:12)
|
|
27
|
-
at process._tickCallback (internal/process/next_tick.js:63:19)
|
|
28
|
-
|
|
29
|
-
npm manifest:
|
|
30
|
-
{
|
|
31
|
-
"name": "@awayfl/awayfl-player",
|
|
32
|
-
"version": "0.1.0",
|
|
33
|
-
"description": "VIrtual machine for executing AS1 and AS2 code",
|
|
34
|
-
"main": "bundle/awayfl-awayfl-player.umd.js",
|
|
35
|
-
"module": "dist/index.js",
|
|
36
|
-
"types": "dist/index.d.ts",
|
|
37
|
-
"url": "http://www.away3d.com",
|
|
38
|
-
"author": "Rob Bateman",
|
|
39
|
-
"repository": {
|
|
40
|
-
"type": "git",
|
|
41
|
-
"url": "git+https://github.com/awayfl/awayfl-player.git"
|
|
42
|
-
},
|
|
43
|
-
"scripts": {
|
|
44
|
-
"rimraf": "rimraf",
|
|
45
|
-
"rollup": "rollup -c",
|
|
46
|
-
"uglifyjs": "uglifyjs ./bundle/awayfl-awayfl-player.umd.js -o ./bundle/awayfl-awayfl-player.umd.min.js --source-map \"content='./bundle/awayfl-awayfl-player.umd.js.map'\" --mangle",
|
|
47
|
-
"tsc": "tsc --lib ES2015.Symbol,DOM,ScriptHost,ES5,ES2015,ES2015.Iterable",
|
|
48
|
-
"tsc:build": "npm run tsc || exit 0",
|
|
49
|
-
"clean": "npm cache clean && npm run rimraf -- node_modules dist bundle",
|
|
50
|
-
"clean:dist": "npm run rimraf -- dist bundle",
|
|
51
|
-
"watch": "npm run tsc -- --w",
|
|
52
|
-
"prebuild": "npm run clean:dist",
|
|
53
|
-
"build": "npm run tsc:build && npm run rollup && npm run uglifyjs",
|
|
54
|
-
"copyVersionToIndex": "node ./copyVersionToIndex && git add ./index.ts && git commit -m \"update version number in index.ts\"",
|
|
55
|
-
"version": "npm run copyVersionToIndex && npm run build",
|
|
56
|
-
"postversion": "git push && git push --tags && npm publish"
|
|
57
|
-
},
|
|
58
|
-
"keywords": [
|
|
59
|
-
"AwayJS",
|
|
60
|
-
"WebGL",
|
|
61
|
-
"2D",
|
|
62
|
-
"3D",
|
|
63
|
-
"graphics"
|
|
64
|
-
],
|
|
65
|
-
"license": "Apache-2.0",
|
|
66
|
-
"bugs": {
|
|
67
|
-
"url": "https://github.com/awayjs/awayfl-player/issues"
|
|
68
|
-
},
|
|
69
|
-
"homepage": "https://github.com/awayjs/awayfl-player#readme",
|
|
70
|
-
"peerDependencies": {
|
|
71
|
-
"@awayfl/avm2": "^0.1.0",
|
|
72
|
-
"@awayfl/playerglobal": "^0.1.0",
|
|
73
|
-
"@awayjs/core": "^0.8.0",
|
|
74
|
-
"@awayjs/graphics": "^0.4.0",
|
|
75
|
-
"@awayjs/materials": "^0.5.0",
|
|
76
|
-
"@awayjs/renderer": "^0.10.0",
|
|
77
|
-
"@awayjs/scene": "^0.12.0",
|
|
78
|
-
"@awayjs/stage": "^0.10.0",
|
|
79
|
-
"@awayjs/view": "^0.5.0",
|
|
80
|
-
"@awayjs/swf-viewer": "^0.3.0",
|
|
81
|
-
"tslib": "^1.9.0"
|
|
82
|
-
},
|
|
83
|
-
"devDependencies": {
|
|
84
|
-
"@awayfl/avm2": "^0.1.0",
|
|
85
|
-
"@awayfl/playerglobal": "^0.1.0",
|
|
86
|
-
"@awayjs/core": "^0.8.0",
|
|
87
|
-
"@awayjs/graphics": "^0.4.0",
|
|
88
|
-
"@awayjs/materials": "^0.5.0",
|
|
89
|
-
"@awayjs/renderer": "^0.10.0",
|
|
90
|
-
"@awayjs/scene": "^0.12.0",
|
|
91
|
-
"@awayjs/stage": "^0.10.0",
|
|
92
|
-
"@awayjs/view": "^0.5.0",
|
|
93
|
-
"@awayjs/swf-viewer": "^0.3.0",
|
|
94
|
-
"rimraf": "^2.5.2",
|
|
95
|
-
"rollup": "^0.57.1",
|
|
96
|
-
"rollup-plugin-commonjs": "^9.1.0",
|
|
97
|
-
"rollup-plugin-includepaths": "^0.2.1",
|
|
98
|
-
"rollup-plugin-node-resolve": "^3.3.0",
|
|
99
|
-
"tslib": "^1.9.0",
|
|
100
|
-
"typescript": "^3.7.3",
|
|
101
|
-
"uglify-js": "^3.0.15"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
yarn manifest:
|
|
106
|
-
No manifest
|
|
107
|
-
|
|
108
|
-
Lockfile:
|
|
109
|
-
No lockfile
|