@elliemae/pui-cli 8.0.0-next.5 → 8.0.0-next.7

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.
@@ -41,7 +41,7 @@ const startProdServer = async () => {
41
41
  await (0, import_utils.exec)(
42
42
  `cross-env NODE_ENV=production ts-node --esm ${import_node_path.default.resolve(
43
43
  __dirname,
44
- "../server.js"
44
+ "../server/index.js"
45
45
  )} --color always`
46
46
  );
47
47
  };
@@ -15,5 +15,5 @@ exports.stylelintConfig = {
15
15
  'stylelint-config-recommended',
16
16
  'stylelint-config-styled-components',
17
17
  ],
18
- rules: { 'selector-type-no-unknown': null, 'no-extra-semicolons': null, 'function-no-unknown': null },
18
+ rules: { 'selector-type-no-unknown': null, 'function-no-unknown': null },
19
19
  };
@@ -68,5 +68,7 @@ const addRootElement = (id) => {
68
68
  addRootElement("root");
69
69
  (0, import_matchMedia.addMatchMedia)();
70
70
  window.ResizeObserver = import_resize_observer_polyfill.default;
71
- window.emui = {};
72
- window.emui.logger = (0, import_pui_diagnostics.logger)();
71
+ window.emui = {
72
+ logger: (0, import_pui_diagnostics.logger)(),
73
+ _BASE_PATH: new URL(document.baseURI).pathname
74
+ };
@@ -179,7 +179,6 @@ const baseConfig = (options) => ({
179
179
  use: {
180
180
  loader: "esbuild-loader",
181
181
  options: {
182
- loader: "jsx",
183
182
  target: (0, import_browserslist_to_esbuild.default)()
184
183
  }
185
184
  }
@@ -193,7 +192,6 @@ const baseConfig = (options) => ({
193
192
  use: {
194
193
  loader: "esbuild-loader",
195
194
  options: {
196
- loader: "tsx",
197
195
  target: (0, import_browserslist_to_esbuild.default)()
198
196
  }
199
197
  }
@@ -103,7 +103,6 @@ const baseConfig = (options) => ({
103
103
  use: {
104
104
  loader: "esbuild-loader",
105
105
  options: {
106
- loader: "jsx",
107
106
  target: (0, import_browserslist_to_esbuild.default)()
108
107
  }
109
108
  }
@@ -118,7 +117,6 @@ const baseConfig = (options) => ({
118
117
  use: {
119
118
  loader: "esbuild-loader",
120
119
  options: {
121
- loader: "tsx",
122
120
  target: (0, import_browserslist_to_esbuild.default)()
123
121
  }
124
122
  }
@@ -69,7 +69,7 @@ const prodConfig = {
69
69
  moduleIds: "deterministic",
70
70
  minimize: true,
71
71
  minimizer: [
72
- new import_esbuild_loader.ESBuildMinifyPlugin({
72
+ new import_esbuild_loader.EsbuildPlugin({
73
73
  target: (0, import_browserslist_to_esbuild.default)(),
74
74
  css: true
75
75
  })
@@ -58,7 +58,7 @@ const getProdConfig = ({ latestVersion = true } = {}) => {
58
58
  optimization: {
59
59
  moduleIds: "deterministic",
60
60
  minimizer: [
61
- new import_esbuild_loader.ESBuildMinifyPlugin({
61
+ new import_esbuild_loader.EsbuildPlugin({
62
62
  target: (0, import_browserslist_to_esbuild.default)(),
63
63
  css: true
64
64
  })
@@ -7,7 +7,7 @@ const startProdServer = async () => {
7
7
  await exec(
8
8
  `cross-env NODE_ENV=production ts-node --esm ${path.resolve(
9
9
  __dirname,
10
- "../server.js"
10
+ "../server/index.js"
11
11
  )} --color always`
12
12
  );
13
13
  };
@@ -15,5 +15,5 @@ exports.stylelintConfig = {
15
15
  'stylelint-config-recommended',
16
16
  'stylelint-config-styled-components',
17
17
  ],
18
- rules: { 'selector-type-no-unknown': null, 'no-extra-semicolons': null, 'function-no-unknown': null },
18
+ rules: { 'selector-type-no-unknown': null, 'function-no-unknown': null },
19
19
  };
@@ -45,5 +45,7 @@ const addRootElement = (id) => {
45
45
  addRootElement("root");
46
46
  addMatchMedia();
47
47
  window.ResizeObserver = ResizeObserver;
48
- window.emui = {};
49
- window.emui.logger = logger();
48
+ window.emui = {
49
+ logger: logger(),
50
+ _BASE_PATH: new URL(document.baseURI).pathname
51
+ };
@@ -152,7 +152,6 @@ const baseConfig = (options) => ({
152
152
  use: {
153
153
  loader: "esbuild-loader",
154
154
  options: {
155
- loader: "jsx",
156
155
  target: browserslistToEsbuild()
157
156
  }
158
157
  }
@@ -166,7 +165,6 @@ const baseConfig = (options) => ({
166
165
  use: {
167
166
  loader: "esbuild-loader",
168
167
  options: {
169
- loader: "tsx",
170
168
  target: browserslistToEsbuild()
171
169
  }
172
170
  }
@@ -76,7 +76,6 @@ const baseConfig = (options) => ({
76
76
  use: {
77
77
  loader: "esbuild-loader",
78
78
  options: {
79
- loader: "jsx",
80
79
  target: browserslistToEsbuild()
81
80
  }
82
81
  }
@@ -91,7 +90,6 @@ const baseConfig = (options) => ({
91
90
  use: {
92
91
  loader: "esbuild-loader",
93
92
  options: {
94
- loader: "tsx",
95
93
  target: browserslistToEsbuild()
96
94
  }
97
95
  }
@@ -3,7 +3,7 @@ import fg from "fast-glob";
3
3
  import MiniCssExtractPlugin from "mini-css-extract-plugin";
4
4
  import HtmlWebpackPlugin from "html-webpack-plugin";
5
5
  import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
6
- import { ESBuildMinifyPlugin } from "esbuild-loader";
6
+ import { EsbuildPlugin } from "esbuild-loader";
7
7
  import browserslistToEsbuild from "browserslist-to-esbuild";
8
8
  import {
9
9
  getLibraryVariableName,
@@ -40,7 +40,7 @@ const prodConfig = {
40
40
  moduleIds: "deterministic",
41
41
  minimize: true,
42
42
  minimizer: [
43
- new ESBuildMinifyPlugin({
43
+ new EsbuildPlugin({
44
44
  target: browserslistToEsbuild(),
45
45
  css: true
46
46
  })
@@ -3,7 +3,7 @@ import HtmlWebpackPlugin from "html-webpack-plugin";
3
3
  import { GenerateSW } from "workbox-webpack-plugin";
4
4
  import MiniCssExtractPlugin from "mini-css-extract-plugin";
5
5
  import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
6
- import { ESBuildMinifyPlugin } from "esbuild-loader";
6
+ import { EsbuildPlugin } from "esbuild-loader";
7
7
  import browserslistToEsbuild from "browserslist-to-esbuild";
8
8
  import { baseConfig } from "./webpack.base.babel.js";
9
9
  import {
@@ -30,7 +30,7 @@ const getProdConfig = ({ latestVersion = true } = {}) => {
30
30
  optimization: {
31
31
  moduleIds: "deterministic",
32
32
  minimizer: [
33
- new ESBuildMinifyPlugin({
33
+ new EsbuildPlugin({
34
34
  target: browserslistToEsbuild(),
35
35
  css: true
36
36
  })
@@ -5,7 +5,6 @@ export namespace stylelintConfig {
5
5
  export { _extends as extends };
6
6
  export const rules: {
7
7
  'selector-type-no-unknown': null;
8
- 'no-extra-semicolons': null;
9
8
  'function-no-unknown': null;
10
9
  };
11
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.0.0-next.5",
3
+ "version": "8.0.0-next.7",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -102,7 +102,7 @@
102
102
  "@storybook/addon-interactions": "~6.5.16",
103
103
  "@storybook/addon-links": "~6.5.16",
104
104
  "@storybook/addon-storysource": "~6.5.16",
105
- "@storybook/builder-vite": "~0.4.0",
105
+ "@storybook/builder-vite": "~0.4.1",
106
106
  "@storybook/builder-webpack5": "~6.5.16",
107
107
  "@storybook/manager-webpack5": "~6.5.16",
108
108
  "@storybook/react": "~6.5.16",
@@ -110,7 +110,7 @@
110
110
  "@stylelint/postcss-css-in-js": "~0.38.0",
111
111
  "@svgr/webpack": "~6.5.1",
112
112
  "@swc/cli": "~0.1.61",
113
- "@swc/core": "~1.3.32",
113
+ "@swc/core": "~1.3.35",
114
114
  "@swc/jest": "~0.2.24",
115
115
  "@testing-library/jest-dom": "~5.16.5",
116
116
  "@testing-library/react": "~13.4.0",
@@ -124,7 +124,7 @@
124
124
  "@types/jest": "~29.4.0",
125
125
  "@types/jest-axe": "~3.5.5",
126
126
  "@types/moment-locales-webpack-plugin": "~1.2.3",
127
- "@types/node": "~18.11.19",
127
+ "@types/node": "~18.13.0",
128
128
  "@types/normalize-path": "~3.0.0",
129
129
  "@types/postcss-preset-env": "~7.7.0",
130
130
  "@types/rimraf": "~3.0.2",
@@ -133,8 +133,8 @@
133
133
  "@types/uuid": "~9.0.0",
134
134
  "@types/testing-library__jest-dom": "~5.14.5",
135
135
  "@types/webpack-bundle-analyzer": "~4.6.0",
136
- "@typescript-eslint/eslint-plugin": "~5.50.0",
137
- "@typescript-eslint/parser": "~5.50.0",
136
+ "@typescript-eslint/eslint-plugin": "~5.51.0",
137
+ "@typescript-eslint/parser": "~5.51.0",
138
138
  "@vitejs/plugin-react": "~3.1.0",
139
139
  "@vitest/coverage-c8": "~0.28.4",
140
140
  "autoprefixer": "~10.4.13",
@@ -167,10 +167,10 @@
167
167
  "dotenv-webpack": "~8.0.1",
168
168
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
169
169
  "enhanced-resolve": "5.12.0",
170
- "esbuild": "~0.17.5",
171
- "esbuild-loader": "~2.21.0",
170
+ "esbuild": "~0.17.7",
171
+ "esbuild-loader": "~3.0.0",
172
172
  "esbuild-plugin-svgr": "~1.0.1",
173
- "eslint": "~8.33.0",
173
+ "eslint": "~8.34.0",
174
174
  "eslint-config-airbnb": "~19.0.4",
175
175
  "eslint-config-airbnb-base": "~15.0.0",
176
176
  "eslint-config-airbnb-typescript": "~17.0.0",
@@ -179,7 +179,7 @@
179
179
  "eslint-import-resolver-babel-module": "~5.3.2",
180
180
  "eslint-import-resolver-typescript": "~3.5.3",
181
181
  "eslint-import-resolver-webpack": "~0.13.2",
182
- "eslint-plugin-compat": "~4.1.0",
182
+ "eslint-plugin-compat": "~4.1.1",
183
183
  "eslint-plugin-eslint-comments": "~3.2.0",
184
184
  "eslint-plugin-import": "~2.27.5",
185
185
  "eslint-plugin-jest": "~27.2.1",
@@ -191,7 +191,7 @@
191
191
  "eslint-plugin-react-hooks": "~4.6.0",
192
192
  "eslint-plugin-redux-saga": "~1.3.2",
193
193
  "eslint-plugin-storybook": "~0.6.10",
194
- "eslint-plugin-testing-library": "~5.10.0",
194
+ "eslint-plugin-testing-library": "~5.10.1",
195
195
  "eslint-plugin-wdio": "~8.0.14",
196
196
  "execa": "~6.1.0",
197
197
  "express": "~4.18.2",
@@ -211,30 +211,30 @@
211
211
  "imports-loader": "~4.0.1",
212
212
  "ip": "~1.1.8",
213
213
  "jest-axe": "~7.0.0",
214
- "jest-cli": "~29.4.1",
215
- "jest-environment-jsdom": "~29.4.1",
214
+ "jest-cli": "~29.4.2",
215
+ "jest-environment-jsdom": "~29.4.2",
216
216
  "jest-sonar-reporter": "~2.0.0",
217
217
  "jest-styled-components": "~7.1.1",
218
218
  "jest-watch-typeahead": "~2.2.2",
219
219
  "jscodeshift": "~0.14.0",
220
220
  "jsdoc": "~4.0.0",
221
221
  "lerna": "~6.4.1",
222
- "lint-staged": "~13.1.0",
222
+ "lint-staged": "~13.1.1",
223
223
  "mini-css-extract-plugin": "~2.7.2",
224
- "minimist": "~1.2.7",
224
+ "minimist": "~1.2.8",
225
225
  "moment": "~2.29.4",
226
226
  "moment-locales-webpack-plugin": "~1.2.0",
227
- "msw": "~1.0.0",
227
+ "msw": "~1.0.1",
228
228
  "npm-run-all": "~4.1.5",
229
229
  "node-gyp": "~9.3.1",
230
- "node-plop": "~0.31.0",
230
+ "node-plop": "~0.31.1",
231
231
  "nodemon": "~2.0.20",
232
232
  "normalize-path": "~3.0.0",
233
- "npm-check-updates": "16.6.5",
234
- "pino": "~8.9.0",
233
+ "npm-check-updates": "16.7.4",
234
+ "pino": "~8.10.0",
235
235
  "pino-http": "~8.3.3",
236
- "pino-pretty": "~9.1.1",
237
- "plop": "~3.1.1",
236
+ "pino-pretty": "~9.2.0",
237
+ "plop": "~3.1.2",
238
238
  "postcss": "~8.4.21",
239
239
  "postcss-html": "~1.5.0",
240
240
  "postcss-jsx": "~0.36.4",
@@ -242,8 +242,8 @@
242
242
  "postcss-markdown": "~1.2.0",
243
243
  "postcss-preset-env": "~8.0.1",
244
244
  "postcss-syntax": "~0.36.2",
245
- "prettier": "~2.8.3",
246
- "prisma": "~4.9.0",
245
+ "prettier": "~2.8.4",
246
+ "prisma": "~4.10.1",
247
247
  "pug": "~3.0.2",
248
248
  "pug-loader": "~2.4.0",
249
249
  "raf": "~3.4.1",
@@ -259,8 +259,8 @@
259
259
  "storybook-addon-turbo-build": "~1.1.0",
260
260
  "storybook-react-router": "~1.0.8",
261
261
  "style-loader": "~3.3.1",
262
- "stylelint": "~14.16.1",
263
- "stylelint-config-recommended": "~9.0.0",
262
+ "stylelint": "~15.0.0",
263
+ "stylelint-config-recommended": "~10.0.1",
264
264
  "stylelint-config-styled-components": "~0.1.1",
265
265
  "supertest": "~6.3.3",
266
266
  "swc-loader": "~0.2.3",