@tearleads/windowing 0.2.8 → 0.2.10
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
CHANGED
|
@@ -254,7 +254,8 @@ Merging to `main` publishes. When `packages/windowing` changes there,
|
|
|
254
254
|
`.github/workflows/windowing-publish.yml` publishes the version in
|
|
255
255
|
`package.json` if it is newer than npm's `latest`; a merge that leaves the
|
|
256
256
|
version alone, a re-run, or a run that finishes after a newer release succeeds
|
|
257
|
-
without publishing (`scripts/
|
|
257
|
+
without publishing (`scripts/lib/npmPublishDecision.ts` at the repository root
|
|
258
|
+
makes that call). The workflow
|
|
258
259
|
authenticates with
|
|
259
260
|
[npm trusted publishing](https://docs.npmjs.com/trusted-publishers): npm accepts
|
|
260
261
|
the job's GitHub OIDC token instead of an npm token, and attaches provenance to
|
|
@@ -268,27 +269,26 @@ owns the `@tearleads` npm scope:
|
|
|
268
269
|
|
|
269
270
|
```sh
|
|
270
271
|
npm login --registry https://registry.npmjs.org
|
|
271
|
-
bun run publish:npm:dry-run
|
|
272
|
-
bun run publish:npm
|
|
272
|
+
bun run publish:npm:dry-run windowing
|
|
273
|
+
bun run publish:npm windowing
|
|
273
274
|
```
|
|
274
275
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
runs it too.
|
|
276
|
+
Windowing has no workspace dependencies, and its React peers and Phosphor
|
|
277
|
+
dependency already exist on npm, so it publishes on its own.
|
|
278
|
+
`scripts/publishNpmPackage.sh` publishes each npm package by its directory name;
|
|
279
|
+
`bun run --cwd packages/windowing publish:npm` runs it for windowing, and the
|
|
280
|
+
workflow runs it too.
|
|
281
281
|
|
|
282
|
-
|
|
283
|
-
consumer manifest with public access to `https://registry.npmjs.org`, and
|
|
284
|
-
the directory on success or failure. A temporary `.npmrc` overrides any
|
|
282
|
+
The command rebuilds into a fresh temporary directory, publishes its generated
|
|
283
|
+
consumer manifest with public access to `https://registry.npmjs.org`, and
|
|
284
|
+
removes the directory on success or failure. A temporary `.npmrc` overrides any
|
|
285
285
|
scope-specific registry without changing your npm configuration. A dry run
|
|
286
|
-
builds and previews the same package without uploading.
|
|
287
|
-
`--tag <tag>` (default `latest`), and `--otp <code>`; for example:
|
|
286
|
+
builds and previews the same package without uploading. It accepts
|
|
287
|
+
`--dry-run`, `--tag <tag>` (default `latest`), and `--otp <code>`; for example:
|
|
288
288
|
|
|
289
289
|
```sh
|
|
290
|
-
bun run publish:npm --dry-run --tag next
|
|
291
|
-
bun run publish:npm --tag next --otp 123456
|
|
290
|
+
bun run publish:npm windowing --dry-run --tag next
|
|
291
|
+
bun run publish:npm windowing --tag next --otp 123456
|
|
292
292
|
```
|
|
293
293
|
|
|
294
294
|
Run `package:smoke` separately before a release to verify the packed package in
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tearleads/windowing",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "App-agnostic window management for React: window state, window chrome, and the menu and sidebar primitives it renders with.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useWindowActions: () => import("./types").WindowStateActions;
|
|
1
|
+
export declare const useWindowActions: () => import("./types.js").WindowStateActions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useWindowStateData: () => import("./types").WindowStateData;
|
|
1
|
+
export declare const useWindowStateData: () => import("./types.js").WindowStateData;
|