@fdm-monster/client-next 0.0.22 → 0.0.24

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/dist/index.html CHANGED
@@ -3,9 +3,9 @@
3
3
 
4
4
  <head>
5
5
  <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin="anonymous">
6
- <link rel="preload" as="style" onload="this.rel='stylesheet'" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap">
7
- <link rel="preload" as="font" type="font/woff2" href="/assets/MaterialIcons-Regular-DOtZ65Va.woff2" crossorigin="anonymous">
6
+ <link rel="preload" as="style" onload="this.rel=&#39;stylesheet&#39;" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&amp;display=swap">
8
7
  <link rel="preload" as="font" type="font/eot" href="/assets/MaterialIcons-Regular-BjXOXp5c.eot" crossorigin="anonymous">
8
+ <link rel="preload" as="font" type="font/woff2" href="/assets/MaterialIcons-Regular-DOtZ65Va.woff2" crossorigin="anonymous">
9
9
  <link rel="preload" as="font" type="font/woff" href="/assets/MaterialIcons-Regular-FsbMSDLx.woff" crossorigin="anonymous">
10
10
  <link rel="preload" as="font" type="font/ttf" href="/assets/MaterialIcons-Regular-DEUTIz1o.ttf" crossorigin="anonymous">
11
11
 
@@ -13,8 +13,8 @@
13
13
  <link rel="icon" href="/favicon.ico" />
14
14
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
15
15
  <title>FDM Monster</title>
16
- <script type="module" crossorigin src="/assets/index-Cu6fadRj.js"></script>
17
- <link rel="stylesheet" crossorigin href="/assets/index-MwpeX3td.css">
16
+ <script type="module" crossorigin src="/assets/index-DlsW6Z1X.js"></script>
17
+ <link rel="stylesheet" crossorigin href="/assets/index-CT4EcjmG.css">
18
18
 
19
19
  <style id="vpss-style">
20
20
  #vpss {
@@ -127,7 +127,7 @@
127
127
  (function () {
128
128
  window.__VPSS__ = {
129
129
  renderedAt: new Date().getTime(),
130
- minDurationMs: 0,
130
+ minDurationMs: 1000,
131
131
  };
132
132
  })();
133
133
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fdm-monster/client-next",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/fdm-monster/fdm-monster-client-next.git"
@@ -17,10 +17,11 @@
17
17
  "preview": "vite preview",
18
18
  "lint": "eslint . --fix --ignore-path .gitignore",
19
19
  "test:unit": "vitest --environment jsdom",
20
+ "test:unit:update": "vitest --environment jsdom -u",
20
21
  "test:coverage": "vitest run --coverage --environment jsdom",
21
22
  "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'"
22
23
  },
23
24
  "dependencies": {},
24
25
  "devDependencies": {},
25
- "packageManager": "yarn@4.10.3"
26
+ "packageManager": "yarn@4.12.0"
26
27
  }
package/plugins/plugin.ts CHANGED
@@ -1,5 +1,5 @@
1
- import fs from "fs";
2
- import path from "path";
1
+ import fs from "node:fs";
2
+ import path from "node:path";
3
3
  import type { PluginOption, ResolvedConfig } from "vite";
4
4
 
5
5
  /**
package/tsconfig.json CHANGED
@@ -31,7 +31,6 @@
31
31
  "include": [
32
32
  "src/**/*.ts",
33
33
  "src/**/*.d.ts",
34
- "src/**/*.tsx",
35
34
  "src/**/*.vue"
36
35
  ],
37
36
  "exclude": [
@@ -2,8 +2,13 @@
2
2
  "compilerOptions": {
3
3
  "composite": true,
4
4
  "module": "ESNext",
5
- "moduleResolution": "Node",
6
- "allowSyntheticDefaultImports": true
5
+ "moduleResolution": "Bundler",
6
+ "allowSyntheticDefaultImports": true,
7
+ "resolveJsonModule": true
7
8
  },
8
- "include": ["vite.config.mts"]
9
+ "include": [
10
+ "vite.config.ts",
11
+ "vitest.config.ts",
12
+ "plugins/**/*.ts"
13
+ ]
9
14
  }
@@ -7,7 +7,7 @@ import Vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
7
7
 
8
8
  // Utilities
9
9
  import { defineConfig } from 'vite'
10
- import { fileURLToPath, URL } from 'url'
10
+ import { fileURLToPath, URL } from 'node:url'
11
11
  import packageJson from './package.json'
12
12
  import { sentryVitePlugin } from '@sentry/vite-plugin'
13
13
  import { splashScreen } from './plugins/plugin'
@@ -20,7 +20,7 @@ export default defineConfig({
20
20
  splashBg: 'rgb(40, 40, 40)',
21
21
  loaderType: 'dots',
22
22
  loaderBg: 'rgb(155, 5, 5)',
23
- minTime: 1000
23
+ minDurationMs: 1000
24
24
  }),
25
25
  AutoImport({
26
26
  imports: ['vue'],
@@ -35,7 +35,7 @@ export default defineConfig({
35
35
  dts: 'src/components.d.ts'
36
36
  }),
37
37
  Vue({
38
- template: { transformAssetUrls }
38
+ template: {transformAssetUrls}
39
39
  }),
40
40
  // https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin#readme
41
41
  Vuetify({
@@ -49,14 +49,13 @@ export default defineConfig({
49
49
  telemetry: false,
50
50
  org: 'fdm-monster',
51
51
  project: 'fdm-monster-client',
52
- // Specify the directory containing build artifacts
53
- include: './dist',
54
52
  // Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/
55
53
  // and needs the `project:releases` and `org:read` scopes
56
54
  authToken: process.env.SENTRY_AUTH_TOKEN,
57
55
  // Optionally uncomment the line below to override automatic release name detection
58
- release: packageJson.version,
59
- dryRun: !process.env.SENTRY_AUTH_TOKEN?.length
56
+ release: {
57
+ name: packageJson.version
58
+ }
60
59
  }),
61
60
  Fonts({
62
61
  google: {
@@ -91,15 +90,6 @@ export default defineConfig({
91
90
  '.scss'
92
91
  ]
93
92
  },
94
- test: {
95
- globals: true,
96
- // globalSetup: ["./vitest/setup.ts"],
97
- setupFiles: ['./test/setup-axios-mock.ts'],
98
- environment: 'jsdom',
99
- deps: {
100
- inline: ['vuetify']
101
- }
102
- },
103
93
  build: {
104
94
  sourcemap: true
105
95
  },
@@ -0,0 +1,15 @@
1
+ import { defineConfig, mergeConfig } from 'vitest/config'
2
+ import viteConfig from './vite.config'
3
+
4
+ export default mergeConfig(viteConfig, defineConfig({
5
+ test: {
6
+ globals: true,
7
+ setupFiles: ['./test/setup-axios-mock.ts'],
8
+ environment: 'jsdom',
9
+ server: {
10
+ deps: {
11
+ inline: ['vuetify'],
12
+ },
13
+ }
14
+ }
15
+ }))