Skip to content

Commit 738be10

Browse files
authored
feat: remove star commands (#9196)
BREAKING CHANGE: the `star`, `stars` and `unstar` commands have been removed fixes npm/statusboard#1087
1 parent db7c1f8 commit 738be10

16 files changed

Lines changed: 41 additions & 631 deletions

File tree

docs/lib/content/commands/npm-star.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/lib/content/commands/npm-stars.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

docs/lib/content/commands/npm-unstar.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/lib/content/nav.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,6 @@
162162
- title: npm shrinkwrap
163163
url: /commands/npm-shrinkwrap
164164
description: Lock down dependency versions for publication
165-
- title: npm star
166-
url: /commands/npm-star
167-
description: Mark your favorite packages
168-
- title: npm stars
169-
url: /commands/npm-stars
170-
description: View packages marked as favorites
171165
- title: npm start
172166
url: /commands/npm-start
173167
description: Start a package
@@ -195,9 +189,6 @@
195189
- title: npm unpublish
196190
url: /commands/npm-unpublish
197191
description: Remove a package from the registry
198-
- title: npm unstar
199-
url: /commands/npm-unstar
200-
description: Remove an item from your favorite packages
201192
- title: npm update
202193
url: /commands/npm-update
203194
description: Update packages

lib/commands/star.js

Lines changed: 0 additions & 72 deletions
This file was deleted.

lib/commands/stars.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

lib/commands/unstar.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

lib/utils/cmd-list.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ const commands = [
5454
'search',
5555
'set',
5656
'shrinkwrap',
57-
'star',
58-
'stars',
5957
'start',
6058
'stop',
6159
'team',
@@ -65,7 +63,6 @@ const commands = [
6563
'undeprecate',
6664
'uninstall',
6765
'unpublish',
68-
'unstar',
6966
'update',
7067
'version',
7168
'view',

smoke-tests/tap-snapshots/test/index.js.test.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ All commands:
2727
init, install, install-ci-test, install-test, link, ll,
2828
login, logout, ls, org, outdated, owner, pack, ping, pkg,
2929
prefix, profile, prune, publish, query, rebuild, repo,
30-
restart, root, run, sbom, search, set, shrinkwrap, star,
31-
stars, start, stop, team, test, token, trust, undeprecate,
32-
uninstall, unpublish, unstar, update, version, view, whoami
30+
restart, root, run, sbom, search, set, shrinkwrap, start,
31+
stop, team, test, token, trust, undeprecate, uninstall,
32+
unpublish, update, version, view, whoami
3333
3434
Specify configs in the ini-formatted file:
3535
{NPM}/{TESTDIR}/home/.npmrc

tap-snapshots/test/lib/commands/publish.js.test.cjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ Object {
203203
"man/man1/npm-search.1",
204204
"man/man1/npm-set.1",
205205
"man/man1/npm-shrinkwrap.1",
206-
"man/man1/npm-star.1",
207-
"man/man1/npm-stars.1",
208206
"man/man1/npm-start.1",
209207
"man/man1/npm-stop.1",
210208
"man/man1/npm-team.1",
@@ -214,7 +212,6 @@ Object {
214212
"man/man1/npm-undeprecate.1",
215213
"man/man1/npm-uninstall.1",
216214
"man/man1/npm-unpublish.1",
217-
"man/man1/npm-unstar.1",
218215
"man/man1/npm-update.1",
219216
"man/man1/npm-version.1",
220217
"man/man1/npm-view.1",

0 commit comments

Comments
 (0)