Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d3081b6
chore(release): First general setup for conventional commits
brob Jun 12, 2026
932a247
Gets rid of husky due to commit bug
brob Jun 12, 2026
b4538f8
Adds this testing branch to the prelease ability
brob Jun 12, 2026
a700481
Adds next-release to action for testing
brob Jun 12, 2026
6f69924
Adds pull_request check
brob Jun 12, 2026
ac51e58
fix(release): fixes commitlint issues
brob Jun 12, 2026
5a1059a
fix(release): removes PR action and corrects branch for testing push
brob Jun 12, 2026
32a3a77
test(release): only fires on next-setup branch for now
brob Jun 12, 2026
a19efc5
test(release): tests the build without tests and linting
brob Jun 12, 2026
ccefcad
fix(release): makes release config common js
brob Jun 12, 2026
d66921b
fix(release): adds permissions to action
brob Jun 15, 2026
fdac965
fix(release): adds defaults
brob Jun 15, 2026
cd34c52
fix(release): adds back github token
brob Jun 16, 2026
1dcd70b
test: update actions versions
johnjeffers Jul 8, 2026
56ca579
test: package updates, workflow updates
johnjeffers Jul 8, 2026
25ee039
chore(release): set `package.json` to 1.8.3-next-setup.1 [skip ci]
semantic-release-bot Jul 8, 2026
d64ac2c
fix(release): stop committing build output and drop unused deps
johnjeffers Jul 8, 2026
0dda575
chore(release): set `package.json` to 1.8.3-next-setup.2 [skip ci]
semantic-release-bot Jul 8, 2026
af7ac13
Merge branch 'main' into next-setup
johnjeffers Jul 8, 2026
1b7939c
test: remove ts-node in favor of tsx, switch enums to const
johnjeffers Jul 8, 2026
8a8e05d
test: update node version for publish
johnjeffers Jul 8, 2026
725d29c
fix(release): updates branches for workflow for main and next
brob Jul 9, 2026
687bbd6
fix(release): removes extraneous test that was causing failure in bui…
brob Jul 9, 2026
d5b77b7
fix(release): replaces inline testing with test workflow chaining
brob Jul 9, 2026
53d1443
fix(release): fixes typo in workflow
brob Jul 9, 2026
c6dbd1a
fix(release): updates workflow away from quotations as per the github…
brob Jul 9, 2026
94551bd
fix(release): brings testing job into release action
brob Jul 9, 2026
1b9d271
chore(release): set `package.json` to 1.9.1-next-setup.1 [skip ci]
semantic-release-bot Jul 9, 2026
3cd41cf
fix(release): adds dependency of test job
brob Jul 9, 2026
272f218
chore(release): set `package.json` to 1.9.1-next-setup.2 [skip ci]
semantic-release-bot Jul 9, 2026
9350a16
fix(release): adds new release workflows
brob Jul 9, 2026
48abc9f
chore(release): set `package.json` to 1.9.1-next.1 [skip ci]
semantic-release-bot Jul 9, 2026
a646aa8
Andrewpai/yes flag (#55)
andrewpai Sep 18, 2026
73430b7
Andrewpai/application create (#57)
andrewpai Oct 7, 2026
0cc0ab7
Adds application:update into next (#59)
brob Oct 14, 2026
3d0e1e3
feat(noapp): creates --barebones flag for kickstart:install (#61)
brob Nov 16, 2026
6327f9a
chore(release): set `package.json` to 1.10.0-next.1 [skip ci]
semantic-release-bot Nov 16, 2026
26c9d5e
Merge branch 'main' into next
brob Nov 17, 2026
825e1a1
fix(application): removes extraneous testing file
brob Nov 19, 2026
39c99db
fix(application): removes merge issue on testing workflow
brob Nov 19, 2026
02c93bf
chore(release): set `package.json` to 1.10.0-next.2 [skip ci]
semantic-release-bot Nov 19, 2026
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
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Publish to NPM
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: read
Expand All @@ -20,7 +20,7 @@ jobs:
- name: checkout
uses: actions/checkout@v6
with:
fetch-depth: 0 # Fetch full history for branch verification
fetch-depth: 0 # Fetch full history for branch verification

- name: verify tag is on main branch
run: |
Expand All @@ -33,8 +33,8 @@ jobs:
- name: setup node
uses: actions/setup-node@v6
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
node-version: 22.x
registry-url: "https://registry.npmjs.org"

- name: build and publish
run: |
Expand Down
80 changes: 80 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Release

on:
push:
branches: [main, next, next-setup]
permissions:
id-token: write
contents: write

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ["22.x", "24.x", "26.x"]

name: Test on Node ${{ matrix.node-version }}
steps:
- name: Checkout
uses: actions/checkout@v7

- name: Set up Docker
uses: docker/setup-buildx-action@v4

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Run integration tests
env:
SKIP_TEARDOWN: false
REUSE_CONTAINER: false
NODE_ENV: test
FUSIONAUTH_TELEMETRY: false
run: npm test
timeout-minutes: 15

release:
name: Release
needs: test
runs-on: ubuntu-latest
defaults:
run:
shell: /usr/bin/bash -l -e -o pipefail {0}
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22.x
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: npm ci

- name: Install semantic-release extra plugins
run: npm install --save-dev @semantic-release/changelog @semantic-release/git

# - name: Lint
# run: npm run lint-fix

- name: Build
run: npm run build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
name: Integration Tests
name: Tests

on:
push:
workflow_dispatch:
pull_request:
branches:
- main

jobs:
integration-tests:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: ["22.x", "24.x", "26.x"]

name: Test on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v6

- name: Checkout
uses: actions/checkout@v7

- name: Set up Docker
uses: docker/setup-buildx-action@v4
- name: Setup Node.js

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: '22'
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install
run: npm ci

- name: Build
run: npm run build

- name: Run integration tests
env:
SKIP_TEARDOWN: false
REUSE_CONTAINER: false
NODE_ENV: test
FUSIONAUTH_TELEMETRY: false
run: npm run test
run: npm test
timeout-minutes: 15
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no-install commitlint --edit "$1"
Empty file added .husky/pre-commit
Empty file.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
tag-version-prefix=""
min-release-age=7
15 changes: 12 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# FusionAuth CLI - Agent Guidelines
# FusionAuth CLI
FusionAuth CLI is a command-line tool for working with the FusionAuth CIAM platform.

# Guidelines

## Build Commands
- Build: `npm run build` (compiles TypeScript to `./dist/`)
- No lint command configured
- No test framework - tests not implemented
- Tests use Node's built-in test runner (`node:test`); run `npm run test:unit` for fast unit tests or `npm test` for the full suite, including Docker-based integration tests under `__tests__/integration/`.

## Code Style Guidelines

Expand All @@ -27,8 +30,14 @@
- Custom error reporting via `utils.reportError()` and `utils.errorAndExit()`
- Check response types with `isClientResponse()` and `isErrors()` utilities

### Confirmation and Risky Operations
- Commands that perform irreversible or potentially disruptive operations require `--yes` to proceed non-interactively
- Without `--yes`, these commands exit with an error in non-TTY contexts (agents, pipes, scripts)
- Always obtain user confirmation before passing `--yes`; never pass it autonomously for destructive operations
- Where available, prefer running with `--dry-run` first to preview changes before committing

### Code Structure
- Command definitions use Commander.js with fluent API
- JSDoc comments for function documentation
- Async/await for asynchronous operations
- Template literals for string interpolation
- Template literals for string interpolation
95 changes: 95 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# [1.10.0-next.2](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.10.0-next.1...v1.10.0-next.2) (2026-11-19)


### Bug Fixes

* **application:** removes extraneous testing file ([825e1a1](https://github.com/FusionAuth/fusionauth-node-cli/commit/825e1a16734757e2bd64b69bece1a5dad9a5b41e))
* **application:** removes merge issue on testing workflow ([39c99db](https://github.com/FusionAuth/fusionauth-node-cli/commit/39c99dbafa0ec4c05f58292dcd9712628ae4ddff))

# [1.10.0-next.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.9.1-next.1...v1.10.0-next.1) (2026-11-16)


### Features

* **noapp:** creates --barebones flag for kickstart:install ([#61](https://github.com/FusionAuth/fusionauth-node-cli/issues/61)) ([3d0e1e3](https://github.com/FusionAuth/fusionauth-node-cli/commit/3d0e1e35650125e4fe334c286baa46dfd95cc270))

# [1.10.0-next-setup.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.9.1-next-setup.3...v1.10.0-next-setup.1) (2026-10-14)


### Bug Fixes

* **release:** adds new release workflows ([9350a16](https://github.com/FusionAuth/fusionauth-node-cli/commit/9350a169050d2385c4b4f0cfd76473894ee396d0))
* **update:** fixes issue with ClientResponse in utils ([58760d7](https://github.com/FusionAuth/fusionauth-node-cli/commit/58760d74fd3aa9f60bfd1e5aa644516754855f79))
* **update:** modifies path.join for testing errors ([aa6089b](https://github.com/FusionAuth/fusionauth-node-cli/commit/aa6089b9cc3b70e1a4efd325f8f5795ba99353a0))
* **update:** tests datifying tmp file ([66b30c4](https://github.com/FusionAuth/fusionauth-node-cli/commit/66b30c46eed0ed68f99beb46982e6dc93140189a))


### Features

* **update:** adds application:update ([68e8e77](https://github.com/FusionAuth/fusionauth-node-cli/commit/68e8e77d79920231835c8a23d341ead05ea1c66d)), closes [#55](https://github.com/FusionAuth/fusionauth-node-cli/issues/55)

## [1.9.1-next.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.9.0...v1.9.1-next.1) (2026-07-09)


### Bug Fixes

* **release:** adds back github token ([cd34c52](https://github.com/FusionAuth/fusionauth-node-cli/commit/cd34c52382950ebea18dc6a6e07f68fb8b5e0697))
* **release:** adds defaults ([fdac965](https://github.com/FusionAuth/fusionauth-node-cli/commit/fdac965d591b21a657fb105285b6c0898322c387))
* **release:** adds dependency of test job ([3cd41cf](https://github.com/FusionAuth/fusionauth-node-cli/commit/3cd41cf2465965658abb6d07ce5e116da402fedd))
* **release:** adds new release workflows ([9350a16](https://github.com/FusionAuth/fusionauth-node-cli/commit/9350a169050d2385c4b4f0cfd76473894ee396d0))
* **release:** adds permissions to action ([d66921b](https://github.com/FusionAuth/fusionauth-node-cli/commit/d66921ba6c2289bdeacb9388c2d1b48ec474845d))
* **release:** brings testing job into release action ([94551bd](https://github.com/FusionAuth/fusionauth-node-cli/commit/94551bdce7c7baafaae59c615b8e375329b122f5))
* **release:** fixes commitlint issues ([ac51e58](https://github.com/FusionAuth/fusionauth-node-cli/commit/ac51e588f5c879c2580f1fa0ade6c7ccfed20884))
* **release:** fixes typo in workflow ([53d1443](https://github.com/FusionAuth/fusionauth-node-cli/commit/53d1443b34cd24e177f9fd8964741519a6352de8))
* **release:** makes release config common js ([ccefcad](https://github.com/FusionAuth/fusionauth-node-cli/commit/ccefcad70568436994732baedbb21d4c4fabeb5d))
* **release:** removes extraneous test that was causing failure in build not local ([687bbd6](https://github.com/FusionAuth/fusionauth-node-cli/commit/687bbd6e766909aae65f5f50a550449c514f0c58))
* **release:** removes PR action and corrects branch for testing push ([5a1059a](https://github.com/FusionAuth/fusionauth-node-cli/commit/5a1059a0c36313b2ba5c713288735f89973faee6))
* **release:** replaces inline testing with test workflow chaining ([d5b77b7](https://github.com/FusionAuth/fusionauth-node-cli/commit/d5b77b7326925295e50ac3606194033c27e70e76))
* **release:** stop committing build output and drop unused deps ([d64ac2c](https://github.com/FusionAuth/fusionauth-node-cli/commit/d64ac2c3b37c3a260e3f9e5f31464a2b873a8bfd)), closes [#45](https://github.com/FusionAuth/fusionauth-node-cli/issues/45)
* **release:** updates branches for workflow for main and next ([725d29c](https://github.com/FusionAuth/fusionauth-node-cli/commit/725d29c4216a3729c0d010cdcebf3b73aae508b9))
* **release:** updates workflow away from quotations as per the github docs ([c6dbd1a](https://github.com/FusionAuth/fusionauth-node-cli/commit/c6dbd1a53ac9ad1d22cd11256446c9893a8ea132))

## [1.9.1-next-setup.2](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.9.1-next-setup.1...v1.9.1-next-setup.2) (2026-07-09)


### Bug Fixes

* **release:** adds dependency of test job ([3cd41cf](https://github.com/FusionAuth/fusionauth-node-cli/commit/3cd41cf2465965658abb6d07ce5e116da402fedd))

## [1.9.1-next-setup.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.9.0...v1.9.1-next-setup.1) (2026-07-09)


### Bug Fixes

* **release:** adds back github token ([cd34c52](https://github.com/FusionAuth/fusionauth-node-cli/commit/cd34c52382950ebea18dc6a6e07f68fb8b5e0697))
* **release:** adds defaults ([fdac965](https://github.com/FusionAuth/fusionauth-node-cli/commit/fdac965d591b21a657fb105285b6c0898322c387))
* **release:** adds permissions to action ([d66921b](https://github.com/FusionAuth/fusionauth-node-cli/commit/d66921ba6c2289bdeacb9388c2d1b48ec474845d))
* **release:** brings testing job into release action ([94551bd](https://github.com/FusionAuth/fusionauth-node-cli/commit/94551bdce7c7baafaae59c615b8e375329b122f5))
* **release:** fixes commitlint issues ([ac51e58](https://github.com/FusionAuth/fusionauth-node-cli/commit/ac51e588f5c879c2580f1fa0ade6c7ccfed20884))
* **release:** fixes typo in workflow ([53d1443](https://github.com/FusionAuth/fusionauth-node-cli/commit/53d1443b34cd24e177f9fd8964741519a6352de8))
* **release:** makes release config common js ([ccefcad](https://github.com/FusionAuth/fusionauth-node-cli/commit/ccefcad70568436994732baedbb21d4c4fabeb5d))
* **release:** removes extraneous test that was causing failure in build not local ([687bbd6](https://github.com/FusionAuth/fusionauth-node-cli/commit/687bbd6e766909aae65f5f50a550449c514f0c58))
* **release:** removes PR action and corrects branch for testing push ([5a1059a](https://github.com/FusionAuth/fusionauth-node-cli/commit/5a1059a0c36313b2ba5c713288735f89973faee6))
* **release:** replaces inline testing with test workflow chaining ([d5b77b7](https://github.com/FusionAuth/fusionauth-node-cli/commit/d5b77b7326925295e50ac3606194033c27e70e76))
* **release:** stop committing build output and drop unused deps ([d64ac2c](https://github.com/FusionAuth/fusionauth-node-cli/commit/d64ac2c3b37c3a260e3f9e5f31464a2b873a8bfd)), closes [#45](https://github.com/FusionAuth/fusionauth-node-cli/issues/45)
* **release:** updates branches for workflow for main and next ([725d29c](https://github.com/FusionAuth/fusionauth-node-cli/commit/725d29c4216a3729c0d010cdcebf3b73aae508b9))
* **release:** updates workflow away from quotations as per the github docs ([c6dbd1a](https://github.com/FusionAuth/fusionauth-node-cli/commit/c6dbd1a53ac9ad1d22cd11256446c9893a8ea132))

## [1.8.3-next-setup.2](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.8.3-next-setup.1...v1.8.3-next-setup.2) (2026-07-08)


### Bug Fixes

* **release:** stop committing build output and drop unused deps ([d64ac2c](https://github.com/FusionAuth/fusionauth-node-cli/commit/d64ac2c3b37c3a260e3f9e5f31464a2b873a8bfd)), closes [#45](https://github.com/FusionAuth/fusionauth-node-cli/issues/45)

## [1.8.3-next-setup.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.8.2...v1.8.3-next-setup.1) (2026-07-08)


### Bug Fixes

* **release:** adds back github token ([cd34c52](https://github.com/FusionAuth/fusionauth-node-cli/commit/cd34c52382950ebea18dc6a6e07f68fb8b5e0697))
* **release:** adds defaults ([fdac965](https://github.com/FusionAuth/fusionauth-node-cli/commit/fdac965d591b21a657fb105285b6c0898322c387))
* **release:** adds permissions to action ([d66921b](https://github.com/FusionAuth/fusionauth-node-cli/commit/d66921ba6c2289bdeacb9388c2d1b48ec474845d))
* **release:** fixes commitlint issues ([ac51e58](https://github.com/FusionAuth/fusionauth-node-cli/commit/ac51e588f5c879c2580f1fa0ade6c7ccfed20884))
* **release:** makes release config common js ([ccefcad](https://github.com/FusionAuth/fusionauth-node-cli/commit/ccefcad70568436994732baedbb21d4c4fabeb5d))
* **release:** removes PR action and corrects branch for testing push ([5a1059a](https://github.com/FusionAuth/fusionauth-node-cli/commit/5a1059a0c36313b2ba5c713288735f89973faee6))
Loading