@mxpicture/build-api 0.3.16 → 0.3.17

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.
@@ -40,7 +40,7 @@ export declare class NpmPublisher {
40
40
  *
41
41
  * @returns A promise that resolves when all publish attempts have settled.
42
42
  */
43
- run(): Promise<void>;
44
- protected runPackage(pkg: Pkg): Promise<void>;
43
+ run(token?: string): Promise<void>;
44
+ protected runPackage(pkg: Pkg, token?: string): Promise<void>;
45
45
  }
46
46
  //# sourceMappingURL=NpmPublisher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NpmPublisher.d.ts","sourceRoot":"","sources":["../../src/npmPublish/NpmPublisher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAGzC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,GAAU,QAAQ,kBAAkB,kBAG/D,CAAC;AAEF;;;;;;;;GAQG;AACH,qBAAa,YAAY;aAEY,MAAM,EAAE,MAAM;IADjD,mDAAmD;gBAChB,MAAM,GAAE,MAAc;IAEzD;;;;;;;;;OASG;IACU,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;cAiBjB,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAoCpD"}
1
+ {"version":3,"file":"NpmPublisher.d.ts","sourceRoot":"","sources":["../../src/npmPublish/NpmPublisher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAGzC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,GAAU,QAAQ,kBAAkB,kBAG/D,CAAC;AAEF;;;;;;;;GAQG;AACH,qBAAa,YAAY;aAEY,MAAM,EAAE,MAAM;IADjD,mDAAmD;gBAChB,MAAM,GAAE,MAAc;IAEzD;;;;;;;;;OASG;IACU,GAAG,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;cAiB/B,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAsCpE"}
@@ -46,9 +46,9 @@ export class NpmPublisher {
46
46
  *
47
47
  * @returns A promise that resolves when all publish attempts have settled.
48
48
  */
49
- async run() {
49
+ async run(token) {
50
50
  const pkgs = (await workspace().read()).packages;
51
- const results = await Promise.allSettled(pkgs.map((d) => this.runPackage(d)));
51
+ const results = await Promise.allSettled(pkgs.map((d) => this.runPackage(d, token)));
52
52
  const failures = results.filter((r) => r.status === "rejected");
53
53
  if (failures.length > 0) {
54
54
  logError(`\nāŒ ${failures.length} package(s) failed to publish:`);
@@ -58,14 +58,15 @@ export class NpmPublisher {
58
58
  process.exit(1);
59
59
  }
60
60
  }
61
- async runPackage(pkg) {
61
+ async runPackage(pkg, token) {
62
62
  if (pkg.content.private)
63
63
  return;
64
64
  const { name, version } = pkg.content;
65
65
  logInfo(`šŸ“¦ Publishing ${name}@${version} ... (${new Date().toISOString()})`);
66
+ const setToken = token ? `NPM_TOKEN=${token} && ` : "";
66
67
  // Check if this exact version is already published
67
68
  try {
68
- const { stdout } = await execAsync(`${this.npmCli} view ${name}@${version} version`);
69
+ const { stdout } = await execAsync(`${setToken}${this.npmCli} view ${name}@${version} version`);
69
70
  const published = stdout.trim();
70
71
  if (published === version) {
71
72
  logInfo(`ā­ļø ${name}@${version} already published, skipping.`);
@@ -76,7 +77,7 @@ export class NpmPublisher {
76
77
  // npm view exits non-zero if the package/version doesn't exist — means we should publish
77
78
  }
78
79
  try {
79
- await execAsync(`${this.npmCli} publish --access public`, {
80
+ await execAsync(`${setToken}${this.npmCli} publish --access public`, {
80
81
  cwd: pkg.dirPath,
81
82
  });
82
83
  logSuccess(`āœ… ${name}@${version} published successfully (${new Date().toISOString()}).`);
@@ -1 +1 @@
1
- {"version":3,"file":"NpmPublisher.js","sourceRoot":"","sources":["../../src/npmPublish/NpmPublisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAErE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,EAAE,MAA0B,EAAE,EAAE;IAClE,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC/B,OAAO,IAAI,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC;AAC7E,CAAC,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,OAAO,YAAY;IAEY;IADnC,mDAAmD;IACnD,YAAmC,SAAiB,KAAK;QAAtB,WAAM,GAAN,MAAM,CAAgB;IAAG,CAAC;IAE7D;;;;;;;;;OASG;IACI,KAAK,CAAC,GAAG;QACd,MAAM,IAAI,GAAG,CAAC,MAAM,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;QAEjD,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,UAAU,CACtC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CACpC,CAAC;QAEF,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC;QAChE,IAAI,QAAQ,CAAC,MAAM,GAAG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AAM,YAAY,GAAG,qBAAqB,IAAI,IAAI,OAAO,KAAK,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,GAAG,CAAC;YAC1F,QAAQ,CAAC,KAAK,YAAY,EAAE,CAAC,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;CACF","sourcesContent":["import { logError, logInfo, logSuccess } from \"../logger/Logger.js\";\nimport { execAsync } from \"../common/common.fs.js\";\nimport type { NpmPublisherParams } from \"../types/types.npm.js\";\nimport type { Pkg } from \"../pkg/Pkg.js\";\nimport { initWorkspace, workspace } from \"../workspace/Workspace.js\";\n\n/**\n * Publishes all non-private workspace packages to the npm registry.\n *\n * @remarks\n * Initialises the workspace from the given repository root, then delegates\n * to {@link NpmPublisher.run} which publishes every public package in\n * parallel. Already-published versions are automatically skipped.\n *\n * @param params - Publisher parameters containing the repository root path.\n * @returns A promise that resolves when all packages have been processed.\n *\n * @example\n * ```ts\n * await runNpmPublisher({ repoRoot: \"/path/to/repo\" });\n * ```\n */\nexport const runNpmPublisher = async (params: NpmPublisherParams) => {\n initWorkspace(params.repoRoot);\n return new NpmPublisher(params.useCorepack ? \"corepack npm\" : \"npm\").run();\n};\n\n/**\n * Publishes workspace packages to the npm registry.\n *\n * @remarks\n * Reads every package from the current workspace, attempts to publish each\n * non-private package in parallel via `npm publish --access public`, and\n * exits the process with code 1 if any publication fails. Packages whose\n * exact version is already on the registry are silently skipped.\n */\nexport class NpmPublisher {\n /** Creates a new {@link NpmPublisher} instance. */\n public constructor(public readonly npmCli: string = \"npm\") {}\n\n /**\n * Publishes all non-private workspace packages.\n *\n * @remarks\n * Each package is published concurrently using `Promise.allSettled`.\n * If one or more packages fail, the errors are logged and the process\n * exits with code 1.\n *\n * @returns A promise that resolves when all publish attempts have settled.\n */\n public async run(): Promise<void> {\n const pkgs = (await workspace().read()).packages;\n\n const results = await Promise.allSettled(\n pkgs.map((d) => this.runPackage(d)),\n );\n\n const failures = results.filter((r) => r.status === \"rejected\");\n if (failures.length > 0) {\n logError(`\\nāŒ ${failures.length} package(s) failed to publish:`);\n failures.forEach((failure) => {\n logError(failure.reason);\n });\n process.exit(1);\n }\n }\n\n protected async runPackage(pkg: Pkg): Promise<void> {\n if (pkg.content.private) return;\n const { name, version } = pkg.content;\n\n logInfo(\n `šŸ“¦ Publishing ${name}@${version} ... (${new Date().toISOString()})`,\n );\n\n // Check if this exact version is already published\n try {\n const { stdout } = await execAsync(\n `${this.npmCli} view ${name}@${version} version`,\n );\n const published = stdout.trim();\n\n if (published === version) {\n logInfo(`ā­ļø ${name}@${version} already published, skipping.`);\n return;\n }\n } catch {\n // npm view exits non-zero if the package/version doesn't exist — means we should publish\n }\n\n try {\n await execAsync(`${this.npmCli} publish --access public`, {\n cwd: pkg.dirPath,\n });\n logSuccess(\n `āœ… ${name}@${version} published successfully (${new Date().toISOString()}).`,\n );\n } catch (err) {\n const errorMessage = `Failed to publish ${name}@${version} (${new Date().toISOString()})`;\n logError(`āŒ ${errorMessage}`);\n throw new Error(errorMessage, { cause: err });\n }\n }\n}\n"]}
1
+ {"version":3,"file":"NpmPublisher.js","sourceRoot":"","sources":["../../src/npmPublish/NpmPublisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAErE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,EAAE,MAA0B,EAAE,EAAE;IAClE,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC/B,OAAO,IAAI,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CA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ACrE,CAAC;QAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,aAAa,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;QAEvD,mDAAmD;QACnD,IAAI,CAAC;YACH,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,CAChC,GAAG,QAAQ,GAAG,IAAI,CAAC,MAAM,SAAS,IAAI,IAAI,OAAO,UAAU,CAC5D,CAAC;YACF,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;YAEhC,IAAI,SAAS,KAAK,OAAO,EAAE,CAAC;gBAC1B,OAAO,CAAC,OAAO,IAAI,IAAI,OAAO,+BAA+B,CAAC,CAAC;gBAC/D,OAAO;YACT,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,yFAAyF;QAC3F,CAAC;QAED,IAAI,CAAC;YACH,MAAM,SAAS,CAAC,GAAG,QAAQ,GAAG,IAAI,CAAC,MAAM,0BAA0B,EAAE;gBACnE,GAAG,EAAE,GAAG,CAAC,OAAO;aACjB,CAAC,CAAC;YACH,UAAU,CACR,KAAK,IAAI,IAAI,OAAO,4BAA4B,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,IAAI,CAC7E,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,YAAY,GAAG,qBAAqB,IAAI,IAAI,OAAO,KAAK,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,GAAG,CAAC;YAC1F,QAAQ,CAAC,KAAK,YAAY,EAAE,CAAC,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;CACF","sourcesContent":["import { logError, logInfo, logSuccess } from \"../logger/Logger.js\";\nimport { execAsync } from \"../common/common.fs.js\";\nimport type { NpmPublisherParams } from \"../types/types.npm.js\";\nimport type { Pkg } from \"../pkg/Pkg.js\";\nimport { initWorkspace, workspace } from \"../workspace/Workspace.js\";\n\n/**\n * Publishes all non-private workspace packages to the npm registry.\n *\n * @remarks\n * Initialises the workspace from the given repository root, then delegates\n * to {@link NpmPublisher.run} which publishes every public package in\n * parallel. Already-published versions are automatically skipped.\n *\n * @param params - Publisher parameters containing the repository root path.\n * @returns A promise that resolves when all packages have been processed.\n *\n * @example\n * ```ts\n * await runNpmPublisher({ repoRoot: \"/path/to/repo\" });\n * ```\n */\nexport const runNpmPublisher = async (params: NpmPublisherParams) => {\n initWorkspace(params.repoRoot);\n return new NpmPublisher(params.useCorepack ? \"corepack npm\" : \"npm\").run();\n};\n\n/**\n * Publishes workspace packages to the npm registry.\n *\n * @remarks\n * Reads every package from the current workspace, attempts to publish each\n * non-private package in parallel via `npm publish --access public`, and\n * exits the process with code 1 if any publication fails. Packages whose\n * exact version is already on the registry are silently skipped.\n */\nexport class NpmPublisher {\n /** Creates a new {@link NpmPublisher} instance. */\n public constructor(public readonly npmCli: string = \"npm\") {}\n\n /**\n * Publishes all non-private workspace packages.\n *\n * @remarks\n * Each package is published concurrently using `Promise.allSettled`.\n * If one or more packages fail, the errors are logged and the process\n * exits with code 1.\n *\n * @returns A promise that resolves when all publish attempts have settled.\n */\n public async run(token?: string): Promise<void> {\n const pkgs = (await workspace().read()).packages;\n\n const results = await Promise.allSettled(\n pkgs.map((d) => this.runPackage(d, token)),\n );\n\n const failures = results.filter((r) => r.status === \"rejected\");\n if (failures.length > 0) {\n logError(`\\nāŒ ${failures.length} package(s) failed to publish:`);\n failures.forEach((failure) => {\n logError(failure.reason);\n });\n process.exit(1);\n }\n }\n\n protected async runPackage(pkg: Pkg, token?: string): Promise<void> {\n if (pkg.content.private) return;\n const { name, version } = pkg.content;\n\n logInfo(\n `šŸ“¦ Publishing ${name}@${version} ... (${new Date().toISOString()})`,\n );\n\n const setToken = token ? `NPM_TOKEN=${token} && ` : \"\";\n\n // Check if this exact version is already published\n try {\n const { stdout } = await execAsync(\n `${setToken}${this.npmCli} view ${name}@${version} version`,\n );\n const published = stdout.trim();\n\n if (published === version) {\n logInfo(`ā­ļø ${name}@${version} already published, skipping.`);\n return;\n }\n } catch {\n // npm view exits non-zero if the package/version doesn't exist — means we should publish\n }\n\n try {\n await execAsync(`${setToken}${this.npmCli} publish --access public`, {\n cwd: pkg.dirPath,\n });\n logSuccess(\n `āœ… ${name}@${version} published successfully (${new Date().toISOString()}).`,\n );\n } catch (err) {\n const errorMessage = `Failed to publish ${name}@${version} (${new Date().toISOString()})`;\n logError(`āŒ ${errorMessage}`);\n throw new Error(errorMessage, { cause: err });\n }\n }\n}\n"]}
@@ -8,5 +8,6 @@ import type { RunRepoRootParams } from "./types.run.js";
8
8
  */
9
9
  export interface NpmPublisherParams extends RunRepoRootParams {
10
10
  useCorepack?: boolean;
11
+ token?: string;
11
12
  }
12
13
  //# sourceMappingURL=types.npm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.npm.d.ts","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"types.npm.d.ts","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.npm.js","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"","sourcesContent":["import type { RunRepoRootParams } from \"./types.run.js\";\n\n/**\n * Parameters for the npm package publisher.\n *\n * @remarks\n * Currently an alias for {@link RunRepoRootParams}; extend this type\n * to add publisher-specific options in the future.\n */\nexport interface NpmPublisherParams extends RunRepoRootParams {\n useCorepack?: boolean;\n}\n"]}
1
+ {"version":3,"file":"types.npm.js","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"","sourcesContent":["import type { RunRepoRootParams } from \"./types.run.js\";\n\n/**\n * Parameters for the npm package publisher.\n *\n * @remarks\n * Currently an alias for {@link RunRepoRootParams}; extend this type\n * to add publisher-specific options in the future.\n */\nexport interface NpmPublisherParams extends RunRepoRootParams {\n useCorepack?: boolean;\n token?: string;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxpicture/build-api",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "description": "Build utilities API",
5
5
  "type": "module",
6
6
  "author": "MXPicture",