@widgetic/embed-sdk 2.0.10 → 2.0.11

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 +3 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -137,7 +137,9 @@ npm run test:e2e # browser tests (playwright)
137
137
  npm run lint
138
138
  ```
139
139
 
140
- In this checkout the SDK consumes the sibling `api-sdk` package through a link in `node_modules` that points at the checkout itself, so an edit in the sibling stays invisible here until that package rebuilds its `dist/`. `npm run i` reinstalls `node_modules` and links the sibling again; `npm run lapisdk` links it again after a fresh `node_modules`. The dev-alias workflow that the adopting apps use, and why, is described in [the dev-tools README](../dev-tools/README.md).
140
+ This package consumes sibling `@widgetic/*` checkouts through a link in `node_modules` that resolves the checkout itself — its built output, not its source. The link is made by hand rather than through the `@widgetic/dev-tools` dev-alias setup the adopting apps use, so a sibling edit stays invisible here until that package rebuilds its `dist/`. Setup is the install script this package ships: it reinstalls and then links the sibling, so `node_modules` keeps resolving the checkout rather than the published package. The dev-alias workflow these packages have not adopted, and the reasons the adopting apps use it, are described in [the dev-tools README](../dev-tools/README.md).
141
+
142
+ Here the sibling is `api-sdk`. `npm run i` reinstalls `node_modules` and links that checkout again. `npm run lapisdk` links it again after a fresh `node_modules`.
141
143
 
142
144
  ## Publishing
143
145
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/embed-sdk",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Modern JavaScript SDK for embedding Widgetic widgets with support for custom elements, iframes, and batch API integration",
5
5
  "main": "dist/umd/embed-sdk.js",
6
6
  "module": "dist/esm/embed-sdk.js",
@@ -38,7 +38,7 @@
38
38
  "format": "prettier --write .",
39
39
  "test": "vitest",
40
40
  "check:no-secrets": "node scripts-sdk/check-no-secrets.js",
41
- "publish-to-npm": "npm version patch --no-git-tag-version && npm run build && npm run check:no-secrets && npm publish --ignore-scripts --access public && npm run publish:cdn -- --yes --purge --allow-dirty --env-file .env.cdn",
41
+ "publish-to-npm": "node ../dev-tools/bin/publish-package.mjs",
42
42
  "publish:cdn": "node scripts-sdk/upload-to-cdn.js",
43
43
  "publish:cdn:dry-run": "node scripts-sdk/upload-to-cdn.js --dry-run",
44
44
  "test:ui": "vitest --ui",