@ui5/create-webcomponents-package 0.0.7 → 0.0.8
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/index.js +4 -5
- package/package.json +1 -2
package/index.js
CHANGED
@@ -4,7 +4,6 @@ const fs = require("fs");
|
|
4
4
|
const path = require("path");
|
5
5
|
const mkdirp = require("mkdirp");
|
6
6
|
const prompts = require("prompts");
|
7
|
-
const beautify = require("json-beautify");
|
8
7
|
const parser = require("npm-config-user-agent-parser");
|
9
8
|
|
10
9
|
// from where all the files will be copied
|
@@ -131,11 +130,11 @@ const createWebcomponentsPackage = async () => {
|
|
131
130
|
"./*": "./dist/*",
|
132
131
|
},
|
133
132
|
"dependencies": {
|
134
|
-
"@ui5/webcomponents-base": "
|
135
|
-
"@ui5/webcomponents-theme-base": "
|
133
|
+
"@ui5/webcomponents-base": "1.0.0-rc.15",
|
134
|
+
"@ui5/webcomponents-theme-base": "1.0.0-rc.15",
|
136
135
|
},
|
137
136
|
"devDependencies": {
|
138
|
-
"@ui5/webcomponents-tools": "
|
137
|
+
"@ui5/webcomponents-tools": "1.0.0-rc.15",
|
139
138
|
"chromedriver": "*",
|
140
139
|
},
|
141
140
|
};
|
@@ -143,7 +142,7 @@ const createWebcomponentsPackage = async () => {
|
|
143
142
|
// Update package.json
|
144
143
|
const destDir = path.join(`./`, name);
|
145
144
|
mkdirp.sync(destDir);
|
146
|
-
fs.writeFileSync(path.join(destDir, "package.json"),
|
145
|
+
fs.writeFileSync(path.join(destDir, "package.json"), JSON.stringify(packageContent, null, 2));
|
147
146
|
// Copy files
|
148
147
|
copyFiles(vars, TEMPLATE_DIR, destDir);
|
149
148
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ui5/create-webcomponents-package",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.8",
|
4
4
|
"description": "UI5 Web Components: create package",
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
6
6
|
"license": "Apache-2.0",
|
@@ -19,7 +19,6 @@
|
|
19
19
|
"directory": "packages/create-package"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"json-beautify": "^1.1.1",
|
23
22
|
"mkdirp": "^1.0.4",
|
24
23
|
"npm-config-user-agent-parser": "^1.0.0",
|
25
24
|
"prompts": "^2.4.1"
|