Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite internals for v2 release #83

Merged
merged 36 commits into from
Apr 20, 2023
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a44a80a
wip: better behaved npm
mcous Apr 10, 2023
15f5601
wip: continue figuring out the shape of things
mcous Apr 11, 2023
07bd14c
wip: move on to publish
mcous Apr 11, 2023
36d603f
fixup: still going for it
mcous Apr 12, 2023
a4f2efd
wip: continuing along with tdd refactor
mcous Apr 12, 2023
9662ce0
fixup: switch ci to use new unit test suite
mcous Apr 14, 2023
54cc7a3
wip: almost through the rewrite, CLI left
mcous Apr 17, 2023
c3abcae
wip: let's see how this does
mcous Apr 17, 2023
b30569e
wip: fix up auth settings (thanks e2e tests)
mcous Apr 17, 2023
e7698e7
Test and CI fixes
mcous Apr 17, 2023
8c6f5a2
wip: e2e in matrix
mcous Apr 17, 2023
3eab721
wip: e2e node 16 fixes
mcous Apr 17, 2023
2088119
wip: fix ci
mcous Apr 17, 2023
d9fcce5
wip: fix ci
mcous Apr 17, 2023
865edee
wip: e2e registry login
mcous Apr 17, 2023
18f4a9d
wip: simplify normalized options
mcous Apr 17, 2023
b7b2dc9
fixup: test improvements
mcous Apr 18, 2023
28e9467
wip: revert docs changes for separate PR
mcous Apr 18, 2023
55ed2ee
fixup: build updates
mcous Apr 19, 2023
7b42108
fixup: cli usage typo
mcous Apr 19, 2023
409c72f
fixup: fix package paths with spaces
mcous Apr 19, 2023
7cd2fda
fixup: swap minimist for command-line-args due to windows path bugs
mcous Apr 19, 2023
21f93b9
fixup: revert, it was a powershell bug 🤦
mcous Apr 19, 2023
3b10db5
fixup: update e2e test to use spaces in package name
mcous Apr 19, 2023
87ee5ab
fixup: what if I was better at shell?
mcous Apr 19, 2023
28c3b35
fixup: spawn might be a better choice for windows
mcous Apr 19, 2023
bb42c2d
fixup: more windows work
mcous Apr 19, 2023
7dda521
fixup: keep trying to get these e2e tests to work with spaced package…
mcous Apr 20, 2023
9f02b38
fixup: think I got it this time
mcous Apr 20, 2023
676a76b
fixup: actually run these tests on different os's
mcous Apr 20, 2023
c71a30b
fixup: fix environment test on windows
mcous Apr 20, 2023
8578e2b
fixup: check name tweaks
mcous Apr 20, 2023
255f0da
fixup: error name typo
mcous Apr 20, 2023
2ec381c
fixup: build after typo fixes
mcous Apr 20, 2023
bca9d66
fixup: ci tweaks
mcous Apr 20, 2023
2cb1fd6
fixup: add missing sourcemap
mcous Apr 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: cli usage typo
  • Loading branch information
mcous committed Apr 19, 2023
commit 7b421088d48040e5e423e38bb783415fce02d2a7
6 changes: 4 additions & 2 deletions src/cli/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { npmPublish, type Logger } from "../index.js";
import { parseCliArguments } from "./parse-cli-arguments.js";

export const USAGE = `Usage:
export const USAGE = `
Usage:

npm-publish <options> [package]

@@ -30,8 +31,9 @@ Options:
--dry-run Do not actually publish anything.
--quiet Only print errors.
--debug Print debug logs.

-v, --version Print the version number.
-h --help Show usage text.
-h, --help Show usage text.

Examples: