@forsakringskassan/vue-lib-template 1.0.4 → 1.2.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.
Files changed (69) hide show
  1. package/files/Jenkinsfile +2 -0
  2. package/files/README.md +6 -5
  3. package/files/_editorconfig +3 -0
  4. package/files/_gitignore +3 -0
  5. package/files/_htmlvalidateignore +5 -0
  6. package/files/_prettierignore +4 -1
  7. package/files/api-extractor.lib.json +1 -1
  8. package/files/api-extractor.selectors.json +1 -1
  9. package/files/babel.config.js +2 -0
  10. package/files/cypress/support/common.ts +7 -6
  11. package/files/cypress/support/component.ts +5 -25
  12. package/files/cypress/support/main.scss +2 -0
  13. package/files/cypress/tsconfig.json +3 -3
  14. package/files/cypress.config.ts +14 -75
  15. package/files/docs/build.mts +16 -0
  16. package/files/docs/index.md +2 -0
  17. package/files/docs/kattinformation/index.md +28 -0
  18. package/files/docs/package.json +5 -2
  19. package/files/docs/src/bundle-mocks.mjs +22 -0
  20. package/files/docs/src/global.d.ts +7 -0
  21. package/files/docs/src/main.js +17 -0
  22. package/files/docs/src/main.scss +22 -0
  23. package/files/docs/src/setup.ts +6 -1
  24. package/files/docs/tsconfig.json +3 -0
  25. package/files/eslint.config.mjs +2 -0
  26. package/files/etc/lib.api.md +1 -1
  27. package/files/etc/selectors.api.md +13 -0
  28. package/files/package.json +47 -33
  29. package/files/renovate.json +2 -3
  30. package/files/src/CatInfoEdit.vue +57 -0
  31. package/files/src/CatInfoLogic.spec.ts +118 -0
  32. package/files/src/CatInfoShow.vue +27 -0
  33. package/files/src/FcCatInfoComponent.cy.ts +74 -0
  34. package/files/src/FcCatInfoComponent.vue +81 -0
  35. package/files/src/FcCatInfoComponentLiveExample.vue +42 -0
  36. package/files/src/cat-api-mock.spec.ts +27 -0
  37. package/files/src/cat-api.mock.mts +26 -0
  38. package/files/src/cat-api.spec.ts +65 -0
  39. package/files/src/cat-api.ts +15 -0
  40. package/files/src/cat-data.ts +40 -0
  41. package/files/src/cat-info-logic.ts +52 -0
  42. package/files/src/cat-types.ts +11 -0
  43. package/files/src/examples/CatInfoExample.vue +20 -0
  44. package/files/src/index.ts +3 -1
  45. package/files/src/local.ts +1 -1
  46. package/files/src/mocks.mts +6 -0
  47. package/files/src/selectors/FcCatInfoComponent.selectors.ts +74 -0
  48. package/files/src/selectors/index.ts +1 -1
  49. package/files/src/style.scss +1 -0
  50. package/files/src/vite-dev/app.vue +1 -1
  51. package/files/tsconfig.cypress.json +1 -1
  52. package/files/tsconfig.json +1 -1
  53. package/files/tsconfig.lib.json +8 -2
  54. package/files/tsconfig.selectors.json +1 -1
  55. package/files/vite.config.mts +5 -1
  56. package/hooks/install.mjs +9 -1
  57. package/index.js +1 -0
  58. package/package.json +25 -16
  59. package/files/cypress/support/commands/forced-colors.ts +0 -33
  60. package/files/cypress/support/component-index.html +0 -14
  61. package/files/cypress/types/cy-mount.d.ts +0 -9
  62. package/files/cypress/types/forced-colors.d.ts +0 -18
  63. package/files/docs/components/AwesomeComponent.md +0 -27
  64. package/files/docs/components/index.md +0 -5
  65. package/files/src/AwesomeComponent.cy.ts +0 -9
  66. package/files/src/AwesomeComponent.vue +0 -45
  67. package/files/src/AwesomeComponentLogic.spec.ts +0 -30
  68. package/files/src/awesome-component-logic.ts +0 -28
  69. package/files/src/examples/DummyExample.vue +0 -7
package/files/Jenkinsfile CHANGED
@@ -1,3 +1,5 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
1
3
  buildRepo([
2
4
  nodejs: [
3
5
  docs: [
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
- - [ ] apimock
84
- - [ ] bättre exempelkomponent
85
- - [ ] bättre enhetstest
86
- - [ ] bättre komponenttest
87
- - [ ] live exempel
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
@@ -1,3 +1,6 @@
1
+ # This file is managed by @forsakringskassan/vue-lib-template.
2
+ # Changes will be overwritten!
3
+
1
4
  # EditorConfig documentation: http://EditorConfig.org
2
5
  root = true
3
6
 
package/files/_gitignore CHANGED
@@ -1,3 +1,6 @@
1
+ # This file is managed by @forsakringskassan/vue-lib-template.
2
+ # Changes will be overwritten!
3
+
1
4
  # vite dev
2
5
  # /src/vite-dev/app.vue
3
6
  *.tgz
@@ -1,2 +1,7 @@
1
+ # This file is managed by @forsakringskassan/vue-lib-template.
2
+ # Changes will be overwritten!
3
+
1
4
  # generated files
2
5
  docs/public/
6
+ docs/node_modules/
7
+ docs/temp/
@@ -1,3 +1,6 @@
1
+ # This file is managed by @forsakringskassan/vue-lib-template.
2
+ # Changes will be overwritten!
3
+
1
4
  # owned by tooling
2
5
  package-lock.json
3
6
  node_modules/
@@ -26,4 +29,4 @@ yarn-error.log*
26
29
  *.ntvs*
27
30
  *.njsproj
28
31
  *.sln
29
- *.sw?
32
+ *.sw?
@@ -1,4 +1,4 @@
1
- /* This file was generated by @forsakringskassan/vite-lib-config. Changes may be overwritten! */
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
2
 
3
3
  {
4
4
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
@@ -1,4 +1,4 @@
1
- /* This file was generated by @forsakringskassan/vite-lib-config. Changes may be overwritten! */
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
2
 
3
3
  {
4
4
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
@@ -1,3 +1,5 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
1
3
  module.exports = {
2
4
  presets: ["@forsakringskassan/vite-lib-config/babel"],
3
5
  };
@@ -1,10 +1,11 @@
1
- /// <reference types="cypress" />
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
2
 
3
+ import { configure } from "@forsakringskassan/cypress-config/support";
3
4
  import "@forsakringskassan/cypress-visual-regression/commands";
4
- import "@forsakringskassan/cypress-axe/support";
5
- import "cypress-html-validate/dist/commands";
6
- import "./commands/forced-colors";
7
5
 
8
- afterEach(() => {
9
- cy.htmlvalidate();
6
+ await configure({
7
+ resetEmulatedMedia: true,
8
+ afterEach: {
9
+ htmlvalidate: true,
10
+ },
10
11
  });
@@ -1,38 +1,18 @@
1
- import { type App } from "vue";
2
- import { mount } from "cypress/vue";
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
3
+ import { mount } from "@forsakringskassan/cypress-config/support";
3
4
  import { injectSpritesheet } from "@fkui/icon-lib-default/dist/f/injectSpritesheet";
4
- import {
5
- config,
6
- setRunningContext,
7
- FormatPlugin,
8
- TestPlugin,
9
- TranslationPlugin,
10
- ValidationPlugin,
11
- } from "@fkui/vue";
12
5
  import "@fkui/theme-default";
13
6
  import "./main.scss";
14
7
  import "./common";
15
8
 
16
- config.teleportTarget = "#teleport";
17
-
18
9
  Cypress.Commands.add("mount", (component, options = {}) => {
19
- // Setup options object
20
10
  options.global ??= {};
21
11
  options.global.plugins ??= [];
22
- options.global.config ??= {};
23
- options.global.config.compilerOptions ??= {};
24
- options.global.config.compilerOptions.whitespace = "preserve";
25
12
 
26
- /* Installing validationPlugin */
13
+ /* handle warnings as errors */
27
14
  options.global.plugins.push({
28
- install(app: App) {
29
- app.use(FormatPlugin);
30
- app.use(ValidationPlugin);
31
- app.use(TestPlugin);
32
- app.use(TranslationPlugin);
33
- setRunningContext(app);
34
-
35
- /* handle warnings as errors */
15
+ install(app) {
36
16
  app.config.warnHandler = (msg) => {
37
17
  const mochaRunner = Cypress.mocha.getRunner();
38
18
  const body = mochaRunner.test?.body ?? "";
@@ -1,3 +1,5 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
1
3
  @use "@fkui/design/src/core/config-variables" with (
2
4
  $asset-path: "@fkui/design"
3
5
  );
@@ -1,3 +1,5 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
1
3
  {
2
4
  "extends": ["@fkui/tsconfig/recommended", "@fkui/tsconfig/cypress"],
3
5
  "compilerOptions": {
@@ -6,10 +8,8 @@
6
8
  "cypress",
7
9
  "node",
8
10
  "vite/client",
9
- "cy-mount",
10
- "cypress-html-validate/commands",
11
+ "@forsakringskassan/cypress-config/support",
11
12
  "@forsakringskassan/cypress-visual-regression/commands",
12
- "forced-colors",
13
13
  "mocha"
14
14
  ],
15
15
  "typeRoots": ["../node_modules", "../node_modules/@types", "./types"],
@@ -1,89 +1,28 @@
1
- import { defineConfig } from "cypress";
2
- import exclude from "@fkui/vue/htmlvalidate/cypress";
3
- import { init as installAxe } from "@forsakringskassan/cypress-axe/plugins";
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
3
+ import {
4
+ axePlugin,
5
+ defineConfig,
6
+ htmlValidatePlugin,
7
+ } from "@forsakringskassan/cypress-config";
4
8
  import getToMatchScreenshotsPlugin from "@forsakringskassan/cypress-visual-regression/plugin";
5
- import htmlvalidate, {
6
- CypressHtmlValidateOptions,
7
- } from "cypress-html-validate/plugin";
8
- import { type ConfigData } from "html-validate";
9
9
 
10
- function installPlugins(
10
+ async function installPlugins(
11
11
  on: Cypress.PluginEvents,
12
12
  config: Cypress.PluginConfigOptions,
13
- ): Cypress.PluginConfigOptions {
13
+ ): Promise<Cypress.PluginConfigOptions> {
14
14
  getToMatchScreenshotsPlugin(on, config);
15
- htmlvalidate.install(on, htmlValidateConfig, htmlValidateOptions);
16
- config = installAxe(on, config, {
17
- context: {
18
- include: [
19
- [".code-preview"],
20
- ["[data-preview]"],
21
- ["[data-cy-root]"],
22
- ],
23
- exclude: [
24
- [".calendar__item--selected"],
25
- [".file-selector input"],
26
- [".wizard-step__header__title"],
27
- [".live-example__code"],
28
- ],
29
- },
30
- });
15
+ config = await axePlugin(on, config);
16
+ config = await htmlValidatePlugin(on, config);
31
17
  return config;
32
18
  }
33
19
 
34
- const htmlValidateConfig: ConfigData = {
35
- rules: {
36
- /* some examples show how to use custom heading levels which often
37
- * doesn't match the heading outline for the documentation */
38
- "heading-level": ["off"],
39
-
40
- /* prevents mismatches from disabled rules which does not trigger errors
41
- * when Cypress tests are running but would yield errors during normal
42
- * validation */
43
- "no-unused-disable": "off",
44
-
45
- /* we cannot use native progressbar element due to SLA */
46
- "prefer-native-element": [
47
- "error",
48
- {
49
- exclude: ["progressbar"],
50
- },
51
- ],
52
-
53
- /* sadly we dont use SRI at FK */
54
- "require-sri": "off",
55
- },
56
- };
57
-
58
- const htmlValidateOptions: CypressHtmlValidateOptions = {
59
- include: [
60
- /* Cypress component tests */
61
- "#__cy_vue_root > div",
62
- ],
63
- exclude,
64
- };
65
-
66
- export default defineConfig({
67
- allowCypressEnv: false,
20
+ export default defineConfig(import.meta.dirname, {
68
21
  // Cypress may sometimes restart tests when it detects a changed file in the __screenshot__ folder.
69
22
  watchForFileChanges: false,
70
- /* disable video recording, it is to slow both on remote machines and on
71
- * CI/CD testing. */
72
- video: false,
73
- reporter: require.resolve("mocha-multi-reporters"),
74
- reporterOptions: {
75
- reporterEnabled: "spec, mocha-junit-reporter",
76
- mochaJunitReporterReporterOptions: {
77
- mochaFile: "test-results/cypress-test-output_[hash].xml",
78
- },
79
- },
80
23
  component: {
81
- setupNodeEvents(on, config) {
82
- return installPlugins(on, config);
83
- },
84
- devServer: {
85
- framework: "vue",
86
- bundler: "vite",
24
+ async setupNodeEvents(on, config) {
25
+ return await installPlugins(on, config);
87
26
  },
88
27
  },
89
28
  defaultBrowser: "chrome",
@@ -1,3 +1,6 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
3
+ import { copyFileSync } from "node:fs";
1
4
  import path from "node:path";
2
5
  import {
3
6
  Generator,
@@ -17,10 +20,18 @@ const docs = new Generator(import.meta.url, {
17
20
  ],
18
21
  });
19
22
 
23
+ docs.compileScript("main", "./src/main.js", {
24
+ appendTo: "body",
25
+ });
26
+
20
27
  docs.compileStyle("main", "./src/main.scss", {
21
28
  appendTo: "head",
22
29
  });
23
30
 
31
+ docs.compileScript("mocks", "./src/bundle-mocks.mjs", {
32
+ appendTo: "head",
33
+ });
34
+
24
35
  await docs.build([
25
36
  {
26
37
  include: ["**/*.md"],
@@ -32,3 +43,8 @@ await docs.build([
32
43
  fileReader: vueFileReader,
33
44
  },
34
45
  ]);
46
+
47
+ copyFileSync(
48
+ "../node_modules/msw/lib/mockServiceWorker.js",
49
+ "./public/mock-service-worker.js",
50
+ );
@@ -1,3 +1,5 @@
1
1
  ---
2
2
  title: "@forsakringskassan/vue-lib-template"
3
3
  ---
4
+
5
+ För mer information om hur du skapar egna sidor, besök [docs-generator](https://forsakringskassan.github.io/docs-generator/latest/).
@@ -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
+ :::
@@ -7,11 +7,14 @@
7
7
  "start": "http-server public"
8
8
  },
9
9
  "devDependencies": {
10
- "@fkui/vue": "6.55.0",
11
- "@forsakringskassan/docs-generator": "3.6.2",
10
+ "@fkui/icon-lib-default": "6.57.1",
11
+ "@fkui/vue": "6.57.1",
12
+ "@forsakringskassan/apimock-express": "4.1.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",
17
+ "msw": "2.15.0",
15
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,7 @@
1
+ export {};
2
+
3
+ declare global {
4
+ interface Window {
5
+ bundleMocks?: Promise<void>;
6
+ }
7
+ }
@@ -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();
@@ -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
+ }
@@ -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 });
@@ -1,6 +1,9 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
1
3
  {
2
4
  "extends": ["@tsconfig/recommended", "@tsconfig/node24"],
3
5
  "compilerOptions": {
6
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
4
7
  "types": ["node"]
5
8
  },
6
9
  "include": ["**/*.ts", "**/*.mts"],
@@ -1,3 +1,5 @@
1
+ /* This file is managed by @forsakringskassan/vue-lib-template. Changes will be overwritten! */
2
+
1
3
  import defaultConfig, {
2
4
  docsConfig,
3
5
  examplesConfig,
@@ -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 AwesomeComponent: typeof __VLS_export;
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
  ```
@@ -1,6 +1,19 @@
1
1
  {
2
2
  "name": "${name}",
3
3
  "version": "${version}",
4
+ "description": "Vue library template based on Cloneman",
5
+ "keywords": [
6
+ "template",
7
+ "vue",
8
+ "cloneman",
9
+ "library"
10
+ ],
11
+ "homepage": "https://github.com/Forsakringskassan/vue-lib-template#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/Forsakringskassan/vue-lib-template/issues"
14
+ },
15
+ "license": "MIT",
16
+ "author": "Försäkringskassan",
4
17
  "exports": {
5
18
  ".": {
6
19
  "types": "./dist/types/index.d.ts",
@@ -66,51 +79,50 @@
66
79
  "devDependencies": {
67
80
  "@babel/core": "7.29.7",
68
81
  "@babel/preset-env": "7.29.7",
69
- "@fkui/design": "6.55.0",
70
- "@fkui/font-default": "6.55.0",
71
- "@fkui/icon-lib-default": "6.55.0",
72
- "@fkui/logic": "6.55.0",
73
- "@fkui/test-utils": "6.55.0",
74
- "@fkui/theme-default": "6.55.0",
75
- "@fkui/vue": "6.55.0",
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.1.0",
76
90
  "@forsakringskassan/commitlint-config": "4.2.8",
77
- "@forsakringskassan/cypress-axe": "5.1.5",
78
- "@forsakringskassan/cypress-visual-regression": "5.1.0",
79
- "@forsakringskassan/docs-generator": "3.6.2",
80
- "@forsakringskassan/docs-live-example": "3.0.1",
81
- "@forsakringskassan/eslint-config": "15.9.0",
82
- "@forsakringskassan/eslint-config-cli": "15.9.0",
83
- "@forsakringskassan/eslint-config-cypress": "15.9.0",
84
- "@forsakringskassan/eslint-config-jest": "15.9.0",
85
- "@forsakringskassan/eslint-config-typescript": "15.9.0",
86
- "@forsakringskassan/eslint-config-typescript-typeinfo": "15.9.0",
87
- "@forsakringskassan/eslint-config-vitest": "15.9.0",
88
- "@forsakringskassan/eslint-config-vue": "15.9.0",
91
+ "@forsakringskassan/cypress-config": "1.9.1",
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.7",
96
+ "@forsakringskassan/eslint-config-cli": "15.9.3",
97
+ "@forsakringskassan/eslint-config-cypress": "15.9.9",
98
+ "@forsakringskassan/eslint-config-jest": "15.9.2",
99
+ "@forsakringskassan/eslint-config-typescript": "15.9.8",
100
+ "@forsakringskassan/eslint-config-typescript-typeinfo": "15.9.8",
101
+ "@forsakringskassan/eslint-config-vitest": "15.9.4",
102
+ "@forsakringskassan/eslint-config-vue": "15.9.8",
89
103
  "@forsakringskassan/prettier-config": "3.7.8",
90
- "@forsakringskassan/stylelint-config": "3.4.5",
91
- "@forsakringskassan/vite-lib-config": "5.10.2",
92
- "@forsakringskassan/vitest-config-jsdom": "2.7.0",
93
- "@forsakringskassan/vue-lib-template": "1.0.4",
94
- "@html-validate/release-scripts": "7.6.8",
95
- "@types/node": "24.13.3",
104
+ "@forsakringskassan/stylelint-config": "3.4.6",
105
+ "@forsakringskassan/vite-lib-config": "5.11.1",
106
+ "@forsakringskassan/vitest-config-jsdom": "5.0.0",
107
+ "@forsakringskassan/vue-lib-template": "1.2.0",
108
+ "@html-validate/release-scripts": "7.6.11",
109
+ "@types/node": "24.13.4",
96
110
  "@typescript/native": "npm:typescript@7.0.2",
97
111
  "@vue/server-renderer": "3.5.42",
98
112
  "@vue/test-utils": "2.5.0",
99
- "cloneman": "1.22.0",
113
+ "cloneman": "1.23.1",
100
114
  "core-js": "3.50.0",
101
- "cypress": "15.21.1",
102
- "cypress-html-validate": "9.0.0",
103
- "html-validate": "11.10.0",
115
+ "cypress": "16.0.0",
116
+ "html-validate": "11.15.0",
104
117
  "html-validate-markdown": "6.0.0",
105
118
  "html-validate-vue": "9.3.1",
106
119
  "mocha-junit-reporter": "2.2.1",
107
- "mocha-multi-reporters": "1.5.1",
108
- "npm-pkg-lint": "5.2.4",
120
+ "npm-pkg-lint": "5.2.5",
109
121
  "npm-run-all2": "9.0.3",
110
122
  "rimraf": "6.1.3",
111
123
  "typescript": "npm:@typescript/typescript6@6.0.2",
112
- "vite": "8.2.2",
113
- "vitest": "4.1.11",
124
+ "vite": "8.3.0",
125
+ "vitest": "5.0.0",
114
126
  "vue": "3.5.42",
115
127
  "vue-tsc": "3.3.11"
116
128
  },
@@ -130,7 +142,9 @@
130
142
  "cypress": true,
131
143
  "esbuild": true,
132
144
  "fsevents": false,
145
+ "msw": false,
133
146
  "unrs-resolver": true
134
147
  },
148
+ "cloneman": {},
135
149
  "externalDependencies": []
136
150
  }
@@ -3,8 +3,9 @@
3
3
  "ignoreDeps": [
4
4
  "@babel/core",
5
5
  "@babel/preset-env",
6
+ "@forsakringskassan/apimock-express",
6
7
  "@forsakringskassan/commitlint-config",
7
- "@forsakringskassan/cypress-axe",
8
+ "@forsakringskassan/cypress-config",
8
9
  "@forsakringskassan/cypress-visual-regression",
9
10
  "@forsakringskassan/docs-generator",
10
11
  "@forsakringskassan/docs-live-example",
@@ -28,12 +29,10 @@
28
29
  "cloneman",
29
30
  "core-js",
30
31
  "cypress",
31
- "cypress-html-validate",
32
32
  "html-validate",
33
33
  "html-validate-markdown",
34
34
  "html-validate-vue",
35
35
  "mocha-junit-reporter",
36
- "mocha-multi-reporters",
37
36
  "npm-pkg-lint",
38
37
  "npm-run-all2",
39
38
  "rimraf",