Releases: unional/create
Release list
@unional/createutils@2.0.0
Major Changes
-
5b28e79:
@unional/createutilsis now ESM-only.The package declares
"type": "module"and ships a singleexportsmap with no
requirecondition, sorequire('@unional/createutils')no longer resolves. The
dual CommonJS (lib/) and ESM (libm/) outputs are gone; there is one ESM build
inlib/, andmain,module,jsnext:mainandtypingshave been dropped in
favour ofexportsandtypes.Migration:
- Import the package from an ESM module:
import { initGitRepo } from '@unional/createutils'.
Consumers should set"type": "module"in their ownpackage.json, or use
.mjs/.mtsfiles. - From a CommonJS module that cannot be converted, use a dynamic import:
const { initGitRepo } = await import('@unional/createutils'). - Deep imports into
libm/must be repointed atlib/. Only the package root is
exported, so paths outside theexportsmap are no longer reachable. - TypeScript consumers need
"module"/"moduleResolution"set tonode16,
nodenext, orbundler. Under a CommonJS compilation the import now fails with
TS1479.
- Import the package from an ESM module:
Patch Changes
-
591bbf5: Declare a supported Node range:
^20.19.0 || ^22.13.0 || >=24.Every version in that range has unflagged
require(esm), so a CommonJS consumer's
require()of this now-ESM-only package resolves rather than throwingERR_REQUIRE_ESM.
Node 18 (EOL April 2025) and Node 20.0–20.18 are excluded becauserequire()hard-fails there.
@unional/monorepo-scripts@0.1.4
Patch Changes
-
bad2bc7: Narrow the
clibuilderdependency from^6.5.1to~6.5.1.Both packages call
createClifrom clibuilder, and clibuilder 6.6.1 removed that
export — itslib/index.d.tsre-exports only./errorsand./parseArgv, where
6.5.1 also exported./create-cli,./create-plugin-cliand./presenter. Under
the old caret range a fresh consumer install resolved 6.6.1 and the CLI threw at
startup.The repository was not affected because a
pnpm-workspace.yamloverride pinned
6.5.1 locally, which is exactly why this went unnoticed: an override binds this
workspace only and never travels with the published package. The constraint now
lives in each package's owndependencies, and the redundant override is removed. -
0a1b238: Rebuild with TypeScript 7. The emitted output changes: the CJS build now targets
ES2022 undermodule: node16instead of downlevelling to ES5, and the ESM build
targets ES2022 as well.target: es5andmoduleResolution: node10were both
removed in TypeScript 7, so the previous settings no longer compile.No public API changes, and the published file list is unchanged.
@unional/devpkg-node@1.6.4
Patch Changes
-
bad2bc7: Narrow the
clibuilderdependency from^6.5.1to~6.5.1.Both packages call
createClifrom clibuilder, and clibuilder 6.6.1 removed that
export — itslib/index.d.tsre-exports only./errorsand./parseArgv, where
6.5.1 also exported./create-cli,./create-plugin-cliand./presenter. Under
the old caret range a fresh consumer install resolved 6.6.1 and the CLI threw at
startup.The repository was not affected because a
pnpm-workspace.yamloverride pinned
6.5.1 locally, which is exactly why this went unnoticed: an override binds this
workspace only and never travels with the published package. The constraint now
lives in each package's owndependencies, and the redundant override is removed. -
0a1b238: Rebuild with TypeScript 7. The emitted output changes: the CJS build now targets
ES2022 undermodule: node16instead of downlevelling to ES5, and the ESM build
targets ES2022 as well.target: es5andmoduleResolution: node10were both
removed in TypeScript 7, so the previous settings no longer compile.No public API changes, and the published file list is unchanged.
@unional/createutils@1.1.4
Patch Changes
-
8c5f489: Fix two CodeQL findings in the git helpers.
getGitConfigbuilt its command as a template string and ran it through a shell,
so thekeyargument reached the shell unescaped
(js/shell-command-constructed-from-input). It now usesexecFileSyncwith an
argument array, which never involves a shell.getGitRepositoryNameused two unanchored regexes whose.*groups backtracked
polynomially on hostile input (js/polynomial-redos). Both are now anchored with
bounded character classes. Recognized remote URLs parse the same way. -
0a1b238: Rebuild with TypeScript 7. The emitted output changes: the CJS build now targets
ES2022 undermodule: node16instead of downlevelling to ES5, and the ESM build
targets ES2022 as well.target: es5andmoduleResolution: node10were both
removed in TypeScript 7, so the previous settings no longer compile.No public API changes, and the published file list is unchanged.
@unional/monorepo-scripts@0.1.3
Patch Changes
-
17b668c: Release through npm trusted publishing.
The release pipeline moved from lerna + a repo
NPM_TOKENto changesets publishing over GitHub OIDC, so these packages are published with provenance and no long-lived credential.@unional/createutilsalso stops shipping its own*.spec.tsfiles.
@unional/devpkg-node@1.6.3
Patch Changes
-
17b668c: Release through npm trusted publishing.
The release pipeline moved from lerna + a repo
NPM_TOKENto changesets publishing over GitHub OIDC, so these packages are published with provenance and no long-lived credential.@unional/createutilsalso stops shipping its own*.spec.tsfiles.
@unional/createutils@1.1.3
Patch Changes
-
17b668c: Release through npm trusted publishing.
The release pipeline moved from lerna + a repo
NPM_TOKENto changesets publishing over GitHub OIDC, so these packages are published with provenance and no long-lived credential.@unional/createutilsalso stops shipping its own*.spec.tsfiles.
@unional/singlerepo-scripts@0.1.2
0.1.2 (2021-02-12)
Note: Version bump only for package @unional/singlerepo-scripts
@unional/singlerepo-scripts@0.1.1
0.1.1 (2021-02-12)
Note: Version bump only for package @unional/singlerepo-scripts
@unional/monorepo-scripts@0.1.2
0.1.2 (2021-02-12)
Note: Version bump only for package @unional/monorepo-scripts