Skip to content

Commit cc40712

Browse files
authored
Merge pull request #840 from IQSS/fix/deps-warns
Fix dependencies vulnerabilities and update versions
2 parents 74d6b6a + f060ee1 commit cc40712

File tree

28 files changed

+21870
-35442
lines changed

28 files changed

+21870
-35442
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ repo we are using the [JavaScript Dataverse API client library] in which you can
144144
[5 people]: https://github.com/iqss/dataverse-frontend/graphs/contributors
145145
[Getting Started Section]: https://github.com/IQSS/dataverse-frontend?tab=readme-ov-file#getting-started
146146
[TypeScript Deep Dive Style Guide]: https://basarat.gitbook.io/typescript/styleguide
147-
[pre-commit]: https://www.npmjs.com/package/pre-commit
147+
[pre-commit]: https://www.npmjs.com/package/husky
148148
[IQSS Dataverse Project]: https://github.com/orgs/IQSS/projects/34
149149
[JavaScript Dataverse API client library]: https://github.com/IQSS/dataverse-client-javascript

.github/workflows/accessibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 18
17+
node-version: 22
1818
cache: 'npm'
1919

2020
- name: Create .npmrc

.github/workflows/deploy-beta-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 18
17+
node-version: 22
1818
cache: 'npm'
1919

2020
- name: Create .npmrc

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- uses: actions/setup-node@v3
2727
with:
28-
node-version: 18
28+
node-version: 22
2929
cache: 'npm'
3030

3131
- name: Create .npmrc

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 18
17+
node-version: 22
1818
cache: 'npm'
1919

2020
- name: Create .npmrc

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 18
20+
node-version: 22
2121
cache: 'npm'
2222

2323
- name: Create .npmrc
@@ -104,7 +104,7 @@ jobs:
104104

105105
- uses: actions/setup-node@v3
106106
with:
107-
node-version: 18
107+
node-version: 22
108108
cache: 'npm'
109109

110110
- name: Create .npmrc

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
npm run typecheck
2+
npm run lint:fix
3+
git add .

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ storybook-static
3939
# Ignore autogenerated keycloakify files
4040
public/keycloakify-dev-resources
4141

42-
global.scss
42+
global.scss
43+
/.nx/workspace-data

.storybook/main.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ const config: StorybookConfig = {
1414
name: getAbsolutePath('@storybook/react-vite'),
1515
options: {}
1616
},
17-
docs: {
18-
autodocs: 'tag'
19-
},
20-
staticDirs: ['../public']
17+
docs: {},
18+
staticDirs: ['../public'],
19+
typescript: {
20+
reactDocgen: false
21+
}
2122
}
2223
export default config
2324

.stylelintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"customSyntax": "postcss-scss"
66
}
77
],
8-
"extends": ["stylelint-config-standard-scss", "stylelint-config-rational-order"],
8+
"extends": ["stylelint-config-standard-scss"],
99
"rules": {
1010
"scss/dollar-variable-pattern": null,
1111
"scss/dollar-variable-empty-line-before": null,

0 commit comments

Comments
 (0)