erichosick / tc-test

The pnpm workspace that contains all of our packages, projects, and utilities.
https://www.opustotalis.com
GNU General Public License v3.0
0 stars 0 forks source link

usage of packages managers other than pnpm #6

Closed erichosick closed 2 hours ago

erichosick commented 2 hours ago

It is possible to accidentally use a package manager other than pnpm. Provide a way to assure only Version 8.15.9 Usage: pnpm [command] [flags] pnpm [ -h | --help | -v | --version ]

Manage your dependencies: add Installs a package and any packages that it depends on. By default, any new package is installed as a prod dependency import Generates a pnpm-lock.yaml from an npm package-lock.json (or npm-shrinkwrap.json) file i, install Install all dependencies for a project it, install-test Runs a pnpm install followed immediately by a pnpm test ln, link Connect the local project to another one prune Removes extraneous packages rb, rebuild Rebuild a package rm, remove Removes packages from node_modules and from the project's package.json unlink Unlinks a package. Like yarn unlink but pnpm re-installs the dependency after removing the external link up, update Updates packages to their latest version based on the specified range

Review your dependencies: audit Checks for known security issues with the installed packages licenses Check licenses in consumed packages ls, list Print all the versions of packages that are installed, as well as their dependencies, in a tree-structure outdated Check for outdated packages

Run your scripts: exec Executes a shell command in scope of a project run Runs a defined package script start Runs an arbitrary command specified in the package's "start" property of its "scripts" object t, test Runs a package's "test" script, if one was provided

Other: cat-file Prints the contents of a file based on the hash value stored in the index file cat-index Prints the index file of a specific package from the store find-hash Experimental! Lists the packages that include the file with the specified hash. pack publish Publishes a package to the registry root

Manage your store: store add Adds new packages to the pnpm store directly. Does not modify any projects or files outside the store store path Prints the path to the active store directory store prune Removes unreferenced (extraneous, orphan) packages from the store store status Checks for modified packages in the store

Options: -r, --recursive Run the command for each project in the workspace. is used as a package manager.

erichosick commented 2 hours ago

addressed by: #1801201