@rocketspark/domain-checker 1.0.13 → 1.0.14
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/CLAUDE.md +24 -1
- package/README.md +4 -1
- package/build/141.index.js +1 -1
- package/build/147.index.js +1 -1
- package/build/167.index.js +1 -1
- package/build/17.index.js +1 -1
- package/build/194.index.js +1 -1
- package/build/208.index.js +1 -1
- package/build/237.index.js +1 -1
- package/build/245.index.js +1 -1
- package/build/278.index.js +1 -1
- package/build/386.index.js +1 -1
- package/build/404.index.js +1 -1
- package/build/420.index.js +1 -1
- package/build/514.index.js +1 -1
- package/build/524.index.js +1 -1
- package/build/542.index.js +1 -1
- package/build/551.index.js +1 -1
- package/build/567.index.js +1 -1
- package/build/571.index.js +1 -1
- package/build/572.index.js +1 -1
- package/build/584.index.js +1 -1
- package/build/588.index.js +1 -1
- package/build/598.index.js +1 -1
- package/build/60.index.js +1 -1
- package/build/616.index.js +1 -1
- package/build/631.index.js +1 -1
- package/build/643.index.js +1 -1
- package/build/654.index.js +1 -1
- package/build/66.index.js +1 -1
- package/build/697.index.js +1 -1
- package/build/714.index.js +1 -1
- package/build/717.index.js +1 -1
- package/build/795.index.js +1 -1
- package/build/8.index.js +1 -1
- package/build/808.index.js +1 -1
- package/build/810.index.js +1 -1
- package/build/833.index.js +1 -1
- package/build/835.index.js +1 -1
- package/build/847.index.js +1 -1
- package/build/853.index.js +1 -1
- package/build/871.index.js +1 -1
- package/build/890.index.js +1 -1
- package/build/899.index.js +1 -1
- package/build/938.index.js +1 -1
- package/build/964.index.js +1 -1
- package/build/970.index.js +1 -1
- package/build/984.index.js +1 -1
- package/build/993.index.js +1 -1
- package/build/css/index.css +1 -1
- package/build/index.js +3 -10
- package/build/index.js.map +1 -1
- package/build/types/Components/Cart.d.ts +4 -0
- package/build/types/Components/PopupContainer.d.ts +2 -0
- package/build/types/Components/SearchAlternativeRow.d.ts +8 -2
- package/build/types/Components/SearchAlternatives.d.ts +9 -2
- package/build/types/Components/SearchFlow.test.d.ts +4 -0
- package/build/types/Helpers/Fetch.d.ts +2 -1
- package/build/types/Helpers/Fetch.test.d.ts +4 -0
- package/build/types/Helpers/sanitize.d.ts +7 -1
- package/build/types/Helpers/sanitize.test.d.ts +1 -0
- package/build/types/index.d.ts +7 -0
- package/package.json +2 -4
package/CLAUDE.md
CHANGED
|
@@ -57,4 +57,27 @@ The widget is locale-aware via `data-locale` attribute on the container element.
|
|
|
57
57
|
|
|
58
58
|
- **PR/push:** Runs `npm install` + `npm run test` (and `npm run build` on PRs)
|
|
59
59
|
- **Release:** On GitHub release publish → tests → auto-bumps patch version → builds → commits build artifacts → publishes to npm
|
|
60
|
-
-
|
|
60
|
+
- npm auth in workflows uses the org-level `NPM_READ_TOKEN` secret. If `npm install` fails in CI with a 404 on `@rocketspark/flint-ui`, the token has expired, not the package.
|
|
61
|
+
|
|
62
|
+
## Deploying to rocketspark.com (manual, NOT automated)
|
|
63
|
+
|
|
64
|
+
**Publishing to npm does not update rocketspark.com.** The live pages embed the widget with a
|
|
65
|
+
pinned version number in HTML code blocks in the CMS, e.g.
|
|
66
|
+
`https://cdn.jsdelivr.net/npm/@rocketspark/domain-checker@1.0.12/build/index.js`.
|
|
67
|
+
A new npm version is invisible to visitors until someone edits those blocks by hand.
|
|
68
|
+
|
|
69
|
+
Whenever a release, publish, deploy, or "why isn't my change live" question comes up, ALWAYS
|
|
70
|
+
tell the user these steps are still required after the Publish workflow succeeds:
|
|
71
|
+
|
|
72
|
+
1. Purge the jsDelivr cache for the `@latest` URLs at https://www.jsdelivr.com/tools/purge
|
|
73
|
+
(the `@latest` alias is cached for up to 12 hours).
|
|
74
|
+
2. Check the new version on the testing page.
|
|
75
|
+
3. In the CMS, edit the HTML code block on every domain-names page and bump the version in
|
|
76
|
+
**both** the `<script>` and `<link>` tags to the newly published version. Check each locale
|
|
77
|
+
page (NZ/AU/UK/US) separately, as they have their own blocks.
|
|
78
|
+
4. Hard refresh the page and confirm the network tab loads the new version.
|
|
79
|
+
|
|
80
|
+
To confirm what a page is actually loading:
|
|
81
|
+
```
|
|
82
|
+
curl -sL https://www.rocketspark.com/nz/domain-names/ | grep -oE 'domain-checker@[0-9.]+'
|
|
83
|
+
```
|
package/README.md
CHANGED
|
@@ -49,7 +49,10 @@ Follow the following steps to release a new version of the package
|
|
|
49
49
|
4. The package will be published to npm
|
|
50
50
|
5. Clear jsDelivr cache (see below)
|
|
51
51
|
6. Check it out on the testing page
|
|
52
|
-
7. Update the
|
|
52
|
+
7. **Update the HTML code blocks on rocketspark.com to use the new version.** This is a manual step and is
|
|
53
|
+
easy to miss: the live pages pin a specific version (e.g. `@1.0.12`) in both the `<script>` and `<link>`
|
|
54
|
+
tags, so publishing to npm alone changes nothing for visitors. Edit the block on each locale's
|
|
55
|
+
domain-names page (NZ/AU/UK/US) and bump the version number in both tags.
|
|
53
56
|
|
|
54
57
|
### Clearing jsDelivr cache
|
|
55
58
|
To clear the jsDelivr cache, go to https://www.jsdelivr.com/tools/purge and enter the following URLs:
|
package/build/141.index.js
CHANGED
package/build/147.index.js
CHANGED
package/build/167.index.js
CHANGED
package/build/17.index.js
CHANGED
package/build/194.index.js
CHANGED
package/build/208.index.js
CHANGED
package/build/237.index.js
CHANGED
package/build/245.index.js
CHANGED
package/build/278.index.js
CHANGED
package/build/386.index.js
CHANGED
package/build/404.index.js
CHANGED
package/build/420.index.js
CHANGED
package/build/514.index.js
CHANGED
package/build/524.index.js
CHANGED
package/build/542.index.js
CHANGED
package/build/551.index.js
CHANGED
package/build/567.index.js
CHANGED
package/build/571.index.js
CHANGED
package/build/572.index.js
CHANGED
package/build/584.index.js
CHANGED
package/build/588.index.js
CHANGED
package/build/598.index.js
CHANGED
package/build/60.index.js
CHANGED
package/build/616.index.js
CHANGED
package/build/631.index.js
CHANGED
package/build/643.index.js
CHANGED
package/build/654.index.js
CHANGED
package/build/66.index.js
CHANGED
package/build/697.index.js
CHANGED
package/build/714.index.js
CHANGED
package/build/717.index.js
CHANGED
package/build/795.index.js
CHANGED
package/build/8.index.js
CHANGED
package/build/808.index.js
CHANGED
package/build/810.index.js
CHANGED
package/build/833.index.js
CHANGED
package/build/835.index.js
CHANGED
package/build/847.index.js
CHANGED
package/build/853.index.js
CHANGED
package/build/871.index.js
CHANGED
package/build/890.index.js
CHANGED
package/build/899.index.js
CHANGED
package/build/938.index.js
CHANGED
package/build/964.index.js
CHANGED
package/build/970.index.js
CHANGED
package/build/984.index.js
CHANGED
package/build/993.index.js
CHANGED