@ui5/create-webcomponents-package 1.10.4-rc.0 → 1.11.0-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,14 @@
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.11.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.4-rc.0...v1.11.0-rc.0) (2023-02-02)
7
+
8
+ **Note:** Version bump only for package @ui5/create-webcomponents-package
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.10.4-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.3...v1.10.4-rc.0) (2023-01-26)
7
15
 
8
16
  **Note:** Version bump only for package @ui5/create-webcomponents-package
package/index.js CHANGED
@@ -20,7 +20,7 @@ const toCamelCase = parts => {
20
20
  }).join("");
21
21
  };
22
22
  const isTypescriptRelatedFile = sourcePath => {
23
- return ["MyFirstComponent.ts", "tsconfig.json", "global.d.ts"].some(fileName => sourcePath.includes(fileName));
23
+ return ["Аssets.ts", "MyFirstComponent.ts", "tsconfig.json", "global.d.ts"].some(fileName => sourcePath.includes(fileName));
24
24
  }
25
25
 
26
26
  // Validation of user input
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/create-webcomponents-package",
3
- "version": "1.10.4-rc.0",
3
+ "version": "1.11.0-rc.0",
4
4
  "description": "UI5 Web Components: create package",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -23,5 +23,5 @@
23
23
  "npm-config-user-agent-parser": "^1.0.0",
24
24
  "prompts": "^2.4.1"
25
25
  },
26
- "gitHead": "b618aed1a969ce5a738b620cb8b2d7d796638d4c"
26
+ "gitHead": "6464abd79265425ce65232ebeee53cf6585e6ec6"
27
27
  }
@@ -1,3 +1,5 @@
1
1
  # Note: Changes to this file also must be applied to the top level .eslintignore file.
2
2
  dist
3
3
  test
4
+ src/generated
5
+ jsdoc-dist
@@ -0,0 +1,5 @@
1
+ import "@ui5/webcomponents-theming/dist/Assets.js"; // Theming
2
+
3
+ // own INIT_PACKAGE_VAR_NAME package assets
4
+ import "./generated/json-imports/Themes.js";
5
+ import "./generated/json-imports/i18n.js";
@@ -3,7 +3,6 @@ import customElement from "@ui5/webcomponents-base/dist/decorators/customElement
3
3
  import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
4
4
  import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
5
5
  import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
6
- import type { I18nText } from "@ui5/webcomponents-base/dist/i18nBundle.js";
7
6
 
8
7
  // Template
9
8
  import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACKAGE_VAR_CLASS_NAMETemplate.lit.js";
@@ -11,7 +10,6 @@ import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACK
11
10
  // Styles
12
11
  import INIT_PACKAGE_VAR_CLASS_NAMECss from "./generated/themes/INIT_PACKAGE_VAR_CLASS_NAME.css.js";
13
12
 
14
- // @ts-ignore
15
13
  import { PLEASE_WAIT } from "./generated/i18n/i18n-defaults.js";
16
14
 
17
15
  /**
@@ -48,7 +46,7 @@ class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
48
46
  }
49
47
 
50
48
  get pleaseWaitText() {
51
- return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(PLEASE_WAIT as I18nText);
49
+ return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(PLEASE_WAIT);
52
50
  }
53
51
  }
54
52