generator-nitro 7.4.0 → 7.5.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.
Files changed (19) hide show
  1. package/generators/app/templates/.node-version +1 -1
  2. package/generators/app/templates/.prettierignore +1 -0
  3. package/generators/app/templates/CUTAWAYpackage.json +20 -21
  4. package/generators/app/templates/src/patterns/atoms/box/css/modifier/box-dark.scss +0 -1
  5. package/generators/app/templates/src/patterns/atoms/stage/css/stage.scss +7 -6
  6. package/generators/app/templates/src/patterns/molecules/example/css/modifier/example-blue.scss +10 -3
  7. package/generators/app/templates/src/shared/base/grid/css/variables/grid.scss +2 -2
  8. package/generators/app/templates/src/shared/base/webfonts/css/webfont-gaegu.scss +6 -15
  9. package/generators/app/templates/src/shared/base/webfonts/css/webfont-playfair-display.scss +12 -20
  10. package/generators/app/templates/src/shared/utils/fixed-aspect-ratio/css/fixed-aspect-ratio.scss +4 -6
  11. package/generators/app/templates/src/shared/utils/typo/css/typo.scss +19 -16
  12. package/generators/app/templates/src/shared/utils/z-index/css/z-index.scss +1 -0
  13. package/generators/app/templates/stylelint.config.js +18 -0
  14. package/generators/app/templates/tests/backstop/engine_scripts/playwright/clickAndHoverHelper.js +1 -1
  15. package/generators/app/templates/tests/backstop/engine_scripts/playwright/interceptImages.js +2 -2
  16. package/generators/app/templates/tests/backstop/engine_scripts/playwright/overrideCSS.js +1 -1
  17. package/generators/app/templates/tests/backstop/readme.md +1 -1
  18. package/generators/app/templates/tests/playwright/readme.md +1 -2
  19. package/package.json +1 -1
@@ -1 +1 @@
1
- 18.15.0
1
+ 18.16.0
@@ -22,3 +22,4 @@
22
22
 
23
23
  # Project
24
24
  **/export
25
+ src/shared/base/reset/css/yui/reset.css
@@ -33,10 +33,8 @@
33
33
  "lint:html": "gulp lint-html",
34
34
  "lint:js": "eslint ./src --ext <% if (options.jsCompiler === 'js') { %>.js,.jsx<% } else { %>.ts,.tsx<% } %>",
35
35
  "lint:license": "license-checker --production --summary --exclude \"Apache-2.0, BSD, ISC, LGPL, MIT, MPL\" --failOn \"AGPL; EPL; GPL\"",
36
- "playwright-test": "cross-env PORT=8890 NITRO_MODE=test playwright test --config=tests/playwright/playwright.config.ts",
37
- "playwright-test-generate": "cross-env PORT=8891 NITRO_MODE=test npm-run-all --parallel --race prod:serve playwright-test-generate:codegen",
38
- "playwright-test-generate:codegen": "playwright codegen http://localhost:8891",
39
- "prettier": "prettier --write \"**/*.*(js|jsx|ts|tsx|json|md|mdx|graphql|gql|yml|yaml)\"",
36
+ "playwright-test": "cross-env PORT=8890 NITRO_MODE=test playwright test --config=tests/playwright/playwright.config.ts --ui",
37
+ "prettier": "prettier --write \"**/*.*(js|jsx|ts|tsx|json|css|scss|md|mdx|graphql|gql|yml|yaml)\"",
40
38
  "test": "npm-run-all test:*",
41
39
  "test:lint": "npm run lint",
42
40
  "test:build": "npm run build",
@@ -89,13 +87,13 @@
89
87
  "@gondel/core": "1.2.7",
90
88
  "@gondel/plugin-hot": "1.2.7",
91
89
  "bootstrap": "5.2.3",<% } %>
