-
Couldn't load subscription status.
- Fork 11
feat: api plugin system & offline versioned dependency vendoring #1252
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
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
5d7da2e
refactor package.json retrieval
pujitm 00cd83e
port over plugin interfaces from #1218
pujitm 5a4cc5d
port over plugin plumbing from pr #1218
pujitm 9d6800a
add helper to get package.json deps
pujitm 9b0ec5f
load plugins from npm dependencies
pujitm 00b51c7
refactor getPackageJson for consistent error logs
pujitm 8d18ede
fix types by moving error to `getPackageJson()`
pujitm 29f4e11
simplify plugin schema, improve logging around plugin validation
pujitm a9b8c11
fix interface types, test plugin install on-server
pujitm bc3916a
fix graphqlResolvers plugin interface
pujitm ffa5efa
fix lint
pujitm b72fbb7
persist pnpm store to flash drive
pujitm d566d02
fix pnpm lockfile
pujitm 65ccbca
add padding to 'do not close yet' messages
pujitm ad64c1c
attempt to build & upload versioned pnpm store
pujitm d7c5ea3
fix txz tar compression
pujitm b62b450
wip: plugin scripts
pujitm 011d2b2
pipe pnpm store archive into plg file
pujitm d9d1db5
implement restoring from VENDOR_ARCHIVE in plg file
pujitm e11787a
fix pnpm store download
pujitm ba3000e
replace pnpm store workflow with build-api step
pujitm 8328a30
fix decompression algo in rc.unraid-api restore_pnpm_store
pujitm ae3f145
rm pnpm store upon uninstall
pujitm 652ba0b
fix pnpm store permissions on disk
pujitm efa8604
rm abstract class for plugin definition
pujitm ed48457
make loadPlugins() a "promise singleton"
pujitm ae497d3
rm unused class from example plugin package
pujitm 487bfe9
document vendor store bundling
pujitm 4a7456b
document rc.unraid-api additions
pujitm 13fb820
rm rogue console.log
pujitm 2000c80
warn on invalid typedefs from plugins
pujitm 5c63f44
replace `this` in static funcs with class name
pujitm 64bb111
rm `registerPlugin` function
pujitm dab921b
rm `onModuleInit` from plugin.module
pujitm 4cbc487
improve changelog construction
pujitm 3395ef2
improve gql typedef validation
pujitm d4cb481
replace sudo with a variable
pujitm c69ee79
add author and description to example plugin package.json
pujitm d88f8c7
load pnpm bianry, don't update doinst
pujitm 0586650
re: mike's review
pujitm 09e6777
omit untar & pnpm install for debugging
pujitm 2dd88b8
rm doinst.sh
pujitm a3042bd
gitignore doinst.sh
pujitm 8a83082
replace api's release-only npmrc with inline cmd arg
pujitm aec5ae1
doc new plg entities & remove version from downloaded node binary
pujitm d5d9d9c
add deprecation notice to node archive pruning command
pujitm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.