@enact/cli 7.1.0 → 7.2.0
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/.travis.yml +1 -0
- package/CHANGELOG.md +11 -0
- package/bin/enact.js +1 -0
- package/commands/bootstrap.js +6 -5
- package/commands/clean.js +13 -16
- package/commands/create.js +7 -6
- package/commands/eject.js +11 -10
- package/commands/info.js +7 -6
- package/commands/license.js +4 -3
- package/commands/link.js +5 -4
- package/commands/lint.js +6 -5
- package/commands/pack.js +14 -10
- package/commands/serve.js +21 -16
- package/commands/template.js +16 -14
- package/commands/test.js +8 -7
- package/commands/transpile.js +6 -5
- package/config/jest/babelTransform.js +1 -0
- package/config/jest/cssTransform.js +2 -2
- package/config/jest/fileTransform.js +1 -1
- package/config/jest/setupTests.js +5 -4
- package/config/polyfills.js +1 -1
- package/config/webpack.config.js +34 -29
- package/docs/building-apps.md +1 -0
- package/docs/serving-apps.md +5 -0
- package/npm-shrinkwrap.json +3700 -2628
- package/package.json +34 -34
- package/eslint.config.js +0 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enact/cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "Full-featured build environment tool for Enact applications.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Jason Robitaille <jason.robitaille@lge.com>",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"lint": "
|
|
24
|
-
"fix": "
|
|
23
|
+
"lint": "enact lint --strict",
|
|
24
|
+
"fix": "enact lint --strict --fix"
|
|
25
25
|
},
|
|
26
26
|
"prettier": {
|
|
27
27
|
"printWidth": 120,
|
|
@@ -45,76 +45,76 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
|
|
47
47
|
"@daltontan/postcss-import-json": "^1.1.1",
|
|
48
|
-
"@enact/dev-utils": "^7.0.
|
|
48
|
+
"@enact/dev-utils": "^7.0.2",
|
|
49
49
|
"@enact/template-sandstone": "^2.8.0",
|
|
50
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.
|
|
51
|
-
"@testing-library/jest-dom": "^6.
|
|
50
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
|
|
51
|
+
"@testing-library/jest-dom": "^6.8.0",
|
|
52
52
|
"@testing-library/react": "^16.3.0",
|
|
53
53
|
"@testing-library/user-event": "^14.6.1",
|
|
54
|
-
"babel-jest": "^
|
|
54
|
+
"babel-jest": "^30.1.2",
|
|
55
55
|
"babel-loader": "^10.0.0",
|
|
56
56
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
57
57
|
"babel-plugin-transform-rename-import": "^2.3.0",
|
|
58
|
-
"babel-preset-enact": "^0.1.
|
|
58
|
+
"babel-preset-enact": "^0.1.14",
|
|
59
59
|
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
60
|
-
"chalk": "^5.
|
|
60
|
+
"chalk": "^5.6.2",
|
|
61
61
|
"core-js": "3.22.8",
|
|
62
62
|
"cross-spawn": "^7.0.6",
|
|
63
63
|
"css-loader": "^7.1.2",
|
|
64
64
|
"css-minimizer-webpack-plugin": "^7.0.2",
|
|
65
|
-
"dotenv": "^
|
|
66
|
-
"dotenv-expand": "^12.0.
|
|
67
|
-
"eslint": "^9.
|
|
68
|
-
"eslint-config-enact": "^5.0.
|
|
65
|
+
"dotenv": "^17.2.2",
|
|
66
|
+
"dotenv-expand": "^12.0.3",
|
|
67
|
+
"eslint": "^9.35.0",
|
|
68
|
+
"eslint-config-enact": "^5.0.2",
|
|
69
69
|
"eslint-webpack-plugin": "^5.0.2",
|
|
70
70
|
"expose-loader": "^5.0.1",
|
|
71
71
|
"file-loader": "^6.2.0",
|
|
72
|
-
"filesize": "^
|
|
73
|
-
"fs-extra": "^11.3.
|
|
72
|
+
"filesize": "^11.0.2",
|
|
73
|
+
"fs-extra": "^11.3.2",
|
|
74
74
|
"glob": "^11.0.3",
|
|
75
75
|
"global-modules": "^2.0.0",
|
|
76
|
-
"html-webpack-plugin": "^5.6.
|
|
76
|
+
"html-webpack-plugin": "^5.6.4",
|
|
77
77
|
"identity-obj-proxy": "^3.0.0",
|
|
78
|
-
"jest": "^
|
|
79
|
-
"jest-environment-jsdom": "
|
|
80
|
-
"jest-watch-typeahead": "^
|
|
81
|
-
"less": "^4.
|
|
78
|
+
"jest": "^30.1.3",
|
|
79
|
+
"jest-environment-jsdom": "29.7.0",
|
|
80
|
+
"jest-watch-typeahead": "^3.0.1",
|
|
81
|
+
"less": "^4.4.1",
|
|
82
82
|
"less-loader": "^12.3.0",
|
|
83
83
|
"less-plugin-npm-import": "^2.1.0",
|
|
84
84
|
"license-checker": "^25.0.1",
|
|
85
|
-
"mini-css-extract-plugin": "^2.9.
|
|
85
|
+
"mini-css-extract-plugin": "^2.9.4",
|
|
86
86
|
"minimist": "^1.2.8",
|
|
87
87
|
"node-polyfill-webpack-plugin": "4.0.0",
|
|
88
88
|
"postcss": "^8.5.6",
|
|
89
89
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
90
|
-
"postcss-loader": "^8.
|
|
90
|
+
"postcss-loader": "^8.2.0",
|
|
91
91
|
"postcss-normalize": "^13.0.1",
|
|
92
|
-
"postcss-preset-env": "^10.
|
|
93
|
-
"postcss-resolution-independence": "^1.1.
|
|
92
|
+
"postcss-preset-env": "^10.3.1",
|
|
93
|
+
"postcss-resolution-independence": "^1.1.9",
|
|
94
94
|
"prompts": "^2.4.2",
|
|
95
|
-
"react": "^19.1.
|
|
95
|
+
"react": "^19.1.1",
|
|
96
96
|
"react-dev-utils": "^12.0.1",
|
|
97
|
-
"react-dom": "^19.1.
|
|
97
|
+
"react-dom": "^19.1.1",
|
|
98
98
|
"react-refresh": "^0.17.0",
|
|
99
|
-
"react-test-renderer": "^19.1.
|
|
99
|
+
"react-test-renderer": "^19.1.1",
|
|
100
100
|
"resolution-independence": "^1.0.0",
|
|
101
101
|
"resolve": "^1.22.10",
|
|
102
102
|
"sass-loader": "^16.0.5",
|
|
103
103
|
"semver": "^7.7.2",
|
|
104
104
|
"source-map-loader": "^5.0.0",
|
|
105
|
-
"strip-ansi": "^7.1.
|
|
105
|
+
"strip-ansi": "^7.1.2",
|
|
106
106
|
"style-loader": "^4.0.0",
|
|
107
107
|
"tar": "^7.4.3",
|
|
108
108
|
"terser-webpack-plugin": "^5.3.14",
|
|
109
|
-
"validate-npm-package-name": "^6.0.
|
|
110
|
-
"webpack": "^5.
|
|
109
|
+
"validate-npm-package-name": "^6.0.2",
|
|
110
|
+
"webpack": "^5.101.3",
|
|
111
111
|
"webpack-dev-server": "^5.2.2"
|
|
112
112
|
},
|
|
113
113
|
"optionalDependencies": {
|
|
114
114
|
"fsevents": "^2.3.3"
|
|
115
115
|
},
|
|
116
116
|
"peerDependencies": {
|
|
117
|
-
"typescript": "^
|
|
117
|
+
"typescript": "^5.4.0"
|
|
118
118
|
},
|
|
119
119
|
"peerDependenciesMeta": {
|
|
120
120
|
"typescript": {
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"eslint-config-prettier": "^10.1.
|
|
125
|
+
"eslint-config-prettier": "^10.1.8",
|
|
126
126
|
"eslint-plugin-import": "^2.32.0",
|
|
127
|
-
"eslint-plugin-prettier": "^5.5.
|
|
128
|
-
"globals": "^16.
|
|
127
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
128
|
+
"globals": "^16.4.0",
|
|
129
129
|
"prettier": "^3.6.2"
|
|
130
130
|
}
|
|
131
131
|
}
|
package/eslint.config.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
const enactConfig = require('eslint-config-enact');
|
|
2
|
-
const prettierConfig = require('eslint-config-prettier');
|
|
3
|
-
const importPlugin = require('eslint-plugin-import');
|
|
4
|
-
const prettierPlugin = require('eslint-plugin-prettier');
|
|
5
|
-
const globals = require('globals');
|
|
6
|
-
|
|
7
|
-
module.exports = [
|
|
8
|
-
...enactConfig,
|
|
9
|
-
{
|
|
10
|
-
languageOptions: {
|
|
11
|
-
ecmaVersion: 'latest',
|
|
12
|
-
sourceType: 'module',
|
|
13
|
-
globals: {
|
|
14
|
-
...globals.node
|
|
15
|
-
},
|
|
16
|
-
parserOptions: {
|
|
17
|
-
ecmaFeatures: {
|
|
18
|
-
jsx: true
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
plugins: {
|
|
23
|
-
import: importPlugin,
|
|
24
|
-
prettier: prettierPlugin
|
|
25
|
-
},
|
|
26
|
-
rules: {
|
|
27
|
-
// import plugin rules
|
|
28
|
-
'import/no-unresolved': ['error', {commonjs: true, caseSensitive: true}],
|
|
29
|
-
'import/named': 'error',
|
|
30
|
-
'import/first': 'warn',
|
|
31
|
-
'import/no-duplicates': 'error',
|
|
32
|
-
'import/extensions': ['warn', 'always', {js: 'never', json: 'always'}],
|
|
33
|
-
'import/newline-after-import': 'warn',
|
|
34
|
-
'import/order': [
|
|
35
|
-
'warn',
|
|
36
|
-
{
|
|
37
|
-
'newlines-between': 'never',
|
|
38
|
-
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index']
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
|
|
42
|
-
// prettier rules
|
|
43
|
-
...prettierPlugin.configs.recommended.rules,
|
|
44
|
-
...prettierConfig.rules
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
];
|