Enable @architect/functions to retrieve port configuration when run as a bare module and not within a Lambda
Run startup commands via @sandbox-start preferences pragma
This is a bit closer to plugins.sandbox.start than the existing @sandbox-startup preferences pragma
Fixed
Fix missing ARC_SANDBOX env var version property in sandbox.start plugins + @sandbox-startup scripts
[5.0.2] 2022-02-22
Fixed
Fixed live reload behavior in Firefox where Firefox would reload the wrong path, preventing links from being accessed
[5.0.0] 2022-01-12
Added
Architect 10 plugin API support! Specifically:
Added Sandbox watcher API
Added custom runtime support
Added env setter plugin support
Added live reload support!
Add @sandbox livereload true to your preferences to enable
Your browser will automatically refresh any time a get or any HTTP handler changes, or when any file in src/shared, src/views, or public changes
Added ability to disable Sandbox watcher with watcher (boolean) in API option
Added port configuration via prefs.arc
The precedence order is now prefs.arc > port API option or --port CLI flag > environment variables
Also added ARC_HTTP_PORT env var for configuring the HTTP port (in addition to PORT)
Added automatic port selection for internal service port configuration
(Probably) never again will your multiple simultaneous Sandbox instances conflict with each other!
HTTP port selection still defaults to 3333 and will halt Sandbox from starting if it conflicts (since it's presumably what you're expecting to see in your browser)
Any manually specified port conflicts will also halt Sandbox from starting
Added Architect + userland env vars to startup scripts
Changed
Breaking change: Architect no longer relies on or makes use of the NODE_ENV or ARC_CLOUDFORMATION env vars
Older versions of Node.js Architect libraries such as @architect/functions made use of these env vars, so it is wise to upgrade them at this time
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @architect/sandbox from 4.5.2 to 5.0.3.
Changelog
Sourced from
@architect/sandbox
's changelog.... (truncated)
Commits
e9f7dcb
5.0.375bcde7
Run startup commands via@sandbox-start
preferences pragmac1c351f
5.0.3-RC.0f7029f9
Enable@architect/functions
to retrieve port configuration when run as a ba...b0ca84f
Update changelog88ced27
5.0.2d1b8301
Update deps, fix tests34b45d4
Fix live reload behavior in Firefoxccd3f4e
5.0.06f22dbc
Update depsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)