nuxt-modern-cropper 0.1.8 → 1.6.9

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
@@ -5,10 +5,9 @@
5
5
  [![License][license-src]][license-href]
6
6
  [![Nuxt][nuxt-src]][nuxt-href]
7
7
 
8
- Power-packed wrapper over cropperjs@next.
8
+ Power-packed wrapper over `cropperjs` (v2).
9
9
 
10
- This package is just a module wrapper over [vue-modern-cropper](https://github.com/NamesMT/vue-modern-cropper), for more information check it's repo.
11
- <!-- - [📖 &nbsp;Documentation](https://example.com) -->
10
+ This package is a Nuxt module wrapper over [vue-modern-cropper](https://github.com/NamesMT/vue-modern-cropper), for more information and examples check it's repo.
12
11
 
13
12
  ## Table of Contents
14
13
  <details>
@@ -26,7 +25,7 @@ This package is just a module wrapper over [vue-modern-cropper](https://github.c
26
25
  ## Usage
27
26
 
28
27
  ### Install & Setup
29
- ```bash
28
+ ```sh
30
29
  pnpm add -D nuxt-modern-cropper vue-modern-cropper
31
30
  ```
32
31
 
@@ -43,7 +42,7 @@ export default defineNuxtConfig({
43
42
 
44
43
  That's it! You can now use `<ModernCropper />` in your Nuxt app ✨
45
44
 
46
- To infer the type of the component for `ref` creation, make sure to use `import type` to avoid build error, because the module is client-only.
45
+ >To infer the type of the component for `ref` creation, make sure to use `import type` to avoid build error, because the module is client-only.
47
46
  ```ts
48
47
  import type { ModernCropper } from '#components'
49
48
 
package/dist/module.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
1
+ import * as nuxt_schema from 'nuxt/schema';
2
2
 
3
3
  interface ModuleOptions {
4
4
  }
5
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
5
+ declare const _default: nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
6
6
 
7
7
  export { type ModuleOptions, _default as default };
package/dist/module.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
1
+ import * as nuxt_schema from 'nuxt/schema';
2
2
 
3
3
  interface ModuleOptions {
4
4
  }
5
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
5
+ declare const _default: nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
6
6
 
7
7
  export { type ModuleOptions, _default as default };
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "nuxt-modern-cropper",
3
3
  "configKey": "modernCropper",
4
- "version": "0.1.8",
4
+ "version": "1.6.9",
5
5
  "builder": {
6
- "@nuxt/module-builder": "0.8.3",
6
+ "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
8
8
  }
9
9
  }
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-modern-cropper",
3
- "version": "0.1.8",
3
+ "version": "1.6.9",
4
4
  "description": "Power-packed wrapper over cropperjs@next",
5
5
  "repository": "namesmt/nuxt-modern-cropper",
6
6
  "license": "MIT",
@@ -37,29 +37,35 @@
37
37
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
38
38
  },
39
39
  "dependencies": {
40
- "@nuxt/kit": "^3.13.0"
40
+ "@nuxt/kit": "^3.15.4"
41
41
  },
42
42
  "devDependencies": {
43
- "@nuxt/devtools": "^1.3.14",
44
- "@nuxt/eslint-config": "^0.5.2",
45
- "@nuxt/module-builder": "^0.8.3",
46
- "@nuxt/schema": "^3.13.0",
47
- "@nuxt/test-utils": "^3.14.1",
48
- "@types/node": "^20.16.1",
49
- "changelogen": "^0.5.5",
50
- "eslint": "^9.9.1",
51
- "nuxt": "^3.13.0",
52
- "typescript": "latest",
53
- "vitest": "^2.0.5",
54
- "vue-tsc": "^2.0.29"
43
+ "@nuxt/devtools": "^2.1.1",
44
+ "@nuxt/eslint-config": "^1.1.0",
45
+ "@nuxt/module-builder": "^0.8.4",
46
+ "@nuxt/schema": "^3.15.4",
47
+ "@nuxt/test-utils": "^3.17.0",
48
+ "@types/node": "latest",
49
+ "changelogen": "^0.6.0",
50
+ "eslint": "^9.21.0",
51
+ "nuxt": "^3.15.4",
52
+ "typescript": "^5.8.2",
53
+ "vitest": "^3.0.7",
54
+ "vue-tsc": "^2.2.8"
55
55
  },
56
56
  "peerDependencies": {
57
- "@types/node": "^14.18.0 || >=16.10.0",
58
- "vue-modern-cropper": "0.x"
57
+ "vue-modern-cropper": "^1"
59
58
  },
60
59
  "peerDependenciesMeta": {
61
60
  "vue-modern-cropper": {
62
61
  "optional": false
63
62
  }
63
+ },
64
+ "packageManager": "pnpm@10.5.2",
65
+ "pnpm": {
66
+ "onlyBuiltDependencies": [
67
+ "@parcel/watcher",
68
+ "esbuild"
69
+ ]
64
70
  }
65
71
  }