@ui5/create-webcomponents-package 2.4.0-rc.0 → 2.4.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,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.4.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.4.0-rc.0...v2.4.0-rc.1) (2024-10-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **create-package:** produce packages of type="module" ([#9993](https://github.com/SAP/ui5-webcomponents/issues/9993)) ([b161f60](https://github.com/SAP/ui5-webcomponents/commit/b161f601253b966fc0bb7a01213165c0963c85ca))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.4.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.3.1-rc.0...v2.4.0-rc.0) (2024-10-10)
7
18
 
8
19
  **Note:** Version bump only for package @ui5/create-webcomponents-package
package/create-package.js CHANGED
@@ -108,6 +108,7 @@ const generateFilesContent = (packageName, componentName, skipSubfolder) => {
108
108
  ui5: {
109
109
  webComponentsPackage: true,
110
110
  },
111
+ type: "module",
111
112
  scripts: {
112
113
  "clean": "wc-dev clean",
113
114
  "lint": "wc-dev lint",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/create-webcomponents-package",
3
- "version": "2.4.0-rc.0",
3
+ "version": "2.4.0-rc.1",
4
4
  "description": "UI5 Web Components: create package",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -24,5 +24,5 @@
24
24
  "prompts": "^2.4.1",
25
25
  "yargs": "^17.5.1"
26
26
  },
27
- "gitHead": "464fc0e663f3e1142cdbba076cad777cf6ab2738"
27
+ "gitHead": "478542af62e30ca4df65b0778bcbeab837d583d6"
28
28
  }
@@ -2,4 +2,4 @@
2
2
  dist
3
3
  test
4
4
  src/generated
5
- .eslintrc.js
5
+ .eslintrc.cjs
@@ -0,0 +1,3 @@
1
+ {
2
+ "config": "./package-scripts.cjs"
3
+ }
@@ -22,6 +22,11 @@ h2 {
22
22
  flex-direction: column;
23
23
  }
24
24
 
25
+ .app-logo {
26
+ height: 230px;
27
+ width: 230px;
28
+ }
29
+
25
30
  .app-first-component {
26
31
  margin-bottom: 3rem;
27
32
  }
Binary file
@@ -21,7 +21,7 @@
21
21
 
22
22
  <body>
23
23
  <div class="app">
24
- <a href="https://sap.github.io/ui5-webcomponents/docs/getting-started/first-steps/" target="_blank"><img src="./img/logo.png" alt="logo"/></a>
24
+ <a href="https://sap.github.io/ui5-webcomponents/docs/getting-started/first-steps/" target="_blank"><img src="./img/logo.png" class="app-logo" alt="logo"/></a>
25
25
 
26
26
  <div class="app-first-component">
27
27
  <h1>Hooray! It's Your First Web Component!</h1>
@@ -1,4 +1,4 @@
1
- const assert = require("assert");
1
+ import { assert } from "chai";
2
2
 
3
3
  describe("INIT_PACKAGE_VAR_TAG rendering", async () => {
4
4
  before(async () => {
@@ -7,5 +7,7 @@
7
7
  "compilerOptions": {
8
8
  "outDir": "dist",
9
9
  "experimentalDecorators": true,
10
+ "module": "NodeNext",
11
+ "moduleResolution": "NodeNext",
10
12
  },
11
13
  }
File without changes
File without changes