@fvc/input 3.0.2 → 3.0.3-next-d4799a7fa99a8ef4e7e8adfc3793fd349346277e
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 +176 -0
- package/package.json +5 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# @fvc/input
|
|
2
|
+
|
|
3
|
+
## 3.0.3-next-d4799a7fa99a8ef4e7e8adfc3793fd349346277e
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 51a1a4c: Include `CHANGELOG.md` inside every published `@fvc/*` tarball.
|
|
8
|
+
|
|
9
|
+
Until this patch, `packages/<pkg>/package.json#files` only declared
|
|
10
|
+
`dist/lib/index.js`, `dist/lib/<pkg>`, and `package.json`, which
|
|
11
|
+
meant `npm pack` skipped the package's `CHANGELOG.md` even though
|
|
12
|
+
it is generated by Changesets at release time and lives at the
|
|
13
|
+
package root. Consumers had no way to read the changelog after
|
|
14
|
+
installing the package — they had to visit GitLab.
|
|
15
|
+
|
|
16
|
+
This patch adds `"CHANGELOG.md"` to every publishable package's
|
|
17
|
+
`files` array, including the scaffolder template
|
|
18
|
+
(`codegen/templates/component/package.json.hbs`) so new packages
|
|
19
|
+
inherit the setting from day one. After this ships, running
|
|
20
|
+
`npm view @fvc/<pkg>@<latest>` returns a tarball whose manifest
|
|
21
|
+
includes `CHANGELOG.md`, and `cat node_modules/@fvc/<pkg>/CHANGELOG.md`
|
|
22
|
+
on the consumer side returns the changelog content directly.
|
|
23
|
+
|
|
24
|
+
No component source changes. This is metadata-only, but it is a
|
|
25
|
+
patch bump on every package because the published-tarball contents
|
|
26
|
+
change — a deliberately conservative semver choice for a release
|
|
27
|
+
that materially affects what consumers receive on `npm install`.
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [51a1a4c]
|
|
30
|
+
- @fvc/icons@1.1.5-next-d4799a7fa99a8ef4e7e8adfc3793fd349346277e
|
|
31
|
+
- @fvc/utils@3.0.3-next-d4799a7fa99a8ef4e7e8adfc3793fd349346277e
|
|
32
|
+
|
|
33
|
+
## 3.0.2
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- c0cdba7: Add Readme file and keywords
|
|
38
|
+
- Updated dependencies [e601138]
|
|
39
|
+
- Updated dependencies [cd80d11]
|
|
40
|
+
- Updated dependencies [528bebc]
|
|
41
|
+
- @fvc/utils@3.0.2
|
|
42
|
+
- @fvc/icons@1.1.4
|
|
43
|
+
|
|
44
|
+
## 3.0.2-rc.0
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- c0cdba7: Add Readme file and keywords
|
|
49
|
+
- Updated dependencies [cd80d11]
|
|
50
|
+
- Updated dependencies [528bebc]
|
|
51
|
+
- @fvc/utils@3.0.2-rc.0
|
|
52
|
+
- @fvc/icons@1.1.4-rc.0
|
|
53
|
+
|
|
54
|
+
## 3.0.1
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- f176af2: Clean up stale pre-release suffix from @fvc/\* peer dependency ranges
|
|
59
|
+
|
|
60
|
+
The v3.0.0 release shipped to npm with peer dependency ranges still
|
|
61
|
+
carrying the `-rc.0` pre-release suffix from the release branch's
|
|
62
|
+
pre-mode bump. Concretely, `@fvc/card@3.0.0`'s manifest on npm
|
|
63
|
+
@latest declared:
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@fvc/utils": "^3.0.0-rc.0",
|
|
68
|
+
"@fvc/typography": "^3.0.0-rc.0"
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Root cause is the interaction between Changesets' exit-mode behaviour
|
|
73
|
+
and the `onlyUpdatePeerDependentsWhenOutOfRange` experimental flag,
|
|
74
|
+
which we had set to `true`. Inside `@changesets/apply-release-plan`'s
|
|
75
|
+
`shouldUpdateDependencyBasedOnConfig`:
|
|
76
|
+
|
|
77
|
+
```js
|
|
78
|
+
if (!semverSatisfies(release.version, depVersionRange)) {
|
|
79
|
+
// out of range → always update
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
if (depType === 'peerDependencies') {
|
|
83
|
+
shouldUpdate = !onlyUpdatePeerDependentsWhenOutOfRange;
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
In exit mode `utils` goes from `3.0.0-rc.0` to `3.0.0`. The
|
|
88
|
+
peer-range `^3.0.0-rc.0` still semver-satisfies `3.0.0` (rc.0 sorts
|
|
89
|
+
before stable per semver), so the `out-of-range` branch is skipped.
|
|
90
|
+
With the flag set to `true`, `shouldUpdate` collapses to `false`
|
|
91
|
+
and peer ranges are intentionally left untouched. The package then
|
|
92
|
+
ships to @latest with a stale pre-release range.
|
|
93
|
+
|
|
94
|
+
This is not a Changesets bug — the library is correctly honouring
|
|
95
|
+
its configured behaviour — but the combination is wrong for our
|
|
96
|
+
monorepo's lifecycle. This patch:
|
|
97
|
+
1. Removes the `___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH`
|
|
98
|
+
block from `.changeset/config.json`, restoring Changesets' default
|
|
99
|
+
behaviour of updating internal peer-dep ranges on every bump of
|
|
100
|
+
the peer package. This eliminates the stale-suffix path
|
|
101
|
+
permanently: every future release of `@fvc/utils` (or any other
|
|
102
|
+
internal peer) will refresh its dependents' peer ranges
|
|
103
|
+
deterministically.
|
|
104
|
+
2. Patch-bumps every package whose peer-deps need to be refreshed
|
|
105
|
+
on `@latest`: `utils` (driver of the cascade), plus `card`,
|
|
106
|
+
`input`, `provider`, and `typography` (the four packages whose
|
|
107
|
+
on-disk peer ranges still carry the `-rc.0` suffix from the
|
|
108
|
+
v3.0.0 cycle). When `prepare:latest` runs `bunx changeset
|
|
109
|
+
version` against this changeset under the new config, the
|
|
110
|
+
pre-release suffix is rewritten away as part of the normal
|
|
111
|
+
peer-range update path.
|
|
112
|
+
|
|
113
|
+
Trade-off accepted: every future bump of an internal peer (utils
|
|
114
|
+
in particular) will trigger a peer-range refresh in its dependents.
|
|
115
|
+
At our current scale (~5 internal-peer relationships) this is a
|
|
116
|
+
non-issue and produces tighter peer pinning, which is desirable for
|
|
117
|
+
a controlled monorepo. The alternative — a custom CI sanitiser
|
|
118
|
+
script — would have been a permanent workaround for a config we
|
|
119
|
+
were never supposed to set in the first place.
|
|
120
|
+
|
|
121
|
+
No source code in any package changes.
|
|
122
|
+
|
|
123
|
+
- Updated dependencies [f176af2]
|
|
124
|
+
- @fvc/utils@3.0.1
|
|
125
|
+
|
|
126
|
+
## 3.0.0
|
|
127
|
+
|
|
128
|
+
## 3.0.0-rc.0
|
|
129
|
+
|
|
130
|
+
### Patch Changes
|
|
131
|
+
|
|
132
|
+
- Updated dependencies [f3dcc20]
|
|
133
|
+
- @fvc/utils@3.0.0-rc.0
|
|
134
|
+
|
|
135
|
+
## 2.0.1
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- b2d9ee6: fix(peer): drop the `-rc.0` suffix from `@fvc/*` peer dependency ranges
|
|
140
|
+
|
|
141
|
+
After release/2.0.0 was finalised, the `release:exit` step did not
|
|
142
|
+
strip the pre-release suffix from peer dependency ranges in five
|
|
143
|
+
packages. The published manifests on `@latest` therefore announced
|
|
144
|
+
that they accept pre-release versions of their internal peers (for
|
|
145
|
+
example `@fvc/utils@^2.0.0-rc.0`) when the intent was the stable
|
|
146
|
+
range (`^2.0.0`). This patch restores the stable ranges.
|
|
147
|
+
|
|
148
|
+
Ranges corrected on this release:
|
|
149
|
+
- `@fvc/card` peer `@fvc/typography`: `^2.0.0-rc.0` → `^2.0.0`
|
|
150
|
+
- `@fvc/card` peer `@fvc/utils`: `^2.0.0-rc.0` → `^2.0.0`
|
|
151
|
+
- `@fvc/input` peer `@fvc/utils`: `^2.0.0-rc.0` → `^2.0.0`
|
|
152
|
+
- `@fvc/provider` peer `@fvc/utils`: `^2.0.0-rc.0` → `^2.0.0`
|
|
153
|
+
- `@fvc/typography` peer `@fvc/utils`: `^2.0.0-rc.0` → `^2.0.0`
|
|
154
|
+
- `@fvc/richtext` peer `@fvc/button`: `^1.2.5-rc.0` → `^1.2.5`
|
|
155
|
+
|
|
156
|
+
No code change is shipped with this patch. Consumers already
|
|
157
|
+
running stable versions of the affected peers (`@fvc/utils@2.0.0`,
|
|
158
|
+
`@fvc/typography@2.0.0`, `@fvc/button@1.2.5`) were not seeing a
|
|
159
|
+
runtime break — the pre-release range still semantically satisfies
|
|
160
|
+
the stable peer — but the manifest was misleading and could trip
|
|
161
|
+
dependency analysers, registry tooling, and stricter package
|
|
162
|
+
managers.
|
|
163
|
+
|
|
164
|
+
A follow-up CI change will harden `release:exit` so the suffix is
|
|
165
|
+
guaranteed to be stripped on every future release.
|
|
166
|
+
|
|
167
|
+
## 2.0.0
|
|
168
|
+
|
|
169
|
+
## 2.0.0-rc.0
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- Updated dependencies [45936ec]
|
|
174
|
+
- Updated dependencies [e0a3c27]
|
|
175
|
+
- Updated dependencies [0d71f57]
|
|
176
|
+
- @fvc/utils@2.0.0-rc.0
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fvc/input",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3-next-d4799a7fa99a8ef4e7e8adfc3793fd349346277e",
|
|
4
4
|
"main": "./dist/lib/index.js",
|
|
5
5
|
"types": "./dist/lib/input/src/index.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/lib/index.js",
|
|
8
8
|
"dist/lib/input",
|
|
9
|
-
"package.json"
|
|
9
|
+
"package.json",
|
|
10
|
+
"CHANGELOG.md"
|
|
10
11
|
],
|
|
11
12
|
"exports": {
|
|
12
13
|
".": {
|
|
@@ -27,8 +28,8 @@
|
|
|
27
28
|
"test": "bun test --preload ../../tests/happydom.ts --preload ../../tests/testing-library.tsx"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
|
-
"@fvc/icons": "
|
|
31
|
-
"@fvc/utils": "
|
|
31
|
+
"@fvc/icons": "1.1.5-next-d4799a7fa99a8ef4e7e8adfc3793fd349346277e",
|
|
32
|
+
"@fvc/utils": "3.0.3-next-d4799a7fa99a8ef4e7e8adfc3793fd349346277e",
|
|
32
33
|
"react": "^18.0.0",
|
|
33
34
|
"antd": "^5.0.0",
|
|
34
35
|
"antd-mask-input": "^2.0.7"
|