Releases: LekoArts/secco
v3.1.2
v3.1.1
v3.1.0
Minor Changes
-
The CLI got more functionality! (#200)
-
Add
-salias for--scan-onceand-ffor--force-verdaccio -
Add
--sourceand--yesflag forsecco init, making it possible to run the init command in non-interactive modeFor example, this command will create a
.seccorcfile with the given source path:secco init --source=/absolute/path --yes
If you don't provide the
--yesflag you'll need to confirm the prompt.
-
-
If your source packages have a
filesarray inside theirpackage.jsonsecco will now respect that when copying over files. It will only copy over the files defined infiles. (#198)Previously, if for example your source package had this structure:
. └── package/ ├── src ├── dist ├── unrelated-folder └── README.mdThen secco would have copied over the
unrelated-folder, too. Withfiles: ["dist"]it'll only copy that.
Patch Changes
-
Various small bug fixes: (#200)
- When
dist/was in thefilesarray ofpackage.jsonit didn't correctly copy over files inside thedistdirectory - When
--scan-onceand--force-verdacciowere used together a warning was thrown about an ungraceful exit. For this codepath any cleanup tasks are run before exiting now. The warning won't show. - The
initcommand ran the whole main function while it should only run the Enquirer prompt. This is fixed now.
- When
-
Minor bug fixes here and there to improve the usability. (#198)
- Reuse already started Verdaccio server when trying to start a new one. Sometimes
seccotried to start two servers and threw an error. - Use
--legacy-peer-depsfornpm install. This helps when your source packages have incorrect peer dependencies. - Correctly set
process.exit(0)andprocess.exit(1)inside secco's codebase.
- Reuse already started Verdaccio server when trying to start a new one. Sometimes
v3.0.1
v3.0.0
Major Changes
-
#179
5976456Thanks @renovate! - Updateyargsfrom17.7.2to18.0.0. yargs v18 now requires Node.js^20.19.0 || ^22.12.0 || >=23or later.Since
seccosupported Node.js v18 in v2, this dependency update warrants a major update to update secco'sengineskey.Breaking change:
secconow requires Node.js^20.19.0 || ^22.12.0 || >=23or later. Once you update your Node.js version, you'll be able to use secco as before.