File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 223223 "dev" : " DEV=true node ./build.js" ,
224224 "package" : " pnpm vsce package --no-dependencies" ,
225225 "publish" : " pnpm vsce publish --no-dependencies" ,
226- "publish:open-vsx" : " node publish-openvsx.js" ,
226+ "publish:open-vsx" : " node --experimental-json-modules publish-openvsx.js" ,
227227 "vscode:prepublish" : " npm run build" ,
228228 "---- EDITOR ----------------------------------------------------------" : " " ,
229229 "editor:build" : " cd src/utilities/editor/sherlock-editor-app && pnpm run build" ,
Original file line number Diff line number Diff line change 33import { execSync } from "node:child_process"
44import path , { dirname } from "node:path"
55import { fileURLToPath , URL } from "node:url"
6- import packageJson from "./package.json" assert { type : "json " }
6+ import { createRequire } from "module"
7+ const require = createRequire ( import . meta. url )
8+ const packageJson = require ( "./package.json" )
79
810// Ensure environment variables are checked properly
911if ( ! process . env . OPEN_VSX_TOKEN ) {
You can’t perform that action at this time.
0 commit comments