0.1.2 • Published 3 months ago

amplify-adapter v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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

SvelteKit + Amplify CI/CD

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).

Connect branch

  • Go to App settings > Build settings > App build specification and set Artifact folder to build (default adapter output folder) and add this lines to frontend -> build phase:
- cd build/compute/default/
- npm i --production

App build specification

  • At App settings > Build settings > Build image settings clic Edit Button, and change Build image to Amazon Linux:2023.

Build image settings

Build image settings

License

MIT

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