generator-nitro 7.0.0 → 7.0.3

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.
@@ -312,7 +312,7 @@ module.exports = class extends Generator {
312
312
  'src/ui.ts',
313
313
  'src/proto.js',
314
314
  'src/proto.ts',
315
- 'tests/cypress/cypress/integration/examples/index.spec.js',
315
+ 'tests/cypress/cypress/e2e/examples/index.cy.js',
316
316
  '.eslintrc.js',
317
317
  'docker-compose.yml',
318
318
  'docker-compose-dev.yml',
@@ -402,7 +402,7 @@ module.exports = class extends Generator {
402
402
  'src/patterns/',
403
403
  'src/proto/utils/',
404
404
  'src/shared/',
405
- 'tests/cypress/cypress/integration/examples/',
405
+ 'tests/cypress/cypress/e2e/examples/',
406
406
  ];
407
407
  const exampleIncludeAnyway = [
408
408
  // example file "parts" included for this.options.exampleCode===false
@@ -1,19 +1,3 @@
1
- const config = {
2
- root: true,
3
- extends: ['html-validate:recommended'],
4
- rules: {
5
- 'element-required-attributes': 'warn',
6
- 'element-permitted-order': 'warn',
7
- 'no-inline-style': 'off',
8
- 'no-implicit-close': 'warn',
9
- 'no-raw-characters': ['warn', { relaxed: true }],
10
- 'prefer-native-element': 'warn',
11
- 'svg-focusable': 'off',
12
- 'tel-non-breaking': 'off',
13
-
14
- // disable style rules
15
- 'no-trailing-whitespace': 'off',
16
- },
17
- };
1
+ const config = require('@merkle-open/html-validate-config');
18
2
 
19
3
  module.exports = config;
@@ -84,7 +84,7 @@
84
84
  "@gondel/core": "1.2.7",
85
85
  "@gondel/plugin-hot": "1.2.7",
86
86
  "bootstrap": "5.1.3",<% } %>
87
- "core-js": "3.22.8"<% if (options.exampleCode) { %>,
87
+ "core-js": "3.23.3"<% if (options.exampleCode) { %>,
88
88
  "flatpickr": "4.6.13",
89
89
  "handlebars": "4.7.7",
90
90
  "jquery": "3.6.0",
@@ -97,6 +97,7 @@
97
97
  "devDependencies": {<% if (options.jsCompiler === 'js') { %>
98
98
  "@babel/eslint-parser": "7.18.2",<% } %>
99
99
  "@khanacademy/tota11y": "0.2.0",
100
+ "@merkle-open/html-validate-config": "0.1.0",
100
101
  "@namics/eslint-config": "9.1.1",
101
102
  "@namics/prettier-config": "2.0.1",
102
103
  "@namics/stylelint-config": "1.1.2",
@@ -108,32 +109,32 @@
108
109
  "@types/bootstrap": "5.1.11",<% if (options.exampleCode ) { %>
109
110
  "@types/jquery": "3.5.14",<% } %>
110
111
  "@types/svg4everybody": "2.1.2",
111
- "@types/webpack-env": "1.16.4",<% } %>
112
+ "@types/webpack-env": "1.17.0",<% } %>
112
113
  "backstopjs": "6.1.0",
113
114
  "check-node-version": "4.2.1",
114
115
  "commitizen": "4.2.4",
115
116
  "config": "3.3.7",
116
117
  "cross-env": "7.0.3",
117
- "cypress": "10.0.2",
118
+ "cypress": "10.2.0",
118
119
  "cz-conventional-changelog": "3.3.0",
119
- "env-linter": "0.5.1",
120
+ "env-linter": "1.0.0",
120
121
  "eslint": "7.32.0",
121
122
  "eslint-plugin-import": "2.26.0",
122
123
  "extend": "3.0.2",
123
124
  "generator-nitro": "<%= version %>",
124
125
  "gulp": "4.0.2",
125
- "husky": "7.0.4",
126
+ "husky": "8.0.1",
126
127
  "license-checker": "25.0.1",
127
- "lighthouse": "9.6.1",
128
- "lint-staged": "13.0.0",<% if (options.themes) { %>
128
+ "lighthouse": "9.6.2",
129
+ "lint-staged": "13.0.3",<% if (options.themes) { %>
129
130
  "node-sass": "6.0.1",<% } %>
130
- "npm-check-updates": "13.1.1",
131
+ "npm-check-updates": "14.1.1",
131
132
  "npm-run-all": "4.1.5",
132
- "prettier": "2.6.2",
133
+ "prettier": "2.7.1",
133
134
  "rimraf": "3.0.2",
134
135
  "stylelint": "13.13.1",<% if (options.jsCompiler === 'ts') { %>
135
- "typescript": "4.7.3",<% } %>
136
- "webpack-cli": "4.9.2",
136
+ "typescript": "4.7.4",<% } %>
137
+ "webpack-cli": "4.10.0",
137
138
  "yo": "4.3.0"
138
139
  },
139
140
  "browserslist": [
@@ -22,4 +22,4 @@
22
22
  //
23
23
  //
24
24
  // -- This will overwrite an existing command --
25
- // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
25
+ // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
@@ -1,4 +1,4 @@
1
- const {defineConfig} = require('cypress');
1
+ const { defineConfig } = require('cypress');
2
2
 
3
3
  module.exports = defineConfig({
4
4
  e2e: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nitro",
3
- "version": "7.0.0",
3
+ "version": "7.0.3",
4
4
  "description": "Yeoman generator for the nitro frontend framework",
5
5
  "license": "MIT",
6
6
  "repository": "merkle-open/generator-nitro",
@@ -49,7 +49,7 @@
49
49
  "eslint": "7.32.0",
50
50
  "eslint-plugin-import": "2.26.0",
51
51
  "fs-extra": "10.1.0",
52
- "jasmine": "4.1.0",
52
+ "jasmine": "4.2.1",
53
53
  "yeoman-assert": "3.1.1",
54
54
  "yeoman-test": "6.3.0"
55
55
  }