92
- "core-js": "3.30.0"<% if (options.exampleCode) { %>,
90
+ "core-js": "3.30.1"<% if (options.exampleCode) { %>,
93
91
  "flatpickr": "4.6.13",
94
92
  "handlebars": "4.7.7",
95
93
  "jquery": "3.6.4",
96
94
  "lazysizes": "5.3.2",
97
- "lottie-web": "5.10.2",
98
- "prevent-window-opener-attacks": "0.3.0"<% } %><% if (options.jsCompiler === 'js') { %>,
95
+ "lottie-web": "5.11.0",
96
+ "prevent-window-opener-attacks": "0.3.1"<% } %><% if (options.jsCompiler === 'js') { %>,
99
97
  "regenerator-runtime": "0.13.11"<% } %><% if (options.exampleCode) { %>,
100
98
  "svg4everybody": "2.1.9"<% } %>
101
99
  },
@@ -104,24 +102,24 @@
104
102
  "@khanacademy/tota11y": "0.2.0",
105
103
  "@merkle-open/eslint-config": "1.0.0",
106
104
  "@merkle-open/html-validate-config": "1.0.1",
107
- "@merkle-open/prettier-config": "1.0.1",
108
- "@merkle-open/stylelint-config": "1.0.0",
109
- "@merkle-open/ts-config": "1.0.1",
105
+ "@merkle-open/prettier-config": "1.1.0",
106
+ "@merkle-open/stylelint-config": "2.1.0",
107
+ "@merkle-open/ts-config": "1.1.0",
110
108
  "@nitro/app": "<%= version %>",
111
109
  "@nitro/exporter": "<%= version %>",
112
110
  "@nitro/gulp": "<%= version %>",
113
111
  "@nitro/webpack": "<%= version %>",
114
- "@playwright/test": "1.32.2",<% if (options.jsCompiler === 'ts') { %>
112
+ "@playwright/test": "1.33.0",<% if (options.jsCompiler === 'ts') { %>
115
113
  "@types/bootstrap": "5.2.6",<% if (options.exampleCode ) { %>
116
114
  "@types/jquery": "3.5.16",<% } %>
117
115
  "@types/svg4everybody": "2.1.2",
118
116
  "@types/webpack-env": "1.18.0",<% } %>
119
- "backstopjs": "6.2.0",
117
+ "backstopjs": "6.2.1",
120
118
  "check-node-version": "4.2.1",
121
119
  "commitizen": "4.3.0",
122
120
  "config": "3.3.9",
123
121
  "cross-env": "7.0.3",
124
- "cypress": "12.9.0",
122
+ "cypress": "12.11.0",
125
123
  "cz-conventional-changelog": "3.3.0",
126
124
  "env-linter": "1.0.0",
127
125
  "eslint": "7.32.0",
@@ -129,18 +127,18 @@
129
127
  "extend": "3.0.2",
130
128
  "generator-nitro": "<%= version %>",
131
129
  "gulp": "4.0.2",
132
- "html-validate": "7.14.0",
130
+ "html-validate": "7.15.1",
133
131
  "husky": "8.0.3",
134
132
  "license-checker": "25.0.1",
135
- "lighthouse": "10.1.0",
136
- "lint-staged": "13.2.0",<% if (options.themes) { %>
133
+ "lighthouse": "10.1.1",
134
+ "lint-staged": "13.2.2",<% if (options.themes) { %>
137
135
  "node-sass": "8.0.0",<% } %>
138
- "npm-check-updates": "16.10.1",
136
+ "npm-check-updates": "16.10.9",
139
137
  "npm-run-all": "4.1.5",
140
- "prettier": "2.8.7",
141
- "rimraf": "4.4.1",
142
- "stylelint": "14.16.1",<% if (options.jsCompiler === 'ts') { %>
143
- "typescript": "4.9.5",<% } %>
138
+ "prettier": "2.8.8",
139
+ "rimraf": "5.0.0",
140
+ "stylelint": "15.6.0",<% if (options.jsCompiler === 'ts') { %>
141
+ "typescript": "5.0.4",<% } %>
144
142
  "webpack-cli": "4.10.0",
145
143
  "yo": "4.3.1"
146
144
  },
@@ -157,6 +155,7 @@
157
155
  },
