@xarc/app 11.0.0 → 11.0.3

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