esender-email-editor 1.2.1 → 1.3.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/README.md +0 -32
- package/dist/index.cjs +6 -7
- package/dist/index.js +6 -7
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -163,8 +163,6 @@ The editor does **not** mount its own `<ConfigProvider>` or antd `<App />`. It i
|
|
|
163
163
|
|
|
164
164
|
All editor-specific CSS lives under a single `.aee-root` class scope (the wrapper div around the editor), so SCSS overrides and resets cannot reach host components either.
|
|
165
165
|
|
|
166
|
-
If you want the editor branded purple like the default screenshots, wrap your host app in your own `<ConfigProvider theme={{ token: { colorPrimary: '#7747ff' } }}>` — the editor will inherit it.
|
|
167
|
-
|
|
168
166
|
## License handshake
|
|
169
167
|
|
|
170
168
|
The editor will not render until the eSender license is verified:
|
|
@@ -287,36 +285,6 @@ import Package, {
|
|
|
287
285
|
| `You cannot render a <Router> inside another <Router>` | You're on an outdated version. Update — current package uses `MemoryRouter` internally. |
|
|
288
286
|
| Renders during SSR throw | Mount the component client-side only (see Next.js example above). |
|
|
289
287
|
|
|
290
|
-
## Publishing (maintainers)
|
|
291
|
-
|
|
292
|
-
```bash
|
|
293
|
-
# 1. Bump version (semver)
|
|
294
|
-
npm version patch # or minor / major
|
|
295
|
-
|
|
296
|
-
# 2. prepublishOnly chains: check-secrets → typecheck → rollup (clean + bundle + obfuscate + bundle check)
|
|
297
|
-
npm publish
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
Pre-publish hooks:
|
|
301
|
-
- `check-secrets` — scans for forbidden files (`.env`, `.pem`, `.key`) and provider-prefixed key strings (AWS / OpenAI / SendGrid / Google / GitHub / Slack / private-key blocks).
|
|
302
|
-
- `typecheck` — `tsc --noEmit`.
|
|
303
|
-
- `rollup` — produces `dist/index.js`, `dist/index.cjs`, `dist/index.d.ts`, `dist/styles.css`, then runs `scripts/obfuscate.js` and `scripts/check-bundle.js`.
|
|
304
|
-
|
|
305
|
-
Inspect the publish tarball before pushing:
|
|
306
|
-
|
|
307
|
-
```bash
|
|
308
|
-
npm pack --dry-run
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
Only the contents of `dist/`, `README.md`, `LICENSE`, and `package.json` ship.
|
|
312
|
-
|
|
313
|
-
## Versioning
|
|
314
|
-
|
|
315
|
-
Strict semver:
|
|
316
|
-
- **PATCH** — bug fixes, no API changes.
|
|
317
|
-
- **MINOR** — additive features, no breakage.
|
|
318
|
-
- **MAJOR** — breaking changes to `<Package />` props or `EditorHandle`.
|
|
319
|
-
|
|
320
288
|
## Author
|
|
321
289
|
|
|
322
290
|
bitbeast private limited
|