From 44ea47436b26600792b6e113209c675186c62ff2 Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Wed, 19 Apr 2023 09:35:28 -0700 Subject: [PATCH] fix: install -> link in docs --- docs.md | 2 +- src/cli.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs.md b/docs.md index 0c7ff89b..54b686dd 100644 --- a/docs.md +++ b/docs.md @@ -73,7 +73,7 @@ jspm link --map index.html --integrity --preload dynamic ### Usage ``` -jspm link [flags] [...packages] +jspm install [flags] [...packages] ``` Installs packages into an import map, along with all of the dependencies that are necessary to import them.By default, the latest versions of the packages that are compatible with the local "package.json" are installed, unless an explicit version is specified. The given packages must be valid package specifiers, such as `npm:react@18.0.0` or `denoland:oak`. If a package specifier with no registry is given, such as `lit`, the registry is assumed to be NPM. Packages can be installed under an alias by using specifiers such as `myname=npm:lit@2.1.0`. An optional subpath can be provided, such as `npm:lit@2.2.0/decorators.js`, in which case only the dependencies for that subpath are installed. diff --git a/src/cli.ts b/src/cli.ts index f5c1fff9..770d34c2 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -196,7 +196,7 @@ cli ` ) .usage( - `link [flags] [...packages] + `install [flags] [...packages] Installs packages into an import map, along with all of the dependencies that are necessary to import them.` + `By default, the latest versions of the packages that are compatible with the local "package.json" are ` +