@absolutejs/changelog 0.8.1 → 0.9.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.
- package/CHANGELOG.md +14 -0
- package/changelog.json +30 -0
- package/dist/applyMethods.d.ts +15 -0
- package/dist/cli.js +35 -1
- package/dist/cli.js.map +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +65 -21
- package/dist/index.js.map +7 -7
- package/dist/types.d.ts +22 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -114,10 +114,32 @@ type Exported<TApi> = TApi extends object ? Extract<keyof TApi, string> : string
|
|
|
114
114
|
/** Autocompleted, not restricted: an entry may name an export that has just
|
|
115
115
|
* stopped being one. */
|
|
116
116
|
type Suggested<TApi> = Exported<TApi> | (string & {});
|
|
117
|
+
/**
|
|
118
|
+
* What a change is about in a project's code, when importing the package is
|
|
119
|
+
* not the answer. Every project imports `prepare`; a change to Elysia's
|
|
120
|
+
* `setup` hook reaches only the ones that call `.setup()`, and a change to
|
|
121
|
+
* HTMX pages only the ones that have them.
|
|
122
|
+
*/
|
|
123
|
+
export type Reach = {
|
|
124
|
+
/** Calls to these methods on an instance of the owner. */
|
|
125
|
+
readonly calls?: {
|
|
126
|
+
readonly methods: NonEmpty<string>;
|
|
127
|
+
readonly owner: {
|
|
128
|
+
readonly export: string;
|
|
129
|
+
readonly module: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
/** Files in the project matching any of these globs (`**\/htmx/pages/*`). */
|
|
133
|
+
readonly files?: NonEmpty<string>;
|
|
134
|
+
};
|
|
117
135
|
type ChangeBase = {
|
|
118
136
|
/** One line, imperative, in the reader's terms rather than the
|
|
119
137
|
* implementation's. */
|
|
120
138
|
readonly summary: string;
|
|
139
|
+
/** Where in a project this change matters, when the symbols it names are
|
|
140
|
+
* imported by everybody. Without it, a project is reached by importing
|
|
141
|
+
* them. */
|
|
142
|
+
readonly reaches?: Reach;
|
|
121
143
|
/** The why, when the summary cannot carry it. */
|
|
122
144
|
readonly detail?: string;
|
|
123
145
|
/** Where the discussion is. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@absolutejs/changelog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "The changelog contract for the AbsoluteJS packages. Changes are written as typed entries the compiler checks, the release gate reconciles them against the package's own published types so a change nobody wrote down cannot ship, and migrations are data rather than prose so an upgrade can be applied instead of read.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|