@xarc/app 11.0.1 → 11.0.4
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/dist/support.d.ts +2 -2
- package/package.json +129 -129
package/dist/support.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Options for setting up CDN assets mapping
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type XarcCdnAssetsMappingOptions = {
|
|
5
5
|
/**
|
|
6
6
|
* isomorphic-loader extend require instance
|
|
7
7
|
*
|
|
@@ -54,7 +54,7 @@ export declare function setupAppSrcDir(): void;
|
|
|
54
54
|
/**
|
|
55
55
|
* Available options for setting up run time support
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
type XarcSupportOptions = {
|
|
58
58
|
/**
|
|
59
59
|
* - boolean: true to load @babel/register
|
|
60
60
|
* - Object: options to be passed to @babel/register
|
package/package.json
CHANGED
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
2
|
+
"name": "@xarc/app",
|
|
3
|
+
"version": "11.0.4",
|
|
4
|
+
"description": "Electrode X application runtime support",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"homepage": "http://www.electrode.io",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/electrode-io/electrode.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/electrode-io/electrode/issues"
|
|
13
|
+
},
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"require.js",
|
|
18
|
+
"runtime-setup.js",
|
|
19
|
+
"src"
|
|
20
|
+
],
|
|
21
|
+
"author": "Electrode (http://www.electrode.io/)",
|
|
22
|
+
"contributors": [
|
|
23
|
+
"Joel Chen <xchen@walmartlabs.com>"
|
|
24
|
+
],
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@babel/runtime": "^7.17.9",
|
|
27
|
+
"isomorphic-loader": "^4.5.0",
|
|
28
|
+
"optional-require": "^1.1.8",
|
|
29
|
+
"subapp-util": "^1.1.4",
|
|
30
|
+
"tslib": "^2.4.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
34
|
+
"@types/chai": "^4.3.1",
|
|
35
|
+
"@types/mocha": "^9.1.1",
|
|
36
|
+
"@types/node": "^17.0.31",
|
|
37
|
+
"@types/sinon": "^10.0.11",
|
|
38
|
+
"@types/sinon-chai": "^3.2.8",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
|
40
|
+
"@typescript-eslint/parser": "^5.22.0",
|
|
41
|
+
"@xarc/module-dev": "^4.1.0",
|
|
42
|
+
"@xarc/run": "^1.1.1",
|
|
43
|
+
"babel-eslint": "^10.1.0",
|
|
44
|
+
"chai": "^4.3.6",
|
|
45
|
+
"chalk": "^5.0.1",
|
|
46
|
+
"eslint": "^8.14.0",
|
|
47
|
+
"eslint-config-walmart": "^2.2.1",
|
|
48
|
+
"eslint-plugin-filenames": "^1.3.2",
|
|
49
|
+
"eslint-plugin-jsdoc": "^30.7.9",
|
|
50
|
+
"eslint-plugin-tsdoc": "^0.2.16",
|
|
51
|
+
"mocha": "^10.0.0",
|
|
52
|
+
"mock-require": "^3.0.3",
|
|
53
|
+
"nyc": "^15.1.0",
|
|
54
|
+
"prettier": "^2.6.2",
|
|
55
|
+
"prompts": "^2.4.2",
|
|
56
|
+
"sinon": "^13.0.2",
|
|
57
|
+
"sinon-chai": "^3.7.0",
|
|
58
|
+
"source-map-support": "^0.5.21",
|
|
59
|
+
"ts-node": "^10.7.0",
|
|
60
|
+
"typedoc": "^0.22.15",
|
|
61
|
+
"typescript": "^4.6.4",
|
|
62
|
+
"xsh": "^0.4.5"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">= 12",
|
|
66
|
+
"npm": ">= 6"
|
|
67
|
+
},
|
|
68
|
+
"nyc": {
|
|
69
|
+
"all": true,
|
|
70
|
+
"reporter": [
|
|
71
|
+
"lcov",
|
|
72
|
+
"text",
|
|
73
|
+
"text-summary"
|
|
74
|
+
],
|
|
75
|
+
"exclude": [
|
|
76
|
+
"*clap.js",
|
|
77
|
+
"*clap.ts",
|
|
78
|
+
"config",
|
|
79
|
+
"coverage",
|
|
80
|
+
"dist",
|
|
81
|
+
"docs",
|
|
82
|
+
"gulpfile.js",
|
|
83
|
+
"test",
|
|
84
|
+
"xrun*.js",
|
|
85
|
+
"xrun*.ts"
|
|
86
|
+
],
|
|
87
|
+
"extends": [
|
|
88
|
+
"@istanbuljs/nyc-config-typescript"
|
|
89
|
+
],
|
|
90
|
+
"check-coverage": true,
|
|
91
|
+
"statements": 0,
|
|
92
|
+
"branches": 0,
|
|
93
|
+
"functions": 0,
|
|
94
|
+
"lines": 0,
|
|
95
|
+
"cache": false
|
|
96
|
+
},
|
|
97
|
+
"publishConfig": {
|
|
98
|
+
"registry": "https://registry.npmjs.com/",
|
|
99
|
+
"access": "public"
|
|
100
|
+
},
|
|
101
|
+
"prettier": {
|
|
102
|
+
"printWidth": 100,
|
|
103
|
+
"trailingComma": "none",
|
|
104
|
+
"arrowParens": "avoid"
|
|
105
|
+
},
|
|
106
|
+
"@xarc/module-dev": {
|
|
107
|
+
"features": [
|
|
108
|
+
"eslint",
|
|
109
|
+
"eslintTS",
|
|
110
|
+
"mocha",
|
|
111
|
+
"typedoc",
|
|
112
|
+
"typescript"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"mocha": {
|
|
116
|
+
"require": [
|
|
117
|
+
"ts-node/register",
|
|
118
|
+
"source-map-support/register",
|
|
119
|
+
"@xarc/module-dev/config/test/setup.js"
|
|
120
|
+
],
|
|
121
|
+
"recursive": true
|
|
122
|
+
},
|
|
123
|
+
"scripts": {
|
|
124
|
+
"build": "xrun user/build",
|
|
125
|
+
"test": "xrun xarc/test-only",
|
|
126
|
+
"coverage": "xrun xarc/test-cov",
|
|
127
|
+
"check": "xrun xarc/check",
|
|
128
|
+
"format": "prettier --write --print-width 100 *.{js,jsx} `find . -type d -d 1 -exec echo '{}/**/*.{js,jsx}' \\; | egrep -v '(/node_modules/|/dist/|/coverage/)'`",
|
|
129
|
+
"docs": "xrun xarc/docs"
|
|
130
|
+
}
|
|
131
131
|
}
|