158
156
  "lint-staged": {
159
157
  "src/**/*.{css,scss}": [
158
+ "prettier --write",
160
159
  "stylelint --allow-empty-input"
161
160
  ],
162
161
  "**/*.json": [
@@ -1,7 +1,6 @@
1
1
  @import '../../../../../shared/utils/colors2/css/colors2';
2
2
 
3
3
  .a-box--dark {
4
-
5
4
  color: $color-gray-9;
6
5
  background-color: $color-gray-3;
7
6
 
@@ -5,10 +5,7 @@
5
5
  display: block;
6
6
  width: 100%;
7
7
  height: 190px;
8
- background-image:
9
- url('../img/space-ship.svg'),
10
- url('../img/satellite.svg'),
11
- url('../img/ufo.svg'),
8
+ background-image: url('../img/space-ship.svg'), url('../img/satellite.svg'), url('../img/ufo.svg'),
12
9
  url('../img/clouds.png');
13
10
  background-position: 10vw 200px, 50% 200px, 70% -100px, 0 0;
14
11
  background-size: 8vw, 5vw, 7vw, auto;
@@ -18,6 +15,10 @@
18
15
  }
19
16
 
20
17
  @keyframes a-stage-sky {
21
- from { background-position: 10vw 600px, 50% 200px, 70% -170px, 0 0; }
22
- to { background-position: 20vw -200px, 120% -100px, 30% 300px, 100% 0; }
18
+ from {
19
+ background-position: 10vw 600px, 50% 200px, 70% -170px, 0 0;
20
+ }
21
+ to {
22
+ background-position: 20vw -200px, 120% -100px, 30% 300px, 100% 0;
23
+ }
23
24
  }
@@ -7,7 +7,14 @@
7
7
  }
8
8
 
9
9
  @keyframes blue-background-change {
10
- 0%,100% { background-color: darken(desaturate($color-brand-1, 30%), 10%); }
11
- 30% { background-color: darken($color-brand-1, 20%); }
12
- 60% { background-color: darken($color-brand-1, 10%); }
10
+ 0%,
11
+ 100% {
12
+ background-color: darken(desaturate($color-brand-1, 30%), 10%);
13
+ }
14
+ 30% {
15
+ background-color: darken($color-brand-1, 20%);
16
+ }
17
+ 60% {
18
+ background-color: darken($color-brand-1, 10%);
19
+ }
13
20
  }
@@ -8,7 +8,7 @@ $grid-breakpoints: (
8
8
  md: $size-md-min,
9
9
  lg: $size-lg-min,
10
10
  xl: $size-xl-min,
11
- xxl: $size-xxl-min
11
+ xxl: $size-xxl-min,
12
12
  );
13
13
 
14
14
  $container-max-widths: (
@@ -16,5 +16,5 @@ $container-max-widths: (
16
16
  md: $size-md-max,
17
17
  lg: $size-lg-max,
18
18
  xl: $size-xl-max,
19
- xxl: $size-xl-max + 1
19
+ xxl: $size-xl-max + 1,
20
20
  );
@@ -4,11 +4,8 @@
4
4
  font-style: normal;
5
5
  font-weight: 300;
6
6
  font-display: fallback;
7
- src:
8
- local('Gaegu Light'),
9
- local('Gaegu-Light'),
10
- url('../fonts/gaegu-v2-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
11
- url('../fonts/gaegu-v2-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
7
+ src: local('Gaegu Light'), local('Gaegu-Light'), url('../fonts/gaegu-v2-latin-300.woff2') format('woff2'),
8
+ url('../fonts/gaegu-v2-latin-300.woff') format('woff');
12
9
  }
13
10
 
14
11
  /* gaegu-regular - latin */
@@ -17,11 +14,8 @@
17
14
  font-style: normal;
18
15
  font-weight: 400;
19
16
  font-display: fallback;
20
- src:
21
- local('Gaegu Regular'),
22
- local('Gaegu-Regular'),
23
- url('../fonts/gaegu-v2-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
24
- url('../fonts/gaegu-v2-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
17
+ src: local('Gaegu Regular'), local('Gaegu-Regular'), url('../fonts/gaegu-v2-latin-regular.woff2') format('woff2'),
18
+ url('../fonts/gaegu-v2-latin-regular.woff') format('woff');
25
19
  }
26
20
 
27
21
  /* gaegu-700 - latin */
@@ -30,9 +24,6 @@
30
24
  font-style: normal;
31
25
  font-weight: 700;
32
26
  font-display: fallback;
33
- src:
34
- local('Gaegu Bold'),
35
- local('Gaegu-Bold'),
36
- url('../fonts/gaegu-v2-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
37
- url('../fonts/gaegu-v2-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
27
+ src: local('Gaegu Bold'), local('Gaegu-Bold'), url('../fonts/gaegu-v2-latin-700.woff2') format('woff2'),
28
+ url('../fonts/gaegu-v2-latin-700.woff') format('woff');
38
29
  }
@@ -4,11 +4,9 @@
4
4
  font-style: normal;
5
5
  font-weight: 400;
6
6
  font-display: fallback;
7
- src:
8
- local('Playfair Display Regular'),
9
- local('PlayfairDisplay-Regular'),
10
- url('../fonts/playfair-display-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
11
- url('../fonts/playfair-display-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
7
+ src: local('Playfair Display Regular'), local('PlayfairDisplay-Regular'),
8
+ url('../fonts/playfair-display-v13-latin-regular.woff2') format('woff2'),
9
+ url('../fonts/playfair-display-v13-latin-regular.woff') format('woff');
12
10
  }
13
11
 
14
12
  /* playfair-display-italic - latin */
@@ -17,11 +15,9 @@
17
15
  font-style: italic;
18
16
  font-weight: 400;
19
17
  font-display: fallback;
20
- src:
21
- local('Playfair Display Italic'),
22
- local('PlayfairDisplay-Italic'),
23
- url('../fonts/playfair-display-v13-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
24
- url('../fonts/playfair-display-v13-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
18
+ src: local('Playfair Display Italic'), local('PlayfairDisplay-Italic'),
19
+ url('../fonts/playfair-display-v13-latin-italic.woff2') format('woff2'),
20
+ url('../fonts/playfair-display-v13-latin-italic.woff') format('woff');
25
21
  }
26
22
 
27
23
  /* playfair-display-700 - latin */
@@ -30,11 +26,9 @@
30
26
  font-style: normal;
31
27
  font-weight: 700;
32
28
  font-display: fallback;
33
- src:
34
- local('Playfair Display Bold'),
35
- local('PlayfairDisplay-Bold'),
36
- url('../fonts/playfair-display-v13-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
37
- url('../fonts/playfair-display-v13-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
29
+ src: local('Playfair Display Bold'), local('PlayfairDisplay-Bold'),
30
+ url('../fonts/playfair-display-v13-latin-700.woff2') format('woff2'),
31
+ url('../fonts/playfair-display-v13-latin-700.woff') format('woff');
38
32
  }
39
33
 
40
34
  /* playfair-display-900 - latin */
@@ -43,9 +37,7 @@
43
37
  font-style: normal;
44
38
  font-weight: 900;
45
39
  font-display: fallback;
46
- src:
47
- local('Playfair Display Black'),
48
- local('PlayfairDisplay-Black'),
49
- url('../fonts/playfair-display-v13-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
50
- url('../fonts/playfair-display-v13-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
40
+ src: local('Playfair Display Black'), local('PlayfairDisplay-Black'),
41
+ url('../fonts/playfair-display-v13-latin-900.woff2') format('woff2'),
42
+ url('../fonts/playfair-display-v13-latin-900.woff') format('woff');
51
43
  }
@@ -1,4 +1,4 @@
1
- @mixin fixed-aspect-ratio($ratio:75%, $width:100%, $display:'inline-block', $child:'>*', $elementPadding: 0) {
1
+ @mixin fixed-aspect-ratio($ratio: 75%, $width: 100%, $display: 'inline-block', $child: '>*', $elementPadding: 0) {
2
2
  display: #{$display};
3
3
  position: relative;
4
4
  width: $width;
@@ -9,15 +9,13 @@
9
9
  margin-top: $ratio;
10
10
  }
11
11
 
12
- #{$child} { // stylelint-disable-line
13
- bottom: 0;
14
- left: 0;
12
+ /* stylelint-disable-next-line */
13
+ #{$child} {
15
14
  max-height: 100%;
16
15
  padding-left: $elementPadding;
17
16
  padding-right: $elementPadding;
18
17
  position: absolute;
19
- right: 0;
20
- top: 0;
18
+ inset: 0;
21
19
  }
22
20
  }
23
21
 
@@ -23,13 +23,13 @@ $typography-definitions: (
23
23
  mobile: (
24
24
  'font-size': 16px,
25
25
  'line-height': 24px,
26
- 'letter-spacing': 0.3px
26
+ 'letter-spacing': 0.3px,
27
27
  ),
28
28
  desktop: (
29
29
  'font-size': 24px,
30
30
  'line-height': 32px,
31
- 'letter-spacing': 0.75px
32
- )
31
+ 'letter-spacing': 0.75px,
32
+ ),
33
33
  ),
34
34
  body-small: (
35
35
  all: (
@@ -38,13 +38,13 @@ $typography-definitions: (
38
38
  mobile: (
39
39
  'font-size': 12px,
40
40
  'line-height': 24px,
41
- 'letter-spacing': 0.3px
41
+ 'letter-spacing': 0.3px,
42
42
  ),
43
43
  desktop: (
44
44
  'font-size': 18px,
45
45
  'line-height': 32px,
46
- 'letter-spacing': 0.75px
47
- )
46
+ 'letter-spacing': 0.75px,
47
+ ),
48
48
  ),
49
49
  h1: (
50
50
  all: (
@@ -54,13 +54,13 @@ $typography-definitions: (
54
54
  mobile: (
55
55
  'font-size': 32px,
56
56
  'line-height': 44px,
57
- 'letter-spacing': 0.3px
57
+ 'letter-spacing': 0.3px,
58
58
  ),
59
59
  desktop: (
60
60
  'font-size': 44px,
61
61
  'line-height': 56px,
62
- 'letter-spacing': 0.3px
63
- )
62
+ 'letter-spacing': 0.3px,
63
+ ),
64
64
  ),
65
65
  h2: (
66
66
  all: (
@@ -70,13 +70,13 @@ $typography-definitions: (
70
70
  mobile: (
71
71
  'font-size': 24px,
72
72
  'line-height': 32px,
73
- 'letter-spacing': 0.3px
73
+ 'letter-spacing': 0.3px,
74
74
  ),
75
75
  desktop: (
76
76
  'font-size': 32px,
77
77
  'line-height': 44px,
78
- 'letter-spacing': 0.3px
79
- )
78
+ 'letter-spacing': 0.3px,
79
+ ),
80
80
  ),
81
81
  button: (
82
82
  all: (
@@ -85,13 +85,13 @@ $typography-definitions: (
85
85
  mobile: (
86
86
  'font-size': 18px,
87
87
  'line-height': 18px,
88
- 'letter-spacing': 0.3px
88
+ 'letter-spacing': 0.3px,
89
89
  ),
90
90
  desktop: (
91
91
  'font-size': 20px,
92
92
  'line-height': 20px,
93
- 'letter-spacing': 0.3px
94
- )
93
+ 'letter-spacing': 0.3px,
94
+ ),
95
95
  ),
96
96
  );
97
97
 
@@ -129,7 +129,10 @@ $typography-definitions: (
129
129
  @if (map-has-key(map-get($typography-definitions, $font-bundle), 'all')) {
130
130
  $all-font-definition: map-get(map-get($typography-definitions, $font-bundle), 'all');
131
131
  }
132
- $font-definition: map-merge($all-font-definition, map-get(map-get($typography-definitions, $font-bundle), $viewport));
132
+ $font-definition: map-merge(
133
+ $all-font-definition,
134
+ map-get(map-get($typography-definitions, $font-bundle), $viewport)
135
+ );
133
136
 
134
137
  @return $font-definition;
135
138
  }
@@ -10,6 +10,7 @@
10
10
  // the first element in $layers is on the top (high z-index)
11
11
  // The last element in $layers list is on the bottom (low z-index)
12
12
 
13
+ /* prettier-ignore */
13
14
  $layers: (
14
15
  'overlay', // overlay content incl. image overlay, ...
15
16
  'offcanvas', // off-canvas
@@ -5,6 +5,24 @@ lintConfig.rules['plugin/stylelint-bem-namics'] = {
5
5
  helperPrefixes: ['state'],
6
6
  };
7
7
 
8
+ // remove deprecated checks - handled by prettier
9
+ lintConfig.rules['at-rule-name-case'] = null;
10
+ lintConfig.rules['color-hex-case'] = null;
11
+ lintConfig.rules['declaration-block-semicolon-newline-after'] = null;
12
+ lintConfig.rules['declaration-block-trailing-semicolon'] = null;
13
+ lintConfig.rules['declaration-colon-space-after'] = null;
14
+ lintConfig.rules['max-empty-lines'] = null;
15
+ lintConfig.rules['media-feature-name-case'] = null;
16
+ lintConfig.rules['no-missing-end-of-source-newline'] = null;
17
+ lintConfig.rules['number-leading-zero'] = null;
18
+ lintConfig.rules['property-case'] = null;
19
+ lintConfig.rules['selector-list-comma-newline-after'] = null;
20
+ lintConfig.rules['selector-pseudo-class-case'] = null;
21
+ lintConfig.rules['selector-pseudo-element-case'] = null;
22
+ lintConfig.rules['string-quotes'] = null;
23
+ lintConfig.rules['unit-case'] = null;
24
+ lintConfig.rules['indentation'] = null;
25
+
8
26
  // node-sass can't handle modern color function notation
9
27
  lintConfig.rules['color-function-notation'] = null;
10
28
 
@@ -36,7 +36,7 @@ module.exports = async (page, scenario) => {
36
36
 
37
37
  if (scrollToSelector) {
38
38
  await page.waitForSelector(scrollToSelector);
39
- await page.evaluate(scrollToSelector => {
39
+ await page.evaluate((scrollToSelector) => {
40
40
  document.querySelector(scrollToSelector).scrollIntoView();
41
41
  }, scrollToSelector);
42
42
  }
@@ -21,11 +21,11 @@ const IMAGE_DATA_BUFFER = fs.readFileSync(IMAGE_STUB_URL);
21
21
  const HEADERS_STUB = {};
22
22
 
23
23
  module.exports = async function (page, scenario) {
24
- page.route(IMAGE_URL_RE, route => {
24
+ page.route(IMAGE_URL_RE, (route) => {
25
25
  route.fulfill({
26
26
  body: IMAGE_DATA_BUFFER,
27
27
  headers: HEADERS_STUB,
28
- status: 200
28
+ status: 200,
29
29
  });
30
30
  });
31
31
  };
@@ -20,7 +20,7 @@ const BACKSTOP_TEST_CSS_OVERRIDE = `
20
20
  module.exports = async (page, scenario) => {
21
21
  // inject arbitrary css to override styles
22
22
  await page.addStyleTag({
23
- content: BACKSTOP_TEST_CSS_OVERRIDE
23
+ content: BACKSTOP_TEST_CSS_OVERRIDE,
24
24
  });
25
25
 
26
26
  console.log('BACKSTOP_TEST_CSS_OVERRIDE injected for: ' + scenario.label);
@@ -19,5 +19,5 @@ Use following npm scripts for your test workflow:
19
19
 
20
20
  - `npm run visual-test` runs the tests, compares the results against the reference screenshots
21
21
  and generates a report under '/public/reports/backstop/html/'
22
- - use this also for creating new reference screenshots, ignore the failed tests and approve with npm script `npm run visual-approve`)
22
+ (use this also for creating new reference screenshots, ignore the failed tests and approve with `npm run visual-approve`)
23
23
  - `npm run visual-approve` updates the references with results from last test
@@ -12,9 +12,8 @@ End-to-end testing with playwright.
12
12
 
13
13
  Use following npm scripts for your test workflow:
14
14
 
15
+ - `npm run playwright-test` to run playwright ui-mode (use this to set up your tests)
15
16
  - `npm test` playwright tests run in the test chain (this also works well in ci environments)
16
- - `npm run playwright-test` to run all tests on your local machine
17
- - `npm run playwright-test-generate` to open the playwright generator (use this to set up your tests)
18
17
 
19
18
  or [run and generate playwright tests directly in VS Code](https://playwright.dev/docs/codegen#generate-tests-in-vs-code)
20
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nitro",
3
- "version": "7.4.0",
3
+ "version": "7.5.0",
4
4
  "description": "Yeoman generator for the nitro frontend framework",
5
5
  "license": "MIT",
6
6
  "repository": "merkle-open/generator-nitro",