@forsakringskassan/vue-lib-template 1.9.39 → 1.9.41

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.
@@ -1,5 +1,7 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
1
3
  import { setupWorker } from "@forsakringskassan/apimock-express/browser";
2
- import mocks from "../../src/mocks/index.mjs";
4
+ import mocks from "../../src/mocks";
3
5
 
4
6
  /* this is resolved from the importmap (mapped to the bundle with the same name
5
7
  * compiled in `docs/build.mts`) */
@@ -119,9 +119,9 @@
119
119
  "@forsakringskassan/eslint-config-vue": "15.13.2",
120
120
  "@forsakringskassan/prettier-config": "3.7.13",
121
121
  "@forsakringskassan/stylelint-config": "3.5.1",
122
- "@forsakringskassan/vite-lib-config": "5.13.6",
122
+ "@forsakringskassan/vite-lib-config": "5.14.1",
123
123
  "@forsakringskassan/vitest-config-jsdom": "5.0.1",
124
- "@forsakringskassan/vue-lib-template": "1.9.39",
124
+ "@forsakringskassan/vue-lib-template": "1.9.41",
125
125
  "@html-validate/release-scripts": "7.6.17",
126
126
  "@types/node": "24.19.2",
127
127
  "@typescript/native": "npm:typescript@7.0.2",
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { defineConfig } from "@forsakringskassan/vite-lib-config/vite";
4
4
  import { defineTestConfig } from "@forsakringskassan/vitest-config-jsdom";
5
- import mocks from "./src/mocks/index.mts";
5
+ import mocks from "./src/mocks/index.ts";
6
6
 
7
7
  export default defineConfig({
8
8
  test: defineTestConfig(),
package/hooks/install.mjs CHANGED
@@ -52,6 +52,14 @@ async function enableDeployDocs(context ) {
52
52
  }
53
53
 
54
54
  export async function install(context ) {
55
+ /*
56
+ * This file rename was made in version 1.9.x and should be removed in a future major version
57
+ * https://github.com/Forsakringskassan/vue-lib-template/pull/109
58
+ */
59
+ await context.renameFile("src/mocks/index.mts", "src/mocks/index.ts", {
60
+ graceful: true,
61
+ });
62
+
55
63
  await updatePackagejson(context);
56
64
  await updatePackageName(context);
57
65
  await enableDeployDocs(context);
package/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  const options = {
9
9
  ...packageJson.cloneman,
10
- fileHash: "fd6eae485ffabe71eb3cf6b99efa6ab5fca3485ba072e4459a0eb26d44f3d793",
10
+ fileHash: "b4395c59c75b8c538668c6a19fd3a1b9ecf3ef001ff565961d7894bc955ea9a8",
11
11
  apiVersion: 0,
12
12
  clonemanVersion: "1.28.1",
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.39",
3
+ "version": "1.9.41",
4
4
  "description": "Vue library template based on Cloneman",
5
5
  "keywords": [
6
6
  "template",
@@ -94,7 +94,7 @@
94
94
  "src/mocks/guide/cat-api-mock.spec.ts",
95
95
  "src/mocks/guide/cat-api.mock.mts",
96
96
  "src/mocks/guide/index.mts",
97
- "src/mocks/index.mts",
97
+ "src/mocks/index.ts",
98
98
  "src/selectors/guide/cat-info.selectors.spec.ts",
99
99
  "src/selectors/guide/cat-info.selectors.ts",
100
100
  "src/selectors/guide/index.ts",
File without changes