diff --git a/.github/ISSUE_TEMPLATE/01-packages_bug_report.yml b/.github/ISSUE_TEMPLATE/01-packages_bug_report.yml index 58d308a..fe4cd8a 100644 --- a/.github/ISSUE_TEMPLATE/01-packages_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/01-packages_bug_report.yml @@ -26,6 +26,7 @@ body: - network-client - network-server - sound + - other validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/02-utils_bug_report.yml b/.github/ISSUE_TEMPLATE/02-utils_bug_report.yml index ae78828..b067bdf 100644 --- a/.github/ISSUE_TEMPLATE/02-utils_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/02-utils_bug_report.yml @@ -13,8 +13,10 @@ body: attributes: label: Which utils is this bug report for? options: + - actions - eslint-config - prettier-config + - other validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/03-feature_request.yml b/.github/ISSUE_TEMPLATE/03-feature_request.yml index a59b15f..b07e135 100644 --- a/.github/ISSUE_TEMPLATE/03-feature_request.yml +++ b/.github/ISSUE_TEMPLATE/03-feature_request.yml @@ -24,8 +24,10 @@ body: - network-client - network-server - sound + - actions - eslint-config - prettier-config + - other validations: required: true - type: textarea diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml index 8a35a3a..89f86e0 100644 --- a/.github/issue-labeler.yml +++ b/.github/issue-labeler.yml @@ -50,10 +50,14 @@ packages:sound: - "### Which (package|utils|package or utils) is this (bug report|feature request) for\\?\\n\\nsound\\n" +utils:actions: + - "### Which (package|utils|package or utils) is this (bug + report|feature request) for\\?\\n\\nactions\\n" + utils:eslint-config: - "### Which (package|utils|package or utils) is this (bug - report|feature request) for\\?\\n\\nstructures\\n" + report|feature request) for\\?\\n\\neslint-config\\n" utils:prettier-config: - "### Which (package|utils|package or utils) is this (bug - report|feature request) for\\?\\n\\ui\\n" + report|feature request) for\\?\\n\\nprettier-config\\n" diff --git a/.github/labeler.yml b/.github/labeler.yml index 0fccc36..48dbf65 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -76,6 +76,12 @@ packages:sound: - packages/sound/* - packages/sound/**/* +utils:actions: + - changed-files: + - any-glob-to-any-file: + - utils/actions/* + - utils/actions/**/* + utils:eslint-config: - changed-files: - any-glob-to-any-file: diff --git a/.github/labels.yml b/.github/labels.yml index 3ff8359..55bc3f7 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -102,6 +102,10 @@ description: "Adding missing tests or correcting existing tests" color: "7f8f92" +- name: "utils:actions" + description: "Related to Github actions" + color: "606bdf" + - name: "utils:eslint-config" description: "Related to ESLint config" color: "606bdf" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 985006d..84fe755 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,9 @@ on: env: EM_CACHE_FOLDER: "emsdk-cache" +permissions: + contents: write + jobs: npm-publish: name: npm publish diff --git a/packages/ecs-server/CHANGELOG.md b/packages/ecs-server/CHANGELOG.md index b1d02ee..5db3831 100644 --- a/packages/ecs-server/CHANGELOG.md +++ b/packages/ecs-server/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -# [@nanoforge-dev/ecs-server@0.0.1](https://github.com/NanoForge-dev/Engine/tree/@nanoforge-dev/ecs-server@0.0.1) - (2026-01-09) +# [@nanoforge-dev/ecs-server@1.0.0](https://github.com/NanoForge-dev/Engine/tree/@nanoforge-dev/ecs-server@0.0.1) - (2026-01-09) ## Bug Fixes diff --git a/utils/actions/package.json b/utils/actions/package.json index 08883dd..346a123 100644 --- a/utils/actions/package.json +++ b/utils/actions/package.json @@ -38,7 +38,7 @@ "lint": "prettier --check . && eslint --format=pretty src", "format": "prettier --write . && eslint --fix --format=pretty src", "prepack": "pnpm run build && pnpm run lint", - "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/actions/*'", + "changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'utils/actions/*'", "release": "cliff-jumper" }, "dependencies": { diff --git a/utils/actions/src/release-packages/generate-release-tree.ts b/utils/actions/src/release-packages/generate-release-tree.ts index c799911..64da695 100644 --- a/utils/actions/src/release-packages/generate-release-tree.ts +++ b/utils/actions/src/release-packages/generate-release-tree.ts @@ -111,6 +111,7 @@ async function getReleaseEntries(dry: boolean, devTag?: string) { } foundChangelog = true; + continue; } if (foundChangelog) { @@ -118,7 +119,7 @@ async function getReleaseEntries(dry: boolean, devTag?: string) { } } - release.changelog = changelogLines.join("\n"); + release.changelog = `${changelogLines.join("\n").replace(/^\s+|\s+$/g, "")}\n`; } catch (error) { // Probably just no changelog file but log just in case warning(`Error parsing changelog for ${pkg.name}, will use auto generated: ${error}`);