@awayfl/awayfl-player 0.2.34 → 0.2.35

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.
Files changed (38) hide show
  1. package/LICENSE +201 -201
  2. package/awayfl.config.js +85 -85
  3. package/builtins/playerglobal.json +2752 -2752
  4. package/builtins/playerglobal_new.json +4169 -4169
  5. package/bundle/awayfl-player.umd.js +30 -161
  6. package/bundle/awayfl-player.umd.js.gz +0 -0
  7. package/bundle/awayfl-player.umd.js.map +1 -1
  8. package/copyVersionToIndex.js +33 -33
  9. package/dist/index.d.ts +8 -8
  10. package/dist/index.js +9 -9
  11. package/dist/lib/AVM1Player.d.ts +4 -4
  12. package/dist/lib/AVM1Player.js +13 -13
  13. package/dist/lib/AVM2Player.d.ts +4 -4
  14. package/dist/lib/AVM2Player.js +14 -14
  15. package/dist/lib/AVMDebugInterface.d.ts +21 -21
  16. package/dist/lib/AVMDebugInterface.js +279 -279
  17. package/dist/lib/AVMPlayer.d.ts +6 -6
  18. package/dist/lib/AVMPlayer.js +27 -27
  19. package/dist/src/Main.d.ts +1 -1
  20. package/dist/src/Main.js +19 -19
  21. package/index.ts +9 -9
  22. package/lib/AVM1Player.ts +9 -9
  23. package/lib/AVM2Player.ts +12 -12
  24. package/lib/AVMDebugInterface.ts +345 -345
  25. package/lib/AVMPlayer.ts +29 -29
  26. package/package.json +100 -100
  27. package/rollup.config.js +30 -30
  28. package/scripts/initAwayDev_mac.sh +178 -174
  29. package/scripts/initAwayDev_mac_pnpm.sh +178 -0
  30. package/scripts/initAwayDev_win.bat +198 -198
  31. package/scripts/unlinkAwayDev_mac.sh +140 -0
  32. package/scripts/unlinkAwayDev_mac_pnpm.sh +140 -0
  33. package/scripts/unlinkAwayDev_win.bat +140 -140
  34. package/scripts/updateAwayDev_mac.sh +91 -86
  35. package/scripts/updateAwayDev_win.bat +69 -69
  36. package/scripts/updateAway_any.bat +73 -73
  37. package/tsconfig.json +12 -12
  38. package/webpack.config.js +450 -450
