Skip to content

Commit b92ca54

Browse files
committed
chore: prepare 0.4.0 release
1 parent 06d88f4 commit b92ca54

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,20 @@ jobs:
3333
cache: "yarn"
3434
- run: yarn install --immutable
3535
- run: yarn build
36+
- name: Check package publication status
37+
id: package-status
38+
shell: bash
39+
run: |
40+
PACKAGE_NAME=$(node -p "require('./package.json').name")
41+
PACKAGE_VERSION=$(node -p "require('./package.json').version")
42+
43+
if npm view "${PACKAGE_NAME}@${PACKAGE_VERSION}" version >/dev/null 2>&1; then
44+
echo "published=true" >> "$GITHUB_OUTPUT"
45+
echo "${PACKAGE_NAME}@${PACKAGE_VERSION} is already published; skipping publish dry-run."
46+
else
47+
echo "published=false" >> "$GITHUB_OUTPUT"
48+
echo "${PACKAGE_NAME}@${PACKAGE_VERSION} is not published; running publish dry-run."
49+
fi
3650
- name: Dry Run Publish
51+
if: steps.package-status.outputs.published == 'false'
3752
run: npm publish --dry-run

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @sebasoft/neuron-js
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- c7b6504: Align the documented public API with the package root exports.
8+
9+
- Exported `Synapse`, `ExecutionResult`, lifecycle hook types, and built-in plugin classes from the package root.
10+
- Added `AbstractAction` and `AbstractCondition` base classes for custom extension authors.
11+
- Made runtime `options` handling safe when scripts omit optional `options` objects.
12+
- Moved tests out of `src` and cleaned the build before packaging to prevent stale test artifacts from reaching `dist`.
13+
- Updated implementation examples and release documentation for the expanded API surface.
14+
15+
- 06d88f4: Updated GitHub Actions workflows to use Node 24-compatible official actions.
16+
317
## 0.3.0
418

519
### Minor Changes

0 commit comments

Comments
 (0)