@lokalise/projects-engine-contracts 17.6.0 → 17.6.2

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 +3 -9
  2. package/package.json +3 -5
package/README.md CHANGED
@@ -22,16 +22,10 @@ The project collection is cursor-paginated: `getProjectsContract` responds with
22
22
 
23
23
  ## Publishing
24
24
 
25
- This package is published to NPM automatically when a PR that modifies `packages/**` is merged to `main`. The version bump is driven by the PR label:
25
+ This package is released with [changesets](https://github.com/changesets/changesets):
26
26
 
27
- | Label | Effect |
28
- |----------------|-----------------------------------|
29
- | `major` | Bumps major version and publishes |
30
- | `minor` | Bumps minor version and publishes |
31
- | `patch` | Bumps patch version and publishes |
32
- | `skip-release` | Skips publishing entirely |
33
-
34
- Every PR touching this package **must** carry exactly one of these labels (enforced by CI).
27
+ - A PR that changes this package needs a changeset: run `pnpm changeset` at the repository root, pick the bump and write a one-line summary for consumers. A change that must not release takes `pnpm changeset --empty`. The `changeset-check` CI job fails a PR without one; PRs labelled `skip-release` skip it.
28
+ - After merge, `.github/workflows/release.packages.yml` opens a "Release Packages" PR that bumps the version and updates this package's `CHANGELOG.md`, merges it, and publishes the package to npm.
35
29
 
36
30
  ## Peer dependencies
37
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/projects-engine-contracts",
3
- "version": "17.6.0",
3
+ "version": "17.6.2",
4
4
  "description": "API contracts and shared schemas for the Projects Engine service",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "@lokalise/biome-config": "^4.0.0",
44
44
  "@lokalise/id-utils": "^3.0.1",
45
45
  "@lokalise/tsconfig": "^5.0.0",
46
- "@types/node": "^26.6.5",
46
+ "@types/node": "^26.6.6",
47
47
  "@vitest/coverage-v8": "^5.0.5",
48
48
  "rimraf": "^6.1.3",
49
49
  "typescript": "^7.0.2",
@@ -57,8 +57,6 @@
57
57
  "test:coverage": "vitest --coverage",
58
58
  "test:ci": "node --run lint && node --run test:coverage",
59
59
  "lint": "biome check . && tsc",
60
- "lint:fix": "biome check --write",
61
- "postversion": "biome check --write package.json",
62
- "package-version": "pnpm list --filter . --depth -1 --json | jq -r '.[0].version'"
60
+ "lint:fix": "biome check --write"
63
61
  }
64
62
  }