(done) Next Major 2.0 Release Roadmap #262
ghiscoding
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Planned for Next Major Release
List of upcoming changes
Just opening this discussion to keep track of possible future improvement, for example when Node 14 is EOL (Apr. 2023) as shown in first list item below:
node:
import prefix for Node libs as ESM, ref Node GitHub issue, for example (rollback PR fix(version): Node14, import from "fs" instead of "node:fs", fixes #260 #261 and apply other changes)node:
protocol are (node:assert
,node:fs
,node:path
,node:stream
,node:os
,node:util
,node:url
, ...)require()
and replace them withimport
(orawait import()
) to be ESM readyfor the ones that are too hard to replace with async imports, we can probably use createRequire__dirname
was also replaced byimport.meta.url
with ESM but that only works with very latest version of Node >=14.18.3 (which is higher than current requirement) or Node 16, probably better to wait on the next Nodemajor
release after Node14 EOL - April 2023>= 16.15.0
and npm>= 8.5.0
version
note about npm version required for the--sync-workspace-lock
flag and removenpm shrinkwrap
in update-lockfile-version.ts"module": "commonjs"
with"module": "bundler"
--no-workspace-strict-match
flag frompublish
readme doc"os"
dependency from anypackage.json
since it is now a NodeJS core packagegit-dry-run
andcmd-dry-run
to the simplerdry-run
major
releaseversion
andpublish
commands as optional packages as well, ref issue Make the@lerna-lite/version
and@lerna-lite/publish
dependencies optional #450optional-cmd-common
into 2 new packages (filter-packages
&profiler
)it might be better to switch it to be the default in future versionkeep it as opt-in since some users are using it in CIlerna info
since I don't think anyone ever used it and it can be replaced by a simplenpx envinfo
commandfs-extra/esm
for ESM imports--changelog-version-message-msg
version1
branch before mergingnext
intomain
remove optionaluseNx
fromrun
commandnext
branchReferences
List of associated PRs
node:
imports andfs-extra/esm
import #539--no-workspace-strict-match
option #541--require-scripts
, keep npm scripts lifecycle #542--changelog-version-message
option #543--use-nx
(powered by Nx) option fromrun
command #554--skip-bump-only-release
to avoid empty gh releases #555--use-nx
option torun
command #557Beta Was this translation helpful? Give feedback.
All reactions