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
2 changes: 1 addition & 1 deletion .github/actions/pnpm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "pnpm install"
description: "Run pnpm install with cache enabled"
inputs:
path:
description: Path to run pnpm install in
description: "Path to the directory containing the pnpm workspace"
default: "."
runs:
using: "composite"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-release-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
workflow_dispatch:
inputs:
package:
description: "The published name of a single package to release"
description: The published name of a single package to release
type: choice
required: true
options:
- "@nanoforge-dev/utils-eslint-config"
- "@nanoforge-dev/utils-prettier-config"
version:
description: "New version for the packages"
description: New version for the packages
type: string
required: true
dry_run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: "New version for the packages"
description: New version for the packages
type: string
required: true
dry_run:
Expand Down
33 changes: 32 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-single-package:
name: Release
name: Release Single
runs-on: ubuntu-latest
if: github.repository_owner == 'NanoForge-dev' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/') && !startsWith(github.head_ref, 'releases/nanoforge@')
steps:
Expand Down Expand Up @@ -63,3 +63,34 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-docs:
name: Publish docs
runs-on: ubuntu-latest
if: github.repository_owner == 'NanoForge-dev'
needs: [release]
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true

- name: Checkout docs repository
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
path: docs-dist
repository: nanoforge-dev/docs
token: ${{ secrets.ACTIONS_KEY }}

- name: Prepare
uses: ./.github/actions/prepare

- name: Publish docs
uses: ./node_modules/@nanoforge-dev/actions/actions/synchronize-docs
with:
repository: engine
category: engine
references: true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,4 @@ emsdk-cache/
.vscode
.tsdocs

docs/api
references/
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm --no-install commitlint --edit "$1"
pnpm commitlint --edit "$1"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm --no-install lint-staged
pnpm lint-staged
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"typescript": "catalog:core",
"vitest": "catalog:test"
},
"packageManager": "pnpm@10.33.0",
"packageManager": "pnpm@11.3.0",
"engines": {
"node": "25"
},
Expand Down
1 change: 1 addition & 0 deletions packages/asset-manager/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "asset-manager",
"org": "nanoforge-dev",
"packagePath": "packages/asset-manager",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/asset-manager/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/asset-manager@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/asset-manager/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/asset-manager",
"outputFolder": "../../references/asset-manager",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/common/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "common",
"org": "nanoforge-dev",
"packagePath": "packages/common",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/common/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/common@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/common/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/common",
"outputFolder": "../../references/common",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/config/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "config",
"org": "nanoforge-dev",
"packagePath": "packages/config",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/config/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/config@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/config/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/config",
"outputFolder": "../../references/config",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/core-editor/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "core-editor",
"org": "nanoforge-dev",
"packagePath": "packages/core-editor",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/core-editor/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/core-editor@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-editor/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/core-editor",
"outputFolder": "../../references/core-editor",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/core/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "core",
"org": "nanoforge-dev",
"packagePath": "packages/core",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/core/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/core@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/core",
"outputFolder": "../../references/core",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/ecs-client/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "ecs-client",
"org": "nanoforge-dev",
"packagePath": "packages/ecs-client",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/ecs-client/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/ecs-client@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/ecs-client/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/ecs-client",
"outputFolder": "../../references/ecs-client",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/ecs-lib/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "ecs-lib",
"org": "nanoforge-dev",
"packagePath": "packages/ecs-lib",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/ecs-lib/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/ecs-lib@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/ecs-lib/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/ecs-lib",
"outputFolder": "../../references/ecs-lib",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/ecs-server/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "ecs-server",
"org": "nanoforge-dev",
"packagePath": "packages/ecs-server",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/ecs-server/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/ecs-server@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/ecs-server/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/ecs-server",
"outputFolder": "../../references/ecs-server",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/graphics-2d/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "graphics-2d",
"org": "nanoforge-dev",
"packagePath": "packages/graphics-2d",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/graphics-2d/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/graphics-2d@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/graphics-2d/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/graphics-2d",
"outputFolder": "../../references/graphics-2d",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/input/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "input",
"org": "nanoforge-dev",
"packagePath": "packages/input",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/input/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/input@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/input/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/input",
"outputFolder": "../../references/input",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/music/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "music",
"org": "nanoforge-dev",
"packagePath": "packages/music",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/music/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/music@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/music/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/music",
"outputFolder": "../../references/music",
"lint": {
"eslint": {
"enabled": true
Expand Down
1 change: 1 addition & 0 deletions packages/network-client/.cliff-jumperrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"name": "network-client",
"org": "nanoforge-dev",
"packagePath": "packages/network-client",
"tagTemplate": "{{new-version}}",
"identifierBase": false
}
2 changes: 1 addition & 1 deletion packages/network-client/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ commit_parsers = [
]
filter_commits = true
protect_breaking_commits = true
tag_pattern = "@nanoforge-dev/network-client@[0-9]*"
tag_pattern = "^[0-9]+"
ignore_tags = ""
topo_order = false
sort_commits = "newest"
Expand Down
2 changes: 1 addition & 1 deletion packages/network-client/mint-tsdocs.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/mint-tsdocs/lib/schemas/config.schema.json",
"entryPoint": "dist/index.d.cts",
"outputFolder": "../../docs/api/network-client",
"outputFolder": "../../references/network-client",
"lint": {
"eslint": {
"enabled": true
Expand Down
Loading
Loading