@arex95/vue-core 1.0.1 → 1.0.3

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.
@@ -2,7 +2,7 @@
2
2
  * A standard REST API interface for handling basic CRUD operations.
3
3
  * This class can be instantiated with a resource endpoint and a fetch composable for API requests.
4
4
  */
5
- export default class RestStd {
5
+ export declare class RestStd {
6
6
  static resource: string;
7
7
  static fetchComposable: Function;
8
8
  /**
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@arex95/vue-core",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Opinionated Vue Core",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
+ "exports": {
8
+ "require": "./dist/index.cjs",
9
+ "import": "./dist/index.mjs"
10
+ },
7
11
  "types": "dist/index.d.ts",
8
12
  "type": "module",
9
13
  "files": [
@@ -31,6 +35,9 @@
31
35
  "vue": "^3.0.0"
32
36
  },
33
37
  "devDependencies": {
38
+ "@rollup/plugin-commonjs": "^28.0.3",
39
+ "@rollup/plugin-json": "^6.1.0",
40
+ "@rollup/plugin-node-resolve": "^16.0.0",
34
41
  "@rollup/plugin-typescript": "^12.1.2",
35
42
  "@tanstack/vue-query": "^5.0.0",
36
43
  "@types/node": "^22.13.9",