@ui5/webcomponents-tools 2.1.0-rc.1 → 2.1.0-rc.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.1.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.1.0-rc.2...v2.1.0-rc.3) (2024-08-01)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-tools
9
+
10
+
11
+
12
+
13
+
14
+ # [2.1.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v2.1.0-rc.1...v2.1.0-rc.2) (2024-07-25)
15
+
16
+ **Note:** Version bump only for package @ui5/webcomponents-tools
17
+
18
+
19
+
20
+
21
+
6
22
  # [2.1.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.1.0-rc.0...v2.1.0-rc.1) (2024-07-18)
7
23
 
8
24
  **Note:** Version bump only for package @ui5/webcomponents-tools
@@ -103,7 +103,7 @@ const getScripts = (options) => {
103
103
  default: "nps copy.src copy.props",
104
104
  src: `node "${LIB}/copy-and-watch/index.js" --silent "src/**/*.{js,json}" dist/`,
105
105
  // srcGenerated2: `node "${LIB}/copy-and-watch/index.js" --silent "src/generated/**/*.{js,json}" dist/generated/`,
106
- props: `node "${LIB}/copy-and-watch/index.js" --silent "src/**/*.properties" dist/`,
106
+ props: `node "${LIB}/copy-and-watch/index.js" --silent "src/i18n/*.properties" dist/`,
107
107
  },
108
108
  watch: {
109
109
  default: `${tsCrossEnv} concurrently "nps watch.templates" "nps watch.typescript" "nps watch.src" "nps watch.styles" "nps watch.i18n" "nps watch.props"`,
@@ -117,7 +117,7 @@ const getScripts = (options) => {
117
117
  themes: 'nps "build.styles.themes -w"',
118
118
  components: `nps "build.styles.components -w"`,
119
119
  },
120
- templates: 'chokidar "src/**/*.hbs" -c "nps build.templates"',
120
+ templates: 'chokidar "src/**/*.hbs" -i "src/generated" -c "nps build.templates"',
121
121
  i18n: 'chokidar "src/i18n/messagebundle.properties" -c "nps build.i18n.defaultsjs"'
122
122
  },
123
123
  start: "nps prepare watch.devServer",
@@ -310,15 +310,15 @@ exports.config = {
310
310
  * Function to be executed after a test (in Mocha/Jasmine) or a step (in Cucumber) starts.
311
311
  * @param {Object} test test details
312
312
  */
313
- afterTest: async function (test, context) {
313
+ afterTest: async function (test) {
314
314
  // fetch the browser logs and fail the test if there are `console.error` messages with the `[UI5-FWK]` marker
315
315
  const logs = await browser.getLogs('browser');
316
316
  const severeLogs = logs
317
317
  .filter(l => l.level === "SEVERE" && l.message.includes("[UI5-FWK]"))
318
318
  .map(l => l.message);
319
- assert.equal(severeLogs.length, 0, `[${test.title}]\n\n ${severeLogs.join("\n ")}`)
319
+
320
320
  if (severeLogs.length) {
321
- test.callback(new Error('Framework errors detected.'))
321
+ test.callback(new Error(`[${test.title}]\n\n ${severeLogs.join("\n ")}`));
322
322
  }
323
323
  },
324
324
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-tools",
3
- "version": "2.1.0-rc.1",
3
+ "version": "2.1.0-rc.3",
4
4
  "description": "UI5 Web Components: webcomponents.tools",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -84,5 +84,5 @@
84
84
  "esbuild": "^0.19.9",
85
85
  "yargs": "^17.5.1"
86
86
  },
87
- "gitHead": "87939ef793d60480ba9571b194223cf5ac8ba031"
87
+ "gitHead": "d2d25384e15721c1682b1267f360ed2fefba4c25"
88
88
  }