@sap-ux/fe-fpm-writer 0.17.8 → 0.18.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.
@@ -12,11 +12,8 @@ exports.FCL_ROUTER = 'sap.f.routing.Router';
12
12
  * @returns enhanced configuration
13
13
  */
14
14
  function setCommonDefaults(config, manifestPath, manifest) {
15
- // enforce naming conventions
16
- const firstChar = config.name[0];
17
- config.name = firstChar.toUpperCase() + config.name.substring(1);
18
15
  // set target folder if not provided
19
- config.folder = config.folder || `ext/${firstChar.toLocaleLowerCase() + config.name.substring(1)}`;
16
+ config.folder = config.folder || `ext/${config.name[0].toLocaleLowerCase() + config.name.substring(1)}`;
20
17
  // calculate namespace and path for generated artifacts
21
18
  config.ns = `${manifest['sap.app'].id}.${config.folder.replace(/[\/\\]/g, '.')}`;
22
19
  config.path = path_1.join(path_1.dirname(manifestPath), config.folder);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fe-fpm-writer",
3
3
  "description": "SAP Fiori elements flexible programming model writer",
4
- "version": "0.17.8",
4
+ "version": "0.18.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -29,7 +29,7 @@
29
29
  "xpath": "0.0.32"
30
30
  },
31
31
  "devDependencies": {
32
- "@sap-ux/project-access": "1.0.1",
32
+ "@sap-ux/project-access": "1.0.2",
33
33
  "@types/ejs": "3.1.0",
34
34
  "@types/mem-fs": "1.1.2",
35
35
  "@types/mem-fs-editor": "7.0.1",