Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,14 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: "24"
- uses: nubjs/setup-nub@v0
- uses: jdx/aube-action@v1
with:
nub-version: ^0.9.0
version: "2.5.1"
run-install: true
cache: true
cache-dependency-path: |
nub.lock
package.json
- uses: moonrepo/setup-toolchain@v0
with:
moon-version: "2.5.5"
- run: nub install --frozen-lockfile
- name: Check affected tasks
id: ci
run: moon ci
Expand Down
4 changes: 2 additions & 2 deletions .moon/tasks/all.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
implicitInputs:
- moon.yml
- /package.json
- /nub.lock
- /aube-lock.yaml
- glob: /.node-version
- glob: /nub.jsonc
- glob: /aube-workspace.yaml
- /.moon/**/*.yml
- /.github/workflows/ci.yaml
7 changes: 1 addition & 6 deletions .moon/toolchains.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# Installation and Node selection belong to Nub and the workspace setup.
# Share package-aware task execution with workspaces consuming this repository.
# Aube owns installation; Moon runs explicit commands with the system Node.js.
javascript:
packageManager: nub
inferTasksFromScripts: false
syncPackageManagerField: false
syncProjectWorkspaceDependencies: false
node: {}
unstable_nub:
# Moon 2.5.5 omits Nub from default locator inheritance.
plugin: https://github.com/moonrepo/plugins/releases/download/node_depman_toolchain-v1.1.0/node_depman_toolchain.wasm
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

## Tools

- use `nub` as package manager
- use `nub exec` to run binaries
- use `aube` as package manager
- use `aube exec` to run binaries

## Verification

Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Read the introduction: [Another static site generator](https://adelnz.com/writin
Install from npm:

```sh
nub add solid-static
aube add solid-static
```

## Setup
Expand Down Expand Up @@ -244,10 +244,10 @@ When `src` contains image metadata, specifying only `width` or `height` infers t

## Development and CI

Install Node.js 24, Nub 0.9, and Moon 2.5.5, then run:
Install Node.js 24, Aube 2.5.1, and Moon 2.5.5, then run:

```sh
nub install --frozen-lockfile
aube install --frozen-lockfile
moon run solid-static:check
```

Expand All @@ -262,11 +262,10 @@ page-specific styles, shared chunks, and root, relative, subpath, and CDN bases.
Development tests request Vite's HTML and transformed assets directly over HTTP.
Each fixture owns its temporary files and ephemeral ports.

The JavaScript and Node toolchains in `.moon/toolchains.yml` use Nub for package
execution. Installation remains an explicit setup step, and tasks live only in
`moon.yml`. Moon does not install a second package manager or manage a second
Node version. The Nub toolchain names its official plugin explicitly because
Moon 2.5.5 omits its default plugin location.
Moon 2.5.5 has no native Aube package-manager integration. Tasks in `moon.yml`
invoke `aube exec` explicitly, and installation remains a separate setup step.
The JavaScript and Node toolchains provide project metadata and use the system
Node.js without installing another package manager or Node version.

The standalone GitHub workflow follows [Moon's CI guide](https://moonrepo.dev/docs/guides/ci):
full Git history, dependency installation, then `moon ci` to select affected
Expand Down
File renamed without changes.
18 changes: 9 additions & 9 deletions moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,39 @@ fileGroups:
- tsconfig*.json
tasks:
lint:
command: nub exec oxlint --config .oxlintrc.json src
command: aube exec oxlint --config .oxlintrc.json src
inputs:
- .oxlintrc.json
- src/**/*
- package.json
- /nub.lock
- /aube-lock.yaml
build:
command: nub exec tsc -p tsconfig.build.json
command: aube exec tsc -p tsconfig.build.json
inputs:
- src/**/*
- package.json
- tsconfig.json
- tsconfig.build.json
- /nub.lock
- /aube-lock.yaml
outputs:
- dist/**/*
typecheck:
command: nub exec tsc
command: aube exec tsc
inputs:
- src/**/*
- package.json
- tsconfig.json
- /nub.lock
- /aube-lock.yaml
test:
command: nub exec vitest run
command: aube exec vitest run
deps:
- ~:build
inputs:
- src/**/*
- package.json
- tsconfig.json
- vitest.config.ts
- /nub.lock
- /aube-lock.yaml
check:
deps:
- ~:lint
Expand All @@ -53,7 +53,7 @@ tasks:
runInCI: false
inputs: []
publish:
command: nub publish --access public
command: aube publish --access public
deps:
- ~:check
- ~:build
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
},
"devEngines": {
"packageManager": {
"name": "nub",
"version": "^0.9.0",
"name": "aube",
"version": "2.5.1",
"onFail": "warn"
}
}
Expand Down