Skip to content
/ kit Public
forked from sveltejs/kit

A fork of the monorepo for SvelteKit and friends - used for testing junglejs stuff

License

Notifications You must be signed in to change notification settings

junglejs/kit

 
 

Repository files navigation

READ THIS FIRST!

We're getting ready to open up the SvelteKit public beta, which means that things will be in a stable enough state to start experimenting, and documentation will be available. Right now, even though this repo is open, there are still some known issues to resolve and there are aspects of the design that will change over the next few days. We're close. Please bear with us!


@sveltejs/kit

Everything you need to build a Svelte app.

To get started, run npm init svelte@next — this will fetch and run the create-svelte package.

Developing

This monorepo uses pnpm. Install it...

npm i -g pnpm

...then install this repo's dependencies...

pnpm i

...then build SvelteKit and the other packages:

pnpm -r build

You should now be able to run the examples by navigating to one of the directories and doing pnpm dev.

Run pnpm dev inside the packages/kit directory to continually rebuild @sveltejs/kit as you make changes to SvelteKit. Restarting the example/test apps will cause the newly built version to be used.

Changelogs

For changes to be reflected in package changelogs, run pnpx changeset and follow the prompts.

Releases

The Changesets GitHub action will create and update a PR that applies changesets and publishes new versions of changed packages to npm.

It uses pnpm publish rather than pnpx changeset publish so that we can use the --filter and (while in beta) --tag flags — though perhaps they work with pnpx changeset publish?

New packages will need to be published manually the first time if they are scoped to the @sveltejs organisation, by running this from the package directory:

npm publish --access=public

Testing

Run pnpm test to run the tests from all subpackages. Browser tests live in subdirectories of packages/kit/test such as packages/kit/test/apps/basics. To run a single test, open up the file and change test to test.only for the relevant test.

About

A fork of the monorepo for SvelteKit and friends - used for testing junglejs stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.7%
  • Svelte 7.7%
  • Other 0.6%