@@ -1,74 +1,74 @@
1
- @ECHO off
2
- TITLE Update AwayJS Dev Enviroment
3
- ECHO  Pulls all updates into the "@awayjs" and "@awayfl" directories, and runs tsc:build if required
4
- PAUSE
5
-
6
- IF NOT [%1]==[] (
7
- set branch=%~1
8
- ECHO SET %~1
9
- ) ELSE (
10
- set /p branch= Enter branch name:
11
- )
12
-
13
- ECHO Current branch: %branch%
14
- PAUSE
15
- cd..
16
- cd..
17
- cd @awayjs
18
-
19
- call :process_module awayjs core || GOTO handle_fail
20
-
21
- call :process_module awayjs stage || GOTO handle_fail
22
-
23
- call :process_module awayjs view || GOTO handle_fail
24
-
25
- call :process_module awayjs renderer || GOTO handle_fail
26
-
27
- call :process_module awayjs graphics || GOTO handle_fail
28
-
29
- call :process_module awayjs materials || GOTO handle_fail
30
-
31
- call :process_module awayjs scene || GOTO handle_fail
32
-
33
- cd..
34
- cd @awayfl
35
-
36
- call :process_module awayfl swf-loader || GOTO handle_fail
37
-
38
- call :process_module awayfl avm1 || GOTO handle_fail
39
-
40
- call :process_module awayfl avm2 || GOTO handle_fail
41
-
42
- call :process_module awayfl playerglobal || GOTO handle_fail
43
-
44
- cd..
45
-
46
- call :process_module awayfl awayfl-player || GOTO handle_fail
47
-
48
- PAUSE
49
-
50
- EXIT /b
51
-
52
- :process_module
53
- ECHO  Pull and build @%1/%2
54
- cd %2
55
- for /f "tokens=* USEBACKQ" %%g in (`git rev-parse --abbrev-ref HEAD`) do (set "modulebranch=%%g")
56
-
57
- IF NOT %modulebranch%==%branch% (
58
- call git stash --include-untracked || ECHO Nothing to stash
59
- call git pull || EXIT /b 1
60
- call git checkout %branch% || ECHO Branch %branch% not exist, will used a %modulebranch%
61
- call npm run tsc:build
62
- ) ELSE (
63
- call git pull | findstr /C:"Already up to date."
64
- call npm run tsc:build
65
- )
66
- cd..
67
-
68
- EXIT /b
69
-
70
- :handle_fail
71
- EXIT /b 1
72
-
73
- :end
1
+ @ECHO off
2
+ TITLE Update AwayJS Dev Enviroment
3
+ ECHO  Pulls all updates into the "@awayjs" and "@awayfl" directories, and runs tsc:build if required
4
+ PAUSE
5
+
6
+ IF NOT [%1]==[] (
7
+ set branch=%~1
8
+ ECHO SET %~1
9
+ ) ELSE (
10
+ set /p branch= Enter branch name:
11
+ )
12
+
13
+ ECHO Current branch: %branch%
14
+ PAUSE
15
+ cd..
16
+ cd..
17
+ cd @awayjs
18
+
19
+ call :process_module awayjs core || GOTO handle_fail
20
+
21
+ call :process_module awayjs stage || GOTO handle_fail
22
+
23
+ call :process_module awayjs view || GOTO handle_fail
24
+
25
+ call :process_module awayjs renderer || GOTO handle_fail
26
+
27
+ call :process_module awayjs graphics || GOTO handle_fail
28
+
29
+ call :process_module awayjs materials || GOTO handle_fail
30
+
31
+ call :process_module awayjs scene || GOTO handle_fail
32
+
33
+ cd..
34
+ cd @awayfl
35
+
36
+ call :process_module awayfl swf-loader || GOTO handle_fail
37
+
38
+ call :process_module awayfl avm1 || GOTO handle_fail
39
+
40
+ call :process_module awayfl avm2 || GOTO handle_fail
41
+
42
+ call :process_module awayfl playerglobal || GOTO handle_fail
43
+
44
+ cd..
45
+
46
+ call :process_module awayfl awayfl-player || GOTO handle_fail
47
+
48
+ PAUSE
49
+
50
+ EXIT /b
51
+
52
+ :process_module
53
+ ECHO  Pull and build @%1/%2
54
+ cd %2
55
+ for /f "tokens=* USEBACKQ" %%g in (`git rev-parse --abbrev-ref HEAD`) do (set "modulebranch=%%g")
56
+
57
+ IF NOT %modulebranch%==%branch% (
58
+ call git stash --include-untracked || ECHO Nothing to stash
59
+ call git pull || EXIT /b 1
60
+ call git checkout %branch% || ECHO Branch %branch% not exist, will used a %modulebranch%
61
+ call npm run tsc:build
62
+ ) ELSE (
63
+ call git pull | findstr /C:"Already up to date."
64
+ call npm run tsc:build
65
+ )
66
+ cd..
67
+
68
+ EXIT /b
69
+
70
+ :handle_fail
71
+ EXIT /b 1
72
+
73
+ :end
74
74
  EXIT /b
package/tsconfig.json CHANGED
@@ -1,13 +1,13 @@
1
- {
2
- "compilerOptions": {
3
- "lib": ["es2015.symbol", "dom", "scripthost", "es2015", "es2015.iterable"],
4
- "target": "es5",
5
- "module": "es2015",
6
- "moduleResolution": "node",
7
- "noEmitHelpers": true,
8
- "importHelpers": true,
9
- "declaration": true,
10
- "declarationMap": true,
11
- "outDir": "./dist"
12
- },
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["es2015.symbol", "dom", "scripthost", "es2015", "es2015.iterable"],
4
+ "target": "es5",
5
+ "module": "es2015",
6
+ "moduleResolution": "node",
7
+ "noEmitHelpers": true,
8
+ "importHelpers": true,
9
+ "declaration": true,
10
+ "declarationMap": true,
11
+ "outDir": "./dist"
12
+ },
13
13
  }