Skip to content

Commit

Permalink
fix: errors in package configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehamilton committed Apr 6, 2022
1 parent 7b37b32 commit 26a2b4f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions packages/plugin-kubernetes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
],
"author": "Jake Hamilton <jake.hamilton@hey.com>",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"import": "./dist/plugin.es.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-kubernetes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export { default as usePatch } from "./hooks/usePatch";

export { default as render } from "./helpers/render";

export type { KubernetesRenderOptions } from "./plugin";
export { KubernetesPlugin, UNKNOWN_NAME } from "./plugin";
export type { KubernetesRenderOptions, KubernetesPlugin } from "./plugin";
export { UNKNOWN_NAME } from "./plugin";

export default plugin;

Expand Down
7 changes: 6 additions & 1 deletion packages/plugin-kubernetes/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ export default defineConfig({
formats: ["es", "umd", "cjs"],
},
rollupOptions: {
external: ["@senchou/core", "@leverage/core", "@senchou/helm"],
external: [
"@senchou/core",
"@leverage/core",
"@senchou/helm",
"child_process",
],
},
},
});

0 comments on commit 26a2b4f

Please sign in to comment.