@xarc/app-dev 10.1.1 → 11.0.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.
@@ -1,7 +1,7 @@
1
- declare const _default: () => any;
2
1
  /**
3
2
  * Electrode's babel config as a preset.
4
3
  *
5
4
  * @returns electrode's babel config
6
5
  */
6
+ declare const _default: () => any;
7
7
  export = _default;
@@ -1,8 +1,8 @@
1
- declare const _default: (settings: any) => any;
2
1
  /**
3
2
  * Karma settings to update for the specified browser
4
3
  *
5
4
  * @param settings - incoming settings to update
6
5
  * @returns updated settings
7
6
  */
7
+ declare const _default: (settings: any) => any;
8
8
  export = _default;
@@ -1,8 +1,8 @@
1
- declare const _default: (config: any) => any;
2
1
  /**
3
2
  * Get Karma config for coverage
4
3
  *
5
4
  * @param config base config
6
5
  * @returns {void} void
7
6
  */
7
+ declare const _default: (config: any) => any;
8
8
  export = _default;
@@ -1,8 +1,8 @@
1
- declare const _default: (config: any) => any;
2
1
  /**
3
2
  * get karma config
4
3
  *
5
4
  * @param config
6
5
  * @returns {void} karma config
7
6
  */
7
+ declare const _default: (config: any) => any;
8
8
  export = _default;
@@ -1,8 +1,8 @@
1
- declare const _default: (config: any) => void;
2
1
  /**
3
2
  * Karma config for watching mode
4
3
  *
5
4
  * @param config
6
5
  * @returns {void} karma config
7
6
  */
7
+ declare const _default: (config: any) => void;
8
8
  export = _default;
@@ -1,4 +1,6 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ /// <reference types="node" />
2
4
  import http from "http";
3
5
  import Url from "url";
4
6
  import { Defer } from "xaa";
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable no-magic-numbers, no-use-before-define, no-unused-vars */
2
2
  /* eslint-disable no-console, max-statements, no-param-reassign, complexity */
3
- /* global window, document, EventSource, fetch */
3
+ /* global window, document, EventSource */
4
4
 
5
5
  // c is from json-formatter-js.js, keep it loaded ahead of log-view.js
6
6
  /* eslint-disable no-undef */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xarc/app-dev",
3
- "version": "10.1.1",
3
+ "version": "11.0.0",
4
4
  "description": "Electrode X application development support",
5
5
  "main": "lib/index.js",
6
6
  "homepage": "http://www.electrode.io",
@@ -19,7 +19,7 @@
19
19
  "coverage": "xrun xarc/test-cov",
20
20
  "check": "xrun xarc/check",
21
21
  "format": "prettier --write --print-width 100 *.{js,jsx} `find . -type d -d 1 -exec echo '{}/**/*.{js,jsx}' \\; | egrep -v '(/node_modules/|/dist/|/coverage/)'`",
22
- "prepublishOnly": "xrun [[build], xarc/check]",
22
+ "prepublishOnly": "xrun [[build, docs], xarc/check]",
23
23
  "docs": "xrun xarc/docs",
24
24
  "bootstrap": "cd ../.. && npx fynpo bootstrap --only @xarc/app-dev"
25
25
  },
@@ -39,101 +39,102 @@
39
39
  "Joel Chen <xchen@walmartlabs.com>"
40
40
  ],
