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

Arc 10 to be released with final plugin API #1

Open
ryanblock opened this issue Feb 21, 2022 · 2 comments
Open

Arc 10 to be released with final plugin API #1

ryanblock opened this issue Feb 21, 2022 · 2 comments

Comments

@ryanblock
Copy link

Hey @Ankcorn! We're getting ready to ship v10 with the final plugins API. Would you like a hand getting this (and any other) plugins from the v9 beta up to date on the final API?

Staging docs here: https://staging.arc.codes/docs/en/guides/plugins/overview

Thanks!

@Ankcorn
Copy link
Owner

Ankcorn commented Feb 21, 2022

Hey @ryanblock, that's exciting! Looking forward to seeing what you ship.

Mostly looks like it will be a straightforward migration, the bit that I am not 100% sure what the new method to use is this

pluginFunctions ({ arc, inventory }) {

For context I am creating a high level client for s3 to access the generated buckets. I want this to be available in the sandbox and in production.

@ryanblock
Copy link
Author

Looks like a lot of that code can go away, but check out the set.customLambdas method!

The client generation you might want to run in sandbox.start, sandbox.watcher, and deploy.start since that’s when things may have changed.

Lmk if that doesn’t help, happy to review or jump in on a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants