@myparcel-dev/pdk-admin 2.4.1 → 2.4.2-beta-oidc.0

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.
@@ -6,7 +6,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
6
6
  required: true;
7
7
  };
8
8
  }, {
9
- returnsForm: import("@myparcel-vfb/core").FormInstance<import("@myparcel-vfb/core").FormValues>;
9
+ returnsForm: import("@myparcel-dev/vue-form-builder").FormInstance;
10
10
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
11
  orderId: {
12
12
  type: StringConstructor;
@@ -1 +1,2 @@
1
- export declare const createReturnsForm: (id: string) => import("@myparcel-vfb/core").FormInstance<import("@myparcel-vfb/core").FormValues>;
1
+ import { type FormInstance } from '@myparcel-dev/vue-form-builder';
2
+ export declare const createReturnsForm: (id: string) => FormInstance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myparcel-dev/pdk-admin",
3
- "version": "2.4.1",
3
+ "version": "2.4.2-beta-oidc.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/myparcelnl/js-pdk.git",
@@ -22,24 +22,16 @@
22
22
  "types": "./dist/index.d.ts",
23
23
  "files": [
24
24
  "./src",
25
- "./dist"
25
+ "./dist",
26
+ "CHANGELOG.md"
26
27
  ],
27
- "scripts": {
28
- "build": "run ws:vue:build \"$(pwd)\"",
29
- "clean": "run ws:clean \"$(pwd)\"",
30
- "lint": "run ws:lint \"$(pwd)\"",
31
- "lint:fix": "run ws:lint:fix \"$(pwd)\"",
32
- "test": "run ws:test \"$(pwd)\"",
33
- "test:coverage": "run ws:test:coverage \"$(pwd)\"",
34
- "test:run": "run ws:test:run \"$(pwd)\"",
35
- "test:update": "run ws:test:update \"$(pwd)\"",
36
- "typecheck": "run ws:vue:typecheck \"$(pwd)\""
37
- },
38
28
  "dependencies": {
39
29
  "@myparcel-dev/constants": "^2.9.0",
40
- "@myparcel-dev/pdk-common": "^2.3.1",
30
+ "@myparcel-dev/pdk-common": "^2.3.2-beta-oidc.0",
41
31
  "@myparcel-dev/sdk": "^5.1.0",
32
+ "@myparcel-dev/ts-utils": "^1.15.0",
42
33
  "@myparcel-dev/vue-form-builder": "1.0.0-beta.42.6",
34
+ "@tanstack/query-core": "^4.43.0",
43
35
  "@tanstack/vue-query": "~4.43.0",
44
36
  "@vueuse/core": "^10.0.0",
45
37
  "lodash": "^4.17.21",
@@ -49,22 +41,35 @@
49
41
  "vue": "3.4.31"
50
42
  },
51
43
  "devDependencies": {
44
+ "@myparcel-dev/do-shared": "^7.5.3",
52
45
  "@myparcel-dev/pdk-build-vite": "1.0.0-alpha.0",
46
+ "@pinia/testing": ">= 0.1.0 < 1",
53
47
  "@types/lodash-es": "^4.17.6",
48
+ "@vitejs/plugin-vue": "^6.0.9",
54
49
  "@vue/test-utils": "^2.5.1",
55
50
  "typescript": "^5.2.2",
56
51
  "vite": "^8.3.1",
57
- "vitest": "^4.1.11",
58
52
  "vue-tsc": "^3.3.9"
59
53
  },
60
54
  "engines": {
61
55
  "node": ">=20"
62
56
  },
63
- "volta": {
64
- "extends": "../../package.json"
65
- },
66
57
  "publishConfig": {
67
58
  "access": "public"
68
59
  },
69
- "deployGroup": "admin"
60
+ "nx": {
61
+ "targets": {
62
+ "clean": {},
63
+ "lint": {},
64
+ "lint:fix": {},
65
+ "test": {},
66
+ "test:coverage": {},
67
+ "test:run": {},
68
+ "test:update": {}
69
+ }
70
+ },
71
+ "scripts": {
72
+ "build": "vue-tsc --project tsconfig.base.json --noEmit false --declaration --emitDeclarationOnly --declarationDir dist",
73
+ "typecheck": "vue-tsc --project tsconfig.base.json --noEmit"
74
+ }
70
75
  }
@@ -1,7 +1,6 @@
1
- import {defineForm} from '@myparcel-dev/vue-form-builder';
1
+ import {defineForm, type FormInstance} from '@myparcel-dev/vue-form-builder';
2
2
 
3
- // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
4
- export const createReturnsForm = (id: string) => {
3
+ export const createReturnsForm = (id: string): FormInstance => {
5
4
  return defineForm(`returns${id}`, {
6
5
  fields: [],
7
6
  });