@elliemae/pui-cli 8.22.0 → 8.22.1

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,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_extend_expect = require("@testing-library/jest-dom/extend-expect");
6
4
  (0, import_vitest.afterEach)(() => {
7
5
  (0, import_react.cleanup)();
8
6
  });
@@ -35,14 +35,15 @@ 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"],
@@ -55,7 +56,11 @@ const vitestConfig = (0, import_config.defineConfig)({
55
56
  reportsDirectory: "./reports/coverage"
56
57
  },
57
58
  deps: {
58
- inline: [/app.config.json/]
59
+ optimizer: {
60
+ web: {
61
+ include: ["app.config.json"]
62
+ }
63
+ }
59
64
  }
60
65
  }
61
66
  });
@@ -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/extend-expect";
5
3
  afterEach(() => {
6
4
  cleanup();
7
5
  });
@@ -2,13 +2,14 @@ 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"],
@@ -21,7 +22,11 @@ const vitestConfig = defineConfig({
21
22
  reportsDirectory: "./reports/coverage"
22
23
  },
23
24
  deps: {
24
- inline: [/app.config.json/]
25
+ optimizer: {
26
+ web: {
27
+ include: ["app.config.json"]
28
+ }
29
+ }
25
30
  }
26
31
  }
27
32
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.22.0",
3
+ "version": "8.22.1",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -75,7 +75,7 @@
75
75
  "sonar56x": true
76
76
  },
77
77
  "dependencies": {
78
- "@axe-core/react": "~4.7.3",
78
+ "@axe-core/react": "~4.8.0",
79
79
  "@babel/cli": "~7.23.0",
80
80
  "@babel/core": "~7.23.0",
81
81
  "@babel/eslint-parser": "~7.22.15",
@@ -240,7 +240,7 @@
240
240
  "normalize-path": "~3.0.0",
241
241
  "npm-check-updates": "16.14.5",
242
242
  "npm-run-all": "~4.1.5",
243
- "pino": "~8.15.7",
243
+ "pino": "~8.16.0",
244
244
  "pino-http": "~8.5.0",
245
245
  "pino-pretty": "~10.2.3",
246
246
  "plop": "~3.1.2",
@@ -249,7 +249,7 @@
249
249
  "postcss-jsx": "~0.36.4",
250
250
  "postcss-loader": "~7.3.3",
251
251
  "postcss-markdown": "~1.2.0",
252
- "postcss-preset-env": "9.1.4",
252
+ "postcss-preset-env": "9.2.0",
253
253
  "postcss-syntax": "~0.36.2",
254
254
  "prettier": "~2.8.8",
255
255
  "prisma": "~4.16.2",