-
Notifications
You must be signed in to change notification settings - Fork 18
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
chore(*): migrate examples/templates/tests to Spin manifest v2 #206
chore(*): migrate examples/templates/tests to Spin manifest v2 #206
Conversation
Signed-off-by: Vaughn Dice <[email protected]>
Signed-off-by: Vaughn Dice <[email protected]>
Signed-off-by: Vaughn Dice <[email protected]>
Signed-off-by: Vaughn Dice <[email protected]>
Signed-off-by: Vaughn Dice <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one, thanks so much!
route = "/..." | ||
component = "sqlite" | ||
|
||
[component.sqlite] | ||
source = "target/sqlite.wasm" | ||
exclude_files = ["**/node_modules"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am puzzled why this excludes files that were not included but maybe safer to leave it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 Yes I think I'll leave this one for another day
Signed-off-by: Vaughn Dice <[email protected]>
Signed-off-by: Vaughn Dice <[email protected]>
Signed-off-by: Vaughn Dice <[email protected]>
Updates apps under
examples
,templates
andtest
to use Spin manifest v2While updating and testing, I also:
--follow-all
onspin up
npm install
prior tospin build
(avoids thespin build
-> 'would you like to install webpack?' -> 'yes' -> error ->spin build
-> success)spin-http-js
turned into a more specific value)https://random-data-api.fermyon.app
)Closes #203
Note: Should not be merged until Spin 2.0 is released. I've placed this in Draft due to this, but reviews/feedback appreciated in the meantime.This can be merged when ready per f3410b2