Skip to content

Commit 23beffb

Browse files
authored
Merge pull request ceph#55875 from rhcs-dashboard/update-npm-deps
mgr/dashboard: update npm dependencies
2 parents 6df194f + 4c3e443 commit 23beffb

File tree

22 files changed

+21123
-27988
lines changed

22 files changed

+21123
-27988
lines changed

doc/dev/developer_guide/dash-devel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ The build process is based on `Node.js <https://nodejs.org/>`_ and requires the
211211
Prerequisites
212212
~~~~~~~~~~~~~
213213

214-
* Node 20.13.1 or higher
214+
* Node 20.18.1 or higher
215215
* NPM 10.5.2 or higher
216216

217217
nodeenv:

make-dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ build_dashboard_frontend() {
133133

134134
$CURR_DIR/src/tools/setup-virtualenv.sh $TEMP_DIR
135135
$TEMP_DIR/bin/pip install nodeenv
136-
$TEMP_DIR/bin/nodeenv --verbose -p --node=20.13.1
136+
$TEMP_DIR/bin/nodeenv --verbose -p --node=20.18.1
137137
cd src/pybind/mgr/dashboard/frontend
138138

139139
. $TEMP_DIR/bin/activate
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.13.1
1+
v20.18.1
Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,48 @@
11
{
2-
"extends": "stylelint-config-sass-guidelines",
3-
"plugins": [
4-
"stylelint-declaration-use-variable"
2+
"extends": [
3+
"stylelint-config-standard"
54
],
5+
"plugins": ["stylelint-scss"],
6+
"customSyntax": "postcss-scss",
67
"rules": {
7-
"function-parentheses-space-inside": null,
8-
"indentation": null,
98
"selector-no-qualifying-type": null,
109
"selector-class-pattern": null,
1110
"selector-pseudo-element-no-unknown": null,
1211
"selector-max-id": null,
1312
"selector-max-compound-selectors": null,
1413
"scss/at-extend-no-missing-placeholder": null,
1514
"max-nesting-depth": null,
16-
"scss/at-import-partial-extension-blacklist": null,
15+
"scss/at-import-partial-extension": null,
1716
"value-no-vendor-prefix": null,
1817
"scss/dollar-variable-pattern": [
1918
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
2019
"message": "Variable name should be written in lower kebab-case (scss/dollar-variable-pattern)"
2120
],
22-
"sh-waqar/declaration-use-variable": [
23-
[
24-
"/color/",
25-
{
26-
"ignoreValues": [
27-
"inherit",
28-
"initial",
29-
"transparent",
30-
"/darken/",
31-
"/\\w+\\.\\$.+/"
32-
]
33-
}
34-
]
35-
],
3621
"property-no-unknown": [
3722
true,
3823
{
3924
"ignoreSelectors": [":export"]
4025
}
41-
]
26+
],
27+
"no-empty-source": null,
28+
"at-rule-no-unknown": [
29+
true,
30+
{
31+
"ignoreAtRules": ["use", "forward", "mixin", "include", "if", "else", "function", "return", "each", "extend"]
32+
}
33+
],
34+
"color-function-alias-notation": "with-alpha",
35+
"color-function-notation": "legacy",
36+
"keyframe-selector-notation": null,
37+
"font-family-name-quotes": "always-unless-keyword",
38+
"declaration-block-no-redundant-longhand-properties": null,
39+
"font-family-no-missing-generic-family-keyword": null,
40+
"no-descending-specificity": null,
41+
"media-query-no-invalid": null,
42+
"no-invalid-double-slash-comments": null,
43+
"declaration-property-value-no-unknown": null,
44+
"no-invalid-position-at-import-rule": null,
45+
"annotation-no-unknown": null,
46+
"import-notation": null
4247
}
4348
}

src/pybind/mgr/dashboard/frontend/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ else(WITH_SYSTEM_NPM)
6464
OUTPUT "${mgr-dashboard-nodeenv-dir}/bin/npm"
6565
COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${mgr-dashboard-nodeenv-dir}
6666
COMMAND ${mgr-dashboard-nodeenv-dir}/bin/pip install nodeenv
67-
COMMAND ${mgr-dashboard-nodeenv-dir}/bin/nodeenv --verbose ${node_mirror_opt} -p --node=20.13.1
67+
COMMAND ${mgr-dashboard-nodeenv-dir}/bin/nodeenv --verbose ${node_mirror_opt} -p --node=20.18.1
6868
# ensure that the files that nodeenv unpacks from tarballs are owned by
6969
# the current user. This can be an issue due to the node tarball using
7070
# uid 1000 and running the unpack in a id-mapped namespace (container)

src/pybind/mgr/dashboard/frontend/cypress/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"cypress-axe",
1717
"@applitools/eyes-cypress"
1818
],
19-
"target": "es6"
19+
"target": "es6",
20+
"skipLibCheck": true
2021
}
2122
}

0 commit comments

Comments
 (0)