Closed derberg closed 1 year ago
@derberg By adding the --save-dev flag, the package will be installed as a devDependency in your project's package.json file. DevDependencies are used for development purposes and are not included when publishing the package to npm.
But we will have to either :-
we perform manual installation inside workflow https://github.com/asyncapi/spec-json-schemas/blob/master/.github/workflows/if-nodejs-release.yml#L104
so solution is just to modify this step
Describe the bug
Before triggering a release we install a release related package -> https://github.com/asyncapi/spec-json-schemas/blob/master/.github/workflows/if-nodejs-release.yml#L104
This means that whatever we push to npm, contains
conventional-changelog-conventionalcommits
which is completely irrelevant for any packageExpected behaviour
now I'm not sure if below is the right solution
if it is
devDependency
will it not be included in the package? I thinknpm publish
will include it.dunno what is the solution really