Skip to content

Commit e69461a

Browse files
chore(release): Publish (#199)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f5964c5 commit e69461a

File tree

6 files changed

+47
-53
lines changed

6 files changed

+47
-53
lines changed

.changeset/blue-shirts-hammer.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/fast-rats-look.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

.changeset/major-games-throw.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/social-words-mate.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# secco
22

3+
## 3.1.0
4+
5+
### Minor Changes
6+
7+
- The CLI got more functionality! ([#200](https://github.com/LekoArts/secco/pull/200))
8+
9+
- Add `-s` alias for `--scan-once` and `-f` for `--force-verdaccio`
10+
- Add `--source` and `--yes` flag for `secco init`, making it possible to run the init command in non-interactive mode
11+
12+
For example, this command will create a `.seccorc` file with the given source path:
13+
14+
```bash
15+
secco init --source=/absolute/path --yes
16+
```
17+
18+
If you don't provide the `--yes` flag you'll need to confirm the prompt.
19+
20+
- If your source packages have a `files` array inside their `package.json` secco will now respect that when copying over files. It will only copy over the files defined in `files`. ([#198](https://github.com/LekoArts/secco/pull/198))
21+
22+
Previously, if for example your source package had this structure:
23+
24+
```sh
25+
.
26+
└── package/
27+
├── src
28+
├── dist
29+
├── unrelated-folder
30+
└── README.md
31+
```
32+
33+
Then secco would have copied over the `unrelated-folder`, too. With `files: ["dist"]` it'll only copy that.
34+
35+
### Patch Changes
36+
37+
- Various small bug fixes: ([#200](https://github.com/LekoArts/secco/pull/200))
38+
39+
- When `dist/` was in the `files` array of `package.json` it didn't correctly copy over files inside the `dist` directory
40+
- When `--scan-once` and `--force-verdaccio` were 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.
41+
- The `init` command ran the whole main function while it should only run the Enquirer prompt. This is fixed now.
42+
43+
- Minor bug fixes here and there to improve the usability. ([#198](https://github.com/LekoArts/secco/pull/198))
44+
45+
- Reuse already started Verdaccio server when trying to start a new one. Sometimes `secco` tried to start two servers and threw an error.
46+
- Use `--legacy-peer-deps` for `npm install`. This helps when your source packages have incorrect peer dependencies.
47+
- Correctly set `process.exit(0)` and `process.exit(1)` inside secco's codebase.
48+
349
## 3.0.1
450

551
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "secco",
33
"type": "module",
4-
"version": "3.0.1",
4+
"version": "3.1.0",
55
"packageManager": "pnpm@10.14.0",
66
"description": "Local package testing made easy. secco is a command-line tool for local development. It uses Verdaccio and direct file copying to apply your latest changes to other projects.",
77
"author": "LekoArts",

0 commit comments

Comments
 (0)