@ui5/create-webcomponents-package 1.5.0 → 1.6.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,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
+ # [1.6.0](https://github.com/SAP/ui5-webcomponents/compare/v1.5.0...v1.6.0) (2022-07-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * create package bugs ([#5517](https://github.com/SAP/ui5-webcomponents/issues/5517)) ([f528f5c](https://github.com/SAP/ui5-webcomponents/commit/f528f5c))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.5.0](https://github.com/SAP/ui5-webcomponents/compare/v1.4.0...v1.5.0) (2022-07-03)
7
18
 
8
19
  **Note:** Version bump only for package @ui5/create-webcomponents-package
package/index.js CHANGED
@@ -6,6 +6,8 @@ const mkdirp = require("mkdirp");
6
6
  const prompts = require("prompts");
7
7
  const parser = require("npm-config-user-agent-parser");
8
8
 
9
+ const version = JSON.parse(fs.readFileSync(path.join(__dirname, "package.json"))).version;
10
+
9
11
  // from where all the files will be copied
10
12
  const TEMPLATE_DIR = path.join(`${__dirname}`, `template/`);
11
13
 
@@ -129,11 +131,11 @@ const createWebcomponentsPackage = async () => {
129
131
  "./*": "./dist/*",
130
132
  },
131
133
  "dependencies": {
132
- "@ui5/webcomponents-base": "1.1.1",
133
- "@ui5/webcomponents-theming": "1.1.1",
134
+ "@ui5/webcomponents-base": version,
135
+ "@ui5/webcomponents-theming": version,
134
136
  },
135
137
  "devDependencies": {
136
- "@ui5/webcomponents-tools": "1.1.1",
138
+ "@ui5/webcomponents-tools": version,
137
139
  "chromedriver": "*",
138
140
  },
139
141
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/create-webcomponents-package",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "UI5 Web Components: create package",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -10,6 +10,9 @@ import INIT_PACKAGE_VAR_CLASS_NAMECss from "./generated/themes/INIT_PACKAGE_VAR_
10
10
 
11
11
  import { PLEASE_WAIT } from "./generated/i18n/i18n-defaults.js";
12
12
 
13
+ /**
14
+ * @public
15
+ */
13
16
  const metadata = {
14
17
  tag: "INIT_PACKAGE_VAR_TAG",
15
18
  properties: {
@@ -20,6 +23,19 @@ const metadata = {
20
23
  },
21
24
  };
22
25
 
26
+ /**
27
+ * @class
28
+ *
29
+ * <h3 class="comment-api-title">Overview</h3>
30
+ *
31
+ * The <code>INIT_PACKAGE_VAR_TAG</code> component is a demo component that displays some text.
32
+ *
33
+ * @constructor
34
+ * @alias demo.components.INIT_PACKAGE_VAR_CLASS_NAME
35
+ * @extends UI5Element
36
+ * @tagname INIT_PACKAGE_VAR_TAG
37
+ * @public
38
+ */
23
39
  class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
24
40
  static get metadata() {
25
41
  return metadata;
@@ -16,7 +16,7 @@
16
16
  }
17
17
  </script>
18
18
 
19
- <script src="../../resources/bundle.esm.js" type="module"></script>
19
+ <script src="../../bundle.esm.js" type="module"></script>
20
20
 
21
21
  <style>
22
22
  code { color: blue; font-size: small; }