@zenuml/core 3.17.2 → 3.17.4

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.
@@ -1,4 +1,4 @@
1
- import { o as c, c as e, a as o } from "./core.0767a1be.js";
1
+ import { o as c, c as e, a as o } from "./core.6b8b72e2.js";
2
2
  const s = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  viewBox: "0 0 1024 1024"
@@ -20,4 +20,4 @@ export {
20
20
  _ as default,
21
21
  l as render
22
22
  };
23
- //# sourceMappingURL=zoom-in.aba10c2c.js.map
23
+ //# sourceMappingURL=zoom-in.950b1b73.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c, a as o } from "./core.0767a1be.js";
1
+ import { o as t, c, a as o } from "./core.6b8b72e2.js";
2
2
  const e = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  viewBox: "0 0 1024 1024"
@@ -20,4 +20,4 @@ export {
20
20
  h as default,
21
21
  s as render
22
22
  };
23
- //# sourceMappingURL=zoom-out.b73582c2.js.map
23
+ //# sourceMappingURL=zoom-out.f0af522e.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenuml/core",
3
- "version": "3.17.2",
3
+ "version": "3.17.4",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
package/vite.config.js CHANGED
@@ -1,12 +1,21 @@
1
- import { resolve } from 'path';
2
- import { defineConfig } from 'vite';
3
- import createVuePlugin from '@vitejs/plugin-vue';
4
- import { execSync } from 'child_process';
5
- import svgLoader from 'vite-svg-loader';
1
+ import { resolve } from "path";
2
+ import { defineConfig } from "vite";
3
+ import createVuePlugin from "@vitejs/plugin-vue";
4
+ import { execSync } from "child_process";
5
+ import svgLoader from "vite-svg-loader";
6
+
7
+ process.env.VITE_APP_GIT_HASH = execSync("git rev-parse --short HEAD")
8
+ .toString()
9
+ .trim();
10
+ process.env.VITE_APP_GIT_BRANCH = execSync("git branch --show-current")
11
+ .toString()
12
+ .trim();
6
13
 
7
14
  function getCypressHtmlFiles() {
8
- const cypressFolder = resolve(__dirname, 'cy');
9
- const strings = execSync(`find ${cypressFolder} -name '*.html'`).toString().split('\n');
15
+ const cypressFolder = resolve(__dirname, "cy");
16
+ const strings = execSync(`find ${cypressFolder} -name '*.html'`)
17
+ .toString()
18
+ .split("\n");
10
19
  // remove empty string
11
20
  strings.pop();
12
21
  return strings;
@@ -17,13 +26,13 @@ console.log(cypressHtmlFiles);
17
26
  export default defineConfig({
18
27
  build: {
19
28
  rollupOptions: {
20
- input: ['index.html', 'embed.html', ...cypressHtmlFiles],
29
+ input: ["index.html", "embed.html", ...cypressHtmlFiles],
21
30
  },
22
31
  },
23
32
  resolve: {
24
33
  alias: {
25
- 'vue': '@vue/compat',
26
- '@': resolve(__dirname, './src')
34
+ vue: "@vue/compat",
35
+ "@": resolve(__dirname, "./src"),
27
36
  },
28
37
  },
29
38
  plugins: [
@@ -39,11 +48,10 @@ export default defineConfig({
39
48
  svgLoader(),
40
49
  ],
41
50
  test: {
42
- environment: 'jsdom',
51
+ environment: "jsdom",
43
52
  globals: true,
44
53
  deps: {
45
- inline: ['@vue/test-utils'],
54
+ inline: ["@vue/test-utils"],
46
55
  },
47
56
  },
48
57
  });
49
-