@elliemae/pui-cli 9.0.0-next.51 → 9.0.0-next.52
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.
- package/dist/cjs/babel.config.cjs +86 -0
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.js +1 -1
- package/dist/esm/babel.config.cjs +86 -0
- package/dist/esm/index.cjs +2 -0
- package/dist/esm/index.js +1 -1
- package/dist/types/lib/{babel.config.d.ts → babel.config.d.cts} +3 -2
- package/dist/types/lib/babel.config.d.cts.map +1 -0
- package/dist/types/lib/index.d.cts +2 -1
- package/dist/types/lib/index.d.ts +1 -1
- package/dist/types/lib/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/dist/cjs/babel.config.js +0 -99
- package/dist/esm/babel.config.js +0 -79
- package/dist/types/lib/babel.config.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.52",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/cjs/index.cjs",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"url": "https://git.elliemae.io/platform-ui/pui-cli.git"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
|
-
"pnpm": ">=
|
|
51
|
-
"node": ">=
|
|
50
|
+
"pnpm": ">=9",
|
|
51
|
+
"node": ">=22"
|
|
52
52
|
},
|
|
53
53
|
"author": "ICE MT",
|
|
54
54
|
"license": "MIT",
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
"@types/jest": "~29.5.12",
|
|
141
141
|
"@types/jest-axe": "~3.5.9",
|
|
142
142
|
"@types/moment-locales-webpack-plugin": "~1.2.6",
|
|
143
|
-
"@types/node": "~20.12.
|
|
143
|
+
"@types/node": "~20.12.14",
|
|
144
144
|
"@types/normalize-path": "~3.0.2",
|
|
145
|
+
"@types/react": "~18.3.3",
|
|
145
146
|
"@types/rimraf": "~4.0.5",
|
|
146
147
|
"@types/speed-measure-webpack-plugin": "~1.3.6",
|
|
147
148
|
"@types/supertest": "~6.0.2",
|
|
148
149
|
"@types/uuid": "~9.0.8",
|
|
149
|
-
"@types/testing-library__jest-dom": "~5.14.9",
|
|
150
150
|
"@types/webpack-bundle-analyzer": "~4.7.0",
|
|
151
151
|
"@typescript-eslint/eslint-plugin": "~7.11.0",
|
|
152
152
|
"@typescript-eslint/parser": "~7.11.0",
|
package/dist/cjs/babel.config.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var babel_config_exports = {};
|
|
20
|
-
__export(babel_config_exports, {
|
|
21
|
-
babelConfig: () => babelConfig
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(babel_config_exports);
|
|
24
|
-
var import_utils = require("./utils.cjs");
|
|
25
|
-
const nodeEnvPreset = {
|
|
26
|
-
modules: process.env.ES_MODULES === "false" ? "commonjs" : false,
|
|
27
|
-
targets: {
|
|
28
|
-
node: "current"
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
const webEnvPreset = {
|
|
32
|
-
modules: process.env.ES_MODULES === "false" ? "commonjs" : false,
|
|
33
|
-
useBuiltIns: "usage",
|
|
34
|
-
corejs: { version: "3.36", proposals: true }
|
|
35
|
-
};
|
|
36
|
-
const presetEnvOptions = process.env.TARGET_ENV === "node" ? nodeEnvPreset : webEnvPreset;
|
|
37
|
-
const config = {
|
|
38
|
-
ignore: [/\/core-js/],
|
|
39
|
-
sourceType: "unambiguous",
|
|
40
|
-
presets: [
|
|
41
|
-
["@babel/preset-env", presetEnvOptions],
|
|
42
|
-
["@babel/preset-react", { runtime: "automatic" }],
|
|
43
|
-
"@babel/preset-typescript"
|
|
44
|
-
],
|
|
45
|
-
plugins: [
|
|
46
|
-
[
|
|
47
|
-
"babel-plugin-module-resolver",
|
|
48
|
-
{
|
|
49
|
-
alias: {
|
|
50
|
-
"@": (0, import_utils.isApp)() ? "./app" : "./lib"
|
|
51
|
-
},
|
|
52
|
-
stripExtensions: []
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
["babel-plugin-styled-components", { displayName: true }],
|
|
56
|
-
["@babel/plugin-transform-runtime", { regenerator: true }],
|
|
57
|
-
"@babel/plugin-proposal-class-properties",
|
|
58
|
-
"@babel/plugin-syntax-dynamic-import",
|
|
59
|
-
"@babel/plugin-proposal-export-default-from",
|
|
60
|
-
"lodash",
|
|
61
|
-
"date-fns"
|
|
62
|
-
],
|
|
63
|
-
env: {
|
|
64
|
-
development: {
|
|
65
|
-
plugins: [
|
|
66
|
-
["babel-plugin-styled-components", { displayName: true }],
|
|
67
|
-
"@babel/plugin-transform-react-jsx-source"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
production: {
|
|
71
|
-
plugins: [
|
|
72
|
-
["babel-plugin-styled-components", { displayName: false, pure: true }],
|
|
73
|
-
["transform-remove-console", { exclude: ["error", "warn"] }],
|
|
74
|
-
"transform-react-remove-prop-types",
|
|
75
|
-
"@babel/plugin-transform-react-inline-elements",
|
|
76
|
-
"@babel/plugin-transform-react-constant-elements"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
test: {
|
|
80
|
-
plugins: [
|
|
81
|
-
["babel-plugin-styled-components", { displayName: true }],
|
|
82
|
-
"@babel/plugin-transform-modules-commonjs",
|
|
83
|
-
"dynamic-import-node",
|
|
84
|
-
[
|
|
85
|
-
"babel-plugin-transform-strip-block",
|
|
86
|
-
{
|
|
87
|
-
requireDirective: true,
|
|
88
|
-
identifiers: [{ start: "block:start", end: "block:end" }]
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"babel-plugin-import-remove-resource-query"
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
if (process.env.STORYBOOK_BUILD !== "true" && process.env.TARGET_ENV !== "node") {
|
|
97
|
-
config.env?.development?.plugins?.push?.("react-refresh/babel");
|
|
98
|
-
}
|
|
99
|
-
const babelConfig = config;
|
package/dist/esm/babel.config.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { isApp } from "./utils.cjs";
|
|
2
|
-
const nodeEnvPreset = {
|
|
3
|
-
modules: process.env.ES_MODULES === "false" ? "commonjs" : false,
|
|
4
|
-
targets: {
|
|
5
|
-
node: "current"
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
const webEnvPreset = {
|
|
9
|
-
modules: process.env.ES_MODULES === "false" ? "commonjs" : false,
|
|
10
|
-
useBuiltIns: "usage",
|
|
11
|
-
corejs: { version: "3.36", proposals: true }
|
|
12
|
-
};
|
|
13
|
-
const presetEnvOptions = process.env.TARGET_ENV === "node" ? nodeEnvPreset : webEnvPreset;
|
|
14
|
-
const config = {
|
|
15
|
-
ignore: [/\/core-js/],
|
|
16
|
-
sourceType: "unambiguous",
|
|
17
|
-
presets: [
|
|
18
|
-
["@babel/preset-env", presetEnvOptions],
|
|
19
|
-
["@babel/preset-react", { runtime: "automatic" }],
|
|
20
|
-
"@babel/preset-typescript"
|
|
21
|
-
],
|
|
22
|
-
plugins: [
|
|
23
|
-
[
|
|
24
|
-
"babel-plugin-module-resolver",
|
|
25
|
-
{
|
|
26
|
-
alias: {
|
|
27
|
-
"@": isApp() ? "./app" : "./lib"
|
|
28
|
-
},
|
|
29
|
-
stripExtensions: []
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
["babel-plugin-styled-components", { displayName: true }],
|
|
33
|
-
["@babel/plugin-transform-runtime", { regenerator: true }],
|
|
34
|
-
"@babel/plugin-proposal-class-properties",
|
|
35
|
-
"@babel/plugin-syntax-dynamic-import",
|
|
36
|
-
"@babel/plugin-proposal-export-default-from",
|
|
37
|
-
"lodash",
|
|
38
|
-
"date-fns"
|
|
39
|
-
],
|
|
40
|
-
env: {
|
|
41
|
-
development: {
|
|
42
|
-
plugins: [
|
|
43
|
-
["babel-plugin-styled-components", { displayName: true }],
|
|
44
|
-
"@babel/plugin-transform-react-jsx-source"
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
production: {
|
|
48
|
-
plugins: [
|
|
49
|
-
["babel-plugin-styled-components", { displayName: false, pure: true }],
|
|
50
|
-
["transform-remove-console", { exclude: ["error", "warn"] }],
|
|
51
|
-
"transform-react-remove-prop-types",
|
|
52
|
-
"@babel/plugin-transform-react-inline-elements",
|
|
53
|
-
"@babel/plugin-transform-react-constant-elements"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
test: {
|
|
57
|
-
plugins: [
|
|
58
|
-
["babel-plugin-styled-components", { displayName: true }],
|
|
59
|
-
"@babel/plugin-transform-modules-commonjs",
|
|
60
|
-
"dynamic-import-node",
|
|
61
|
-
[
|
|
62
|
-
"babel-plugin-transform-strip-block",
|
|
63
|
-
{
|
|
64
|
-
requireDirective: true,
|
|
65
|
-
identifiers: [{ start: "block:start", end: "block:end" }]
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"babel-plugin-import-remove-resource-query"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
if (process.env.STORYBOOK_BUILD !== "true" && process.env.TARGET_ENV !== "node") {
|
|
74
|
-
config.env?.development?.plugins?.push?.("react-refresh/babel");
|
|
75
|
-
}
|
|
76
|
-
const babelConfig = config;
|
|
77
|
-
export {
|
|
78
|
-
babelConfig
|
|
79
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"babel.config.d.ts","sourceRoot":"","sources":["../../../lib/babel.config.js"],"names":[],"mappings":""}
|