@brendanbank/atrium-host-bundle-utils 0.15.0 → 0.15.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.
Files changed (2) hide show
  1. package/README.md +5 -15
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -20,26 +20,16 @@ reg.registerHomeWidget({
20
20
 
21
21
  ## Installation
22
22
 
23
- The package is published on **GitHub Packages**, not the public npm
24
- registry. Add an `.npmrc` to your host project that points the
25
- `@brendanbank` scope at GitHub Packages and supplies a token with
26
- `read:packages` scope:
27
-
28
- ```
29
- # .npmrc
30
- @brendanbank:registry=https://npm.pkg.github.com
31
- //npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
32
- ```
33
-
34
- In CI, `GITHUB_TOKEN` is provided automatically by Actions; locally,
35
- generate a [classic PAT](https://github.com/settings/tokens) with
36
- `read:packages` and export it. Then:
37
-
38
23
  ```bash
39
24
  pnpm add @brendanbank/atrium-host-bundle-utils \
40
25
  @brendanbank/atrium-host-types
41
26
  ```
42
27
 
28
+ The package is published on the public npm registry. No `.npmrc`,
29
+ no auth token, no PAT. If you adopted atrium before v0.15.1 and
30
+ have an `@brendanbank:registry=https://npm.pkg.github.com` line in
31
+ your `.npmrc`, delete it — npmjs.org is the default registry.
32
+
43
33
  ## Three subpath entry-points
44
34
 
45
35
  | Import | What you get |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brendanbank/atrium-host-bundle-utils",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Runtime helpers, Vite preset, and React hooks for atrium host bundles. Wraps the dual-tree mount pattern, the host-bundle Vite library config, and the /users/me/context hook so a host's main.tsx is ~10 lines of registration calls.",
5
5
  "license": "BSD-2-Clause",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@brendanbank/atrium-host-types": "0.15.0"
28
+ "@brendanbank/atrium-host-types": "0.15.1"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@tanstack/react-query": "^5.0.0",