You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I would like to setup the CLI as easy as possible.
Running the command such as npx code-pushup init should create code-pushup.config.[ ts| js | mjs ] file.
init command should have arguments for file extension, default ts.
Acceptance criteria
Running the above mentioned command should generate the config file in the project.
inside use nx g @code-pushup/nx-plugin:configuration
2.1. I have to figure out how to execute the generator without a nx.json prelsent.
Yes! Having a create- package would give us compatibility with non-Nx codebases, since this package initializer format is supported by NPM, PNPM and Yarn 1.
User story
As a developer, I would like to setup the CLI as easy as possible.
Running the command such as
npx code-pushup init
should create code-pushup.config.[ts
|] file.js
|mjs
init command should have arguments for file extension, default ts.
Acceptance criteria
Running the above mentioned command should generate the config file in the project.
Add package
create-cli
:create-cli
package to enable thenpx init @code-pushup/cli
command.The init command translates to
npm exec @code-pushup/create-cli
.feat(create-cli): package to align with package managers init command #779
nx-plugin
logicExtend
nx-plugin
extend theext
to accept aext
options to specify the file extension.auto detect typescript and takets
if given. otherwise takemjs
as extension.Implementation details
Generate a config file in the root of the project.
The text was updated successfully, but these errors were encountered: