@ui5/webcomponents-tools 2.7.0-rc.0 → 2.7.0-rc.1

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.7.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.7.0-rc.0...v2.7.0-rc.1) (2025-01-23)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-tools
9
+
10
+
11
+
12
+
13
+
6
14
  # [2.7.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.6.2...v2.7.0-rc.0) (2025-01-16)
7
15
 
8
16
  **Note:** Version bump only for package @ui5/webcomponents-tools
@@ -1,3 +1,4 @@
1
+ import '@cypress/code-coverage/support'
1
2
  import { setupHooks } from '@cypress/mount-utils';
2
3
  import { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
3
4
  import { mount } from 'cypress-ct-lit'
@@ -1,8 +1,13 @@
1
1
  const { defineConfig } = require('cypress')
2
2
  const path = require("path");
3
+ const coverageTask = require('@cypress/code-coverage/task');
3
4
 
4
5
  module.exports = defineConfig({
5
6
  component: {
7
+ setupNodeEvents(on, config) {
8
+ coverageTask(on, config)
9
+ return config
10
+ },
6
11
  supportFile: path.join(__dirname, "cypress/support/component.js"),
7
12
  indexHtmlFile: path.join(__dirname, "cypress/support/component-index.html"),
8
13
  specPattern: ["**/specs/*.cy.{js,ts}", "**/specs/**/*.cy.{js,ts}"],
@@ -122,8 +122,8 @@ const getScripts = (options) => {
122
122
  },
123
123
  start: "nps prepare watch.devServer",
124
124
  test: `node "${LIB}/test-runner/test-runner.js"`,
125
- "test-cy-ci": `yarn cypress run --component --browser chrome`,
126
- "test-cy-open": `yarn cypress open --component --browser chrome`,
125
+ "test-cy-ci": `CYPRESS_COVERAGE=true yarn cypress run --component --browser chrome`,
126
+ "test-cy-open": `CYPRESS_COVERAGE=true yarn cypress open --component --browser chrome`,
127
127
  "test-suite-1": `node "${LIB}/test-runner/test-runner.js" --suite suite1`,
128
128
  "test-suite-2": `node "${LIB}/test-runner/test-runner.js" --suite suite2`,
129
129
  startWithScope: "nps scope.prepare scope.watchWithBundle",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-tools",
3
- "version": "2.7.0-rc.0",
3
+ "version": "2.7.0-rc.1",
4
4
  "description": "UI5 Web Components: webcomponents.tools",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -23,6 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@custom-elements-manifest/analyzer": "^0.8.4",
26
+ "@cypress/code-coverage": "^3.13.10",
26
27
  "@typescript-eslint/eslint-plugin": "^6.9.0",
27
28
  "@typescript-eslint/parser": "^6.9.0",
28
29
  "@wdio/cli": "^7.19.7",
@@ -70,6 +71,7 @@
70
71
  "rimraf": "^3.0.2",
71
72
  "slash": "3.0.0",
72
73
  "vite": "^5.4.8",
74
+ "vite-plugin-istanbul": "^6.0.2",
73
75
  "wdio-chromedriver-service": "^7.3.2"
74
76
  },
75
77
  "peerDependencies": {
@@ -87,5 +89,5 @@
87
89
  "esbuild": "^0.19.9",
88
90
  "yargs": "^17.5.1"
89
91
  },
90
- "gitHead": "bae15996685c58d21d6bf20ce7fa8ed10e4728c7"
92
+ "gitHead": "2f90ed3982de20cc411a1cda852ee98709b15e33"
91
93
  }