@ui5/webcomponents-tools 2.3.0-rc.3 → 2.3.1-rc.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 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.3.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.3.0...v2.3.1-rc.0) (2024-10-03)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-tools
9
+
10
+
11
+
12
+
13
+
14
+ # [2.3.0](https://github.com/SAP/ui5-webcomponents/compare/v2.3.0-rc.3...v2.3.0) (2024-10-02)
15
+
16
+ **Note:** Version bump only for package @ui5/webcomponents-tools
17
+
18
+
19
+
20
+
21
+
6
22
  # [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
23
 
8
24
 
@@ -1,6 +1,5 @@
1
1
  const { defineConfig } = require('cypress')
2
2
  const path = require("path");
3
- const rootConfig = require("../../../vite.config.js");
4
3
 
5
4
  module.exports = defineConfig({
6
5
  component: {
@@ -10,7 +9,6 @@ module.exports = defineConfig({
10
9
  devServer: {
11
10
  framework: 'cypress-ct-lit',
12
11
  bundler: 'vite',
13
- viteConfig: rootConfig,
14
12
  }
15
13
  },
16
14
  video: false,
@@ -111,7 +111,7 @@ const getScripts = (options) => {
111
111
  src: 'nps "copy.src --watch --safe --skip-initial-copy"',
112
112
  typescript: tsWatchCommandStandalone,
113
113
  props: 'nps "copyProps --watch --safe --skip-initial-copy"',
114
- bundle: `node ${LIB}/dev-server/dev-server.js ${viteConfig}`,
114
+ bundle: `node ${LIB}/dev-server/dev-server.mjs ${viteConfig}`,
115
115
  styles: {
116
116
  default: 'concurrently "nps watch.styles.themes" "nps watch.styles.components"',
117
117
  themes: 'nps "build.styles.themes -w"',
@@ -138,7 +138,7 @@ const getScripts = (options) => {
138
138
  },
139
139
  watchWithBundle: 'concurrently "nps scope.watch" "nps scope.bundle" ',
140
140
  watch: 'concurrently "nps watch.templates" "nps watch.props" "nps watch.styles"',
141
- bundle: `node ${LIB}/dev-server/dev-server.js ${viteConfig}`,
141
+ bundle: `node ${LIB}/dev-server/dev-server.mjs ${viteConfig}`,
142
142
  },
143
143
  generateAPI: {
144
144
  default: tsOption ? "nps generateAPI.generateCEM generateAPI.validateCEM" : "",
@@ -1,7 +1,7 @@
1
- const fs = require("fs/promises");
2
- const { createServer } = require('vite');
3
- const yargs = require('yargs/yargs')
4
- const { hideBin } = require('yargs/helpers')
1
+ import fs from "fs/promises";
2
+ import { createServer } from 'vite';
3
+ import yargs from 'yargs/yargs';
4
+ import { hideBin } from 'yargs/helpers';
5
5
 
6
6
  const argv = yargs(hideBin(process.argv))
7
7
  .alias("c", "config")
@@ -69,7 +69,7 @@ const generate = async () => {
69
69
  const texts = textKeys.map(prop => getTextInfo(prop, properties[prop], defaultLanguageProperties && defaultLanguageProperties[prop])).join('');
70
70
 
71
71
  // tabs are intentionally mixed to have proper identation in the produced file
72
- return `${tsMode ? `import { I18nText } from "@ui5/webcomponents-base/dist/i18nBundle.js";` : ""}
72
+ return `${tsMode ? `import type { I18nText } from "@ui5/webcomponents-base/dist/i18nBundle.js";` : ""}
73
73
  ${texts}
74
74
  export {${textKeys.join()}};`;
75
75
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-tools",
3
- "version": "2.3.0-rc.3",
3
+ "version": "2.3.1-rc.0",
4
4
  "description": "UI5 Web Components: webcomponents.tools",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -68,12 +68,12 @@
68
68
  "resolve": "^1.20.0",
69
69
  "rimraf": "^3.0.2",
70
70
  "slash": "3.0.0",
71
- "vite": "^4.4.9",
71
+ "vite": "^5.4.8",
72
72
  "wdio-chromedriver-service": "^7.3.2"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "chromedriver": "*",
76
- "typescript": "^5.2.2"
76
+ "typescript": "^5.6.2"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "typescript": {
@@ -86,5 +86,5 @@
86
86
  "esbuild": "^0.19.9",
87
87
  "yargs": "^17.5.1"
88
88
  },
89
- "gitHead": "de91b666f58f3f68d486f1d970697404c8e06418"
89
+ "gitHead": "2857fcf8b4da8ccd7bbfa9dd0b0c2eb4c925cf4f"
90
90
  }
package/tsconfig.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
+ "module": "NodeNext",
3
4
  "target": "ES2021",
4
5
  "lib": [
5
6
  "DOM",
@@ -11,6 +12,5 @@
11
12
  "sourceMap": true,
12
13
  "inlineSources": true,
13
14
  "strict": true,
14
- "moduleResolution": "node"
15
15
  }
16
16
  }