diff --git a/eslint.config.mjs b/eslint.config.mjs index 655a9f2..ab84cd1 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -10,6 +10,7 @@ export default tseslint.config( '**/webpack.config.js', '**/dist/**', '**/bicep-types/**', + '**/bin.js', ], }, eslint.configs.recommended, diff --git a/packages/manifest-to-bicep-extension/bin.js b/packages/manifest-to-bicep-extension/bin.js new file mode 100644 index 0000000..6aeb58d --- /dev/null +++ b/packages/manifest-to-bicep-extension/bin.js @@ -0,0 +1,2 @@ +#!/usr/bin/env node +require('@radius-project/manifest-to-bicep-extension') \ No newline at end of file diff --git a/packages/manifest-to-bicep-extension/package.json b/packages/manifest-to-bicep-extension/package.json index ad84dec..7b21111 100644 --- a/packages/manifest-to-bicep-extension/package.json +++ b/packages/manifest-to-bicep-extension/package.json @@ -16,7 +16,7 @@ ], "main": "dist/bundle.js", "bin": { - "manifest-to-bicep": "dist/bundle.js" + "manifest-to-bicep": "bin.js" }, "bundledDependencies": [ "bicep-types",