@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/.yarn/install-state.gz +0 -0
- package/.yarn/releases/{yarn-4.10.3.cjs → yarn-4.12.0.cjs} +300 -300
- package/.yarnrc.yml +1 -1
- package/RELEASE_NOTES.MD +16 -0
- package/dist/assets/index-CT4EcjmG.css +1 -0
- package/dist/assets/index-DlsW6Z1X.js +60 -0
- package/dist/assets/index-DlsW6Z1X.js.map +1 -0
- package/dist/index.html +5 -5
- package/package.json +3 -2
- package/plugins/plugin.ts +2 -2
- package/tsconfig.json +0 -1
- package/tsconfig.node.json +8 -3
- package/{vite.config.mts → vite.config.ts} +6 -16
- package/vitest.config.ts +15 -0
- package/dist/assets/index-Cu6fadRj.js +0 -93
- package/dist/assets/index-Cu6fadRj.js.map +0 -1
- package/dist/assets/index-MwpeX3td.css +0 -5
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
|
|
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='stylesheet'" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&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-
|
|
17
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
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:
|
|
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.
|
|
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.
|
|
26
|
+
"packageManager": "yarn@4.12.0"
|
|
26
27
|
}
|
package/plugins/plugin.ts
CHANGED
package/tsconfig.json
CHANGED
package/tsconfig.node.json
CHANGED
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"composite": true,
|
|
4
4
|
"module": "ESNext",
|
|
5
|
-
"moduleResolution": "
|
|
6
|
-
"allowSyntheticDefaultImports": true
|
|
5
|
+
"moduleResolution": "Bundler",
|
|
6
|
+
"allowSyntheticDefaultImports": true,
|
|
7
|
+
"resolveJsonModule": true
|
|
7
8
|
},
|
|
8
|
-
"include": [
|
|
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
|
-
|
|
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: {
|
|
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:
|
|
59
|
-
|
|
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
|
},
|
package/vitest.config.ts
ADDED
|
@@ -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
|
+
}))
|