@ui5/webcomponents-tools 2.1.0-rc.2 → 2.1.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.
- package/CHANGELOG.md +16 -0
- package/components-package/nps.js +6 -12
- package/components-package/wdio.js +3 -3
- package/package.json +2 -2
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](https://github.com/SAP/ui5-webcomponents/compare/v2.1.0-rc.3...v2.1.0) (2024-08-02)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/webcomponents-tools
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [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)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @ui5/webcomponents-tools
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
6
22
|
# [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)
|
7
23
|
|
8
24
|
**Note:** Version bump only for package @ui5/webcomponents-tools
|
@@ -64,11 +64,11 @@ const getScripts = (options) => {
|
|
64
64
|
lintfix: `eslint . ${eslintConfig} --fix`,
|
65
65
|
generate: {
|
66
66
|
default: `${tsCrossEnv} nps prepare.all`,
|
67
|
-
all: 'concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps
|
67
|
+
all: 'concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps copyProps" "nps build.illustrations"',
|
68
68
|
styleRelated: "nps build.styles build.jsonImports build.jsImports",
|
69
69
|
},
|
70
70
|
prepare: {
|
71
|
-
default: `${tsCrossEnv} nps clean prepare.all
|
71
|
+
default: `${tsCrossEnv} nps clean prepare.all copyProps prepare.typescript generateAPI`,
|
72
72
|
all: 'concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps build.illustrations"',
|
73
73
|
styleRelated: "nps build.styles build.jsonImports build.jsImports",
|
74
74
|
typescript: tsCommandOld,
|
@@ -99,18 +99,12 @@ const getScripts = (options) => {
|
|
99
99
|
bundle2: ``,
|
100
100
|
illustrations: createIllustrationsJSImportsScript,
|
101
101
|
},
|
102
|
-
|
103
|
-
default: "nps copy.src copy.props",
|
104
|
-
src: `node "${LIB}/copy-and-watch/index.js" --silent "src/**/*.{js,json}" dist/`,
|
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/i18n/*.properties" dist/`,
|
107
|
-
},
|
102
|
+
copyProps: `node "${LIB}/copy-and-watch/index.js" --silent "src/i18n/*.properties" dist/`,
|
108
103
|
watch: {
|
109
|
-
default: `${tsCrossEnv} concurrently "nps watch.templates" "nps watch.typescript" "nps watch.
|
104
|
+
default: `${tsCrossEnv} concurrently "nps watch.templates" "nps watch.typescript" "nps watch.styles" "nps watch.i18n" "nps watch.props"`,
|
110
105
|
devServer: 'concurrently "nps watch.default" "nps watch.bundle"',
|
111
|
-
src: 'nps "copy.src --watch --safe --skip-initial-copy"',
|
112
106
|
typescript: tsWatchCommandStandalone,
|
113
|
-
props: 'nps "
|
107
|
+
props: 'nps "copyProps --watch --safe --skip-initial-copy"',
|
114
108
|
bundle: `node ${LIB}/dev-server/dev-server.js ${viteConfig}`,
|
115
109
|
styles: {
|
116
110
|
default: 'concurrently "nps watch.styles.themes" "nps watch.styles.components"',
|
@@ -137,7 +131,7 @@ const getScripts = (options) => {
|
|
137
131
|
replace: `node "${LIB}/scoping/scope-test-pages.js" test/pages/scoped demo`,
|
138
132
|
},
|
139
133
|
watchWithBundle: 'concurrently "nps scope.watch" "nps scope.bundle" ',
|
140
|
-
watch: 'concurrently "nps watch.templates" "nps watch.
|
134
|
+
watch: 'concurrently "nps watch.templates" "nps watch.props" "nps watch.styles"',
|
141
135
|
bundle: `node ${LIB}/dev-server/dev-server.js ${viteConfig}`,
|
142
136
|
},
|
143
137
|
generateAPI: {
|
@@ -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
|
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
|
-
|
319
|
+
|
320
320
|
if (severeLogs.length) {
|
321
|
-
test.callback(new Error(
|
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
|
3
|
+
"version": "2.1.0",
|
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": "
|
87
|
+
"gitHead": "3eecdf86ea2ce8b11a56e6a12adcf46fcb1f7600"
|
88
88
|
}
|