pubm 0.0.3 → 0.0.4-0

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.
package/bin/cli.js CHANGED
@@ -4687,6 +4687,7 @@ var Git = class {
4687
4687
  // src/options.ts
4688
4688
  var defaultOptions = {
4689
4689
  testScript: "test",
4690
+ buildScript: "build",
4690
4691
  branch: "main",
4691
4692
  tag: "latest",
4692
4693
  registries: ["npm", "jsr"]
package/dist/index.cjs CHANGED
@@ -1939,6 +1939,7 @@ module.exports = __toCommonJS(src_exports);
1939
1939
  // src/options.ts
1940
1940
  var defaultOptions = {
1941
1941
  testScript: "test",
1942
+ buildScript: "build",
1942
1943
  branch: "main",
1943
1944
  tag: "latest",
1944
1945
  registries: ["npm", "jsr"]
package/dist/index.d.cts CHANGED
@@ -85,6 +85,16 @@ interface Options {
85
85
  registries?: RegistryType[];
86
86
  }
87
87
 
88
+ /**
89
+ * Runs the `pubm` function with the provided options.
90
+ *
91
+ * This function executes the publish process using the specified options.
92
+ * The `version` field in the `options` parameter is required for the function
93
+ * to run correctly.
94
+ *
95
+ * @async
96
+ * @function
97
+ */
88
98
  declare function pubm(options: Options): Promise<void>;
89
99
 
90
- export { pubm };
100
+ export { type Options, pubm };
package/dist/index.d.ts CHANGED
@@ -85,6 +85,16 @@ interface Options {
85
85
  registries?: RegistryType[];
86
86
  }
87
87
 
88
+ /**
89
+ * Runs the `pubm` function with the provided options.
90
+ *
91
+ * This function executes the publish process using the specified options.
92
+ * The `version` field in the `options` parameter is required for the function
93
+ * to run correctly.
94
+ *
95
+ * @async
96
+ * @function
97
+ */
88
98
  declare function pubm(options: Options): Promise<void>;
89
99
 
90
- export { pubm };
100
+ export { type Options, pubm };
package/dist/index.js CHANGED
@@ -1930,6 +1930,7 @@ var init_cli_truncate = __esm({
1930
1930
  // src/options.ts
1931
1931
  var defaultOptions = {
1932
1932
  testScript: "test",
1933
+ buildScript: "build",
1933
1934
  branch: "main",
1934
1935
  tag: "latest",
1935
1936
  registries: ["npm", "jsr"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pubm",
3
- "version": "0.0.3",
3
+ "version": "0.0.4-0",
4
4
  "engines": {
5
5
  "node": ">=18",
6
6
  "git": ">=2.11.0"