@omni-oss/set-version 0.0.2 → 0.1.1
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
|
|
3
3
|
|
|
4
4
|
- - -
|
|
5
|
+
## @omni-oss/set-version-v0.1.1 - 2026-02-07
|
|
6
|
+
#### Bug Fixes
|
|
7
|
+
- (**@omni-oss/set-version**) dist file names - (b6e453e) - Clarence Manuel
|
|
8
|
+
- declaration types output path - (ce90fa6) - Clarence Manuel
|
|
9
|
+
#### Miscellaneous Chores
|
|
10
|
+
- (**@omni-oss/set-version**) update cli dist name - (42df374) - Clarence Manuel
|
|
11
|
+
- (**@omni-oss/set-version**) update project dependencies [skip ci] - (51bd839) - Clarence Manuel
|
|
12
|
+
- use ^ for workspace package version [skip ci] - (89ba03b) - Clarence Manuel
|
|
13
|
+
- add dependencies to project.omni.yaml [skip ci] - (de71dd7) - Clarence Manuel
|
|
14
|
+
- add .npmignores [skip ci] - (14af7b3) - Clarence Manuel
|
|
15
|
+
- add publishConfig to existing packages [skip ci] - (5a48ec0) - Clarence Manuel
|
|
16
|
+
- update npm packages [skip ci] - (8fba262) - Clarence Manuel
|
|
17
|
+
|
|
18
|
+
- - -
|
|
19
|
+
|
|
5
20
|
## @omni-oss/set-version-v0.1.0 - 2026-01-31
|
|
6
21
|
#### Features
|
|
7
22
|
- (**@omni-oss/set-version**) improve error handling - (3f8a9fb) - Clarence Manuel
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
"use strict";const d=require("@commander-js/extra-typings"),i=require("./index-BCvo12D0.js"),f="@omni-oss/set-version",g="Sets version of various package manifests",h="0.
|
|
2
|
+
"use strict";const d=require("@commander-js/extra-typings"),i=require("./index-BCvo12D0.js"),f="@omni-oss/set-version",g="Sets version of various package manifests",h="0.1.1",c=new d.Command;c.name(f).version(h).description(g).argument("<version>","What version to set").option("-d, --dir <dir>","Directory to set version in",process.cwd()).option("-B, --no-built-in-profiles","Do not use built-in profiles").option("--dry-run","Do not write changes to disk",!1).action(async(l,n)=>{try{n.dryRun&&console.log("Dry run enabled, no changes will be written to disk");const o=await i.findConfig(n.dir,!1),r=n.builtInProfiles?[...i.BUILT_IN_PROFILES,...o?.profiles??[]]:o?.profiles??[];if(!r.length){console.warn("No profiles are configured, nothing to do");return}const s=await i.setVersion(n.dir,l,r,{dryRun:n.dryRun});if(s.length){const t=s.filter(e=>e.changed),a=s.filter(e=>!e.changed);console.log(`Matched ${t.length} file(s), updated ${t.length} file(s), skipped ${a.length} file(s)`);for(const e of t)console.log(` * [UPDATED]: ${e.path}`);for(const e of a)e.notChangedReasonMessage?console.log(` * [SKIPPED]: ${e.path}
|
|
3
3
|
> ${e.notChangedReasonMessage}`):console.log(` * [SKIPPED]: ${e.path}`)}else console.warn("No files updated")}catch(o){console.error(o),process.exit(1)}});c.parseAsync();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import { Command as c } from "@commander-js/extra-typings";
|
|
3
3
|
import { f as d, B as f, s as g } from "./index-DjY1h20_.mjs";
|
|
4
|
-
const h = "@omni-oss/set-version", p = "Sets version of various package manifests", u = "0.
|
|
4
|
+
const h = "@omni-oss/set-version", p = "Sets version of various package manifests", u = "0.1.1", a = new c();
|
|
5
5
|
a.name(h).version(u).description(p).argument("<version>", "What version to set").option("-d, --dir <dir>", "Directory to set version in", process.cwd()).option("-B, --no-built-in-profiles", "Do not use built-in profiles").option("--dry-run", "Do not write changes to disk", !1).action(async (l, o) => {
|
|
6
6
|
try {
|
|
7
7
|
o.dryRun && console.log(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omni-oss/set-version",
|
|
3
3
|
"description": "Sets version of various package manifests",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"bin": "./dist/set-version.mjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"picomatch": "^4.0.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@omni-oss/tsconfig": "^0.1.
|
|
34
|
+
"@omni-oss/tsconfig": "^0.1.1",
|
|
35
35
|
"@omni-oss/vite-config": "^0.1.0",
|
|
36
36
|
"@omni-oss/vitest-config": "^0.0.0",
|
|
37
37
|
"vite": "^7.3.1",
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
"@types/picomatch": "^4.0.2",
|
|
42
42
|
"typescript": "^5.9.3"
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
}
|