@enact/cli 7.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/cli",
3
- "version": "7.0.0",
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": "eslint .",
24
- "fix": "eslint . --fix"
23
+ "lint": "enact lint --strict",
24
+ "fix": "enact lint --strict --fix"
25
25
  },
26
26
  "prettier": {
27
27
  "printWidth": 120,
@@ -44,76 +44,77 @@
44
44
  ],
45
45
  "dependencies": {
46
46
  "@babel/plugin-transform-modules-commonjs": "^7.27.1",
47
- "@enact/dev-utils": "^7.0.0",
47
+ "@daltontan/postcss-import-json": "^1.1.1",
48
+ "@enact/dev-utils": "^7.0.2",
48
49
  "@enact/template-sandstone": "^2.8.0",
49
- "@pmmmwh/react-refresh-webpack-plugin": "^0.6.0",
50
- "@testing-library/jest-dom": "^6.6.3",
50
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
51
+ "@testing-library/jest-dom": "^6.8.0",
51
52
  "@testing-library/react": "^16.3.0",
52
53
  "@testing-library/user-event": "^14.6.1",
53
- "babel-jest": "^29.7.0",
54
+ "babel-jest": "^30.1.2",
54
55
  "babel-loader": "^10.0.0",
55
56
  "babel-plugin-dynamic-import-node": "^2.3.3",
56
57
  "babel-plugin-transform-rename-import": "^2.3.0",
57
- "babel-preset-enact": "^0.1.12",
58
+ "babel-preset-enact": "^0.1.14",
58
59
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
59
- "chalk": "^5.4.1",
60
+ "chalk": "^5.6.2",
60
61
  "core-js": "3.22.8",
61
62
  "cross-spawn": "^7.0.6",
62
63
  "css-loader": "^7.1.2",
63
64
  "css-minimizer-webpack-plugin": "^7.0.2",
64
- "dotenv": "^16.5.0",
65
- "dotenv-expand": "^12.0.2",
66
- "eslint": "^9.26.0",
67
- "eslint-config-enact": "^5.0.0",
68
- "eslint-webpack-plugin": "^5.0.1",
65
+ "dotenv": "^17.2.2",
66
+ "dotenv-expand": "^12.0.3",
67
+ "eslint": "^9.35.0",
68
+ "eslint-config-enact": "^5.0.2",
69
+ "eslint-webpack-plugin": "^5.0.2",
69
70
  "expose-loader": "^5.0.1",
70
71
  "file-loader": "^6.2.0",
71
- "filesize": "^10.1.6",
72
- "fs-extra": "^11.3.0",
73
- "glob": "^11.0.2",
72
+ "filesize": "^11.0.2",
73
+ "fs-extra": "^11.3.2",
74
+ "glob": "^11.0.3",
74
75
  "global-modules": "^2.0.0",
75
- "html-webpack-plugin": "^5.6.3",
76
+ "html-webpack-plugin": "^5.6.4",
76
77
  "identity-obj-proxy": "^3.0.0",
77
- "jest": "^29.7.0",
78
- "jest-environment-jsdom": "^29.7.0",
79
- "jest-watch-typeahead": "^2.2.2",
80
- "less": "^4.3.0",
78
+ "jest": "^30.1.3",
79
+ "jest-environment-jsdom": "29.7.0",
80
+ "jest-watch-typeahead": "^3.0.1",
81
+ "less": "^4.4.1",
81
82
  "less-loader": "^12.3.0",
82
83
  "less-plugin-npm-import": "^2.1.0",
83
84
  "license-checker": "^25.0.1",
84
- "mini-css-extract-plugin": "^2.9.2",
85
+ "mini-css-extract-plugin": "^2.9.4",
85
86
  "minimist": "^1.2.8",
86
87
  "node-polyfill-webpack-plugin": "4.0.0",
87
- "postcss": "^8.5.3",
88
+ "postcss": "^8.5.6",
88
89
  "postcss-flexbugs-fixes": "^5.0.2",
89
- "postcss-loader": "^8.1.1",
90
+ "postcss-loader": "^8.2.0",
90
91
  "postcss-normalize": "^13.0.1",
91
- "postcss-preset-env": "^10.1.6",
92
- "postcss-resolution-independence": "^1.1.8",
92
+ "postcss-preset-env": "^10.3.1",
93
+ "postcss-resolution-independence": "^1.1.9",
93
94
  "prompts": "^2.4.2",
94
- "react": "^19.1.0",
95
+ "react": "^19.1.1",
95
96
  "react-dev-utils": "^12.0.1",
96
- "react-dom": "^19.1.0",
97
+ "react-dom": "^19.1.1",
97
98
  "react-refresh": "^0.17.0",
98
- "react-test-renderer": "^19.1.0",
99
+ "react-test-renderer": "^19.1.1",
99
100
  "resolution-independence": "^1.0.0",
100
101
  "resolve": "^1.22.10",
101
102
  "sass-loader": "^16.0.5",
102
103
  "semver": "^7.7.2",
103
104
  "source-map-loader": "^5.0.0",
104
- "strip-ansi": "^7.1.0",
105
+ "strip-ansi": "^7.1.2",
105
106
  "style-loader": "^4.0.0",
106
107
  "tar": "^7.4.3",
107
108
  "terser-webpack-plugin": "^5.3.14",
108
- "validate-npm-package-name": "^6.0.0",
109
- "webpack": "^5.99.8",
110
- "webpack-dev-server": "^5.2.1"
109
+ "validate-npm-package-name": "^6.0.2",
110
+ "webpack": "^5.101.3",
111
+ "webpack-dev-server": "^5.2.2"
111
112
  },
112
113
  "optionalDependencies": {
113
114
  "fsevents": "^2.3.3"
114
115
  },
115
116
  "peerDependencies": {
116
- "typescript": "^3.2.1 || ^4 || ^5"
117
+ "typescript": "^5.4.0"
117
118
  },
118
119
  "peerDependenciesMeta": {
119
120
  "typescript": {
@@ -121,10 +122,10 @@
121
122
  }
122
123
  },
123
124
  "devDependencies": {
124
- "eslint-config-prettier": "^10.1.5",
125
- "eslint-plugin-import": "^2.31.0",
126
- "eslint-plugin-prettier": "^5.4.0",
127
- "globals": "^16.1.0",
128
- "prettier": "^3.5.3"
125
+ "eslint-config-prettier": "^10.1.8",
126
+ "eslint-plugin-import": "^2.32.0",
127
+ "eslint-plugin-prettier": "^5.5.4",
128
+ "globals": "^16.4.0",
129
+ "prettier": "^3.6.2"
129
130
  }
130
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
- ];