piral-vue 0.14.28-beta.4379 → 0.14.30
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 +1 -2
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# [Piral Vue](https://piral.io) · [](https://github.com/smapiot/piral/blob/main/LICENSE) [](https://www.npmjs.com/package/piral-vue) [](https://jestjs.io) [](https://gitter.im/piral-io/community)
|
|
4
4
|
|
|
5
|
-
This is a plugin that only has a peer dependency to `
|
|
5
|
+
This is a plugin that only has a peer dependency to `vue`. What `piral-vue` brings to the table is a set of Pilet API extensions that can be used with `piral` or `piral-core`.
|
|
6
6
|
|
|
7
7
|
The set includes a Vue@2 converter for any component registration, as well as a `fromVue` shortcut and a `VueExtension` component.
|
|
8
8
|
|
|
@@ -62,7 +62,6 @@ export function setup(piral: PiletApi) {
|
|
|
62
62
|
Using Vue with Piral is as simple as installing `piral-vue` and `vue`.
|
|
63
63
|
|
|
64
64
|
```ts
|
|
65
|
-
import 'vue';
|
|
66
65
|
import { createVueApi } from 'piral-vue';
|
|
67
66
|
```
|
|
68
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-vue",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.30",
|
|
4
4
|
"description": "Plugin for integrating Vue@2 components in Piral.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
"./lib/*": {
|
|
35
35
|
"require": "./lib/*"
|
|
36
36
|
},
|
|
37
|
+
"./_/*": {
|
|
38
|
+
"import": "./esm/*.js",
|
|
39
|
+
"require": "./lib/*.js"
|
|
40
|
+
},
|
|
37
41
|
"./package.json": "./package.json"
|
|
38
42
|
},
|
|
39
43
|
"sideEffects": false,
|
|
@@ -52,6 +56,7 @@
|
|
|
52
56
|
"url": "https://github.com/smapiot/piral/issues"
|
|
53
57
|
},
|
|
54
58
|
"scripts": {
|
|
59
|
+
"cleanup": "rimraf esm lib convert.d.ts convert.js",
|
|
55
60
|
"build": "yarn build:commonjs && yarn build:esnext && yarn build:convert",
|
|
56
61
|
"build:convert": "tsc convert.ts --skipLibCheck --declaration --module esnext",
|
|
57
62
|
"build:commonjs": "tsc --project tsconfig.json --outDir lib --module commonjs",
|
|
@@ -60,12 +65,11 @@
|
|
|
60
65
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
61
66
|
},
|
|
62
67
|
"devDependencies": {
|
|
63
|
-
"piral-core": "0.14.
|
|
68
|
+
"piral-core": "^0.14.30",
|
|
64
69
|
"vue": "^2.6.10"
|
|
65
70
|
},
|
|
66
71
|
"peerDependencies": {
|
|
67
|
-
"piral-core": "0.14.x",
|
|
68
72
|
"vue": "^2.0.0"
|
|
69
73
|
},
|
|
70
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "f8fa71fb0f71425771ceda09c17080bf15412002"
|
|
71
75
|
}
|