entitlement-provider-frontend 1.15.20 → 1.15.21

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 (2) hide show
  1. package/package.json +4 -4
  2. package/vite.config.mts +0 -64
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entitlement-provider-frontend",
3
- "version": "1.15.20",
3
+ "version": "1.15.21",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": false
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@kronos-integration/svelte-components": "^4.0.0",
32
32
  "mf-styling": "^3.2.20",
33
- "svelte-command": "^3.0.46",
33
+ "svelte-command": "^3.0.47",
34
34
  "svelte-common": "^6.19.34",
35
35
  "svelte-entitlement": "^2.0.55",
36
36
  "svelte-guard-history-router": "^7.0.0",
@@ -47,7 +47,7 @@
47
47
  "semantic-release": "^25.0.2",
48
48
  "stylelint": "^16.26.1",
49
49
  "stylelint-config-standard": "^39.0.1",
50
- "svelte": "^5.45.8",
50
+ "svelte": "^5.45.9",
51
51
  "vite": "^7.2.7",
52
52
  "vite-plugin-compression2": "^2.4.0"
53
53
  },
@@ -83,7 +83,7 @@
83
83
  [
84
84
  "@semantic-release/exec",
85
85
  {
86
- "publishCmd": "npx npm-pkgbuild --publish dist --verbose --staging /tmp/build"
86
+ "publishCmd": "npx npm-pkgbuild --publish dist"
87
87
  }
88
88
  ],
89
89
  [
package/vite.config.mts DELETED
@@ -1,64 +0,0 @@
1
- import { svelte } from "@sveltejs/vite-plugin-svelte";
2
- import { defineConfig } from "vite";
3
- import { compression } from "vite-plugin-compression2";
4
- import { extractFromPackage } from "npm-pkgbuild";
5
-
6
- export default defineConfig(async ({ command, mode }) => {
7
- const res = extractFromPackage(
8
- {
9
- dir: new URL("./", import.meta.url).pathname,
10
- mode
11
- },
12
- process.env
13
- );
14
- const first = await res.next();
15
- const pkg = first.value;
16
- const properties = pkg.properties;
17
- const base = properties["http.path"] + "/";
18
- const production = mode === "production";
19
-
20
- process.env["VITE_NAME"] = properties.name;
21
- process.env["VITE_TITLE"] = properties.title;
22
- process.env["VITE_DESCRIPTION"] = properties.description;
23
- process.env["VITE_VERSION"] = properties.version;
24
- process.env["VITE_API"] = properties["http.api.path"];
25
- process.env["VITE_API_WS"] = properties["wss.api"];
26
-
27
- return {
28
- base,
29
- root: "src",
30
- worker: { format: "es" },
31
- plugins: [
32
- svelte({
33
- compilerOptions: {
34
- dev: !production
35
- }
36
- }),
37
- compression({
38
- algorithms: ["brotliCompress"],
39
- exclude: [
40
- /\.(map)$/,
41
- /\.(br)$/,
42
- /\.(gz)$/,
43
- /\.(png)$/,
44
- /\.(jpg)$/,
45
- /\.(gif)$/,
46
- /\.(webp)$/,
47
- /\.(heic)$/,
48
- /\.(avif)$/,
49
- /\.(jxl)$/,
50
- /\.(pdf)$/,
51
- /\.(docx)$/
52
- ],
53
- threshold: 500
54
- })
55
- ],
56
- server: { host: true },
57
- build: {
58
- outDir: "../build",
59
- emptyOutDir: true,
60
- minify: production,
61
- sourcemap: true
62
- }
63
- };
64
- });