MCPcopy Index your code
hub / github.com/QwikDev/qwik / publishCreateQwikCli

Function publishCreateQwikCli

scripts/create-qwik-cli.ts:72–92  ·  view source on GitHub ↗
(
  config: BuildConfig,
  distTag: string,
  version: string,
  isDryRun: boolean
)

Source from the content-addressed store, hash-verified

70}
71
72export async function publishCreateQwikCli(
73 config: BuildConfig,
74 distTag: string,
75 version: string,
76 isDryRun: boolean
77) {
78 const srcCliDir = join(config.packagesDir, PACKAGE);
79
80 await updateBaseVersions(config, version);
81
82 console.log(`⛴ publishing ${PACKAGE} ${version}`, isDryRun ? '(dry-run)' : '');
83
84 const npmPublishArgs = ['publish', '--tag', distTag];
85
86 await run('npm', npmPublishArgs, isDryRun, isDryRun, { cwd: srcCliDir });
87
88 console.log(
89 `🐳 published version "${version}" of ${PACKAGE} with dist-tag "${distTag}" to npm`,
90 isDryRun ? '(dry-run)' : ''
91 );
92}
93
94async function syncBaseStarterVersionsFromQwik(config: BuildConfig) {
95 const qwikVersion = await getQwikVersion(config);

Callers 1

publishFunction · 0.90

Calls 3

runFunction · 0.90
joinFunction · 0.85
updateBaseVersionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…