Conversation
The documentation and demo sites on ideal-postcodes.dev no longer resolve.
Linting runs through eslint and nothing imports csv-parse. npm also rewrites the lockfile to lockfileVersion 3 and drops the empty dependencies object.
TypeScript 6.0.3 is the newest release that can still emit the ES5 target this package ships; TypeScript 7 removes it. ignoreDeprecations keeps the target, rootDir keeps dist/ and esm/ flat, and types restores the node and mocha globals that TypeScript 6 no longer auto-includes. Emitted JavaScript differs from 4.2 only in compiler idiom: (0, exports.fn)() calls and "".concat() for template literals. typedoc 0.28 cannot load the legacy @ideal-postcodes/doc-assets theme or the disableOutputCheck option, so both are dropped.
ESLint 10 no longer reads .eslintrc and @cablanchard/eslint-config only ships the legacy format, so its rules are inlined in eslint.config.js on typescript-eslint 8. ban-types was split upstream into no-empty-object-type, no-unsafe-function-type and no-wrapper-object-types; interface-name-prefix no longer exists. Prettier moves to 3.x with trailingComma set to es5, which matches the existing formatting.
@cablanchard/semantic-release pins plugin majors that predate semantic-release 25, so the same plugin set is declared directly in package.json at current versions. tagFormat, the release commit message and the committed assets are unchanged. The changelog and version bump now land in one release commit instead of two.
The codecov npm uploader is deprecated and no longer accepted by Codecov. The coverage script now only writes coverage.lcov and codecov/codecov-action uploads it. Also refreshes locked transitive dependencies so npm audit reports no vulnerabilities.
Together with the ci.yml changes in the previous commit this moves every workflow off the retired actions/cache@v1, checkout@v1 and setup-node@v1 (GitHub now fails any job that references actions/cache v1 or v2) and off Node 10, 12 and 14. CI runs on Node 22 and 24, release on Node 24, which semantic-release 25 requires. npm caching moves to setup-node and installs use npm ci. checkout v2 and later fetch a shallow clone and persist the workflow token, so release.yml sets fetch-depth 0 for semantic-release tag discovery and persist-credentials false so the release commit is pushed with GH_TOKEN as before. CodeQL moves to v4 with the javascript-typescript extractor. The HEAD^2 checkout and autobuild steps are no longer needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
postcodejs.ideal-postcodes.dev(the retired TypeDoc site) is NXDOMAIN. Remove the API Documentation link; the README already documents every methodCHANGELOG.mdstill mentions the domain once. It is generated history, left aloneCI and toolchain
actions/cache@v1is retired and GitHub fails any job that references it. All workflows now useactions/checkout@v7andactions/setup-node@v7(with its built-in npm cache, replacingactions/cache), and install withnpm cirelease.ymlchecks out withfetch-depth: 0andpersist-credentials: falseso semantic-release can see tags and push withGH_TOKENgithub/codeql-action@v4with thejavascript-typescriptextractorcodecovnpm package tocodecov/codecov-action@v7engines, entry points or public API changed. The build still targets ES5 with the samedist/andesm/layout; emitted JavaScript differs only in compiler idiom.npm auditreports 0 vulnerabilitiesNeed help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.