Repository navigation
Releases: fjellgrunn/docs-template
Release list
Release 1.0.48: version bump and npm publish workflow cleanup
Summary
This release updates the package version to 1.0.48 and cleans up the npm publish GitHub Actions workflow. The changes remove a manual npm upgrade step and an inline NODE_AUTH_TOKEN env block; the workflow still runs npm ci and npm publish under the existing Node 22 setup.
Release
- Bump package version to 1.0.48
- "Bump package version from dev to release in package.json" — Update "version" in package.json from "1.0.48-dev.0" to "1.0.48" (commit d8cf088).
CI/CD / GitHub Actions
-
Remove manual npm upgrade step from npm publish workflow
- "Remove manual npm upgrade from npm publish workflow" — Deleted the "Update npm" step that ran
npm install -g npm@latestwhile retaining the Node 22 setup and thenpm ci/npm publishsteps (commit aa64ba2).
- "Remove manual npm upgrade from npm publish workflow" — Deleted the "Update npm" step that ran
-
Remove inline NODE_AUTH_TOKEN environment assignment from workflow
- "Remove inline NODE_AUTH_TOKEN from npm publish workflow" — Deleted the env block that set
NODE_AUTH_TOKEN: ${{ secrets.npm_token }};npm ciandnpm publishsteps remain unchanged (commit c5a6965).
- "Remove inline NODE_AUTH_TOKEN from npm publish workflow" — Deleted the env block that set
Files changed
-
package.json
- Version field updated to the release value (see commit d8cf088).
-
.github/workflows/npm-publish.yml
Notes
-
The publish workflow still executes
npm ciandnpm publishunder the Node 22 runner; the two removed lines simplify the workflow but do not change those steps (commits aa64ba2, c5a6965). -
No runtime or API-level changes were made to the package contents in this release beyond the version bump (commit d8cf088).
Demo updated to React 19.1.2; package released as 1.0.47
Align React and react-dom to ^19.1.2 across peer and runtime
This release aligns React and react-dom versions across peerDependencies and runtime dependencies to ^19.1.2.
Dependency Updates
- package.json: align React and react-dom to ^19.1.2 in both peerDependencies (from ^19.1.1) and dependencies (from ^19.2.0) (commit 8b0a8dd)
- package-lock.json: update react and react-dom dependencies from ^19.2.0 to ^19.1.2 and bump peer entries from ^19.1.1 to ^19.1.2 (commit 4efa188)
Other
- Set package.json version to 1.0.46 (from 1.0.46-dev.0) (commit b4bb83a)
Stop running test workflow on pull requests
This release updates CI test workflow triggers and bumps a development dependency.
Continuous Integration
- Stop running the test workflow on pull requests by removing the
pull_requesttrigger from.github/workflows/test.yml; push triggers remain formain,working, andfeature/**branches (commit cebde30).
Dependencies
- Bump
@fjell/common-configdevDependency to^1.1.31inpackage.json(commit 9c6ab0a).
Versioning
- Bump package version from
1.0.45-dev.0to1.0.45(commit bd5a430).
Publish 1.0.44 with updated @fjell/common-config devDependency
This maintenance release publishes 1.0.44 and updates a development-only dependency. No functional changes to the template are included.
Dependency Updates
- Bump devDependency:
@fjell/common-configfrom^1.1.29to^1.1.30(commit: "Bump @fjell/common-config devDependency to ^1.1.30")
Maintenance
- Set version to
1.0.44(commit: "Bump package.json version from 1.0.44-dev.0 to 1.0.44") - Set version to
1.0.44-dev.0(commit: "1.0.44-dev.0")
Dev tooling sync with @fjell/common-config ^1.1.29
This maintenance release updates the shared development tooling and publishes version 1.0.43.
Tooling
- Bump @fjell/common-config devDependency to ^1.1.29 in package.json (commit 9b6a38c)
- Update package-lock.json to use @fjell/common-config ^1.1.29 (commit 1cde86c)
Release
- Set release version to 1.0.43 in package.json, replacing 1.0.43-dev.0 (commit 1df7eb4)
Downgrade @fjell/common-config to ^1.1.28 and publish 1.0.42
This release updates the package version and adjusts a development dependency.
Dependencies
- Downgrade
@fjell/common-configindevDependenciesfrom^1.1.29to^1.1.28(commit 709f4e2) - Update
package-lock.jsonto reflect the downgrade to^1.1.28(commit ef35bab)
Versioning
- Bump package version from
1.0.42-dev.0to1.0.42(commit f827c3e)
Migrate to @fjell/common-config; update React 19.2 and tooling
This release migrates build/lint configuration to @fjell/common-config and updates React plus related tooling versions.
Build and Configuration
- Switch esbuild presets in build.js from
@fjell/eslint-config/esbuild/*to@fjell/common-config/esbuild/*(commit 8bfcca1) - Update ESLint shared config import to
@fjell/common-config/library(was@fjell/eslint-config/library) in eslint.config.mjs (commit 8bfcca1) - Replace dev dependency
@fjell/eslint-configwith@fjell/common-config^1.1.29(commit 8bfcca1)
Runtime Dependency Updates
- React
^19.2.0(from^19.1.1) and React DOM^19.2.0(commit 8bfcca1) - react-syntax-highlighter
^16.0.0(from^15.6.1) (commit 8bfcca1)
Dev Tooling Updates
- @eslint/js
^9.38.0(from^9.32.0) (commit 8bfcca1) - eslint
^9.38.0(from^9.32.0) (commit 8bfcca1) - esbuild
0.25.11(from0.25.9) (commit 8bfcca1) - typescript
^5.9.3(from^5.8.3) (commit 8bfcca1) - @typescript-eslint/eslint-plugin
^8.46.2and @typescript-eslint/parser^8.46.2(from^8.38.0) (commit 8bfcca1) - @types/node
^24.9.1(from^24.1.0) (commit 8bfcca1) - @types/react
^19.2.2(from^19.1.8) and @types/react-dom^19.2.2(from^19.1.6) (commit 8bfcca1) - @testing-library/jest-dom
^6.9.1(from^6.6.3) (commit 8bfcca1) - jsdom
^27.0.1(from^26.1.0) (commit 8bfcca1) - @vitejs/plugin-react
^5.0.4(from^4.7.0) (commit 8bfcca1) - vitest
^4.0.1(from^3.2.4) and @vitest/coverage-v84.0.1(from3.2.4) (commit 8bfcca1)
Version
- Set package version to
1.0.41(commit 05f9d46)
ESLint config dependency update and 1.0.40 release
This release finalizes version 1.0.40 and updates the ESLint configuration dev dependency.
Dependency Updates
- Bump @fjell/eslint-config devDependency in package.json to ^1.1.28 (commit 3c42ce3)
- Update lockfile entries for @fjell/eslint-config to 1.1.28 with refreshed metadata (commit 164fdb0)
Release
- Bump package.json version from 1.0.40-dev.0 to 1.0.40 (commit dca8db8)
Enforce standard lint rules in tests, remove precommit hook, and update dev deps (v1.0.38)
This release tightens developer checks and simplifies the publish pipeline while bringing several devDependencies up to date. The primary user-visible effects are stricter linting (test files no longer get a relaxed "no-undefined" rule), removal of the repo-level precommit npm script, and an upgrade of the local ESLint config package used during development. The release also updates package metadata (version bump to 1.0.38), refreshes the lockfile to match dependency bumps, and includes a small set of repository housekeeping changes (EOF normalization and deterministic dependency pinning in prior commits reflected in the lockfile).
Summary
- Enforced the standard
no-undefinedESLint rule for test files by removing the test-specific override. Tests that previously relied onno-undefined: offwill now be linted against the standard rule. - Removed the
precommitnpm script from package.json (previously ran clean, lint, build, test). TheprepublishOnlyscript remains. - Bumped devDependency
@fjell/eslint-configto^1.1.25and updated package-lock.json to match the new resolved package artifact and integrity hash. - Bumped package version to
1.0.38and normalized end-of-file formatting in package.json. - Continued a series of repository maintenance commits reflected in the history: earlier dependency bumps and lockfile updates, pinning of
esbuildin prior commits, and workflow simplification for npm publish.
New Features
(No new runtime or user-facing features were added in this release.)
Improvements
-
Dev dependency upgrades
- Updated devDependency
@fjell/eslint-configfrom earlier ranges to^1.1.25. The lockfile was regenerated to reference the 1.1.25 tarball and integrity hash to ensure deterministic installs. - Prior commits in this release series also included pinning
esbuildto0.25.9(exact version) to remove range ambiguity in installs.
- Updated devDependency
-
Package metadata and formatting
- Bumped package.json version to
1.0.38(from a-dev.0pre-release in the working branch). - Normalized package.json end-of-file (EOF) formatting in multiple commits to ensure a consistent final newline state across edits.
- Bumped package.json version to
-
CI / publishing workflow simplification (context from recent commits)
- The separate
buildjob was removed from the npm-publish workflow and thepublish-npmjob was simplified to run without depending on a dedicatedbuildjob. This reduces workflow complexity for publishing runs (publish now runs independently in the workflow). See .github/workflows/npm-publish.yml for the updated job layout.
- The separate
Bug Fixes
- No direct runtime bug fixes are included in the change set. The lockfile updates ensure the repository installs the intended patched devDependencies (including lint rule fixes delivered by
@fjell/eslint-configupdates).
Breaking Changes (Attention Required)
-
ESLint stricter enforcement in test files
- Removed the ESLint override that turned off
no-undefinedfor files matchingtests/**/*.tsandtests/**/*.tsx. Test code that previously relied on undefined values without handling them may now fail linting. Action: run the project's lint command locally and address anyno-undefinedviolations in test sources.
- Removed the ESLint override that turned off
-
Local precommit workflow change
- The
precommitnpm script has been removed from package.json. Developers who relied on the repository-providedprecommitscript (which ranclean,lint,build, andtest) need to update their local workflows or git hooks. TheprepublishOnlyscript remains and still runscleanandbuildduring publish time.
- The
-
Publish workflow expectations
- The GitHub Actions workflow for npm publishing was simplified to remove a separate build job and to allow the publish job to run without needing a prior
buildjob. If CI previously relied on the removed build job's artifacts or side effects, pipeline adjustments may be necessary.
- The GitHub Actions workflow for npm publishing was simplified to remove a separate build job and to allow the publish job to run without needing a prior
Developer Experience
-
Linting
- Tests are now validated by the same
no-undefinedrule that applies to the rest of the codebase. This encourages consistent detection of undefined usage across code and tests but may require small fixes in test suites.
- Tests are now validated by the same
-
Local hooks and scripts
- With
precommitremoved, there is no longer a repository-defined single-step precommit script. Developers should add their own git hooks or adapt local tooling to reproduce desired precommit behavior (lint, build, test) where needed.
- With
-
Deterministic installs
- The lockfile was updated to reflect the bumped devDependencies and pinned versions, improving reproducibility of
npm ci/npm installin development and CI.
- The lockfile was updated to reflect the bumped devDependencies and pinned versions, improving reproducibility of
Files and components changed
-
eslint.config.mjs
- Removed the override block that matched test files (
tests/**/*.ts,tests/**/*.tsx) and setno-undefinedtooff. Test files will now be checked by the base rule set.
- Removed the override block that matched test files (
-
package.json
- Version set to
1.0.38. - Removed
precommitnpm script (previously:npm run clean && npm run lint && npm run build && npm run test). - Bumped devDependency
@fjell/eslint-configto^1.1.25. - Other housekeeping: EOF normalization.
- Version set to
-
package-lock.json
- Updated entries to reflect
@fjell/eslint-config@1.1.25(resolved URL and integrity hash) and other dependency resolution changes introduced by the devDependency bumps.
- Updated entries to reflect
-
.github/workflows/npm-publish.yml (reflected in recent commits)
- Removed the separate
buildjob and simplified the publish job so it no longerneeds: build.
- Removed the separate
Migration notes / actions for consumers and contributors
-
Run linters locally
- After pulling this release, run npm run lint (or your standard lint command) and fix any
no-undefinedviolations in tests.
- After pulling this release, run npm run lint (or your standard lint command) and fix any
-
Adjust local precommit setups if needed
- If the earlier
precommitnpm script was relied upon, recreate the desired precommit behavior using a custom git hook, Husky, or an equivalent tool.
- If the earlier
-
CI and publish checks
- If CI or internal tooling relied on the removed
buildjob in the npm-publish workflow, update workflows to provide the necessary build or test steps prior to publish.
- If CI or internal tooling relied on the removed
Additional context
- This release continues an ongoing effort to keep linting rules, dev tooling, and CI configuration consistent and deterministic. Upgrading
@fjell/eslint-configconsolidates recent lint rule fixes into the development environment; removing the test-specific override brings tests under the same linting standards applied to production code.
If issues appear after upgrading, check lint output for no-undefined violations in test files, verify local hook configurations, and ensure CI workflows match the updated publish expectations.