Skip to content

Commit

Permalink
⬆️(nau) upgrade eslint to fix build
Browse files Browse the repository at this point in the history
Upgrade eslint version to fix th dependency mismatch with Richie
Fix `base.txt` requirements.

⬆️(nau) upgrade richie to v2.29.2
  • Loading branch information
sandroscosta authored and Tiago-Salles committed Oct 7, 2024
1 parent 619c81e commit 4b01488
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 196 deletions.
4 changes: 4 additions & 0 deletions sites/nau/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- ⬆️(nau) upgrade richie to v2.29.2

### Fixed

- 🐛(rdfa) fix RDFa Course errors on Google Search Console
Expand Down
2 changes: 1 addition & 1 deletion sites/nau/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ mysqlclient==2.1.1
# django-cms>=3.11.0,<4.0.0
# Plugins
djangocms-snippet==3.1.1
git+https://github.com/jbpenrath/[email protected]#egg=django-cms
git+https://github.com/openfun/[email protected]#egg=django-cms
29 changes: 14 additions & 15 deletions sites/nau/src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"build-sass": "sass scss/_main.scss ../backend/base/static/richie/css/main.css --load-path=node_modules",
"build-sass-production": "sass scss/_main.scss ../backend/base/static/richie/css/main.css --style=compressed --load-path=node_modules",
"build-theme": "cunningham -g scss -o scss/vendors && cunningham -g css -o scss/vendors/css",
"build-ts": "webpack --config node_modules/richie-education/webpack.config.js --output-path ../backend/base/static/richie/js/build --env richie-dependent-build --env richie-settings=overrides.json",
"build-ts-production": "webpack --mode=production --config node_modules/richie-education/webpack.config.js --output-path ../backend/base/static/richie/js/build --env richie-dependent-build --env richie-settings=overrides.json",
"build-ts": "tsc --noEmit && webpack --config node_modules/richie-education/webpack.config.js --output-path ../backend/base/static/richie/js/build --env richie-dependent-build --env richie-settings=overrides.json",
"build-ts-production": "tsc --noEmit && webpack --mode=production --config node_modules/richie-education/webpack.config.js --output-path ../backend/base/static/richie/js/build --env richie-dependent-build --env richie-settings=overrides.json",
"compile-translations": "node_modules/richie-education/i18n/compile-translations.js ./i18n/overrides/*.json ./i18n/locales/*.json",
"extract-translations": "formatjs extract './**/*.ts*' --ignore ./node_modules --ignore './**/*.d.ts' --out-file './i18n/frontend.json' --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format crowdin",
"lint": "eslint -c node_modules/richie-education/.eslintrc.json 'js/**/*.ts?(x)' --rule 'import/no-extraneous-dependencies: [error, {packageDir: ['.', './node_modules/richie-education']}]' --no-error-on-unmatched-pattern",
Expand All @@ -34,25 +34,24 @@
},
"homepage": "https://github.com/fccn/nau-richie-site-factory#readme",
"dependencies": {
"richie-education": "2.28.0",
"source-map-loader": "4.0.1"
"richie-education": "2.29.2"
},
"devDependencies": {
"@formatjs/cli": "6.1.3",
"@formatjs/cli": "6.2.12",
"@openfun/cunningham-tokens": "2.1.1",
"babel-loader": "9.1.3",
"eslint": "8.47.0",
"eslint-import-resolver-webpack": "0.13.5",
"nodemon": "3.0.1",
"prettier": "3.0.2",
"sass": "1.65.1",
"source-map-loader": "4.0.1",
"webpack": "5.88.2",
"webpack-cli": "5.1.4",
"typescript": "5.4.5"
"eslint": ">=8.57.0 <9",
"eslint-import-resolver-webpack": "0.13.8",
"nodemon": "3.1.0",
"prettier": "3.2.5",
"sass": "1.77.2",
"source-map-loader": "5.0.0",
"typescript": "5.4.5",
"webpack": "5.91.0",
"webpack-cli": "5.1.4"
},
"resolutions": {
"@types/react": "18.3.2",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0"
}
}
Loading

0 comments on commit 4b01488

Please sign in to comment.