@signal24/vue-foundation 4.10.3 → 4.12.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@signal24/vue-foundation",
3
3
  "type": "module",
4
- "version": "4.10.3",
4
+ "version": "4.12.1",
5
5
  "description": "Common components, directives, and helpers for Vue 3 apps",
6
6
  "module": "./dist/vue-foundation.es.js",
7
7
  "exports": {
@@ -21,10 +21,10 @@
21
21
  "typings": "./dist/src/index.d.ts",
22
22
  "scripts": {
23
23
  "dev": "vite",
24
- "build": "rm -rf dist && vite build && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json && tsc -p tsconfig.vite-plugins.json && find dist -name '*.tsbuildinfo' -delete",
24
+ "build": "rm -rf dist && vite build && vue-tsc -p tsconfig.app.json && tsc -p tsconfig.vite-plugins.json && find dist -name '*.tsbuildinfo' -delete",
25
25
  "build:watch": "fswatch -o src | xargs -n1 -I{} yarn build",
26
26
  "preview": "vite preview",
27
- "test:types": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
27
+ "test:types": "vue-tsc -p tsconfig.vitest.json",
28
28
  "test:unit": "vitest",
29
29
  "test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
30
30
  "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
@@ -43,36 +43,40 @@
43
43
  "vue": "^3.3.7"
44
44
  },
45
45
  "devDependencies": {
46
- "@nabla/vite-plugin-eslint": "^1.5.0",
47
- "@rushstack/eslint-patch": "^1.5.1",
46
+ "@nabla/vite-plugin-eslint": "^2.0.2",
47
+ "@rushstack/eslint-patch": "^1.6.1",
48
+ "@signal24/openapi-client-codegen": "^1.1.0",
48
49
  "@tsconfig/node20": "^20.1.2",
49
- "@types/jsdom": "^21.1.4",
50
- "@types/lodash": "^4.14.200",
51
- "@types/node": "^20.8.9",
52
- "@types/uuid": "^9.0.6",
53
- "@vitejs/plugin-vue": "^4.4.0",
50
+ "@types/jsdom": "^21.1.6",
51
+ "@types/lodash": "^4.14.202",
52
+ "@types/node": "^20.10.5",
53
+ "@types/uuid": "^9.0.7",
54
+ "@vitejs/plugin-vue": "^5.0.0",
54
55
  "@vue/eslint-config-prettier": "^8.0.0",
55
56
  "@vue/eslint-config-typescript": "^12.0.0",
56
- "@vue/test-utils": "^2.4.1",
57
- "@vue/tsconfig": "^0.4.0",
58
- "cypress": "^13.3.3",
59
- "eslint": "^8.52.0",
57
+ "@vue/test-utils": "^2.4.3",
58
+ "@vue/tsconfig": "^0.5.1",
59
+ "cypress": "^13.6.2",
60
+ "date-fns": "^3.0.6",
61
+ "eslint": "^8.56.0",
60
62
  "eslint-plugin-cypress": "^2.15.1",
61
63
  "eslint-plugin-simple-import-sort": "^10.0.0",
62
64
  "eslint-plugin-unused-imports": "^3.0.0",
63
- "eslint-plugin-vue": "^9.18.1",
64
- "jsdom": "^22.1.0",
65
- "prettier": "^3.0.3",
66
- "sass": "^1.69.5",
67
- "start-server-and-test": "^2.0.1",
68
- "typescript": "~5.2.2",
69
- "type-fest": "^4.6.0",
70
- "vite": "^4.5.0",
71
- "vitest": "^0.34.6",
72
- "vue-tsc": "^1.8.22",
73
- "@signal24/openapi-client-codegen": "^1.1.0",
74
- "date-fns": "^2.30.0",
65
+ "eslint-plugin-vue": "^9.19.2",
66
+ "jsdom": "^23.0.1",
75
67
  "lodash": "^4.17.21",
76
- "vue": "^3.3.7"
77
- }
68
+ "prettier": "^3.1.1",
69
+ "sass": "^1.69.6",
70
+ "start-server-and-test": "^2.0.3",
71
+ "type-fest": "^4.9.0",
72
+ "typescript": "~5.3.3",
73
+ "vite": "^5.0.10",
74
+ "vitest": "^1.1.0",
75
+ "vue": "^3.3.13",
76
+ "vue-tsc": "^1.8.27"
77
+ },
78
+ "resolutions": {
79
+ "jackspeak": "2.1.1"
80
+ },
81
+ "packageManager": "yarn@4.0.2"
78
82
  }
@@ -77,11 +77,11 @@ export type OverlayComponentConfig<T> = T extends Vue__ComponentPublicInstanceCo
77
77
  component: Raw<T>;
78
78
  }
79
79
  : T extends (props: infer P) => any
80
- ? {
81
- props: Omit<ObjectOrDefault<P>, keyof VNodeProps | keyof AllowedComponentProps>;
82
- component: T;
83
- }
84
- : never;
80
+ ? {
81
+ props: Omit<ObjectOrDefault<P>, keyof VNodeProps | keyof AllowedComponentProps>;
82
+ component: T;
83
+ }
84
+ : never;
85
85
  export type OverlayComponentUnwrapped<T extends OverlayComponent> = OverlayComponentConfig<T>['component'];
86
86
  export type OverlayComponentProps<T extends OverlayComponent> = OverlayComponentConfig<T>['props'];
87
87
 
package/tsconfig.app.json CHANGED
@@ -3,6 +3,8 @@
3
3
  "include": ["src/**/*.ts", "src/**/*.vue"],
4
4
  "exclude": ["src/**/__tests__/*", "src/vite-plugins/*"],
5
5
  "compilerOptions": {
6
+ "noEmit": false,
7
+ "emitDeclarationOnly": true,
6
8
  "composite": true,
7
9
  "baseUrl": ".",
8
10
  "paths": {
@@ -2,8 +2,10 @@
2
2
  "extends": "./tsconfig.app.json",
3
3
  "exclude": [],
4
4
  "compilerOptions": {
5
- "composite": true,
5
+ "composite": false,
6
6
  "lib": [],
7
- "types": ["node", "jsdom"]
7
+ "types": ["node", "jsdom"],
8
+ "emitDeclarationOnly": false,
9
+ "noEmit": true
8
10
  }
9
11
  }
package/vite.config.ts CHANGED
@@ -26,7 +26,7 @@ export default defineConfig({
26
26
  external: ['date-fns', 'lodash', 'vue', '@vue/shared', '@signal24/openapi-client-codegen/browser'],
27
27
  output: {
28
28
  assetFileNames: assetInfo => {
29
- if (assetInfo.name === 'index.css') return 'vue-foundation.css';
29
+ if (assetInfo.name === 'main.css') return 'vue-foundation.css';
30
30
  return assetInfo.name!;
31
31
  },
32
32
  exports: 'named',