nuxt-modern-cropper 0.1.4 → 0.1.5
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/dist/module.json +5 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugin.d.ts +1 -1
- package/dist/runtime/plugin.js +3 -0
- package/dist/runtime/server/tsconfig.json +3 -0
- package/dist/types.d.mts +1 -16
- package/dist/types.d.ts +1 -16
- package/package.json +16 -13
- package/dist/runtime/plugin.mjs +0 -3
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|
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 { ['modernCropper']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['modernCropper']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['modernCropper']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['modernCropper']?: 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 { ['modernCropper']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['modernCropper']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['modernCropper']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['modernCropper']?: 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-modern-cropper",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Power-packed wrapper over cropperjs@next",
|
|
5
5
|
"repository": "namesmt/nuxt-modern-cropper",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,22 +25,25 @@
|
|
|
25
25
|
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
26
26
|
"lint": "eslint .",
|
|
27
27
|
"test": "vitest run",
|
|
28
|
-
"test:watch": "vitest watch"
|
|
28
|
+
"test:watch": "vitest watch",
|
|
29
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@nuxt/kit": "^3.
|
|
32
|
+
"@nuxt/kit": "^3.12.3",
|
|
32
33
|
"vue-modern-cropper": "0.x"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
|
-
"@nuxt/devtools": "
|
|
36
|
-
"@nuxt/eslint-config": "^0.
|
|
37
|
-
"@nuxt/module-builder": "^0.
|
|
38
|
-
"@nuxt/schema": "^3.
|
|
39
|
-
"@nuxt/test-utils": "^3.
|
|
40
|
-
"@types/node": "^20.
|
|
36
|
+
"@nuxt/devtools": "^1.3.9",
|
|
37
|
+
"@nuxt/eslint-config": "^0.3.13",
|
|
38
|
+
"@nuxt/module-builder": "^0.8.1",
|
|
39
|
+
"@nuxt/schema": "^3.12.3",
|
|
40
|
+
"@nuxt/test-utils": "^3.13.1",
|
|
41
|
+
"@types/node": "^20.14.11",
|
|
41
42
|
"changelogen": "^0.5.5",
|
|
42
|
-
"eslint": "^
|
|
43
|
-
"nuxt": "^3.
|
|
44
|
-
"
|
|
43
|
+
"eslint": "^9.7.0",
|
|
44
|
+
"nuxt": "^3.12.3",
|
|
45
|
+
"typescript": "latest",
|
|
46
|
+
"vitest": "^2.0.3",
|
|
47
|
+
"vue-tsc": "^2.0.26"
|
|
45
48
|
}
|
|
46
|
-
}
|
|
49
|
+
}
|
package/dist/runtime/plugin.mjs
DELETED