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

feat: oclif #962

Closed
wants to merge 112 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
855b72f
chore: install base deps
kanadgupta Dec 21, 2023
725683b
chore: rename cmds/index.ts
kanadgupta Dec 21, 2023
d533ac4
chore: base bin scripts
kanadgupta Dec 21, 2023
fa4045e
refactor: use `src/` as root
kanadgupta Dec 21, 2023
1f8c422
chore: add config
kanadgupta Dec 21, 2023
abf41a5
chore: remove eslint rule
kanadgupta Dec 21, 2023
22151e4
feat: first pass at base class
kanadgupta Dec 21, 2023
f0784e3
feat: migrate open command to oclif
kanadgupta Dec 21, 2023
137b047
feat: migrate whoami to oclif
kanadgupta Dec 21, 2023
c16f7c5
feat(oclif): logout
kanadgupta Dec 21, 2023
9106fb6
feat(oclif): login
kanadgupta Dec 21, 2023
8a49273
chore(deps): bump to vitest 1.x
kanadgupta Dec 24, 2023
2a52998
Merge branch 'vitest-1' into oclif
kanadgupta Dec 24, 2023
1dfac0a
fix: return command output in wrapper
kanadgupta Dec 26, 2023
713fd5f
refactor: try some fancy base class stuff
kanadgupta Dec 26, 2023
48d01df
refactor: use vite stub
kanadgupta Dec 26, 2023
161a810
revert: don't add error handling here yet
kanadgupta Dec 26, 2023
1b64116
test: use oclif config for running commands
kanadgupta Dec 26, 2023
c2ee0ea
feat: first pass at createGHA hook
kanadgupta Dec 26, 2023
fde53d6
fix: prerun hook quirks in tests
kanadgupta Dec 26, 2023
5857d4d
feat: openapi:validate command to oclif
kanadgupta Dec 26, 2023
1cadce0
feat: openapi:reduce + oclif
kanadgupta Dec 26, 2023
e58dab3
feat: openapi:inspect + oclif
kanadgupta Dec 26, 2023
bde84e6
refactor: use simpler signature for running createGHA
kanadgupta Dec 27, 2023
3617f74
fix: use stored config value for apiKey properly
kanadgupta Dec 27, 2023
1a6897b
feat: changelogs to oclif
kanadgupta Dec 27, 2023
55e431b
fix(openapi/reduce): fix up some flags + debug
kanadgupta Dec 27, 2023
42b6326
Merge branch 'next' into oclif
kanadgupta Dec 27, 2023
1e78a7b
fix: oops
kanadgupta Dec 27, 2023
5f06164
feat: openapi:convert to oclif
kanadgupta Dec 27, 2023
4f0b7a3
Merge branch 'next' into oclif
kanadgupta Jan 2, 2024
bf50be7
feat: extend debug function in base class
kanadgupta Jan 3, 2024
fae8b51
refactor: rename flag var names
kanadgupta Jan 3, 2024
2dbfb0f
feat(oclif): custompages
kanadgupta Jan 3, 2024
3e14f31
feat(oclif): categories
kanadgupta Jan 3, 2024
5ddd883
refactor: mark key as required flag
kanadgupta Jan 3, 2024
8ffad56
feat(oclif): categories:create
kanadgupta Jan 3, 2024
f2dc3ea
fix: key is a flag, not an arg
kanadgupta Jan 3, 2024
52c3b98
fix: add env var to get mocked GHA env working properly
kanadgupta Jan 3, 2024
047362e
feat(oclif): docs and guides
kanadgupta Jan 3, 2024
22fa18b
feat(oclif): docs:prune and guides:prune
kanadgupta Jan 3, 2024
d10c264
chore: tiny fix
kanadgupta Jan 3, 2024
7f93f7a
feat(oclif): versions
kanadgupta Jan 4, 2024
ebaadcc
fix: enhance version flags
kanadgupta Jan 4, 2024
13d0cfb
feat(oclif): versions:create
kanadgupta Jan 4, 2024
3ee9794
feat: better debugging in prerun hook and configstore retrieval
kanadgupta Jan 4, 2024
18597de
chore: clean up a few stray Command.debug statements
kanadgupta Jan 4, 2024
29daa6b
chore(base): remove unused properties, unprotect a few
kanadgupta Jan 4, 2024
f9da725
refactor: clean up syncDocsPath + affected commands
kanadgupta Jan 4, 2024
b6c432b
chore: remove comments oops
kanadgupta Jan 4, 2024
cd1bc3f
feat(oclif): versions:delete
kanadgupta Jan 4, 2024
783a478
chore: small refactor to minimize diff
kanadgupta Jan 4, 2024
9bd77c1
feat(oclif): versions:update
kanadgupta Jan 4, 2024
91a0c28
chore(deps): bump oclif and friends
kanadgupta Jan 4, 2024
afb26e7
refactor: remove config.cli in favor of oclif's config.bin
kanadgupta Jan 4, 2024
8a285e1
refactor: define run() return type in base class
kanadgupta Jan 4, 2024
cdad30b
chore: small tsconfig fix for tests
kanadgupta Jan 4, 2024
185ca64
chore: add debug statements after parsing
kanadgupta Jan 4, 2024
6ec35b2
feat(oclif): openapi (last one!!!)
kanadgupta Jan 4, 2024
a8b01e2
fix: output result in top-level runner
kanadgupta Jan 4, 2024
a6b14b4
chore: rename baseCommandNew to baseCommand
kanadgupta Jan 4, 2024
51613e2
chore: rename createGHA file
kanadgupta Jan 4, 2024
1230c35
chore: remove a few more unused files
kanadgupta Jan 5, 2024
af84069
Merge branch 'next' into oclif
kanadgupta Jan 5, 2024
d806b99
chore: typo
kanadgupta Jan 9, 2024
efb7f9f
fix: don't mess with key flag in test env
kanadgupta Jan 9, 2024
4e92554
test: remove test coverage around `--key` flag
kanadgupta Jan 9, 2024
abd4d26
fix: unused imports
kanadgupta Jan 9, 2024
d10797e
test: remove test coverage around docs
kanadgupta Jan 9, 2024
350afe2
chore: remove unused test
kanadgupta Jan 9, 2024
b1fc91c
test: single-threaded openapi tests
kanadgupta Jan 9, 2024
5d0da44
test: fix snapshot oops
kanadgupta Jan 9, 2024
5ca695a
test: oclif-ify createGHA tests
kanadgupta Jan 9, 2024
e92a2b3
chore: swap out when we surface node warnings
kanadgupta Jan 9, 2024
174321a
Merge branch 'next' into oclif
kanadgupta Jan 9, 2024
46c6578
fix: stricter flag.option typing
kanadgupta Jan 9, 2024
d881a89
Merge branch 'next' into oclif
kanadgupta Jan 9, 2024
585236e
feat: docker-gha as oclif
kanadgupta Jan 10, 2024
c1f00b5
feat: add GHA output handling in baseCommand
kanadgupta Jan 10, 2024
66c47f3
chore: whoops
kanadgupta Jan 10, 2024
867cf85
test: more tests
kanadgupta Jan 10, 2024
9d27eed
test: fix bin test
kanadgupta Jan 10, 2024
2cf1fe3
test: another test
kanadgupta Jan 10, 2024
5d68614
chore: rip bin/rdme.js
kanadgupta Jan 10, 2024
98ed9aa
chore: remove unused interface
kanadgupta Jan 10, 2024
8dc9dde
chore: fix link in comment
kanadgupta Jan 10, 2024
99819a9
feat: oclif-friendly help screen
kanadgupta Jan 10, 2024
8155657
docs: various smol updates
kanadgupta Jan 11, 2024
da96609
chore: rip test coverage
kanadgupta Jan 11, 2024
c9d0ea7
chore: backfill helpClass oops
kanadgupta Jan 11, 2024
f5a74da
chore: point to right bin script oops
kanadgupta Jan 11, 2024
1ddf2ec
chore: files in favor of npmignore
kanadgupta Jan 11, 2024
d8ea26a
chore: gitignore tmp
kanadgupta Jan 11, 2024
cf3bf59
chore: backfill plugins and topics oops
kanadgupta Jan 11, 2024
bbdfbd8
chore: delete index.test.js, add test todos in hooks
kanadgupta Jan 11, 2024
f01cbd8
chore: remove vi.useFakeTimers()
kanadgupta Jan 11, 2024
0063c02
chore: remove mock that evidently is redundant
kanadgupta Jan 11, 2024
2b14476
chore: remove unnecessary baseUrl tsconfig option
kanadgupta Jan 11, 2024
670f1b9
chore: remove unused packages
kanadgupta Jan 11, 2024
e92b702
feat: add @oclif/plugin-warn-if-update-available
kanadgupta Jan 11, 2024
9d8035e
chore: bump outdated oclif deps
kanadgupta Jan 11, 2024
52b5a9c
chore: rebuild lockfile
kanadgupta Jan 11, 2024
b0a62dd
chore: knip cleanup
kanadgupta Jan 11, 2024
9acf1af
chore: lint
kanadgupta Jan 11, 2024
f393077
chore: fix import path
kanadgupta Jan 11, 2024
1fdb970
chore: minor rollup fixes
kanadgupta Jan 11, 2024
d31cca2
Merge branch 'next' into oclif
kanadgupta Jan 29, 2024
714e164
Merge branch 'next' into oclif
kanadgupta Feb 16, 2024
51ae453
chore: rebuild lockfile
kanadgupta Feb 16, 2024
2114ed0
fix: bad merge
kanadgupta Feb 16, 2024
08d4a00
chore: lint
kanadgupta Feb 16, 2024
23c1198
chore: backfill changes to a few tests
kanadgupta Feb 16, 2024
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
feat: add @oclif/plugin-warn-if-update-available
kanadgupta committed Jan 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e92b70247900f2c54373995b5b50956a045461d0
28 changes: 8 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@
"@oclif/core": "^3.16.0",
"@oclif/plugin-autocomplete": "^3.0.5",
"@oclif/plugin-help": "^6.0.10",
"@oclif/plugin-warn-if-update-available": "^3.0.9",
"chalk": "^5.3.0",
"ci-info": "^4.0.0",
"configstore": "^6.0.0",
@@ -162,7 +163,8 @@
},
"plugins": [
"@oclif/plugin-autocomplete",
"@oclif/plugin-help"
"@oclif/plugin-help",
"@oclif/plugin-warn-if-update-available"
],
"topics": {
"categories": {