@forsakringskassan/vue-lib-template 1.0.3 → 1.1.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.
- package/files/README.md +6 -5
- package/files/_agents/skills/documentation/SKILL.md +118 -0
- package/files/_agents/skills/documentation/template.md +33 -0
- package/files/_htmlvalidateignore +2 -0
- package/files/_vscode/extensions.json +10 -0
- package/files/_vscode/settings.json +13 -0
- package/files/cypress/support/component.ts +37 -2
- package/files/cypress/tsconfig.json +2 -1
- package/files/cypress/types/mocha.d.ts +15 -0
- package/files/cypress.config.ts +1 -0
- package/files/docs/build.mts +14 -0
- package/files/docs/index.md +2 -0
- package/files/docs/kattinformation/index.md +28 -0
- package/files/docs/package.json +6 -3
- package/files/docs/src/bundle-mocks.mjs +22 -0
- package/files/docs/src/global.d.ts +7 -0
- package/files/docs/src/main.js +17 -0
- package/files/docs/src/main.scss +22 -0
- package/files/docs/src/setup.ts +6 -1
- package/files/docs/tsconfig.json +1 -0
- package/files/etc/lib.api.md +1 -1
- package/files/etc/selectors.api.md +13 -0
- package/files/package.json +36 -41
- package/files/renovate.json +2 -3
- package/files/src/CatInfoEdit.vue +57 -0
- package/files/src/CatInfoLogic.spec.ts +118 -0
- package/files/src/CatInfoShow.vue +27 -0
- package/files/src/FcCatInfoComponent.cy.ts +74 -0
- package/files/src/FcCatInfoComponent.vue +81 -0
- package/files/src/FcCatInfoComponentLiveExample.vue +42 -0
- package/files/src/cat-api-mock.spec.ts +27 -0
- package/files/src/cat-api.mock.mts +26 -0
- package/files/src/cat-api.spec.ts +65 -0
- package/files/src/cat-api.ts +15 -0
- package/files/src/cat-data.ts +40 -0
- package/files/src/cat-info-logic.ts +52 -0
- package/files/src/cat-types.ts +11 -0
- package/files/src/examples/CatInfoExample.vue +20 -0
- package/files/src/index.ts +3 -1
- package/files/src/local.ts +1 -1
- package/files/src/mocks.mts +6 -0
- package/files/src/selectors/FcCatInfoComponent.selectors.ts +74 -0
- package/files/src/selectors/index.ts +1 -1
- package/files/src/style.scss +1 -0
- package/files/src/vite-dev/app.vue +1 -1
- package/files/tsconfig.lib.json +7 -1
- package/files/vite.config.mts +4 -0
- package/index.js +1 -0
- package/package.json +41 -14
- package/files/docs/components/AwesomeComponent.md +0 -27
- package/files/docs/components/index.md +0 -5
- package/files/src/AwesomeComponent.cy.ts +0 -9
- package/files/src/AwesomeComponent.vue +0 -45
- package/files/src/AwesomeComponentLogic.spec.ts +0 -30
- package/files/src/awesome-component-logic.ts +0 -28
- package/files/src/examples/DummyExample.vue +0 -7
package/files/README.md
CHANGED
|
@@ -80,9 +80,10 @@ Dokumentationen genereras med [`@forsakringskassan/docs-generator`](https://fors
|
|
|
80
80
|
- [x] npm run build
|
|
81
81
|
- [x] npm run build:docs
|
|
82
82
|
- [x] npm run start:docs
|
|
83
|
-
- [
|
|
84
|
-
- [
|
|
85
|
-
- [
|
|
86
|
-
- [
|
|
87
|
-
- [
|
|
83
|
+
- [x] apimock
|
|
84
|
+
- [x] bättre exempelkomponent
|
|
85
|
+
- [x] bättre enhetstest
|
|
86
|
+
- [x] bättre komponenttest
|
|
87
|
+
- [x] live exempel
|
|
88
88
|
- [ ] skill för att skapa live exempel
|
|
89
|
+
- [ ] skript för att rensa demo-filer
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: documentation
|
|
3
|
+
description: Write component documentation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Documentation in this repository uses [`@forsakringskassan/docs-generator`](https://forsakringskassan.github.io/docs-generator/latest/) (source: https://github.com/forsakringskassan/docs-generator) to generate a documentation site.
|
|
7
|
+
When in doubt, you may consult the linked site to find the documentation of the tool itself.
|
|
8
|
+
|
|
9
|
+
The `docs/` folder holds:
|
|
10
|
+
|
|
11
|
+
- Build scripts (`docs/build.mts`).
|
|
12
|
+
- Site sourcecode (`docs/src/`).
|
|
13
|
+
- Markdown content.
|
|
14
|
+
|
|
15
|
+
After building the contents are available in the `public/` folder.
|
|
16
|
+
Files are 1:1 mapped between the `docs/` and `public/` folder, e.g. `docs/components/foo.md` generates `public/components/foo.html`.
|
|
17
|
+
|
|
18
|
+
## Commands
|
|
19
|
+
|
|
20
|
+
- `npm run -w docs build` - Build documentation.
|
|
21
|
+
- `npm start -w docs` - Start a webserver hosting the documentation at `http://localhost:8080/`.
|
|
22
|
+
|
|
23
|
+
If available, use the Chrome Devtools MCP server to access the site.
|
|
24
|
+
|
|
25
|
+
## Writing documentation
|
|
26
|
+
|
|
27
|
+
Component documentation is written in Markdown format (`.md`) in the `docs/components` folder.
|
|
28
|
+
Each component should have an associated Markdown file with the same name as the component (e.g. `AwesomeComponent.vue` should have the `AwesomeComponent.md` file).
|
|
29
|
+
Unless instructed otherwise, use Swedish language when writing content.
|
|
30
|
+
Markdown files should be formatted with Prettier.
|
|
31
|
+
|
|
32
|
+
Use [`template.md`](./template.md) as a template.
|
|
33
|
+
|
|
34
|
+
The Frontmatter block contains the properties:
|
|
35
|
+
|
|
36
|
+
- `title` - the document title, should be a human readable name of the component
|
|
37
|
+
- `status` - component status, use `Experimental`, `Draft` or `Produktionsklar` only. If unsure which one to use, ask for clarification.
|
|
38
|
+
- `layout` - must be set to `component` for component documentation.
|
|
39
|
+
- `component` - name of the Vue component.
|
|
40
|
+
|
|
41
|
+
It may optionally contain these properties:
|
|
42
|
+
|
|
43
|
+
- `short-title` - a shorter `title` used in the navigation, use this when the regular title is long and/or causes the layout to overflow.
|
|
44
|
+
- `search.terms` - an array of optional keywords the search function should index for this page.
|
|
45
|
+
|
|
46
|
+
There should not be an h1 heading in the document, it is injected automatically from the `title` property.
|
|
47
|
+
After the preamble and example, start using h2 headings.
|
|
48
|
+
|
|
49
|
+
Remove sections not relevant to the component, e.g. if it does not have translatable text skip the "Textnycklar" section.
|
|
50
|
+
|
|
51
|
+
## Examples
|
|
52
|
+
|
|
53
|
+
Each component documentation should have an example after the preamble.
|
|
54
|
+
Prefer "live examples" over regular runnable examples.
|
|
55
|
+
|
|
56
|
+
If the component has a "live example", a file with the `LiveExample.vue` suffix, include it with an `import` code fence:
|
|
57
|
+
|
|
58
|
+
````md
|
|
59
|
+
```import live-example
|
|
60
|
+
FilenameLiveExample.vue
|
|
61
|
+
```
|
|
62
|
+
````
|
|
63
|
+
|
|
64
|
+
If a live example is not present but the component instead have regular example files, files with the `Example.vue` suffix, include it with an `import` code fence:
|
|
65
|
+
|
|
66
|
+
````md
|
|
67
|
+
```import
|
|
68
|
+
FilenameExample.vue
|
|
69
|
+
```
|
|
70
|
+
````
|
|
71
|
+
|
|
72
|
+
If there are no examples, ask for clarification what to do.
|
|
73
|
+
If multiple examples (live examples or regular), ask for clarification which file should be included.
|
|
74
|
+
|
|
75
|
+
## API
|
|
76
|
+
|
|
77
|
+
Each component should include the API section and the special `api` container:
|
|
78
|
+
|
|
79
|
+
```md
|
|
80
|
+
::: api
|
|
81
|
+
vue:ComponentName
|
|
82
|
+
:::
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
This will insert the generated API documentation for the Vue component with the matching name.
|
|
86
|
+
|
|
87
|
+
## Grouping related components
|
|
88
|
+
|
|
89
|
+
A set of related components may optionally be grouped in a subfolder.
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
example-group
|
|
93
|
+
├── AnotherComponent.md
|
|
94
|
+
├── AwesomeComponent.md
|
|
95
|
+
└── index.json
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Each group must have an `index.json` containing the group title (human readable):
|
|
99
|
+
|
|
100
|
+
```json
|
|
101
|
+
{
|
|
102
|
+
"title": "Example group"
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Moving files
|
|
107
|
+
|
|
108
|
+
If a Markdown file is being moved, the Frontmatter block of the file must add the `redirect_from` property:
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
---
|
|
112
|
+
title: Fantastisk komponent
|
|
113
|
+
redirect_from:
|
|
114
|
+
- old/old-page.html
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
The property is an array of old paths (relative to the `public/` folder).
|
|
118
|
+
If the property already exists, add more entries.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Komponentens namn
|
|
3
|
+
status: Draft
|
|
4
|
+
layout: component
|
|
5
|
+
component: ComponentName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
A short preamble describing the what the component is and is used for.
|
|
9
|
+
|
|
10
|
+
```import
|
|
11
|
+
ComponentNameExample.vue
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Tänk på att
|
|
15
|
+
|
|
16
|
+
- Some bullet points with remarks
|
|
17
|
+
- Do's and don'ts
|
|
18
|
+
|
|
19
|
+
## Copy
|
|
20
|
+
|
|
21
|
+
- Some bullets points with guidelines about writing copy
|
|
22
|
+
|
|
23
|
+
## Textnycklar
|
|
24
|
+
|
|
25
|
+
::: api
|
|
26
|
+
translation:ComponentName
|
|
27
|
+
:::
|
|
28
|
+
|
|
29
|
+
## API
|
|
30
|
+
|
|
31
|
+
::: api
|
|
32
|
+
vue:ComponentName
|
|
33
|
+
:::
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"css.validate": false,
|
|
3
|
+
"less.validate": false,
|
|
4
|
+
"scss.validate": false,
|
|
5
|
+
"eslint.enable": true,
|
|
6
|
+
"prettier.requireConfig": true,
|
|
7
|
+
"editor.renderWhitespace": "boundary",
|
|
8
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
9
|
+
"explorer.fileNesting.enabled": true,
|
|
10
|
+
"explorer.fileNesting.patterns": {
|
|
11
|
+
"tsconfig.json": "tsconfig.*"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -33,8 +33,12 @@ Cypress.Commands.add("mount", (component, options = {}) => {
|
|
|
33
33
|
setRunningContext(app);
|
|
34
34
|
|
|
35
35
|
/* handle warnings as errors */
|
|
36
|
-
app.config.warnHandler = (msg
|
|
37
|
-
|
|
36
|
+
app.config.warnHandler = (msg) => {
|
|
37
|
+
const mochaRunner = Cypress.mocha.getRunner();
|
|
38
|
+
const body = mochaRunner.test?.body ?? "";
|
|
39
|
+
if (!body.includes("<expectedException")) {
|
|
40
|
+
cy.wrap(`Vue warning: ${msg}`).should("be.empty");
|
|
41
|
+
}
|
|
38
42
|
};
|
|
39
43
|
},
|
|
40
44
|
});
|
|
@@ -42,4 +46,35 @@ Cypress.Commands.add("mount", (component, options = {}) => {
|
|
|
42
46
|
return mount(component, options);
|
|
43
47
|
});
|
|
44
48
|
|
|
49
|
+
const uncaughtErrors: string[] = [];
|
|
50
|
+
|
|
51
|
+
Cypress.on("uncaught:exception", (err) => {
|
|
52
|
+
const mochaRunner = Cypress.mocha.getRunner();
|
|
53
|
+
const currentTest = mochaRunner.test;
|
|
54
|
+
|
|
55
|
+
const body = currentTest?.body ?? "";
|
|
56
|
+
const match = body.match(
|
|
57
|
+
/<expectedException>([\s\S]*?)<\/expectedException>|<expectedException\s*\/>/i,
|
|
58
|
+
);
|
|
59
|
+
const message = match ? match[1].trim() : null;
|
|
60
|
+
if (message?.length === 0 || (message && err.message.includes(message))) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const testName =
|
|
65
|
+
currentTest?.fullTitle() ?? currentTest?.title ?? "<unknown>";
|
|
66
|
+
|
|
67
|
+
uncaughtErrors.push(testName);
|
|
68
|
+
|
|
69
|
+
return true;
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
after(() => {
|
|
73
|
+
if (uncaughtErrors.length > 0) {
|
|
74
|
+
throw new Error(
|
|
75
|
+
`⚠️ Suite failed because an uncaught exception occurred earlier in: ${uncaughtErrors}`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
45
80
|
injectSpritesheet();
|
package/files/cypress.config.ts
CHANGED
package/files/docs/build.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { copyFileSync } from "node:fs";
|
|
1
2
|
import path from "node:path";
|
|
2
3
|
import {
|
|
3
4
|
Generator,
|
|
@@ -17,10 +18,18 @@ const docs = new Generator(import.meta.url, {
|
|
|
17
18
|
],
|
|
18
19
|
});
|
|
19
20
|
|
|
21
|
+
docs.compileScript("main", "./src/main.js", {
|
|
22
|
+
appendTo: "body",
|
|
23
|
+
});
|
|
24
|
+
|
|
20
25
|
docs.compileStyle("main", "./src/main.scss", {
|
|
21
26
|
appendTo: "head",
|
|
22
27
|
});
|
|
23
28
|
|
|
29
|
+
docs.compileScript("mocks", "./src/bundle-mocks.mjs", {
|
|
30
|
+
appendTo: "head",
|
|
31
|
+
});
|
|
32
|
+
|
|
24
33
|
await docs.build([
|
|
25
34
|
{
|
|
26
35
|
include: ["**/*.md"],
|
|
@@ -32,3 +41,8 @@ await docs.build([
|
|
|
32
41
|
fileReader: vueFileReader,
|
|
33
42
|
},
|
|
34
43
|
]);
|
|
44
|
+
|
|
45
|
+
copyFileSync(
|
|
46
|
+
"../node_modules/msw/lib/mockServiceWorker.js",
|
|
47
|
+
"./public/mock-service-worker.js",
|
|
48
|
+
);
|
package/files/docs/index.md
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Kattinformation
|
|
3
|
+
status: Draft
|
|
4
|
+
layout: component
|
|
5
|
+
component: FcCatInfoComponent
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Komponenten kan visa kattdata i visningsläge eller i ett redigerbart läge.
|
|
9
|
+
Den hämtar kattdata från ett mockat backend.
|
|
10
|
+
|
|
11
|
+
```import live-example
|
|
12
|
+
FcCatInfoComponentLiveExample.vue
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Tänk på att
|
|
16
|
+
|
|
17
|
+
- Detta är en exempelkomponent.
|
|
18
|
+
- Den ska inte användas i produktion.
|
|
19
|
+
|
|
20
|
+
## Copy
|
|
21
|
+
|
|
22
|
+
- Använd tydlig och begriplig text.
|
|
23
|
+
|
|
24
|
+
## API
|
|
25
|
+
|
|
26
|
+
::: api
|
|
27
|
+
vue:FcCatInfoComponent
|
|
28
|
+
:::
|
package/files/docs/package.json
CHANGED
|
@@ -7,11 +7,14 @@
|
|
|
7
7
|
"start": "http-server public"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@fkui/
|
|
11
|
-
"@
|
|
10
|
+
"@fkui/icon-lib-default": "6.57.1",
|
|
11
|
+
"@fkui/vue": "6.57.1",
|
|
12
|
+
"@forsakringskassan/apimock-express": "4.0.0",
|
|
13
|
+
"@forsakringskassan/docs-generator": "3.6.4",
|
|
12
14
|
"@tsconfig/node24": "24.0.5",
|
|
13
15
|
"@tsconfig/recommended": "1.0.13",
|
|
14
16
|
"http-server": "14.1.1",
|
|
15
|
-
"
|
|
17
|
+
"msw": "2.15.0",
|
|
18
|
+
"vue": "3.5.42"
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { matchRequest } from "@forsakringskassan/apimock-express/browser";
|
|
2
|
+
import { http } from "msw";
|
|
3
|
+
import { setupWorker } from "msw/browser";
|
|
4
|
+
import mocks from "../../src/mocks.mts";
|
|
5
|
+
|
|
6
|
+
const handlers = [
|
|
7
|
+
http.all("/api/*", async (req) => {
|
|
8
|
+
return await matchRequest(mocks, req.request);
|
|
9
|
+
}),
|
|
10
|
+
];
|
|
11
|
+
const worker = setupWorker(...handlers);
|
|
12
|
+
// eslint-disable-next-line no-undef -- technical debt
|
|
13
|
+
const rootUrl = document.documentElement.dataset["rootUrl"];
|
|
14
|
+
const url = `${rootUrl}/mock-service-worker.js`;
|
|
15
|
+
|
|
16
|
+
// Used in setup.ts
|
|
17
|
+
// eslint-disable-next-line unicorn/no-global-object-property-assignment, no-undef -- technical debt
|
|
18
|
+
window.bundleMocks = worker.start({
|
|
19
|
+
serviceWorker: {
|
|
20
|
+
url,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { config } from "@fkui/vue";
|
|
2
|
+
|
|
3
|
+
function importDefault(m) {
|
|
4
|
+
return m.default ?? m;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
async function importIcons() {
|
|
8
|
+
const icons = importDefault(await import(process.env.DOCS_ICON_LIB));
|
|
9
|
+
|
|
10
|
+
for (const entry of Object.values(icons)) {
|
|
11
|
+
entry.injectSpritesheet();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
config.teleportTarget = document.querySelector("#teleport-target");
|
|
16
|
+
|
|
17
|
+
await importIcons();
|
package/files/docs/src/main.scss
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
1
|
@use "@forsakringskassan/docs-generator/style.css";
|
|
2
|
+
@use "@fkui/theme-default" as theme with (
|
|
3
|
+
$global: false
|
|
4
|
+
);
|
|
5
|
+
@use "@fkui/font-default" as font with (
|
|
6
|
+
$global: false
|
|
7
|
+
);
|
|
8
|
+
@use "@fkui/design";
|
|
9
|
+
@use "@fkui/design/lib/fonts.css";
|
|
10
|
+
@use "@forsakringskassan/docs-live-example";
|
|
11
|
+
|
|
12
|
+
@include font.font-face;
|
|
13
|
+
|
|
14
|
+
:root {
|
|
15
|
+
@include theme.auto;
|
|
16
|
+
@include font.font-family;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
html,
|
|
20
|
+
body {
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
package/files/docs/src/setup.ts
CHANGED
|
@@ -10,8 +10,13 @@ import {
|
|
|
10
10
|
} from "@fkui/vue";
|
|
11
11
|
import { type SetupOptions } from "@forsakringskassan/docs-generator";
|
|
12
12
|
|
|
13
|
-
export function setup(options: SetupOptions): void {
|
|
13
|
+
export async function setup(options: SetupOptions): Promise<void> {
|
|
14
14
|
const { rootComponent, selector } = options;
|
|
15
|
+
|
|
16
|
+
// Set in bundle-mocks.mjs, wait on mock service worker to be ready.
|
|
17
|
+
if (window.bundleMocks) {
|
|
18
|
+
await window.bundleMocks;
|
|
19
|
+
}
|
|
15
20
|
const app = createApp({
|
|
16
21
|
render() {
|
|
17
22
|
return h(FErrorHandlingApp, { defaultComponent: rootComponent });
|
package/files/docs/tsconfig.json
CHANGED
package/files/etc/lib.api.md
CHANGED
|
@@ -12,7 +12,7 @@ import { PublicProps } from 'vue';
|
|
|
12
12
|
// Warning: (ae-forgotten-export) The symbol "__VLS_export" needs to be exported by the entry point index.d.ts
|
|
13
13
|
//
|
|
14
14
|
// @public (undocumented)
|
|
15
|
-
export const
|
|
15
|
+
export const FcCatInfoComponent: typeof __VLS_export;
|
|
16
16
|
|
|
17
17
|
// (No @packageDocumentation comment for this package)
|
|
18
18
|
|
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
+
// @public
|
|
8
|
+
export function FcCatInfoComponentSelectors(selector?: string): Readonly<{
|
|
9
|
+
readonly selector: string;
|
|
10
|
+
loadingContainer(): string;
|
|
11
|
+
viewContainer(): string;
|
|
12
|
+
editContainer(): string;
|
|
13
|
+
nameInput(): string;
|
|
14
|
+
ageInput(): string;
|
|
15
|
+
breedInput(): string;
|
|
16
|
+
colorInput(): string;
|
|
17
|
+
favoriteFoodInput(): string;
|
|
18
|
+
}>;
|
|
19
|
+
|
|
7
20
|
// (No @packageDocumentation comment for this package)
|
|
8
21
|
|
|
9
22
|
```
|
package/files/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "${name}",
|
|
3
3
|
"version": "${version}",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Vue library template based on Cloneman",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"template",
|
|
7
7
|
"vue",
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/Forsakringskassan/vue-lib-template/issues"
|
|
14
14
|
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/Forsakringskassan/vue-lib-template.git"
|
|
18
|
-
},
|
|
19
15
|
"license": "MIT",
|
|
20
16
|
"author": "Försäkringskassan",
|
|
21
17
|
"exports": {
|
|
@@ -83,52 +79,53 @@
|
|
|
83
79
|
"devDependencies": {
|
|
84
80
|
"@babel/core": "7.29.7",
|
|
85
81
|
"@babel/preset-env": "7.29.7",
|
|
86
|
-
"@fkui/design": "6.
|
|
87
|
-
"@fkui/font-default": "6.
|
|
88
|
-
"@fkui/icon-lib-default": "6.
|
|
89
|
-
"@fkui/logic": "6.
|
|
90
|
-
"@fkui/test-utils": "6.
|
|
91
|
-
"@fkui/theme-default": "6.
|
|
92
|
-
"@fkui/vue": "6.
|
|
82
|
+
"@fkui/design": "6.57.1",
|
|
83
|
+
"@fkui/font-default": "6.57.0",
|
|
84
|
+
"@fkui/icon-lib-default": "6.57.1",
|
|
85
|
+
"@fkui/logic": "6.57.1",
|
|
86
|
+
"@fkui/test-utils": "6.57.1",
|
|
87
|
+
"@fkui/theme-default": "6.57.1",
|
|
88
|
+
"@fkui/vue": "6.57.1",
|
|
89
|
+
"@forsakringskassan/apimock-express": "4.0.0",
|
|
93
90
|
"@forsakringskassan/commitlint-config": "4.2.8",
|
|
94
91
|
"@forsakringskassan/cypress-axe": "5.1.5",
|
|
95
|
-
"@forsakringskassan/cypress-visual-regression": "5.
|
|
96
|
-
"@forsakringskassan/docs-generator": "3.6.
|
|
97
|
-
"@forsakringskassan/docs-live-example": "3.0.
|
|
98
|
-
"@forsakringskassan/eslint-config": "15.
|
|
99
|
-
"@forsakringskassan/eslint-config-cli": "15.
|
|
100
|
-
"@forsakringskassan/eslint-config-cypress": "15.
|
|
101
|
-
"@forsakringskassan/eslint-config-jest": "15.
|
|
102
|
-
"@forsakringskassan/eslint-config-typescript": "15.
|
|
103
|
-
"@forsakringskassan/eslint-config-typescript-typeinfo": "15.
|
|
104
|
-
"@forsakringskassan/eslint-config-vitest": "15.
|
|
105
|
-
"@forsakringskassan/eslint-config-vue": "15.
|
|
92
|
+
"@forsakringskassan/cypress-visual-regression": "5.2.0",
|
|
93
|
+
"@forsakringskassan/docs-generator": "3.6.4",
|
|
94
|
+
"@forsakringskassan/docs-live-example": "3.0.2",
|
|
95
|
+
"@forsakringskassan/eslint-config": "15.9.5",
|
|
96
|
+
"@forsakringskassan/eslint-config-cli": "15.9.3",
|
|
97
|
+
"@forsakringskassan/eslint-config-cypress": "15.9.3",
|
|
98
|
+
"@forsakringskassan/eslint-config-jest": "15.9.2",
|
|
99
|
+
"@forsakringskassan/eslint-config-typescript": "15.9.2",
|
|
100
|
+
"@forsakringskassan/eslint-config-typescript-typeinfo": "15.9.2",
|
|
101
|
+
"@forsakringskassan/eslint-config-vitest": "15.9.4",
|
|
102
|
+
"@forsakringskassan/eslint-config-vue": "15.9.6",
|
|
106
103
|
"@forsakringskassan/prettier-config": "3.7.8",
|
|
107
|
-
"@forsakringskassan/stylelint-config": "3.4.
|
|
108
|
-
"@forsakringskassan/vite-lib-config": "5.
|
|
109
|
-
"@forsakringskassan/vitest-config-jsdom": "
|
|
110
|
-
"@forsakringskassan/vue-lib-template": "1.0
|
|
111
|
-
"@html-validate/release-scripts": "7.6.
|
|
104
|
+
"@forsakringskassan/stylelint-config": "3.4.6",
|
|
105
|
+
"@forsakringskassan/vite-lib-config": "5.11.0",
|
|
106
|
+
"@forsakringskassan/vitest-config-jsdom": "5.0.0",
|
|
107
|
+
"@forsakringskassan/vue-lib-template": "1.1.0",
|
|
108
|
+
"@html-validate/release-scripts": "7.6.11",
|
|
112
109
|
"@types/node": "24.13.3",
|
|
113
110
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
114
|
-
"@vue/server-renderer": "3.5.
|
|
115
|
-
"@vue/test-utils": "2.
|
|
116
|
-
"cloneman": "1.
|
|
111
|
+
"@vue/server-renderer": "3.5.42",
|
|
112
|
+
"@vue/test-utils": "2.5.0",
|
|
113
|
+
"cloneman": "1.23.1",
|
|
117
114
|
"core-js": "3.50.0",
|
|
118
|
-
"cypress": "
|
|
119
|
-
"cypress-html-validate": "9.
|
|
120
|
-
"html-validate": "11.
|
|
115
|
+
"cypress": "16.0.0",
|
|
116
|
+
"cypress-html-validate": "9.1.0",
|
|
117
|
+
"html-validate": "11.14.0",
|
|
121
118
|
"html-validate-markdown": "6.0.0",
|
|
122
119
|
"html-validate-vue": "9.3.1",
|
|
123
120
|
"mocha-junit-reporter": "2.2.1",
|
|
124
121
|
"mocha-multi-reporters": "1.5.1",
|
|
125
|
-
"npm-pkg-lint": "5.2.
|
|
122
|
+
"npm-pkg-lint": "5.2.5",
|
|
126
123
|
"npm-run-all2": "9.0.3",
|
|
127
124
|
"rimraf": "6.1.3",
|
|
128
125
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
129
126
|
"vite": "8.2.2",
|
|
130
|
-
"vitest": "
|
|
131
|
-
"vue": "3.5.
|
|
127
|
+
"vitest": "5.0.0",
|
|
128
|
+
"vue": "3.5.42",
|
|
132
129
|
"vue-tsc": "3.3.11"
|
|
133
130
|
},
|
|
134
131
|
"peerDependencies": {
|
|
@@ -147,11 +144,9 @@
|
|
|
147
144
|
"cypress": true,
|
|
148
145
|
"esbuild": true,
|
|
149
146
|
"fsevents": false,
|
|
147
|
+
"msw": false,
|
|
150
148
|
"unrs-resolver": true
|
|
151
149
|
},
|
|
152
|
-
"cloneman": {
|
|
153
|
-
"template": "@forsakringskassan/vue-lib-template",
|
|
154
|
-
"version": "1.0.3"
|
|
155
|
-
},
|
|
150
|
+
"cloneman": {},
|
|
156
151
|
"externalDependencies": []
|
|
157
152
|
}
|
package/files/renovate.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"local>forsakringskassan/renovate-config"
|
|
4
|
-
],
|
|
2
|
+
"extends": ["local>forsakringskassan/renovate-config"],
|
|
5
3
|
"ignoreDeps": [
|
|
6
4
|
"@babel/core",
|
|
7
5
|
"@babel/preset-env",
|
|
6
|
+
"@forsakringskassan/apimock-express",
|
|
8
7
|
"@forsakringskassan/commitlint-config",
|
|
9
8
|
"@forsakringskassan/cypress-axe",
|
|
10
9
|
"@forsakringskassan/cypress-visual-regression",
|