You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nx-packages and nx-plugins are repos internal to my company. Both are packages workspaces, the plugins repo is synced-versions, and the packages repo is independent.
nx-packages
File Name
Purpose
Notes
tools/check-lock-files.js
Ensures that there’s no lock file but yarn.lock, and ensures that yarn.lock does not reference the local registry
tools/check-versions.ts
Checks library package json files, and dependencies that have newer versions
Contains a check to ignore libraries that are part of the repo
tools/depcheck/discrepancies.ts
Looks for dependencies in project package.json files that do not satisfy the root package.json (or vice versa)
tools/depcheck/missing.ts
Uses the depcheck module to find missing imports in projects
tools/depcheck/index.ts
CLI entry point for running the discrepancies/missing checks are reporting those
Contains a check to ignore libraries that are part of the repo
tools/library-publishing-plugin.js
NX Plugin that adds version/publish targets to packages
Only relevant for independent-versions libraries
tools/local-registry.sh
Manages setting-up/tearing down and configuring package managers to work with verdaccio
tools/local-registry/config.yml
Verdaccio config
our configs might be invalid since it still only references @nrwl packages as a special case, something that we might be missing out
tools/package.ts
Builds packages and updates the built package.json for local or prod publishing
tools/scripts/publish.mjs
Script generated by NX itself to be a good default script for publishing repositories
tools/tsconfig.scripts.json
tsconfig for .ts scripts
tools/tsconfig.tools.json
tsconfig generated by NX, difference is "rootDir": "*"
tools/workspace-utils.ts
Utility module that exports metadata about projects in the repository for other scripts
nx-plugins
File Name
Purpose
Notes
tools/check-lock-files.js
Same as in nx-packages
tools/check-versions.ts
Intended for use in plugins which have a lib/utils/versions.ts package. Checks for newer versions of packages specified there.
Requires external configuration to differentiate between scoped packages and other packages.
Tooling in each repo
nx-packages
nx-plugins
tools/depcheck/index.ts
tools/depcheck/missing.ts
tools/local-registry/config.yml
tools/tsconfig.tools.json
nrwl/nx
What’s the scope of the CLI
Provides tooling for developing, validating, and optionally building & publishing packages in an NX workspace.
Take on the local-registry utility, improve it, add a status utility, etc.
check-version.ts
should be consolidated to a single tool and have it check plugins and normal libraries simultaneously.Perhaps
check-lock-files
should be adjusted to allow different package managers?The text was updated successfully, but these errors were encountered: