@hitachivantara/app-shell-vite-plugin 1.7.6 → 1.7.8

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.
@@ -8,14 +8,14 @@ fs.existsSync = existsSyncMock;
8
8
  fs.readFileSync = readFileSyncMock;
9
9
  describe("test app-shell-vite-generate-base plugin", () => {
10
10
  describe("test `findAppShellConfigFile`", () => {
11
- it("it returns the config file location (and its content) if exists", () => {
11
+ it("returns the config file location (and its content) if exists", () => {
12
12
  existsSyncMock.mockImplementation((file) => {
13
13
  return file.match("/dummyPath/dummyRootProject/app-shell.config.json");
14
14
  });
15
15
  const filePath = findAppShellConfigFile("/dummyPath/dummyRootProject");
16
16
  expect(filePath).toBe("/dummyPath/dummyRootProject/app-shell.config.json");
17
17
  });
18
- it("it returns undefined if config file don't exists", () => {
18
+ it("returns undefined if config file don't exists", () => {
19
19
  existsSyncMock.mockImplementation(() => {
20
20
  return false;
21
21
  });
@@ -2,7 +2,7 @@ import fs from "node:fs";
2
2
  import { vi } from "vitest";
3
3
  import injectMetadata from "../vite-metadata-plugin";
4
4
  describe("test vite-metadata plugin", () => {
5
- it.skip("it returns the injectMetadata information", () => {
5
+ it.skip("returns the injectMetadata information", () => {
6
6
  const fsTmp = fs.existsSync;
7
7
  fs.existsSync = vi.fn().mockImplementation((file) => {
8
8
  return file.match("/dummyPath/dummyRootProject/app-shell.config.json");
@@ -27,7 +27,7 @@ export interface AppShellVitePluginOptions {
27
27
  * token: "USER_NOTIFICATIONS_URL",
28
28
  * value: "http://localhost:8080"
29
29
  * }
30
- * Tokens used at config file must be wrapped (at the beginning and at the end) by @@ sequence
30
+ * Tokens used at config file must be wrapped (at the beginning and at the end) by `@@` sequence
31
31
  * e.g.
32
32
  * {
33
33
  * "@hv/user-notifications-client": "@@USER_NOTIFICATIONS_URL@@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/app-shell-vite-plugin",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "Hitachi Vantara UI Kit Team",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@emotion/cache": "^11.11.0",
22
22
  "@emotion/react": "^11.11.1",
23
- "@hitachivantara/app-shell-shared": "^1.5.6",
24
- "@hitachivantara/app-shell-ui": "^1.10.6",
25
- "@hitachivantara/uikit-react-icons": "^5.15.6",
23
+ "@hitachivantara/app-shell-shared": "^1.5.8",
24
+ "@hitachivantara/app-shell-ui": "^1.10.8",
25
+ "@hitachivantara/uikit-react-icons": "^5.15.7",
26
26
  "@hitachivantara/uikit-react-shared": "^5.4.6",
27
27
  "@rollup/plugin-commonjs": "^25.0.7",
28
28
  "@rollup/plugin-json": "^6.0.0",
@@ -58,5 +58,5 @@
58
58
  },
59
59
  "./package.json": "./package.json"
60
60
  },
61
- "gitHead": "e4ee566c6d223e9c4a4dff9e04cd60fda4f93ead"
61
+ "gitHead": "7c14c1cfb05319faf3d647bb806d25655363cbc5"
62
62
  }