@mpgd/target-config 0.19.0 → 0.21.0
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/README.md +45 -0
- package/adaptive-shell.css +46 -0
- package/dist/adaptive-shell/index.d.ts +2 -0
- package/dist/adaptive-shell/index.js +2 -0
- package/dist/adaptive-shell/policy.d.ts +60 -0
- package/dist/adaptive-shell/policy.js +86 -0
- package/dist/adaptive-shell/shell.d.ts +71 -0
- package/dist/adaptive-shell/shell.js +359 -0
- package/dist/asset-packs.d.ts +33 -0
- package/dist/asset-packs.js +122 -0
- package/dist/effective.d.ts +3 -0
- package/dist/effective.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +209 -139
- package/package.json +22 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpgd/target-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "Target-specific platform feature availability and effective config helpers for mpgd.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -23,17 +23,29 @@
|
|
|
23
23
|
"game-distribution"
|
|
24
24
|
],
|
|
25
25
|
"type": "module",
|
|
26
|
-
"sideEffects":
|
|
26
|
+
"sideEffects": [
|
|
27
|
+
"./adaptive-shell.css"
|
|
28
|
+
],
|
|
27
29
|
"exports": {
|
|
28
30
|
".": {
|
|
29
31
|
"types": "./dist/index.d.ts",
|
|
30
32
|
"default": "./dist/index.js"
|
|
31
33
|
},
|
|
32
|
-
"./targets.json": "./targets.json"
|
|
34
|
+
"./targets.json": "./targets.json",
|
|
35
|
+
"./asset-packs": {
|
|
36
|
+
"types": "./dist/asset-packs.d.ts",
|
|
37
|
+
"default": "./dist/asset-packs.js"
|
|
38
|
+
},
|
|
39
|
+
"./adaptive-shell": {
|
|
40
|
+
"types": "./dist/adaptive-shell/index.d.ts",
|
|
41
|
+
"default": "./dist/adaptive-shell/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./adaptive-shell/base.css": "./adaptive-shell.css"
|
|
33
44
|
},
|
|
34
45
|
"files": [
|
|
35
46
|
"dist",
|
|
36
|
-
"targets.json"
|
|
47
|
+
"targets.json",
|
|
48
|
+
"adaptive-shell.css"
|
|
37
49
|
],
|
|
38
50
|
"dependencies": {
|
|
39
51
|
"typia": "13.0.2",
|
|
@@ -43,7 +55,10 @@
|
|
|
43
55
|
},
|
|
44
56
|
"devDependencies": {
|
|
45
57
|
"ttsc": "0.30.4",
|
|
46
|
-
"typescript": "7.0.2"
|
|
58
|
+
"typescript": "7.0.2",
|
|
59
|
+
"jsdom": "24.1.0",
|
|
60
|
+
"vitest": "^4.0.0",
|
|
61
|
+
"@types/node": "24.13.2"
|
|
47
62
|
},
|
|
48
63
|
"main": "./dist/index.js",
|
|
49
64
|
"types": "./dist/index.d.ts",
|
|
@@ -55,6 +70,7 @@
|
|
|
55
70
|
"lint": "ttsc --noEmit",
|
|
56
71
|
"format": "ttsc format",
|
|
57
72
|
"fix": "ttsc fix",
|
|
58
|
-
"test": "cd ../.. && node tools/run-ttsx.mjs packages/target-config/test/target-config-smoke.ts && node tools/run-ttsx.mjs packages/target-config/test/platform-version-allocation-smoke.ts && node tools/run-ttsx.mjs packages/target-config/test/provider-availability-smoke.ts"
|
|
73
|
+
"test": "pnpm build && vitest run test/adaptive-shell.test.ts && node test/adaptive-shell-dist-import.mjs && cd ../.. && node tools/run-ttsx.mjs packages/target-config/test/target-config-smoke.ts && node tools/run-ttsx.mjs packages/target-config/test/platform-version-allocation-smoke.ts && node tools/run-ttsx.mjs packages/target-config/test/provider-availability-smoke.ts",
|
|
74
|
+
"build": "cd ../.. && node tools/run-ttsx.mjs tools/package/build-packages.ts @mpgd/target-config"
|
|
59
75
|
}
|
|
60
76
|
}
|