@ui5/webcomponents-tools 2.3.0-rc.2 → 2.3.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,17 @@
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.3.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.3.0-rc.2...v2.3.0-rc.3) (2024-09-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * nps.js works with the JS flow ([#9942](https://github.com/SAP/ui5-webcomponents/issues/9942)) ([b42ef95](https://github.com/SAP/ui5-webcomponents/commit/b42ef9567bcbd187a5f8d183e7d5014492ee845a))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.3.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v2.3.0-rc.1...v2.3.0-rc.2) (2024-09-19)
7
18
 
8
19
  **Note:** Version bump only for package @ui5/webcomponents-tools
@@ -68,7 +68,7 @@ const getScripts = (options) => {
68
68
  styleRelated: "nps build.styles build.jsonImports build.jsImports",
69
69
  },
70
70
  prepare: {
71
- default: `${tsCrossEnv} nps clean prepare.all copyProps prepare.typescript generateAPI`,
71
+ default: `${tsCrossEnv} nps clean prepare.all ${options.legacy ? "copy" : ""} 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,
@@ -100,9 +100,15 @@ const getScripts = (options) => {
100
100
  illustrations: createIllustrationsJSImportsScript,
101
101
  },
102
102
  copyProps: `node "${LIB}/copy-and-watch/index.js" --silent "src/i18n/*.properties" dist/`,
103
+ copy: {
104
+ default: "nps copy.src copy.props",
105
+ src: `node "${LIB}/copy-and-watch/index.js" --silent "src/**/*.{js,json}" dist/`,
106
+ props: `node "${LIB}/copy-and-watch/index.js" --silent "src/i18n/*.properties" dist/`,
107
+ },
103
108
  watch: {
104
- default: `${tsCrossEnv} concurrently "nps watch.templates" "nps watch.typescript" "nps watch.styles" "nps watch.i18n" "nps watch.props"`,
109
+ default: `${tsCrossEnv} concurrently "nps watch.templates" "nps watch.typescript" ${options.legacy ? '"nps watch.src"' : ""} "nps watch.styles" "nps watch.i18n" "nps watch.props"`,
105
110
  devServer: 'concurrently "nps watch.default" "nps watch.bundle"',
111
+ src: 'nps "copy.src --watch --safe --skip-initial-copy"',
106
112
  typescript: tsWatchCommandStandalone,
107
113
  props: 'nps "copyProps --watch --safe --skip-initial-copy"',
108
114
  bundle: `node ${LIB}/dev-server/dev-server.js ${viteConfig}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-tools",
3
- "version": "2.3.0-rc.2",
3
+ "version": "2.3.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",
@@ -86,5 +86,5 @@
86
86
  "esbuild": "^0.19.9",
87
87
  "yargs": "^17.5.1"
88
88
  },
89
- "gitHead": "0b5a320e502e0b83a5e7dc45898e1115dce13b81"
89
+ "gitHead": "de91b666f58f3f68d486f1d970697404c8e06418"
90
90
  }
@@ -1,26 +0,0 @@
1
- const fs = require("fs");
2
-
3
- /**
4
- * UI5Elements loads the ssr-dom.js file with a package specifier to use the export conditions
5
- * in the package.json so that a shim for the dom can be loaded from SSR environments
6
- * This however makes the TS Checker plugin used for development try to load the file from dist as input
7
- * This plugin loads an empty file and TS ignores the file completely
8
- */
9
-
10
- const ssrDomShimLoader = async () => {
11
- return {
12
- name: 'ssr-dom-shim-loader',
13
- resolveId(id) {
14
- if (id === "@ui5/webcomponents-base/dist/ssr-dom.js") {
15
- return "\0shim"
16
- }
17
- },
18
- load(id) {
19
- if (id === "\0shim") {
20
- return "";
21
- }
22
- }
23
- }
24
- };
25
-
26
- module.exports = ssrDomShimLoader;