@fdm-monster/client-next 0.0.23 → 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-Bj2_diIZ.js"></script>
17
- <link rel="stylesheet" crossorigin href="/assets/index-Cnc8DDeR.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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fdm-monster/client-next",
3
- "version": "0.0.23",
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"
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'
@@ -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,16 +90,6 @@ export default defineConfig({
91
90
  '.scss'
92
91
  ]
93
92
  },
94
- test: {
95
- globals: true,
96
- setupFiles: ['./test/setup-axios-mock.ts'],
97
- environment: 'jsdom',
98
- server: {
99
- deps: {
100
- inline: ['vuetify'],
101
- },
102
- }
103
- },
104
93
  build: {
105
94
  sourcemap: true
106
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
+ }))