Releases: merkle-open/generator-nitro
7.2.0
Project:
- feat: update to stylelint 14 – stricter style linting configuration
- fix: new configurations for prettier, stylelint (and typescript)
- fix: add html-validate as dependency e5a651db
Maintanance:
- update dependencies
- documentation updates
... and some other fixes and improvements: 7.1.0...7.2.0
Update info:
The new configurations must be used.
- ".prettierrc.js"
const config = require('@merkle-open/prettier-config');
- "stylelint.config.js"
const lintConfig = require('@merkle-open/stylelint-config');
- "tsconfig.json"
"extends": "@merkle-open/ts-config",
The stricter style linting certainly needs adjustments in the .scss code.
Many issues can be fixed automatically with the one-time statement: stylelint src/**/*.*ss --fix
7.1.0
Project:
- feat: add visual tests example for all themes 0b04c42
- fix: remove deprecated npm config value ae73cd3
- docs: update
Maintanance:
- update dependencies and node version
- documentation updates
... and some other fixes and improvements: 7.0.0...7.1.0
Update info:
If you are using backstop testing in your project - and I hope you do - you will get a new configuration. This will take screenshots of all themes by default. You can of course continue to use the old configuration.
Release 7
BREAKING
- remove node 12 support 96bcedb
Project
- feat: update cypress to version 10 f76a7f6
... and some other fixes and improvements: 6.1.0...7.0.0
Update from v6
Node 12 should not be used anymore ;-)
If you are using cypress testing - and I hope you are - then you need to migrate your configuration and rename your tests.
- migrate your config from "cypress.json" to "cypress.config.js"
- remove "cypress/plugins/..." und "cypress/support/index.js"
- move your tests from "cypress/integration" to "cypress/e2e"
- rename test files from "filename.spec.js" to "filename.cy.js"
6.1.0
Project:
- feat: replace obsolete htmllint with html-validate (Potentially you will have some linting errors by running "lint:html" script after the update) #201
- docs: update favicons to current browser state 3ba8236
Webpack/Gulp:
- fix: respect optional dependencies (if optional dependencies like imagemin plugins are not installed, a build will now work anyway) e3341e0
- fix: fix svg sprite generation
Generator:
- fix: fix husky pathes for cases project is not in git root 55972ab ...
Maintanance:
- update dependencies and node version
- example updates
- documentation updates
Release 6
BREAKING
Project
- [feat] add possibility to reference another JSON schema using the $ref keyword #193
- remove dashboard
... and some other fixes and improvements: 5.10.17...6.0.0
Update from v5
First Time Upgrage
first, use node version <16 (eg. v14.18.1, we need npm <7)
npm install yo@latest
- then run
npm run nitro:update
- you may cancel the installation
- adapt package.json and changed project files
- change to the new version of node from .node-version
- run
npm run clean
- run
npm install
after that
- you could also remove: dash4.config.js
- and you should update all json schemas to
"$schema": "http://json-schema.org/draft-07/schema#"
, and If you want to link other schemas you have to add an "$id"s to your reused schema (eg."$id": "/atom/button"
, and use with"$ref": "/atom/button"
)
One time update for other project members
- before updating the project, run
npm uninstall husky
(using node version <16, beacause we need npm <7) - revert changes in package-lock.json
- update project and change to new version of node from ".node-version"
- then run
npm ci
5.10.0
This is the last feature release with node 10 compatibility. (Node 10 will reach end of life at the end of the month)
Webpack:
- replace deprecated node-sass with dart-sass
This adjustment changes the css output only in small details and should not cause any breaking changes. However, the node-sass implementation could still be used just in case. (see webpack readme)
Sorry, didn't notice it earlier, for the "themes" feature you still have to use node-sass for now #188
Maintanance:
- update dependencies and node version
- example updates
- documentation updates
All changes:
5.9.0...5.10.0
5.9.0
Exporter:
App:
- fix: unify sorting of routes across systems 8c508bd
Webpack:
- feat: add config for separate publicPath for stylesheets 8161f9b
Project:
- link schema json in data files (for better autocomplete) 23915e3
- use unspecified json-schema version in project 7d0d74c
Maintanance:
- update dependencies and node version
- example updates
- documentation updates
All changes:
5.8.0...5.9.0
5.8.0
Project:
- feature: update style configs (editorconfig, prettier) e486683 - possibliy breaking - run
npm run prettier
to apply new style in all files - test: update lighhouse to v 7
Maintanance:
- update dependencies and node version
- example updates
- documentation updates
Changes:
5.7.0...5.8.0
5.7.0
Project:
- feature: add version 14 to supported node versions 7f6cdc9
- feature: enhance hbs pattern helper with pattern type #183
(possibly breaking if you use a "type" property in your schema.json) - feature: enhance svg sprites to support array as src #180
- test: improved lighhouse and backstopjs configuration for v 6.3 9b7f892 af664ca
Webpack:
- feature: Use hash for CSS chunks 70fb653
- fix: ensures that only desired file types are moved to the vendor file b78a06a
Maintanance:
- update dependencies and node version
- example updates
- documentation updates
Changes:
5.6.0...5.7.0