41
41
  "peerDependencies": {
42
- "@xarc/app": "^10.0.13"
42
+ "@xarc/app": "^11.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "@babel/cli": "^7.1.5",
46
- "@babel/core": "^7.1.6",
47
- "@babel/plugin-proposal-class-properties": "^7.2.1",
48
- "@babel/plugin-proposal-decorators": "^7.4.4",
49
- "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
50
- "@babel/plugin-transform-react-constant-elements": "^7.0.0",
51
- "@babel/plugin-transform-react-inline-elements": "^7.0.0",
52
- "@babel/plugin-transform-runtime": "^7.1.0",
53
- "@babel/preset-env": "^7.1.6",
54
- "@babel/preset-react": "^7.0.0",
55
- "@babel/preset-typescript": "^7.0.0",
56
- "@babel/register": "^7.0.0",
57
- "@jchip/redbird": "^1.2.2",
45
+ "@babel/cli": "^7.17.10",
46
+ "@babel/core": "^7.17.12",
47
+ "@babel/plugin-proposal-class-properties": "^7.17.12",
48
+ "@babel/plugin-proposal-decorators": "^7.17.12",
49
+ "@babel/plugin-proposal-object-rest-spread": "^7.17.12",
50
+ "@babel/plugin-transform-react-constant-elements": "^7.17.12",
51
+ "@babel/plugin-transform-react-inline-elements": "^7.16.7",
52
+ "@babel/plugin-transform-runtime": "^7.17.12",
53
+ "@babel/preset-env": "^7.17.12",
54
+ "@babel/preset-react": "^7.17.12",
55
+ "@babel/preset-typescript": "^7.17.12",
56
+ "@babel/register": "^7.17.7",
57
+ "@jchip/redbird": "^1.3.0",
58
58
  "@xarc/dev-base": "^0.1.0",
59
59
  "@xarc/run": "^1.0.5",
60
- "@xarc/subapp": "^0.3.3",
61
- "@xarc/webpack": "^11.1.1",
62
- "ansi-to-html": "^0.6.8",
60
+ "@xarc/subapp": "^0.3.4",
61
+ "@xarc/webpack": "^11.1.2",
62
+ "ansi-to-html": "^0.7.2",
63
63
  "babel-plugin-lodash": "^3.3.4",
64
- "babel-plugin-minify-dead-code-elimination": "^0.5.0",
64
+ "babel-plugin-minify-dead-code-elimination": "^0.5.2",
65
65
  "babel-plugin-react-css-modules": "^5.2.6",
66
66
  "babel-plugin-transform-node-env-inline": "^0.4.3",
67
- "babel-plugin-transform-react-remove-prop-types": "^0.4.20",
67
+ "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
68
68
  "boxen": "^5.0.0",
69
69
  "chalker": "^1.2.0",
70
- "chokidar": "^3.4.1",
71
- "core-js": "^3.6.5",
70
+ "chokidar": "^3.5.3",
71
+ "core-js": "^3.22.5",
72
72
  "electrode-node-resolver": "^2.0.2",
73
73
  "fast-async": "^7.0.5",
74
- "filter-scan-dir": "1.1.1",
75
- "fs-extra": "^9.1.0",
74
+ "filter-scan-dir": "1.5.5",
75
+ "fs-extra": "^10.1.0",
76
76
  "identity-obj-proxy": "^3.0.0",
77
77
  "is-ci": "^2.0.0",
78
- "lodash": "^4.17.19",
79
- "log-update": "^4.0.0",
80
- "mime": "^2.4.6",
78
+ "lodash": "^4.17.21",
79
+ "log-update": "^5.0.1",
80
+ "mime": "^3.0.0",
81
81
  "mkdirp": "^1.0.4",
82
- "nix-clap": "^1.3.12",
82
+ "nix-clap": "^1.3.13",
83
83
  "nyc": "^15.1.0",
84
- "optional-require": "^1.1.6",
84
+ "optional-require": "^1.1.8",
85
85
  "pkg-up": "^3.1.0",
86
- "prompts": "^2.3.2",
86
+ "prompts": "^2.4.2",
87
87
  "ps-get": "^1.1.0",
88
88
  "read-pkg-up": "^7.0.1",
89
- "regenerator-runtime": "^0.13.7",
89
+ "regenerator-runtime": "^0.13.9",
90
90
  "request": "^2.88.2",
91
91
  "require-at": "^1.0.6",
92
- "semver": "^7.3.2",
92
+ "semver": "^7.3.7",
93
93
  "serve-index-fs": "^1.10.1",
94
94
  "subapp-util": "^1.1.4",
95
- "sudo-prompt": "^8.2.5",
96
- "tslib": "^2.1.0",
95
+ "sudo-prompt": "^9.2.1",
96
+ "tslib": "^2.4.0",
97
97
  "visual-logger": "^1.1.3",
98
98
  "webpack-dev-middleware": "^4.1.0",
99
- "webpack-hot-middleware": "^2.25.0",
100
- "winston": "^2.4.4",
101
- "xaa": "^1.7.0",
99
+ "webpack-hot-middleware": "^2.25.1",
100
+ "winston": "^3.7.2",
101
+ "xaa": "^1.7.3",
102
102
  "xenv-config": "^1.3.1",
103
103
  "xsh": "^0.4.5"
104
104
  },
