@elliemae/pui-cli 6.0.0-beta.42 → 6.0.0-beta.46

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.
@@ -25,7 +25,7 @@ console.error = (...args) => {
25
25
  ];
26
26
  if (
27
27
  ignoreList.find(
28
- (ignoreMsg) => !!args.find((arg) => arg.includes?.(ignoreMsg)),
28
+ (ignoreMsg) => !!args.find((arg) => arg?.includes?.(ignoreMsg)),
29
29
  )
30
30
  )
31
31
  return false;
@@ -1,9 +1,16 @@
1
1
  /// <reference types="vitest" />
2
2
  import { defineConfig } from 'vite';
3
+ import path from 'path';
3
4
 
4
5
  export default defineConfig({
5
6
  test: {
7
+ global: true,
6
8
  root: process.cwd(),
7
- environment: 'jsdom',
9
+ exclude: ['node_modules', 'dist', '.idea', '.git', '.cache', 'e2e'],
10
+ setupFiles: [path.resolve(__dirname, './vitest.setup.ts')],
11
+ coverage: {
12
+ reportsDirectory: './reports/coverage',
13
+ },
14
+ environment: 'happy-dom',
8
15
  },
9
16
  });
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "6.0.0-beta.42",
3
+ "version": "6.0.0-beta.46",
4
4
  "private": false,
5
5
  "description": "ICE MT UI Platform CLI",
6
6
  "sideEffects": false,
@@ -20,7 +20,7 @@
20
20
  "url": "https://git.elliemae.io/platform-ui/pui-cli.git"
21
21
  },
22
22
  "engines": {
23
- "npm": ">=8",
23
+ "pnpm": ">=6",
24
24
  "node": ">=16"
25
25
  },
26
26
  "author": "ICE MT",
@@ -38,8 +38,7 @@
38
38
  "storybook:build": "exit 0",
39
39
  "storybook:docs:build": "exit 0",
40
40
  "upgrade": "ncu -u && npm run setup",
41
- "prepare": "[ -n \"$CI\" ] || husky install",
42
- "preinstall": "npx only-allow pnpm"
41
+ "prepare": "[ -n \"$CI\" ] || husky install"
43
42
  },
44
43
  "jestSonar": {
45
44
  "sonar56x": true,
@@ -84,8 +83,8 @@
84
83
  "@stylelint/postcss-css-in-js": "~0.37.2",
85
84
  "@svgr/webpack": "~6.2.0",
86
85
  "@swc/cli": "~0.1.55",
87
- "@swc/core": "~1.2.128",
88
- "@swc/jest": "~0.2.16",
86
+ "@swc/core": "~1.2.129",
87
+ "@swc/jest": "~0.2.17",
89
88
  "@testing-library/jest-dom": "~5.16.1",
90
89
  "@testing-library/react": "~12.1.2",
91
90
  "@testing-library/react-hooks": "~7.0.2",
@@ -126,7 +125,7 @@
126
125
  "css-minimizer-webpack-plugin": "~3.3.1",
127
126
  "depcheck": "~1.4.3",
128
127
  "docdash": "~1.2.0",
129
- "dotenv": "~11.0.0",
128
+ "dotenv": "~12.0.0",
130
129
  "dotenv-webpack": "~7.0.3",
131
130
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
132
131
  "enhanced-resolve": "~5.8.3",
@@ -165,7 +164,7 @@
165
164
  "favicons-webpack-plugin": "~5.0.2",
166
165
  "file-loader": "~6.2.0",
167
166
  "fork-ts-checker-webpack-plugin": "~6.5.0",
168
- "happy-dom": "~2.25.1",
167
+ "happy-dom": "~2.25.2",
169
168
  "helmet-csp": "~3.4.0",
170
169
  "html-loader": "~3.1.0",
171
170
  "html-webpack-plugin": "~5.5.0",
@@ -181,7 +180,7 @@
181
180
  "jscodeshift": "~0.13.1",
182
181
  "jsdoc": "~3.6.7",
183
182
  "lint-staged": "~12.1.7",
184
- "mini-css-extract-plugin": "~2.4.6",
183
+ "mini-css-extract-plugin": "~2.4.7",
185
184
  "minimist": "~1.2.5",
186
185
  "moment": "~2.29.1",
187
186
  "moment-locales-webpack-plugin": "~1.2.0",
@@ -239,8 +238,8 @@
239
238
  "update-notifier": "~5.1.0",
240
239
  "url-loader": "~4.1.1",
241
240
  "uuid": "~8.3.2",
242
- "vite": "~2.7.10",
243
- "vitest": "~0.0.141",
241
+ "vite": "~2.7.12",
242
+ "vitest": "~0.1.15",
244
243
  "webpack": "~5.66.0",
245
244
  "webpack-bundle-analyzer": "~4.5.0",
246
245
  "webpack-cli": "~4.9.1",