@ui5/create-webcomponents-package 0.0.0-ec448881d → 0.0.0-ee3bbe46b
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 +67 -0
- package/README.md +5 -6
- package/index.js +5 -4
- package/package.json +1 -1
- package/template/src/MyFirstComponent.js +16 -0
- package/template/test/pages/index.html +1 -3
- package/template/test/specs/Demo.spec.js +1 -1
- package/template/config/.eslintrc.js +0 -1
- package/template/config/rollup.config.js +0 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,73 @@
|
|
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.9.1](https://github.com/SAP/ui5-webcomponents/compare/v1.9.0...v1.9.1) (2022-11-10)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [1.9.0](https://github.com/SAP/ui5-webcomponents/compare/v1.8.0...v1.9.0) (2022-10-31)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
# [1.8.0](https://github.com/SAP/ui5-webcomponents/compare/v1.7.1...v1.8.0) (2022-10-03)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
## [1.7.1](https://github.com/SAP/ui5-webcomponents/compare/v1.7.0...v1.7.1) (2022-09-08)
|
31
|
+
|
32
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
# [1.7.0](https://github.com/SAP/ui5-webcomponents/compare/v1.6.0...v1.7.0) (2022-09-02)
|
39
|
+
|
40
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
# [1.6.0](https://github.com/SAP/ui5-webcomponents/compare/v1.5.0...v1.6.0) (2022-07-25)
|
47
|
+
|
48
|
+
|
49
|
+
### Bug Fixes
|
50
|
+
|
51
|
+
* create package bugs ([#5517](https://github.com/SAP/ui5-webcomponents/issues/5517)) ([f528f5c](https://github.com/SAP/ui5-webcomponents/commit/f528f5c))
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
# [1.5.0](https://github.com/SAP/ui5-webcomponents/compare/v1.4.0...v1.5.0) (2022-07-03)
|
58
|
+
|
59
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
# [1.4.0](https://github.com/SAP/ui5-webcomponents/compare/v1.3.1...v1.4.0) (2022-05-25)
|
66
|
+
|
67
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
6
73
|
## [1.3.1](https://github.com/SAP/ui5-webcomponents/compare/v1.3.0...v1.3.1) (2022-04-27)
|
7
74
|
|
8
75
|
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
package/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-

|
2
2
|
|
3
3
|
# UI5 Web Components - Create Package
|
4
4
|
|
5
|
-
[](https://travis-ci.org/SAP/ui5-webcomponents)
|
6
5
|
[](https://www.npmjs.com/package/@ui5/webcomponents)
|
7
6
|
|
8
7
|
Provides an `npm init` script for creating new "UI5 Web Components" packages.
|
@@ -23,16 +22,16 @@ The script creates a new directory, and fills it with a `package.json` file and
|
|
23
22
|
components package.
|
24
23
|
|
25
24
|
## Resources
|
26
|
-
- [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/
|
25
|
+
- [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/main/README.md)
|
27
26
|
- [UI5 Web Components - Home Page](https://sap.github.io/ui5-webcomponents)
|
28
27
|
- [UI5 Web Components - Playground and API Reference](https://sap.github.io/ui5-webcomponents/playground/)
|
29
28
|
|
30
29
|
## Support
|
31
|
-
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/
|
30
|
+
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
|
32
31
|
|
33
32
|
## Contribute
|
34
|
-
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/
|
33
|
+
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/main/docs/6-contributing/02-conventions-and-guidelines.md).
|
35
34
|
|
36
35
|
## License
|
37
36
|
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
|
38
|
-
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/
|
37
|
+
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/main/LICENSE.txt) file.
|
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
|
|
@@ -115,7 +117,6 @@ const createWebcomponentsPackage = async () => {
|
|
115
117
|
"lint": "wc-dev lint",
|
116
118
|
"start": "wc-dev start",
|
117
119
|
"watch": "wc-dev watch",
|
118
|
-
"serve": "wc-dev serve",
|
119
120
|
"build": "wc-dev build",
|
120
121
|
"test": "wc-dev test",
|
121
122
|
"create-ui5-element": "wc-create-ui5-element",
|
@@ -130,11 +131,11 @@ const createWebcomponentsPackage = async () => {
|
|
130
131
|
"./*": "./dist/*",
|
131
132
|
},
|
132
133
|
"dependencies": {
|
133
|
-
"@ui5/webcomponents-base":
|
134
|
-
"@ui5/webcomponents-theming":
|
134
|
+
"@ui5/webcomponents-base": version,
|
135
|
+
"@ui5/webcomponents-theming": version,
|
135
136
|
},
|
136
137
|
"devDependencies": {
|
137
|
-
"@ui5/webcomponents-tools":
|
138
|
+
"@ui5/webcomponents-tools": version,
|
138
139
|
"chromedriver": "*",
|
139
140
|
},
|
140
141
|
};
|
package/package.json
CHANGED
@@ -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 sap.ui.webc.base.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;
|
@@ -2,12 +2,10 @@
|
|
2
2
|
<html>
|
3
3
|
|
4
4
|
<head>
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
5
|
<meta charset="utf-8">
|
7
6
|
|
8
7
|
<title>INIT_PACKAGE_VAR_TAG</title>
|
9
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
10
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
11
9
|
<meta charset="utf-8">
|
12
10
|
|
13
11
|
<script data-ui5-config type="application/json">
|
@@ -16,7 +14,7 @@
|
|
16
14
|
}
|
17
15
|
</script>
|
18
16
|
|
19
|
-
<script src="../../
|
17
|
+
<script src="../../bundle.esm.js" type="module"></script>
|
20
18
|
|
21
19
|
<style>
|
22
20
|
code { color: blue; font-size: small; }
|
@@ -1,7 +1,7 @@
|
|
1
1
|
const assert = require("assert");
|
2
2
|
|
3
3
|
describe("INIT_PACKAGE_VAR_TAG rendering", async () => {
|
4
|
-
await browser.url("
|
4
|
+
await browser.url("test/pages/index.html");
|
5
5
|
|
6
6
|
it("tests if web component is correctly rendered", async () => {
|
7
7
|
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/eslint.js"); // eslint-disable-line
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/rollup.js"); // eslint-disable-line
|