diff --git a/.drone.jsonnet b/.drone.jsonnet index bfa489d..0b6f96f 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -22,7 +22,7 @@ local lint_step = { local build_step = { name: "build", image: bun_image, - commands: ["bun run build", "ls -la dist"], + commands: ["bun run build"], }; local publish_step = { @@ -34,10 +34,9 @@ local publish_step = { }, commands: [ - "ls -la dist", - // "npm set registry https://git.jvalver.de/api/packages/thilawyn/npm/", - // "npm config set -- //git.jvalver.de/api/packages/thilawyn/npm/:_authToken $NPM_TOKEN", - // "npm publish", + "npm set registry https://git.jvalver.de/api/packages/thilawyn/npm/", + "npm config set -- //git.jvalver.de/api/packages/thilawyn/npm/:_authToken $NPM_TOKEN", + "npm publish", ], }; diff --git a/.gitignore b/.gitignore index ceaea36..745264f 100644 --- a/.gitignore +++ b/.gitignore @@ -129,4 +129,3 @@ dist .yarn/build-state.yml .yarn/install-state.gz .pnp.* - diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..3d27aaa --- /dev/null +++ b/.npmignore @@ -0,0 +1,4 @@ +* +!/dist/ +!/LICENSE +!/package.json