@pulse-editor/cli 0.1.0-beta.3 → 0.1.0-beta.4
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.
|
@@ -62,10 +62,9 @@ export default function Publish({ cli }) {
|
|
|
62
62
|
}
|
|
63
63
|
async function publishExtension() {
|
|
64
64
|
setIsPublishing(true);
|
|
65
|
-
// Read
|
|
66
|
-
const
|
|
67
|
-
const visibility =
|
|
68
|
-
.visibility;
|
|
65
|
+
// Read pulse.config.json for visibility
|
|
66
|
+
const config = JSON.parse(fs.readFileSync('./dist/client/pulse.config.json', 'utf-8'));
|
|
67
|
+
const visibility = config.visibility;
|
|
69
68
|
// Upload the zip file to the server
|
|
70
69
|
try {
|
|
71
70
|
const formData = new FormData();
|
package/package.json
CHANGED