devextreme-cli 1.14.2 → 1.15.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/index.js +0 -0
- package/package.json +16 -20
- package/src/applications/application.angular.js +1 -1
- package/src/templates/nextjs/application/src/components/side-navigation-menu/SideNavigationMenu.tsx +3 -7
- package/src/templates/react/application/src/components/side-navigation-menu/SideNavigationMenu.tsx +3 -7
- package/src/utility/latest-versions.js +3 -3
package/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devextreme-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"description": "DevExtreme CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"devexpress",
|
|
@@ -22,17 +22,6 @@
|
|
|
22
22
|
"src/**/*",
|
|
23
23
|
"index.js"
|
|
24
24
|
],
|
|
25
|
-
"scripts": {
|
|
26
|
-
"lint": "eslint ./",
|
|
27
|
-
"test": "npm run create-template && npm run lint-template && npm run test-template && npm run test-themebuilder",
|
|
28
|
-
"create-template": "node ./testing/creating.js",
|
|
29
|
-
"lint-template": "node ./testing/linting.js",
|
|
30
|
-
"test-template": "node ./testing/testing.js",
|
|
31
|
-
"test-dev": "cross-env TEST_MODE=dev jest",
|
|
32
|
-
"test-themebuilder": "jest --config=./jest-themebuilder.config.js --runInBand",
|
|
33
|
-
"docker:build": "docker build --rm -f \"testing/docker/Dockerfile\" -t devextreme-cli:latest \"testing/docker\" --progress=plain",
|
|
34
|
-
"docker:run": "docker run --rm -d -p 9222:9222/tcp devextreme-cli:latest"
|
|
35
|
-
},
|
|
36
25
|
"author": "Developer Express Inc.",
|
|
37
26
|
"repository": "https://github.com/DevExpress/devextreme-cli",
|
|
38
27
|
"license": "MIT",
|
|
@@ -43,13 +32,14 @@
|
|
|
43
32
|
"minimist": "^1.2.8",
|
|
44
33
|
"mustache": "^3.2.1",
|
|
45
34
|
"prompts": "^2.4.2",
|
|
46
|
-
"sass": "^1.
|
|
35
|
+
"sass": "^1.99.0",
|
|
47
36
|
"semver": "^5.7.2",
|
|
48
37
|
"strip-bom": "^4.0.0"
|
|
49
38
|
},
|
|
50
39
|
"devDependencies": {
|
|
51
40
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
52
41
|
"@typescript-eslint/parser": "^4.33.0",
|
|
42
|
+
"@types/node": "20.19.40",
|
|
53
43
|
"create-vite": "7.1.3",
|
|
54
44
|
"cross-env": "^5.2.1",
|
|
55
45
|
"eslint": "^7.32.0",
|
|
@@ -64,7 +54,7 @@
|
|
|
64
54
|
"eslint-plugin-vue": "^7.20.0",
|
|
65
55
|
"eslint-stylish": "^0.2.0",
|
|
66
56
|
"jest": "^29.7.0",
|
|
67
|
-
"jest-image-snapshot": "^6.5.
|
|
57
|
+
"jest-image-snapshot": "^6.5.2",
|
|
68
58
|
"prettier": "^2.8.8",
|
|
69
59
|
"rimraf": "^2.7.1",
|
|
70
60
|
"tree-kill": "^1.2.2",
|
|
@@ -73,9 +63,15 @@
|
|
|
73
63
|
"typescript-eslint-parser": "^22.0.0",
|
|
74
64
|
"wait-on": "8.0.5"
|
|
75
65
|
},
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
66
|
+
"scripts": {
|
|
67
|
+
"lint": "eslint ./",
|
|
68
|
+
"test": "pnpm run create-template && pnpm run lint-template && pnpm run test-template && pnpm run test-themebuilder",
|
|
69
|
+
"create-template": "node ./testing/creating.js",
|
|
70
|
+
"lint-template": "node ./testing/linting.js",
|
|
71
|
+
"test-template": "node ./testing/testing.js",
|
|
72
|
+
"test-dev": "cross-env TEST_MODE=dev jest",
|
|
73
|
+
"test-themebuilder": "jest --config=./jest-themebuilder.config.js --runInBand",
|
|
74
|
+
"docker:build": "docker build --rm -f \"testing/docker/Dockerfile\" -t devextreme-cli:latest \"testing/docker\" --progress=plain",
|
|
75
|
+
"docker:run": "docker run --rm -d -p 9222:9222/tcp devextreme-cli:latest"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -183,7 +183,7 @@ const migrateConfigComponents = async(options = {}) => {
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
//
|
|
186
|
+
// Required to work outside Angular workspace
|
|
187
187
|
return runCommand('npx', commandArguments, { stdio: 'inherit' });
|
|
188
188
|
};
|
|
189
189
|
|
package/src/templates/nextjs/application/src/components/side-navigation-menu/SideNavigationMenu.tsx
CHANGED
|
@@ -20,14 +20,10 @@ export default function SideNavigationMenu(props<%=#isTypeScript%>: React.PropsW
|
|
|
20
20
|
|
|
21
21
|
const theme = useContext(ThemeContext);
|
|
22
22
|
const { isLarge } = useScreenSize();
|
|
23
|
-
function normalizePath () {
|
|
24
|
-
return navigation.map((item) => (
|
|
25
|
-
{ ...item, expanded: isLarge, path: item.path && !(/^\//.test(item.path)) ? `/${item.path}` : item.path }
|
|
26
|
-
))
|
|
27
|
-
}
|
|
28
|
-
|
|
29
23
|
const items = useMemo(
|
|
30
|
-
|
|
24
|
+
() => navigation.map((item) => (
|
|
25
|
+
{ ...item, expanded: isLarge, path: item.path && !(/^\//.test(item.path)) ? `/${item.path}` : item.path }
|
|
26
|
+
)),
|
|
31
27
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
32
28
|
[]
|
|
33
29
|
);
|
package/src/templates/react/application/src/components/side-navigation-menu/SideNavigationMenu.tsx
CHANGED
|
@@ -20,14 +20,10 @@ export default function SideNavigationMenu(props<%=#isTypeScript%>: React.PropsW
|
|
|
20
20
|
|
|
21
21
|
const theme = useContext(ThemeContext);
|
|
22
22
|
const { isLarge } = useScreenSize();
|
|
23
|
-
function normalizePath () {
|
|
24
|
-
return navigation.map((item) => (
|
|
25
|
-
{ ...item, expanded: isLarge, path: item.path && !(/^\//.test(item.path)) ? `/${item.path}` : item.path }
|
|
26
|
-
))
|
|
27
|
-
}
|
|
28
|
-
|
|
29
23
|
const items = useMemo(
|
|
30
|
-
|
|
24
|
+
() => navigation.map((item) => (
|
|
25
|
+
{ ...item, expanded: isLarge, path: item.path && !(/^\//.test(item.path)) ? `/${item.path}` : item.path }
|
|
26
|
+
)),
|
|
31
27
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
32
28
|
[]
|
|
33
29
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const packageJson = require('../../package.json');
|
|
2
2
|
module.exports = {
|
|
3
|
-
'devextreme': '25.2.
|
|
4
|
-
'devextreme-react': '25.2.
|
|
5
|
-
'devextreme-vue': '25.2.
|
|
3
|
+
'devextreme': '25.2.7',
|
|
4
|
+
'devextreme-react': '25.2.7',
|
|
5
|
+
'devextreme-vue': '25.2.7',
|
|
6
6
|
'create-vite': '8.2.0',
|
|
7
7
|
'create-vue': '3.17.0',
|
|
8
8
|
'create-next-app': '16.1.0',
|