@elliemae/pui-cli 9.0.0-next.21 → 9.0.0-next.23

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.
@@ -33,14 +33,6 @@ __export(test_exports, {
33
33
  module.exports = __toCommonJS(test_exports);
34
34
  var import_yargs = __toESM(require("yargs"), 1);
35
35
  var import_utils = require("./utils.js");
36
- const test = async (commandOptions) => {
37
- await (0, import_utils.exec)(`cross-env NODE_ENV=test jest ${commandOptions}`);
38
- };
39
- const debugTest = async () => {
40
- await (0, import_utils.exec)(
41
- `node --inspect-brk ./node_modules/jest-cli/bin/jest.js --runInBand --watch`
42
- );
43
- };
44
36
  const cmdArgs = {
45
37
  fix: {
46
38
  boolean: true,
@@ -71,24 +63,59 @@ const cmdArgs = {
71
63
  boolean: true,
72
64
  alias: "s",
73
65
  default: false
66
+ },
67
+ coverage: {
68
+ string: true,
69
+ // we want to support "CI" | "false" | "true"
70
+ default: "true"
71
+ },
72
+ maxWorkers: {
73
+ string: true,
74
+ default: "50%"
74
75
  }
75
76
  };
77
+ const getJestFlags = (argv) => {
78
+ const flagsArray = [argv.maxWorkers];
79
+ const isCi = (0, import_utils.getCIEnv)();
80
+ switch (`${argv.coverage}`) {
81
+ case "CI":
82
+ if (isCi) {
83
+ flagsArray.push("--coverage");
84
+ }
85
+ break;
86
+ case "false":
87
+ break;
88
+ case "true":
89
+ default:
90
+ flagsArray.push("--coverage");
91
+ break;
92
+ }
93
+ if (argv.fix)
94
+ flagsArray.push("-u");
95
+ else if (argv.watch)
96
+ flagsArray.push("--watchAll");
97
+ if (argv.passWithNoTests)
98
+ flagsArray.push("--passWithNoTests");
99
+ if (argv.findReleatedTests)
100
+ flagsArray.push("--bail --findRelatedTests");
101
+ if (argv.silent)
102
+ flagsArray.push("--silent");
103
+ if (isCi)
104
+ flagsArray.push("--ci --no-colors");
105
+ return flagsArray.join(" ");
106
+ };
107
+ const test = async (argv) => {
108
+ const jestFlags = getJestFlags(argv);
109
+ await (0, import_utils.exec)(`cross-env NODE_ENV=test jest ${jestFlags}`);
110
+ };
111
+ const debugTest = async () => {
112
+ await (0, import_utils.exec)(
113
+ `node --inspect-brk ./node_modules/jest-cli/bin/jest.js --runInBand --watch`
114
+ );
115
+ };
76
116
  const testCmd = {
77
117
  // eslint-disable-next-line max-statements
78
118
  handler: async (argv) => {
79
- let commandOptions = "--coverage --maxWorkers=50%";
80
- if (argv.fix)
81
- commandOptions += " -u";
82
- else if (argv.watch)
83
- commandOptions += " --watchAll";
84
- if ((0, import_utils.getCIEnv)())
85
- commandOptions += " --ci --no-colors";
86
- if (argv.passWithNoTests)
87
- commandOptions += " --passWithNoTests";
88
- if (argv.findReleatedTests)
89
- commandOptions += " --bail --findRelatedTests";
90
- if (argv.silent)
91
- commandOptions += " --silent";
92
119
  try {
93
120
  if ((0, import_utils.getCIEnv)()) {
94
121
  await (0, import_utils.exec)("rimraf ./reports");
@@ -96,7 +123,7 @@ const testCmd = {
96
123
  if (argv.debug) {
97
124
  await debugTest();
98
125
  } else {
99
- await test(commandOptions);
126
+ await test(argv);
100
127
  }
101
128
  (0, import_utils.logSuccess)("Unit test execution completed");
102
129
  } catch (err) {
@@ -31,6 +31,7 @@ __export(utils_exports, {
31
31
  copyBuildAssetsToVersionedFolder: () => copyBuildAssetsToVersionedFolder,
32
32
  exec: () => exec,
33
33
  getCIEnv: () => getCIEnv,
34
+ getUnspecifiedOptions: () => getUnspecifiedOptions,
34
35
  isApp: () => isApp,
35
36
  isPathExist: () => isPathExist,
36
37
  isTypeScriptEnabled: () => isTypeScriptEnabled,
@@ -208,3 +209,29 @@ const isPathExist = async (pathToCheck) => {
208
209
  const isApp = async () => isPathExist(import_node_path.default.join(process.cwd(), "app"));
209
210
  const getCIEnv = () => process.env.CI === "true";
210
211
  const isTypeScriptEnabled = () => import_node_fs.default.existsSync(import_node_path.default.join(process.cwd(), "tsconfig.json"));
212
+ const getUnspecifiedOptions = (options, command) => {
213
+ const rawArgs = process.argv.slice(2);
214
+ const rawArgsMap = /* @__PURE__ */ new Map();
215
+ rawArgs.forEach((arg) => {
216
+ const [key, value] = arg.split("=");
217
+ const keyWithoutPrefix = key.replace(/^-{1,2}/, "");
218
+ rawArgsMap.set(keyWithoutPrefix, value || true);
219
+ });
220
+ const expectedOptionsMap = /* @__PURE__ */ new Map();
221
+ Object.entries(options).forEach(([key, value]) => {
222
+ expectedOptionsMap.set(key, value);
223
+ if (value.alias)
224
+ expectedOptionsMap.set(value.alias, value);
225
+ });
226
+ const unspecifiedOptions = {};
227
+ rawArgsMap.forEach((value, key) => {
228
+ if (key === command)
229
+ return;
230
+ if (key === "")
231
+ return;
232
+ if (!expectedOptionsMap.has(key)) {
233
+ unspecifiedOptions[key] = value;
234
+ }
235
+ });
236
+ return unspecifiedOptions;
237
+ };
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  var import_vitest = require("vitest");
3
- var import_jest_styled_components = require("jest-styled-components");
4
3
  var import_react = require("@testing-library/react");
5
- var import_jest_globals = require("@testing-library/jest-dom/jest-globals");
6
4
  (0, import_vitest.afterEach)(() => {
7
5
  (0, import_react.cleanup)();
8
6
  });
@@ -35,27 +35,27 @@ var import_node_path = __toESM(require("node:path"), 1);
35
35
  var import_node_url = require("node:url");
36
36
  var import_config = require("vitest/config");
37
37
  var import_plugin_react = __toESM(require("@vitejs/plugin-react"), 1);
38
+ var import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1);
38
39
  const import_meta = {};
39
40
  const __dirname = import_node_path.default.dirname((0, import_node_url.fileURLToPath)(import_meta.url));
40
41
  const vitestConfig = (0, import_config.defineConfig)({
41
- plugins: [(0, import_plugin_react.default)()],
42
+ plugins: [(0, import_plugin_react.default)(), (0, import_vite_tsconfig_paths.default)()],
42
43
  test: {
43
44
  globals: true,
44
45
  root: process.cwd(),
45
- environment: "jsdom",
46
+ environment: "happy-dom",
46
47
  setupFiles: [import_node_path.default.resolve(__dirname, "./setup-test-env.js")],
47
48
  include: ["./{app,lib}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
48
49
  exclude: [...import_config.configDefaults.exclude, ".idea", ".git", ".cache", "e2e"],
49
- // watchIgnore: [
50
- // '.*\\/node_modules\\/.*',
51
- // '.*\\/build\\/.*',
52
- // '.*\\/dist\\/.*',
53
- // ],
54
50
  coverage: {
55
51
  reportsDirectory: "./reports/coverage"
56
52
  },
57
53
  deps: {
58
- inline: [/app.config.json/]
54
+ optimizer: {
55
+ web: {
56
+ include: ["app.config.json", "@elliemae/pui-app-sdk"]
57
+ }
58
+ }
59
59
  }
60
60
  }
61
61
  });
@@ -1,13 +1,5 @@
1
1
  import yargs from "yargs";
2
2
  import { exec, logError, logSuccess, getCIEnv } from "./utils.js";
3
- const test = async (commandOptions) => {
4
- await exec(`cross-env NODE_ENV=test jest ${commandOptions}`);
5
- };
6
- const debugTest = async () => {
7
- await exec(
8
- `node --inspect-brk ./node_modules/jest-cli/bin/jest.js --runInBand --watch`
9
- );
10
- };
11
3
  const cmdArgs = {
12
4
  fix: {
13
5
  boolean: true,
@@ -38,24 +30,59 @@ const cmdArgs = {
38
30
  boolean: true,
39
31
  alias: "s",
40
32
  default: false
33
+ },
34
+ coverage: {
35
+ string: true,
36
+ // we want to support "CI" | "false" | "true"
37
+ default: "true"
38
+ },
39
+ maxWorkers: {
40
+ string: true,
41
+ default: "50%"
41
42
  }
42
43
  };
44
+ const getJestFlags = (argv) => {
45
+ const flagsArray = [argv.maxWorkers];
46
+ const isCi = getCIEnv();
47
+ switch (`${argv.coverage}`) {
48
+ case "CI":
49
+ if (isCi) {
50
+ flagsArray.push("--coverage");
51
+ }
52
+ break;
53
+ case "false":
54
+ break;
55
+ case "true":
56
+ default:
57
+ flagsArray.push("--coverage");
58
+ break;
59
+ }
60
+ if (argv.fix)
61
+ flagsArray.push("-u");
62
+ else if (argv.watch)
63
+ flagsArray.push("--watchAll");
64
+ if (argv.passWithNoTests)
65
+ flagsArray.push("--passWithNoTests");
66
+ if (argv.findReleatedTests)
67
+ flagsArray.push("--bail --findRelatedTests");
68
+ if (argv.silent)
69
+ flagsArray.push("--silent");
70
+ if (isCi)
71
+ flagsArray.push("--ci --no-colors");
72
+ return flagsArray.join(" ");
73
+ };
74
+ const test = async (argv) => {
75
+ const jestFlags = getJestFlags(argv);
76
+ await exec(`cross-env NODE_ENV=test jest ${jestFlags}`);
77
+ };
78
+ const debugTest = async () => {
79
+ await exec(
80
+ `node --inspect-brk ./node_modules/jest-cli/bin/jest.js --runInBand --watch`
81
+ );
82
+ };
43
83
  const testCmd = {
44
84
  // eslint-disable-next-line max-statements
45
85
  handler: async (argv) => {
46
- let commandOptions = "--coverage --maxWorkers=50%";
47
- if (argv.fix)
48
- commandOptions += " -u";
49
- else if (argv.watch)
50
- commandOptions += " --watchAll";
51
- if (getCIEnv())
52
- commandOptions += " --ci --no-colors";
53
- if (argv.passWithNoTests)
54
- commandOptions += " --passWithNoTests";
55
- if (argv.findReleatedTests)
56
- commandOptions += " --bail --findRelatedTests";
57
- if (argv.silent)
58
- commandOptions += " --silent";
59
86
  try {
60
87
  if (getCIEnv()) {
61
88
  await exec("rimraf ./reports");
@@ -63,7 +90,7 @@ const testCmd = {
63
90
  if (argv.debug) {
64
91
  await debugTest();
65
92
  } else {
66
- await test(commandOptions);
93
+ await test(argv);
67
94
  }
68
95
  logSuccess("Unit test execution completed");
69
96
  } catch (err) {
@@ -177,10 +177,37 @@ const isPathExist = async (pathToCheck) => {
177
177
  const isApp = async () => isPathExist(path.join(process.cwd(), "app"));
178
178
  const getCIEnv = () => process.env.CI === "true";
179
179
  const isTypeScriptEnabled = () => fs.existsSync(path.join(process.cwd(), "tsconfig.json"));
180
+ const getUnspecifiedOptions = (options, command) => {
181
+ const rawArgs = process.argv.slice(2);
182
+ const rawArgsMap = /* @__PURE__ */ new Map();
183
+ rawArgs.forEach((arg) => {
184
+ const [key, value] = arg.split("=");
185
+ const keyWithoutPrefix = key.replace(/^-{1,2}/, "");
186
+ rawArgsMap.set(keyWithoutPrefix, value || true);
187
+ });
188
+ const expectedOptionsMap = /* @__PURE__ */ new Map();
189
+ Object.entries(options).forEach(([key, value]) => {
190
+ expectedOptionsMap.set(key, value);
191
+ if (value.alias)
192
+ expectedOptionsMap.set(value.alias, value);
193
+ });
194
+ const unspecifiedOptions = {};
195
+ rawArgsMap.forEach((value, key) => {
196
+ if (key === command)
197
+ return;
198
+ if (key === "")
199
+ return;
200
+ if (!expectedOptionsMap.has(key)) {
201
+ unspecifiedOptions[key] = value;
202
+ }
203
+ });
204
+ return unspecifiedOptions;
205
+ };
180
206
  export {
181
207
  copyBuildAssetsToVersionedFolder,
182
208
  exec,
183
209
  getCIEnv,
210
+ getUnspecifiedOptions,
184
211
  isApp,
185
212
  isPathExist,
186
213
  isTypeScriptEnabled,
@@ -1,7 +1,5 @@
1
1
  import { afterEach } from "vitest";
2
- import "jest-styled-components";
3
2
  import { cleanup } from "@testing-library/react";
4
- import "@testing-library/jest-dom/jest-globals";
5
3
  afterEach(() => {
6
4
  cleanup();
7
5
  });
@@ -2,26 +2,26 @@ import path from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
3
  import { defineConfig, configDefaults } from "vitest/config";
4
4
  import react from "@vitejs/plugin-react";
5
+ import tsconfigPaths from "vite-tsconfig-paths";
5
6
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
6
7
  const vitestConfig = defineConfig({
7
- plugins: [react()],
8
+ plugins: [react(), tsconfigPaths()],
8
9
  test: {
9
10
  globals: true,
10
11
  root: process.cwd(),
11
- environment: "jsdom",
12
+ environment: "happy-dom",
12
13
  setupFiles: [path.resolve(__dirname, "./setup-test-env.js")],
13
14
  include: ["./{app,lib}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
14
15
  exclude: [...configDefaults.exclude, ".idea", ".git", ".cache", "e2e"],
15
- // watchIgnore: [
16
- // '.*\\/node_modules\\/.*',
17
- // '.*\\/build\\/.*',
18
- // '.*\\/dist\\/.*',
19
- // ],
20
16
  coverage: {
21
17
  reportsDirectory: "./reports/coverage"
22
18
  },
23
19
  deps: {
24
- inline: [/app.config.json/]
20
+ optimizer: {
21
+ web: {
22
+ include: ["app.config.json", "@elliemae/pui-app-sdk"]
23
+ }
24
+ }
25
25
  }
26
26
  }
27
27
  });
@@ -6,6 +6,8 @@ interface Arguments {
6
6
  passWithNoTests: boolean;
7
7
  findReleatedTests: boolean;
8
8
  silent: boolean;
9
+ coverage: string;
10
+ maxWorkers: string;
9
11
  }
10
12
  export declare const testCmd: CommandModule<Record<string, never>, Arguments>;
11
13
  export {};
@@ -16,3 +16,24 @@ export declare const isPathExist: (pathToCheck: string) => Promise<boolean>;
16
16
  export declare const isApp: () => Promise<boolean>;
17
17
  export declare const getCIEnv: () => boolean;
18
18
  export declare const isTypeScriptEnabled: () => boolean;
19
+ /**
20
+ * argv will generate an object with many assumptions based on the library own functionality.
21
+ * some of those assumptions make it hard to use the ...rest operator to get the options,
22
+ * this function is meant to get the options that are not specificially expected.
23
+ * @param {object} options - the options the command is specifically expecting
24
+ * @param {string} command - the raw command (without the prefix nor tag)
25
+ * @returns {object} - options that were not specifically expected by the command, key are camelCase, values are forced to be strings
26
+ * @example
27
+ * // options {
28
+ * // someOption: { alias: 'my-test', string: true, default:'foo' },
29
+ * // 'hello-world': { boolean: true, default:'bar' },
30
+ * // }
31
+ * // command "test"
32
+ * // user's args string
33
+ * // "test --hello-world -my-test='is-working' --orMaybe=\"it isn't\" is_it='? '--a"
34
+ * // ^ command ^ expected option ^ expected option(alias) | unspecified options...
35
+ * // returns { orMaybe: "it isn't", is_it: '? ', a: true }
36
+ * // note that the unspecified options are forced to be strings, unless boolean (without '=')
37
+ * @see {@link https://stackblitz.com/edit/node-gqcdb4?file=package.json stackblitz test}
38
+ */
39
+ export declare const getUnspecifiedOptions: (options: Record<string, Record<string, unknown>>, command: string) => Record<string, string | boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "9.0.0-next.21",
3
+ "version": "9.0.0-next.23",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -77,9 +77,9 @@
77
77
  "sonar56x": true
78
78
  },
79
79
  "dependencies": {
80
- "@axe-core/react": "~4.7.3",
80
+ "@axe-core/react": "~4.8.1",
81
81
  "@babel/cli": "~7.23.0",
82
- "@babel/core": "~7.23.0",
82
+ "@babel/core": "~7.23.2",
83
83
  "@babel/eslint-parser": "~7.22.15",
84
84
  "@babel/node": "~7.22.19",
85
85
  "@babel/plugin-proposal-class-properties": "~7.18.6",
@@ -90,66 +90,66 @@
90
90
  "@babel/plugin-transform-react-constant-elements": "~7.22.5",
91
91
  "@babel/plugin-transform-react-inline-elements": "~7.22.5",
92
92
  "@babel/plugin-transform-react-jsx-source": "~7.22.5",
93
- "@babel/plugin-transform-runtime": "~7.22.15",
94
- "@babel/preset-env": "~7.22.20",
93
+ "@babel/plugin-transform-runtime": "~7.23.2",
94
+ "@babel/preset-env": "~7.23.2",
95
95
  "@babel/preset-react": "~7.22.15",
96
- "@babel/preset-typescript": "~7.23.0",
97
- "@babel/runtime": "~7.23.1",
98
- "@commitlint/cli": "~17.7.1",
99
- "@commitlint/config-conventional": "~17.7.0",
96
+ "@babel/preset-typescript": "~7.23.2",
97
+ "@babel/runtime": "~7.23.2",
98
+ "@commitlint/cli": "~18.2.0",
99
+ "@commitlint/config-conventional": "~18.1.0",
100
100
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.8.0",
101
- "@faker-js/faker": "8.1.0",
101
+ "@faker-js/faker": "8.2.0",
102
102
  "@nrwl/cli": "15.9.3",
103
- "@nrwl/tao": "16.9.0",
104
- "@nrwl/workspace": "16.9.0",
103
+ "@nrwl/tao": "17.0.2",
104
+ "@nrwl/workspace": "17.0.2",
105
105
  "@pmmmwh/react-refresh-webpack-plugin": "~0.5.11",
106
106
  "@semantic-release/changelog": "~6.0.3",
107
107
  "@semantic-release/exec": "~6.0.3",
108
108
  "@semantic-release/git": "~10.0.1",
109
- "@storybook/addon-a11y": "~7.4.5",
110
- "@storybook/addon-essentials": "~7.4.5",
109
+ "@storybook/addon-a11y": "~7.5.1",
110
+ "@storybook/addon-essentials": "~7.5.1",
111
111
  "@storybook/addon-events": "~6.2.9",
112
- "@storybook/addon-interactions": "~7.4.5",
113
- "@storybook/addon-links": "~7.4.5",
114
- "@storybook/addon-storysource": "~7.4.5",
115
- "@storybook/blocks": "~7.4.5",
116
- "@storybook/builder-vite": "~7.4.5",
117
- "@storybook/builder-webpack5": "~7.4.5",
118
- "@storybook/jest": "~0.2.2",
112
+ "@storybook/addon-interactions": "~7.5.1",
113
+ "@storybook/addon-links": "~7.5.1",
114
+ "@storybook/addon-storysource": "~7.5.1",
115
+ "@storybook/blocks": "~7.5.1",
116
+ "@storybook/builder-vite": "~7.5.1",
117
+ "@storybook/builder-webpack5": "~7.5.1",
118
+ "@storybook/jest": "~0.2.3",
119
119
  "@storybook/manager-webpack5": "~6.5.16",
120
- "@storybook/react": "~7.4.5",
121
- "@storybook/react-vite": "~7.4.5",
122
- "@storybook/react-webpack5": "~7.4.5",
123
- "@storybook/testing-library": "~0.2.1",
124
- "@storybook/theming": "~7.4.5",
120
+ "@storybook/react": "~7.5.1",
121
+ "@storybook/react-vite": "~7.5.1",
122
+ "@storybook/react-webpack5": "~7.5.1",
123
+ "@storybook/testing-library": "~0.2.2",
124
+ "@storybook/theming": "~7.5.1",
125
125
  "@stylelint/postcss-css-in-js": "~0.38.0",
126
126
  "@svgr/webpack": "~8.1.0",
127
127
  "@swc/cli": "~0.1.62",
128
- "@swc/core": "~1.3.89",
128
+ "@swc/core": "~1.3.95",
129
129
  "@swc/jest": "~0.2.29",
130
- "@testing-library/jest-dom": "~6.1.3",
130
+ "@testing-library/jest-dom": "~6.1.4",
131
131
  "@testing-library/react": "~14.0.0",
132
132
  "@testing-library/react-hooks": "~8.0.1",
133
133
  "@testing-library/user-event": "~14.5.1",
134
- "@types/circular-dependency-plugin": "~5.0.6",
135
- "@types/compression": "~1.7.3",
136
- "@types/cors": "~2.8.14",
137
- "@types/duplicate-package-checker-webpack-plugin": "~2.1.3",
138
- "@types/ip": "~1.1.0",
139
- "@types/jest": "~29.5.5",
140
- "@types/jest-axe": "~3.5.6",
141
- "@types/moment-locales-webpack-plugin": "~1.2.3",
142
- "@types/node": "~20.7.0",
143
- "@types/normalize-path": "~3.0.0",
134
+ "@types/circular-dependency-plugin": "~5.0.7",
135
+ "@types/compression": "~1.7.4",
136
+ "@types/cors": "~2.8.15",
137
+ "@types/duplicate-package-checker-webpack-plugin": "~2.1.4",
138
+ "@types/ip": "~1.1.2",
139
+ "@types/jest": "~29.5.6",
140
+ "@types/jest-axe": "~3.5.7",
141
+ "@types/moment-locales-webpack-plugin": "~1.2.5",
142
+ "@types/node": "~20.8.9",
143
+ "@types/normalize-path": "~3.0.1",
144
144
  "@types/postcss-preset-env": "~8.0.0",
145
145
  "@types/rimraf": "~4.0.5",
146
- "@types/speed-measure-webpack-plugin": "~1.3.4",
147
- "@types/supertest": "~2.0.13",
148
- "@types/uuid": "~9.0.4",
146
+ "@types/speed-measure-webpack-plugin": "~1.3.5",
147
+ "@types/supertest": "~2.0.15",
148
+ "@types/uuid": "~9.0.6",
149
149
  "@types/testing-library__jest-dom": "~5.14.9",
150
- "@types/webpack-bundle-analyzer": "~4.6.1",
151
- "@typescript-eslint/eslint-plugin": "~6.7.3",
152
- "@typescript-eslint/parser": "~6.7.3",
150
+ "@types/webpack-bundle-analyzer": "~4.6.2",
151
+ "@typescript-eslint/eslint-plugin": "~6.9.0",
152
+ "@typescript-eslint/parser": "~6.9.0",
153
153
  "@vitejs/plugin-react": "~4.1.0",
154
154
  "@vitest/coverage-c8": "~0.33.0",
155
155
  "autoprefixer": "~10.4.16",
@@ -165,7 +165,7 @@
165
165
  "babel-plugin-transform-remove-console": "~6.9.4",
166
166
  "babel-plugin-transform-strip-block": "~0.0.5",
167
167
  "body-parser": "~1.20.2",
168
- "browserslist": "~4.21.11",
168
+ "browserslist": "~4.22.1",
169
169
  "browserslist-to-esbuild": "~1.2.0",
170
170
  "chalk": "~5.3.0",
171
171
  "circular-dependency-plugin": "~5.2.2",
@@ -176,17 +176,17 @@
176
176
  "cross-env": "~7.0.3",
177
177
  "css-loader": "~6.8.1",
178
178
  "css-minimizer-webpack-plugin": "~5.0.1",
179
- "depcheck": "~1.4.6",
179
+ "depcheck": "~1.4.7",
180
180
  "docdash": "~2.0.2",
181
181
  "dotenv": "~16.3.1",
182
182
  "dotenv-webpack": "~8.0.1",
183
183
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
184
184
  "enhanced-resolve": "5.15.0",
185
- "esbuild": "~0.19.3",
185
+ "esbuild": "~0.19.5",
186
186
  "esbuild-loader": "~4.0.2",
187
187
  "esbuild-plugin-lodash": "~1.2.0",
188
188
  "esbuild-plugin-svgr": "~2.1.0",
189
- "eslint": "~8.50.0",
189
+ "eslint": "~8.52.0",
190
190
  "eslint-config-airbnb": "~19.0.4",
191
191
  "eslint-config-airbnb-base": "~15.0.0",
192
192
  "eslint-config-airbnb-typescript": "~17.1.0",
@@ -194,21 +194,21 @@
194
194
  "eslint-config-react-app": "~7.0.1",
195
195
  "eslint-import-resolver-babel-module": "~5.3.2",
196
196
  "eslint-import-resolver-typescript": "~3.6.1",
197
- "eslint-import-resolver-webpack": "~0.13.7",
197
+ "eslint-import-resolver-webpack": "~0.13.8",
198
198
  "eslint-plugin-compat": "~4.2.0",
199
199
  "eslint-plugin-eslint-comments": "~3.2.0",
200
- "eslint-plugin-import": "~2.28.1",
201
- "eslint-plugin-jest": "~27.4.0",
200
+ "eslint-plugin-import": "~2.29.0",
201
+ "eslint-plugin-jest": "~27.6.0",
202
202
  "eslint-plugin-jsdoc": "~46.8.2",
203
203
  "eslint-plugin-jsx-a11y": "~6.7.1",
204
204
  "eslint-plugin-mdx": "~2.2.0",
205
- "eslint-plugin-prettier": "~5.0.0",
205
+ "eslint-plugin-prettier": "~5.0.1",
206
206
  "eslint-plugin-react": "~7.33.2",
207
207
  "eslint-plugin-react-hooks": "~4.6.0",
208
208
  "eslint-plugin-redux-saga": "~1.3.2",
209
- "eslint-plugin-storybook": "~0.6.14",
210
- "eslint-plugin-testing-library": "~6.0.2",
211
- "eslint-plugin-wdio": "~8.8.7",
209
+ "eslint-plugin-storybook": "~0.6.15",
210
+ "eslint-plugin-testing-library": "~6.1.0",
211
+ "eslint-plugin-wdio": "~8.20.0",
212
212
  "execa": "~8.0.1",
213
213
  "express": "~4.18.2",
214
214
  "express-static-gzip": "~2.1.7",
@@ -217,7 +217,7 @@
217
217
  "fast-glob": "~3.3.1",
218
218
  "find-up": "~6.3.0",
219
219
  "find-up-cli": "~5.0.0",
220
- "happy-dom": "~12.2.0",
220
+ "happy-dom": "~12.10.2",
221
221
  "helmet-csp": "~3.4.0",
222
222
  "html-loader": "~4.2.0",
223
223
  "html-webpack-plugin": "~5.5.3",
@@ -230,40 +230,40 @@
230
230
  "jest-cli": "~29.7.0",
231
231
  "jest-environment-jsdom": "~29.7.0",
232
232
  "jest-sonar-reporter": "~2.0.0",
233
- "jest-styled-components": "~7.1.1",
233
+ "jest-styled-components": "~7.2.0",
234
234
  "jest-watch-typeahead": "~2.2.2",
235
235
  "jscodeshift": "~0.15.0",
236
236
  "jsdoc": "~4.0.2",
237
- "lerna": "~7.3.0",
238
- "lint-staged": "~14.0.1",
237
+ "lerna": "~7.4.1",
238
+ "lint-staged": "~15.0.2",
239
239
  "mini-css-extract-plugin": "~2.7.6",
240
240
  "minimist": "~1.2.8",
241
241
  "moment": "~2.29.4",
242
242
  "moment-locales-webpack-plugin": "~1.2.0",
243
- "msw": "~1.3.1",
243
+ "msw": "~2.0.0",
244
244
  "npm-run-all": "~4.1.5",
245
- "node-gyp": "~9.4.0",
245
+ "node-gyp": "~9.4.1",
246
246
  "node-plop": "~0.32.0",
247
247
  "nodemon": "~3.0.1",
248
248
  "normalize-path": "~3.0.0",
249
- "npm-check-updates": "16.14.4",
250
- "pino": "~8.15.1",
249
+ "npm-check-updates": "16.14.6",
250
+ "pino": "~8.16.1",
251
251
  "pino-http": "~8.5.0",
252
- "pino-pretty": "~10.2.0",
252
+ "pino-pretty": "~10.2.3",
253
253
  "plop": "~4.0.0",
254
- "postcss": "~8.4.30",
254
+ "postcss": "~8.4.31",
255
255
  "postcss-html": "~1.5.0",
256
256
  "postcss-jsx": "~0.36.4",
257
257
  "postcss-loader": "~7.3.3",
258
258
  "postcss-markdown": "~1.2.0",
259
- "postcss-preset-env": "~9.1.4",
259
+ "postcss-preset-env": "~9.2.0",
260
260
  "postcss-syntax": "~0.36.2",
261
261
  "prettier": "~3.0.3",
262
- "prisma": "~5.3.1",
262
+ "prisma": "~5.5.2",
263
263
  "pug": "~3.0.2",
264
264
  "pug-loader": "~2.4.0",
265
265
  "raf": "~3.4.1",
266
- "react-docgen": "~6.0.4",
266
+ "react-docgen": "~7.0.0",
267
267
  "react-refresh": "~0.14.0",
268
268
  "react-test-renderer": "~18.2.0",
269
269
  "resize-observer-polyfill": "~1.5.1",
@@ -272,11 +272,11 @@
272
272
  "semantic-release": "~22.0.5",
273
273
  "slackify-markdown": "~4.4.0",
274
274
  "speed-measure-webpack-plugin": "~1.5.0",
275
- "storybook": "~7.4.5",
275
+ "storybook": "~7.5.1",
276
276
  "storybook-addon-turbo-build": "~2.0.1",
277
277
  "storybook-react-router": "~1.0.8",
278
278
  "style-loader": "~3.3.3",
279
- "stylelint": "~15.10.3",
279
+ "stylelint": "~15.11.0",
280
280
  "stylelint-config-recommended": "~13.0.0",
281
281
  "stylelint-config-styled-components": "~0.1.1",
282
282
  "supertest": "~6.3.3",
@@ -285,20 +285,20 @@
285
285
  "ts-node": "~10.9.1",
286
286
  "tsc-alias": "~1.8.8",
287
287
  "tsx": "~3.13.0",
288
- "typedoc": "~0.25.1",
288
+ "typedoc": "~0.25.2",
289
289
  "typescript": "~5.2.2",
290
- "update-notifier": "~6.0.2",
290
+ "update-notifier": "~7.0.0",
291
291
  "url-loader": "~4.1.1",
292
292
  "uuid": "~9.0.1",
293
- "vite": "~4.4.9",
294
- "vitest": "~0.34.5",
293
+ "vite": "~4.5.0",
294
+ "vitest": "~0.34.6",
295
295
  "vite-tsconfig-paths": "~4.2.1",
296
- "webpack": "~5.88.2",
296
+ "webpack": "~5.89.0",
297
297
  "webpack-bundle-analyzer": "~4.9.1",
298
298
  "webpack-cli": "~5.1.4",
299
299
  "webpack-dev-server": "~4.15.1",
300
300
  "webpack-manifest-plugin": "~5.0.0",
301
- "webpack-merge": "~5.9.0",
301
+ "webpack-merge": "~5.10.0",
302
302
  "whatwg-fetch": "~3.6.19",
303
303
  "workbox-webpack-plugin": "~7.0.0",
304
304
  "yargs": "~17.7.2"
@@ -309,6 +309,6 @@
309
309
  "react-dom": "~18.2.0",
310
310
  "redux": "~4.2.1",
311
311
  "redux-saga": "~1.2.3",
312
- "styled-components": "~6.0.8"
312
+ "styled-components": "~6.1.0"
313
313
  }
314
314
  }