@forsakringskassan/vue-lib-template 1.9.1 → 1.9.2

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.
@@ -112,7 +112,7 @@
112
112
  "@forsakringskassan/stylelint-config": "3.5.1",
113
113
  "@forsakringskassan/vite-lib-config": "5.13.3",
114
114
  "@forsakringskassan/vitest-config-jsdom": "5.0.1",
115
- "@forsakringskassan/vue-lib-template": "1.9.1",
115
+ "@forsakringskassan/vue-lib-template": "1.9.2",
116
116
  "@html-validate/release-scripts": "7.6.14",
117
117
  "@types/node": "24.19.2",
118
118
  "@typescript/native": "npm:typescript@7.0.2",
@@ -1,5 +1,11 @@
1
1
  import type { Cat } from "./cat-types";
2
2
 
3
+ declare global {
4
+ interface ImportMetaEnv {
5
+ readonly VITE_CAT_API_URL: string;
6
+ }
7
+ }
8
+
3
9
  const apiUrl = import.meta.env.VITE_CAT_API_URL;
4
10
 
5
11
  /**
package/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  const options = {
9
9
  ...packageJson.cloneman,
10
- fileHash: "6682deb75b79852334a380c2ce4b60e19a5fc6fdb2ccd5627c92e6ff6eb26cce",
10
+ fileHash: "b592f1d4280cf1bf3a6fcf21bcfee641cfa5c1f6a0cad86d3e8ffecf6d68c9d0",
11
11
  apiVersion: 0,
12
12
  clonemanVersion: "1.27.2",
13
13
  filesDir: path.join(import.meta.dirname, "files"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/vue-lib-template",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Vue library template based on Cloneman",
5
5
  "keywords": [
6
6
  "template",
@@ -101,7 +101,6 @@
101
101
  "src/selectors/index.ts",
102
102
  "src/style.scss",
103
103
  "src/theme.scss",
104
- "src/vite-env.d.ts",
105
104
  "tsconfig.cypress.json",
106
105
  "tsconfig.json",
107
106
  "tsconfig.lib.json",
@@ -1,7 +0,0 @@
1
- interface ImportMetaEnv {
2
- readonly VITE_CAT_API_URL: string;
3
- }
4
-
5
- interface ImportMeta {
6
- readonly env: ImportMetaEnv;
7
- }