From ea1a0c63214bab868e4b105e15ee060cff372e65 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Tue, 7 Mar 2023 23:59:45 +0900 Subject: [PATCH] fix(bundle-utils): export js generate API (#231) * fix(bundle-utils): export js generate API * fix: update lock --- packages/bundle-utils/src/index.ts | 1 + yarn.lock | 42 +++++++++++++++++++++--------- 2 files changed, 31 insertions(+), 12 deletions(-) diff --git a/packages/bundle-utils/src/index.ts b/packages/bundle-utils/src/index.ts index 5dcafa3..3be19d4 100644 --- a/packages/bundle-utils/src/index.ts +++ b/packages/bundle-utils/src/index.ts @@ -1,6 +1,7 @@ export { CodeGenOptions, CodeGenResult, DevEnv } from './codegen' export { generate as generateJSON } from './json' export { generate as generateYAML } from './yaml' +export { generate as generateJavaScript } from './js' export { getVueI18nVersion, checkInstallPackage, diff --git a/yarn.lock b/yarn.lock index 7d3d1ea..18ee08a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1040,13 +1040,10 @@ __metadata: languageName: unknown linkType: soft -"@intlify/bundle-utils@^4.0.0, @intlify/bundle-utils@workspace:packages/bundle-utils": - version: 0.0.0-use.local - resolution: "@intlify/bundle-utils@workspace:packages/bundle-utils" +"@intlify/bundle-utils@npm:3.4.0, @intlify/bundle-utils@npm:^3.1.2": + version: 3.4.0 + resolution: "@intlify/bundle-utils@npm:3.4.0" dependencies: - "@babel/parser": ^7.21.2 - "@babel/traverse": ^7.21.2 - "@babel/types": ^7.21.2 "@intlify/message-compiler": next "@intlify/shared": next jsonc-eslint-parser: ^1.0.1 @@ -1057,12 +1054,13 @@ __metadata: optional: true vue-i18n: optional: true - languageName: unknown - linkType: soft + checksum: eb8bcec99fea495ac1011867f23e7a05aa2ba9b89366c6a1a8b7ecb0f1c4ef551e68aeabeb43bb01353a36a87791805c48290d0b847989cfb0c8fc07e2969b2e + languageName: node + linkType: hard -"@intlify/bundle-utils@npm:3.4.0, @intlify/bundle-utils@npm:^3.1.2": - version: 3.4.0 - resolution: "@intlify/bundle-utils@npm:3.4.0" +"@intlify/bundle-utils@npm:^4.0.0": + version: 4.0.0 + resolution: "@intlify/bundle-utils@npm:4.0.0" dependencies: "@intlify/message-compiler": next "@intlify/shared": next @@ -1074,7 +1072,7 @@ __metadata: optional: true vue-i18n: optional: true - checksum: eb8bcec99fea495ac1011867f23e7a05aa2ba9b89366c6a1a8b7ecb0f1c4ef551e68aeabeb43bb01353a36a87791805c48290d0b847989cfb0c8fc07e2969b2e + checksum: 765cd8d599635dd2dee163e4bf0914cf6351603a5e2c6f679a06f93fe5ef14ada84b45cf2f9bc2c0f83e620cf3d394f71b2d9c9eb7ee374d1fea764062da6184 languageName: node linkType: hard @@ -1096,6 +1094,26 @@ __metadata: languageName: node linkType: hard +"@intlify/bundle-utils@workspace:packages/bundle-utils": + version: 0.0.0-use.local + resolution: "@intlify/bundle-utils@workspace:packages/bundle-utils" + dependencies: + "@babel/parser": ^7.21.2 + "@babel/traverse": ^7.21.2 + "@babel/types": ^7.21.2 + "@intlify/message-compiler": next + "@intlify/shared": next + jsonc-eslint-parser: ^1.0.1 + source-map: 0.6.1 + yaml-eslint-parser: ^0.3.2 + peerDependenciesMeta: + petite-vue-i18n: + optional: true + vue-i18n: + optional: true + languageName: unknown + linkType: soft + "@intlify/core-base@npm:9.2.0-beta.35, @intlify/core-base@npm:beta": version: 9.2.0-beta.35 resolution: "@intlify/core-base@npm:9.2.0-beta.35"