105
105
  "devDependencies": {
106
- "@istanbuljs/nyc-config-typescript": "^1.0.1",
107
- "@types/chai": "^4.2.14",
106
+ "@istanbuljs/nyc-config-typescript": "^1.0.2",
107
+ "@types/chai": "^4.3.1",
108
108
  "@types/mocha": "^8.2.0",
109
109
  "@types/node": "^14.14.16",
110
110
  "@types/sinon": "^9.0.10",
111
- "@types/sinon-chai": "^3.2.5",
111
+ "@types/sinon-chai": "^3.2.8",
112
112
  "@typescript-eslint/eslint-plugin": "^4.11.0",
113
113
  "@typescript-eslint/parser": "^4.11.0",
114
- "@xarc/app": "^10.0.13",
115
- "@xarc/module-dev": "^3.0.2",
116
- "@xarc/run": "^1.0.4",
114
+ "@xarc/app": "^11.0.0",
115
+ "@xarc/module-dev": "^4.1.0",
116
+ "@xarc/run": "^1.1.1",
117
117
  "babel-eslint": "^10.1.0",
118
- "chai": "^4.2.0",
118
+ "chai": "^4.3.6",
119
119
  "e1": "./e1",
120
- "electrode-server": "^3.2.0",
120
+ "electrode-server": "^3.3.0",
121
121
  "eslint": "^7.16.0",
122
122
  "eslint-config-walmart": "^2.2.1",
123
- "eslint-plugin-filenames": "^1.1.0",
123
+ "eslint-plugin-filenames": "^1.3.2",
124
124
  "eslint-plugin-jsdoc": "^32.0.2",
125
+ "eslint-plugin-tsdoc": "^0.2.16",
125
126
  "mocha": "^8.2.1",
126
127
  "mock-require": "^3.0.3",
127
128
  "nyc": "^15.1.0",
128
- "prettier": "^2.2.1",
129
- "run-verify": "^1.2.5",
130
- "shx": "^0.3.2",
129
+ "prettier": "^2.6.2",
130
+ "run-verify": "^1.2.6",
131
+ "shx": "^0.3.4",
131
132
  "sinon": "^9.2.2",
132
- "sinon-chai": "^3.5.0",
133
- "source-map-support": "^0.5.19",
134
- "ts-node": "^9.1.1",
135
- "typedoc": "^0.20.13",
136
- "typescript": "^4.1.3"
133
+ "sinon-chai": "^3.7.0",
134
+ "source-map-support": "^0.5.21",
135
+ "ts-node": "^10.7.0",
136
+ "typedoc": "^0.22.15",
137
+ "typescript": "^4.6.4"
137
138
  },
138
139
  "engines": {
139
140
  "node": ">= 12",
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable no-magic-numbers, no-use-before-define, no-unused-vars */
2
2
  /* eslint-disable no-console, max-statements, no-param-reassign, complexity */
3
- /* global window, document, EventSource, fetch */
3
+ /* global window, document, EventSource */
4
4
 
5
5
  // c is from json-formatter-js.js, keep it loaded ahead of log-view.js
6
6
  /* eslint-disable no-undef */