nuxt-callapp 1.4.0 → 1.5.1
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 +7 -6
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +5 -1
- package/dist/types.d.mts +1 -16
- package/dist/types.d.ts +1 -16
- package/package.json +36 -13
- package/dist/runtime/{call-app.mjs → call-app.js} +1 -1
package/README.md
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Find and replace all on all files (CMD+SHIFT+F):
|
|
5
|
-
- Name: My Module
|
|
2
|
+
- Name: Nuxt CallApp
|
|
6
3
|
- Package name: nuxt-callapp
|
|
7
|
-
- Description:
|
|
4
|
+
- Description: A nuxt module for [callapp-lib]
|
|
8
5
|
-->
|
|
9
6
|
|
|
10
|
-
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img width="180" src="./assets/callapp.svg" alt="callapp logo">
|
|
9
|
+
</p>
|
|
11
10
|
|
|
12
11
|
[![npm version][npm-version-src]][npm-version-href]
|
|
13
12
|
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
14
13
|
|
|
14
|
+
# Nuxt CallApp
|
|
15
|
+
|
|
15
16
|
A nuxt module for [callapp-lib](https://github.com/suanmei/callapp-lib)
|
|
16
17
|
|
|
17
18
|
- [✨ Release Notes](/CHANGELOG.md)
|
package/dist/module.d.mts
CHANGED
|
@@ -3,6 +3,6 @@ import { CallappOptions } from 'callapp-lib/dist/type/types';
|
|
|
3
3
|
|
|
4
4
|
interface ModuleOptions extends CallappOptions {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
|
6
|
+
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
7
7
|
|
|
8
8
|
export { type ModuleOptions, _default as default };
|
package/dist/module.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { CallappOptions } from 'callapp-lib/dist/type/types';
|
|
|
3
3
|
|
|
4
4
|
interface ModuleOptions extends CallappOptions {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
|
6
|
+
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
7
7
|
|
|
8
8
|
export { type ModuleOptions, _default as default };
|
package/dist/module.json
CHANGED
package/dist/types.d.mts
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ModuleOptions } from './module.js'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
|
-
interface NuxtConfig { ['callapp']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['callapp']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['callapp']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['callapp']?: ModuleOptions }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export type { ModuleOptions, default } from './module.js'
|
|
1
|
+
export { type ModuleOptions, default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ModuleOptions } from './module'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
|
-
interface NuxtConfig { ['callapp']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['callapp']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['callapp']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['callapp']?: ModuleOptions }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export type { ModuleOptions, default } from './module'
|
|
1
|
+
export { type ModuleOptions, default } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-callapp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "A Nuxt module for callapp-lib",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "xjccc",
|
|
@@ -35,26 +35,49 @@
|
|
|
35
35
|
"dev": "nuxi dev playground",
|
|
36
36
|
"dev:build": "nuxi build playground",
|
|
37
37
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
38
|
-
"release": "npm run lint && npm run test && npm run prepack &&
|
|
38
|
+
"release": "changelogen --release && npm run lint && npm run test && npm run prepack && npm publish && git push --follow-tags",
|
|
39
|
+
"echo:husky": "echo 'npx lint-staged' > .husky/pre-commit && echo 'npx --no-install commitlint --edit \"$1\"' > .husky/commit-msg",
|
|
39
40
|
"lint": "eslint .",
|
|
41
|
+
"lint:fix": "eslint . --fix",
|
|
42
|
+
"prepare": "husky",
|
|
43
|
+
"commit": "git-cz",
|
|
40
44
|
"test": "vitest run",
|
|
41
45
|
"test:watch": "vitest watch"
|
|
42
46
|
},
|
|
47
|
+
"config": {
|
|
48
|
+
"commitizen": {
|
|
49
|
+
"path": "node_modules/cz-git"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
43
52
|
"dependencies": {
|
|
44
|
-
"@nuxt/kit": "^3.
|
|
53
|
+
"@nuxt/kit": "^3.14.1592",
|
|
45
54
|
"callapp-lib": "^3.5.3",
|
|
46
55
|
"defu": "^6.1.4"
|
|
47
56
|
},
|
|
48
57
|
"devDependencies": {
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@nuxt/
|
|
52
|
-
"@nuxt/
|
|
53
|
-
"@nuxt/
|
|
54
|
-
"@
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
58
|
+
"@commitlint/cli": "^19.6.0",
|
|
59
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
60
|
+
"@nuxt/devtools": "^1.6.1",
|
|
61
|
+
"@nuxt/eslint-config": "^0.7.2",
|
|
62
|
+
"@nuxt/module-builder": "^0.8.4",
|
|
63
|
+
"@nuxt/schema": "^3.14.1592",
|
|
64
|
+
"@nuxt/test-utils": "^3.14.4",
|
|
65
|
+
"@types/node": "^22.10.1",
|
|
66
|
+
"changelogen": "^0.5.7",
|
|
67
|
+
"commitizen": "^4.3.1",
|
|
68
|
+
"cz-git": "^1.11.0",
|
|
69
|
+
"eslint": "^9.16.0",
|
|
70
|
+
"husky": "^9.1.7",
|
|
71
|
+
"lint-staged": "^15.2.10",
|
|
72
|
+
"nuxt": "^3.14.1592",
|
|
73
|
+
"vitest": "^2.1.8"
|
|
74
|
+
},
|
|
75
|
+
"husky": {
|
|
76
|
+
"hooks": {
|
|
77
|
+
"pre-commit": "lint-staged"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"lint-staged": {
|
|
81
|
+
"*": "eslint . --fix"
|
|
59
82
|
}
|
|
60
83
|
}
|