@gradin/vue-utils 1.0.4 → 1.0.6

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 CHANGED
@@ -160,7 +160,7 @@ To Deploy:
160
160
 
161
161
  ```sh
162
162
  npm run build
163
- npm publish
163
+ np
164
164
  ```
165
165
 
166
166
  To Authenticate:
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@gradin/vue-utils",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Useful utilities for Vue projects.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
- "types": "dist/types/index.d.ts",
7
+ "types": "dist/index.d.ts",
8
8
  "scripts": {
9
9
  "build": "tsc",
10
- "lint": "eslint . --fix",
11
- "publish": "npm run build"
10
+ "lint": "eslint . --fix"
12
11
  },
13
12
  "files": [
14
13
  "dist"
@@ -47,4 +46,4 @@
47
46
  "peerDependencies": {
48
47
  "vue-router": "^4.6.3 || ^5.2.0"
49
48
  }
50
- }
49
+ }
@@ -1,4 +0,0 @@
1
- export declare const currentYear: number;
2
- export declare const releaseYear: number;
3
- export declare const footerYear: string;
4
- export declare const yearsSinceRelease: number[];
@@ -1,7 +0,0 @@
1
- export { resetableReactive } from "./resetable-reactive.js";
2
- export declare const gReactive: <T extends object>(data: T) => T & {
3
- reset: () => void;
4
- set: (newValue: Partial<T>) => void;
5
- };
6
- export { currentYear, footerYear, releaseYear, yearsSinceRelease } from "./footer-year.js";
7
- export { whenRouteChange } from "./when-route-change.js";
@@ -1,4 +0,0 @@
1
- export declare const resetableReactive: <T extends object>(data: T) => T & {
2
- reset: () => void;
3
- set: (newValue: Partial<T>) => void;
4
- };
@@ -1,6 +0,0 @@
1
- /**
2
- * Watch the route full path, and trigger callback when query / params change
3
- * but don't trigger when route name change (move away to other page).
4
- * Optional watchSource to watch just specific part of the route (not fullPath).
5
- */
6
- export declare const whenRouteChange: (callback: () => void, watchSource?: () => unknown) => void;