@congruent-stack/monorepo 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +9 -4
package/README.md CHANGED
@@ -1,7 +1,13 @@
1
1
  # congruent-api
2
2
  Typescript schema-first tooling for agnostic REST APIs.
3
3
 
4
- ### Version bump script
4
+ ### How to update version
5
+ - pnpm update:versions [patch/minor/major/x.y.z]
6
+
7
+ ### How to update version to release candidate
8
+ - pnpm update:versions [prepatch/preminor/premajor]
9
+
10
+ #### Version bump scripts (obsolete)
5
11
  - pnpm pkgs:version:bump -- [patch/minor/major/x.y.z]
6
12
  - don't forget to run the "root:version:bump" script too
7
13
  - for release candidates you can
package/package.json CHANGED
@@ -1,16 +1,21 @@
1
1
  {
2
2
  "name": "@congruent-stack/monorepo",
3
- "version": "0.2.0",
3
+ "type": "module",
4
+ "version": "0.3.0",
4
5
  "description": "Typescript schema-first tooling for agnostic REST APIs.",
5
6
  "keywords": [],
6
7
  "author": "congruent-stack",
7
8
  "license": "MIT",
8
9
  "files": [],
9
10
  "devDependencies": {
10
- "vitest": "3.2.4"
11
+ "glob": "^11.0.0",
12
+ "vitest": "3.2.4",
13
+ "execa": "^9.6.0"
11
14
  },
12
15
  "scripts": {
13
- "pkgs:version:bump": "pnpm --filter \"./packages/**\" exec pnpm version --no-git-tag-version --preid rc",
14
- "root:version:bump": "pnpm exec pnpm version --no-git-tag-version --preid rc"
16
+ "root:version:bump": "pnpm version --no-git-tag-version --preid rc",
17
+ "pkgs:version:sync": "node bin/sync-versions.js",
18
+ "pkgs:version:bump": "pnpm --filter \"./packages/**\" version --no-git-tag-version --preid rc",
19
+ "update:versions": "node bin/bump-version.js"
15
20
  }
16
21
  }