@flareapp/vue 1.0.0 → 1.2.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/.release-it.json +16 -0
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +1 -4
- package/dist/index.d.ts +1 -4
- package/dist/index.js +3 -3
- package/package.json +4 -3
- package/src/index.js +1 -4
package/.release-it.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"git": {
|
|
3
|
+
"commitMessage": "Release @flareapp/vue v${version}",
|
|
4
|
+
"tagName": "@flareapp/vue@${version}",
|
|
5
|
+
"tagAnnotation": "Release @flareapp/vue v${version}"
|
|
6
|
+
},
|
|
7
|
+
"github": {
|
|
8
|
+
"release": false
|
|
9
|
+
},
|
|
10
|
+
"npm": {
|
|
11
|
+
"publish": true
|
|
12
|
+
},
|
|
13
|
+
"hooks": {
|
|
14
|
+
"after:bump": "npm run build"
|
|
15
|
+
}
|
|
16
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# @flareapp/vue
|
|
2
|
+
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- Peer dependency on `@flareapp/js` tightened from `^1.0.0` to `^1.2.0`. Consumers must upgrade `@flareapp/js` in lock-step so the v2-wire-format mapper is present at the egress boundary.
|
|
7
|
+
|
|
8
|
+
No functional changes in this package.
|
|
9
|
+
|
|
10
|
+
## 1.0.1
|
|
11
|
+
|
|
12
|
+
Initial release tracked here. Prior history is in git.
|
package/dist/index.d.mts
CHANGED
|
@@ -4,10 +4,7 @@ function flareVue(app) {
|
|
|
4
4
|
const initialErrorHandler = app.config.errorHandler;
|
|
5
5
|
|
|
6
6
|
app.config.errorHandler = (error, vm, info) => {
|
|
7
|
-
const componentName =
|
|
8
|
-
vm && vm.$options && vm.$options.name
|
|
9
|
-
? vm.$options.name
|
|
10
|
-
: 'AnonymousComponent';
|
|
7
|
+
const componentName = vm && vm.$options && vm.$options.name ? vm.$options.name : 'AnonymousComponent';
|
|
11
8
|
|
|
12
9
|
const context = {
|
|
13
10
|
vue: { info, componentName },
|
package/dist/index.d.ts
CHANGED
|
@@ -4,10 +4,7 @@ function flareVue(app) {
|
|
|
4
4
|
const initialErrorHandler = app.config.errorHandler;
|
|
5
5
|
|
|
6
6
|
app.config.errorHandler = (error, vm, info) => {
|
|
7
|
-
const componentName =
|
|
8
|
-
vm && vm.$options && vm.$options.name
|
|
9
|
-
? vm.$options.name
|
|
10
|
-
: 'AnonymousComponent';
|
|
7
|
+
const componentName = vm && vm.$options && vm.$options.name ? vm.$options.name : 'AnonymousComponent';
|
|
11
8
|
|
|
12
9
|
const context = {
|
|
13
10
|
vue: { info, componentName },
|
package/dist/index.js
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.js
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
flareVue: () => flareVue
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
var import_js = require("@flareapp/js");
|
|
27
27
|
function flareVue(app) {
|
|
28
28
|
const initialErrorHandler = app.config.errorHandler;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flareapp/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Vue client for flareapp.io",
|
|
5
5
|
"homepage": "https://flareapp.io",
|
|
6
6
|
"bugs": "https://github.com/spatie/flare-client-js/issues",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"prepublishOnly": "npm run build",
|
|
24
|
-
"build": "tsup src/index.js --format cjs,esm --dts --clean"
|
|
24
|
+
"build": "tsup src/index.js --format cjs,esm --dts --clean",
|
|
25
|
+
"release": "npx release-it"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@flareapp/js": "file:../js",
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"vue": "^3.0.0"
|
|
31
32
|
},
|
|
32
33
|
"peerDependencies": {
|
|
33
|
-
"@flareapp/js": "^1.
|
|
34
|
+
"@flareapp/js": "^1.2.0",
|
|
34
35
|
"vue": "^2.0.0||^3.0.0"
|
|
35
36
|
},
|
|
36
37
|
"publishConfig": {
|
package/src/index.js
CHANGED
|
@@ -4,10 +4,7 @@ export function flareVue(app) {
|
|
|
4
4
|
const initialErrorHandler = app.config.errorHandler;
|
|
5
5
|
|
|
6
6
|
app.config.errorHandler = (error, vm, info) => {
|
|
7
|
-
const componentName =
|
|
8
|
-
vm && vm.$options && vm.$options.name
|
|
9
|
-
? vm.$options.name
|
|
10
|
-
: 'AnonymousComponent';
|
|
7
|
+
const componentName = vm && vm.$options && vm.$options.name ? vm.$options.name : 'AnonymousComponent';
|
|
11
8
|
|
|
12
9
|
const context = {
|
|
13
10
|
vue: { info, componentName },
|