From 82c331fffe1f08d67bc601633221eee61a4979ff Mon Sep 17 00:00:00 2001 From: wxzhang Date: Sat, 28 Jan 2023 14:59:22 +0800 Subject: [PATCH] update --- package.json | 2 +- packages/formatters/index.js | 4 ++-- pnpm-lock.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index d5033ec..a26dbb9 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^21.1.0", "@vuepress/client": "2.0.0-beta.49", - "autopub": "^1.0.2", + "autopub": "^1.0.4", "commander": "^9.4.0", "cross-env": "^7.0.3", "dayjs": "^1.11.4", diff --git a/packages/formatters/index.js b/packages/formatters/index.js index 5ad3428..4b8c9c9 100644 --- a/packages/formatters/index.js +++ b/packages/formatters/index.js @@ -1,8 +1,8 @@ /** * 通用格式化器 */ -import './datetime.formatters.js'; -import './currency.formatters.js'; +export * from './datetime.formatters.js'; +export * from './currency.formatters.js'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a1b8736..a83ba14 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: '@rollup/plugin-babel': ^5.3.1 '@rollup/plugin-commonjs': ^21.1.0 '@vuepress/client': 2.0.0-beta.49 - autopub: ^1.0.2 + autopub: ^1.0.4 commander: ^9.4.0 cross-env: ^7.0.3 dayjs: ^1.11.4 @@ -39,7 +39,7 @@ importers: '@rollup/plugin-babel': 5.3.1_tui6liyexu3zy4m5r2rytc7ixu '@rollup/plugin-commonjs': 21.1.0_rollup@2.77.2 '@vuepress/client': 2.0.0-beta.49 - autopub: 1.0.2 + autopub: 1.0.4 commander: 9.4.0 cross-env: 7.0.3 dayjs: 1.11.4 @@ -4657,8 +4657,8 @@ packages: postcss-value-parser: 4.2.0 dev: true - /autopub/1.0.2: - resolution: {integrity: sha512-TrwUD4HSZqb15iv97eKzjG8HSFhKmp6MwC8QC9aCx9Sd6Y8+LJ6zGOW5hBK57GcUMu1CL/QkHrYXR+uT7qTDvQ==} + /autopub/1.0.4: + resolution: {integrity: sha512-z5l7z9NV4zPCHGwD2d7xrNWXgiS5RwlEBbB79IH3T74JUFG+JKr4wFx1Ar4BIw5Llgf4c/aT86JLhZY5LmlzSQ==} hasBin: true dependencies: commander: 9.4.0