geekplus-digital-ui 0.1.2 → 0.1.3

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/README.md CHANGED
@@ -1 +1 @@
1
- # Geekplus Digital UI
1
+ # Geekplus Digital UI
@@ -1,9 +1,9 @@
1
1
  import { install as o } from "./install.js";
2
- import { DCopy as f } from "../components/copy/index.js";
3
- import { useLocale as p } from "../hooks/use-locale/index.js";
4
- import { default as n } from "../locale/lang/en.js";
5
- import { default as x } from "../locale/lang/zh-cn.js";
6
- import { getLocale as c, initI18n as d, setLocale as u, t as L } from "../locale/i18n.js";
2
+ import { DCopy as f } from "./components/copy/index.js";
3
+ import { useLocale as p } from "./hooks/use-locale/index.js";
4
+ import { default as n } from "./locale/lang/en.js";
5
+ import { default as x } from "./locale/lang/zh-cn.js";
6
+ import { getLocale as c, initI18n as d, setLocale as u, t as L } from "./locale/i18n.js";
7
7
  const t = { install: o };
8
8
  export {
9
9
  f as DCopy,
@@ -1,5 +1,5 @@
1
- import { initI18n as s } from "../locale/i18n.js";
2
- import * as a from "../components/index.js";
1
+ import { initI18n as s } from "./locale/i18n.js";
2
+ import * as a from "./components/index.js";
3
3
  const c = (n, o = {}) => {
4
4
  const { locale: t } = o, e = s(t);
5
5
  n.use(e), Object.values(a).forEach((i) => {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "geekplus-digital-ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
- "main": "esm/geekplus-digital-ui/index.js",
6
- "module": "esm/geekplus-digital-ui/index.js",
5
+ "main": "esm/index.js",
6
+ "module": "esm/index.js",
7
7
  "exports": {
8
8
  ".": {
9
- "import": "./esm/geekplus-digital-ui/index.js"
9
+ "import": "./esm/index.js"
10
10
  }
11
11
  },
12
12
  "sideEffects": [