Catalog npm
PACKAGE EXPLORERView in registry

@0mn1/svelte-adapter-appengine

npm

Adapter for Svelte that integrates with Google Cloud Appengine

appenginesveltesveltekitsveltekit-adapter
Versions collected1
Direct dependencies11From release 0.6.0
Last observed20 Oct, 22:12 UTC

README

Current package documentation

svelte-adapter-appengine

Utilize the Google Cloud App Engine infrastructure to host SvelteKit content.

npm Tests

Setup

In your standard SvelteKit project:

  • npm install --save-dev svelte-adapter-appengine
  • add adapter to svelte.config.js:
+import appengine from "svelte-adapter-appengine";

/** @type {import('@sveltejs/kit').Config} */
export default {
  kit: {
+   adapter: appengine(),
    target: "#svelte",
  },
};
  • npm run build.
  • Application can then be deployed by running gcloud app deploy --project <CLOUD_PROJECT_ID> .appengine_build_output/app.yaml. (learn more about gcloud utility here)

Adapter Output

The SSR part of SvelteKit is hosted on App Engine in a nodejs runtime. It's running using polka mimicking @sveltejs/adapter-node .

Static files are served directly from Cloud Storage without going through the nodejs webserver. Routes for all the static assets are automatically generated in app.yaml by the adapter.

Example

An examplee app can be accessed on https://svelte-demo-329602.uc.r.appspot.com/, this is the default demo app from sveltekit deployed with the default settings.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.6.0Registry latest2 Jun 202211

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
halfdanj/svelte-adapter-appengine

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:656e09bf6b8a53e8d1e430c3a39b6d2ce07530cc979653b932be0dc4b18f200a