@forsakringskassan/vue-lib-template 1.9.39 → 1.9.40
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
|
|
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`) */
|
package/files/package.json
CHANGED
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@forsakringskassan/stylelint-config": "3.5.1",
|
|
122
122
|
"@forsakringskassan/vite-lib-config": "5.13.6",
|
|
123
123
|
"@forsakringskassan/vitest-config-jsdom": "5.0.1",
|
|
124
|
-
"@forsakringskassan/vue-lib-template": "1.9.
|
|
124
|
+
"@forsakringskassan/vue-lib-template": "1.9.40",
|
|
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",
|
package/files/vite.config.mts
CHANGED
|
@@ -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.
|
|
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: "
|
|
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.
|
|
3
|
+
"version": "1.9.40",
|
|
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.
|
|
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
|