@zumer/snapdom-plugins 3.0.0-beta.0 → 3.0.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 +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,10 +12,10 @@ live captures when their export method is called.
|
|
|
12
12
|
Install the plugins next to a matching core:
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install @zumer/snapdom @zumer/snapdom-plugins
|
|
15
|
+
npm install @zumer/snapdom@latest @zumer/snapdom-plugins@latest
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
Plugins 3.x
|
|
18
|
+
Plugins 3.x require a 3.x core. See the [migration guide](https://github.com/zumerlab/snapdom#migrating-from-v2) when upgrading from v2.
|
|
19
19
|
|
|
20
20
|
## Usage
|
|
21
21
|
|
|
@@ -41,8 +41,8 @@ import { filter, timestampOverlay, replaceText } from '@zumer/snapdom-plugins';
|
|
|
41
41
|
CDN (no install):
|
|
42
42
|
|
|
43
43
|
```js
|
|
44
|
-
import { snapdom } from 'https://esm.sh/@zumer/snapdom';
|
|
45
|
-
import { filter } from 'https://esm.sh/@zumer/snapdom-plugins/filter';
|
|
44
|
+
import { snapdom } from 'https://esm.sh/@zumer/snapdom@latest';
|
|
45
|
+
import { filter } from 'https://esm.sh/@zumer/snapdom-plugins@latest/filter';
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
---
|
|
@@ -490,7 +490,7 @@ Start from the plugin template:
|
|
|
490
490
|
|
|
491
491
|
```bash
|
|
492
492
|
npx degit zumerlab/snapdom/packages/plugin-template my-plugin
|
|
493
|
-
cd my-plugin && npm install --save-dev @zumer/snapdom
|
|
493
|
+
cd my-plugin && npm install --save-dev @zumer/snapdom@latest
|
|
494
494
|
```
|
|
495
495
|
|
|
496
496
|
See [PLUGIN_SPEC.md](../../PLUGIN_SPEC.md) for the full hook specification and [CONTRIBUTING_PLUGINS.md](../../CONTRIBUTING_PLUGINS.md) to get your plugin listed on the community page.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zumer/snapdom-plugins",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Official plugins for SnapDOM",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://snapdom.dev/",
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@zumer/snapdom": "
|
|
46
|
+
"@zumer/snapdom": "^3.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@zumer/snapdom": "file:../.."
|