File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
source/components/commands Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @pulse-editor/cli" ,
3- "version" : " 0.1.0-beta.3 " ,
3+ "version" : " 0.1.0-beta.4 " ,
44 "license" : " MIT" ,
55 "bin" : {
66 "pulse" : " ./dist/cli.js"
6060 }
6161 },
6262 "prettier" : " @vdemedes/prettier-config"
63- }
63+ }
Original file line number Diff line number Diff line change @@ -72,11 +72,12 @@ export default function Publish({cli}: {cli: Result<Flags>}) {
7272 async function publishExtension ( ) {
7373 setIsPublishing ( true ) ;
7474
75- // Read package.json
76- const packageJson = JSON . parse ( fs . readFileSync ( 'package.json' , 'utf-8' ) ) ;
75+ // Read pulse.config.json for visibility
76+ const config = JSON . parse (
77+ fs . readFileSync ( './dist/client/pulse.config.json' , 'utf-8' ) ,
78+ ) ;
7779
78- const visibility = packageJson [ 'pulse-editor-marketplace' ]
79- . visibility as string ;
80+ const visibility = config . visibility as string ;
8081
8182 // Upload the zip file to the server
8283 try {
You can’t perform that action at this time.
0 commit comments