@textmode/release 0.2.0 → 0.2.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/README.md +0 -22
- package/package.json +1 -1
- package/src/lib/release-config.js +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,6 @@ Use it to release every package the same way and install the same managed Git ho
|
|
|
18
18
|
- **One package, multiple engines** - semantic-release and its plugins, commitlint, and lint-staged are implementation dependencies, not peer dependencies. Consumers install only `@textmode/release`.
|
|
19
19
|
- **Managed Git hooks** - `textmode-release hooks` installs commitlint, lint-staged, and push-guard hooks directly into Git's hooks directory, invoking the engines from the package itself.
|
|
20
20
|
- **pnpm-safe staged formatting** - The `pre-commit` hook formats staged files through an internal `format-staged` command, so it works without `textmode-lint` being exposed at the consumer root.
|
|
21
|
-
- **Stable release and hook behavior** - The release flow, commit rules, and hook behavior remain compatible with the previous `@textmode/release-config`, `@textmode/commitlint-config`, and `@textmode/tooling-scripts` packages.
|
|
22
21
|
|
|
23
22
|
## Installation
|
|
24
23
|
|
|
@@ -132,27 +131,6 @@ The shared config ships at `@textmode/release/lint-staged` (a `.cjs` config
|
|
|
132
131
|
file) and formats staged files through `textmode-release format-staged`, which
|
|
133
132
|
resolves the `textmode-lint` binary from this package's own dependency graph.
|
|
134
133
|
|
|
135
|
-
## Configuration ownership
|
|
136
|
-
|
|
137
|
-
- `@textmode/release` owns the semantic-release config, commitlint rules,
|
|
138
|
-
lint-staged config, Git hooks, and command behavior.
|
|
139
|
-
- Each consumer's `package.json` owns its package metadata, release/hook
|
|
140
|
-
delegates, its `textmodeRelease` release-mode field, and its explicit
|
|
141
|
-
`check`, `build`, and `prepack` composition.
|
|
142
|
-
|
|
143
|
-
Consumers should not declare `semantic-release`, `@commitlint/cli`,
|
|
144
|
-
`lint-staged`, or the former `@textmode/release-config`,
|
|
145
|
-
`@textmode/commitlint-config`, and `@textmode/tooling-scripts` packages.
|
|
146
|
-
|
|
147
|
-
## Deprecations
|
|
148
|
-
|
|
149
|
-
`@textmode/release` replaces the release, commitlint, and hook responsibilities
|
|
150
|
-
of `@textmode/release-config`, `@textmode/commitlint-config`, and
|
|
151
|
-
`@textmode/tooling-scripts`, which are deprecated and removed from this
|
|
152
|
-
workspace. Project-level `check` and `prepack` orchestration from the former
|
|
153
|
-
tooling scripts belongs in consumer manifests. The older packages remain
|
|
154
|
-
published on npm for projects that have not migrated yet.
|
|
155
|
-
|
|
156
134
|
## Related packages
|
|
157
135
|
|
|
158
136
|
`@textmode/lint` remains an implementation dependency because the managed
|
package/package.json
CHANGED