0.1.2 • Published 3 months ago
amplify-adapter v0.1.2
amplify-adapter
Adapter for SvelteKit apps to Amplify Host CI/CD.
Este paquete se creó para adaptar el paquete @sveltejs/node-adapter para su uso con CI/CD en AWS Amplify + SSR. Este paquete incluye los siguientes cambios:
Limitations:
- Artifacts size limit: 200 MB
Video tutorial
Usage
- Install with npm or yarn:
npm install --save-dev amplify-adapter
- Add the adapter to your
svelte.config.js
:
// svelte.config.js
import adapter from 'amplify-adapter';
Amplify CI/CD
- Connect a branch to your Amplify App Hosting for CI/CD (setup default values).
- Go to
App settings > Build settings > App build specification
and set Artifact folder tobuild
(default adapter output folder) and add this lines tofrontend -> build
phase:
- cd build/compute/default/
- npm i --production
- At
App settings > Build settings > Build image settings
clicEdit
Button, and changeBuild image
toAmazon Linux:2023
.
License
0.1.2
3 months ago
0.1.1
3 months ago
0.0.12-alpha.3
4 months ago
0.0.12-alpha.2
4 months ago
0.0.12-alpha.4
4 months ago
0.1.0
4 months ago
0.0.12-alpha.1
4 months ago
0.0.12-alpha.0
4 months ago
0.0.10
4 months ago
0.0.11
4 months ago
0.0.9-alpha.2
4 months ago
0.0.9-alpha.3
4 months ago
0.0.9-alpha.0
4 months ago
0.0.9-alpha.1
4 months ago
0.0.9
4 months ago
0.0.8
4 months ago
0.0.7
5 months ago
0.0.6
5 months ago
0.0.5
5 months ago
0.0.4
5 months ago
0.0.3
5 months ago
0.0.2
5 months ago
0.0.1
5 months ago