8000 docs: update URLs for omnisite by benmccann · Pull Request #93 · sveltejs/cli · GitHub
[go: up one dir, main page]

Skip to content

docs: update URLs for omnisite #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Chat](https://img.shields.io/discord/457912077277855764?label=chat&logo=discord)](https://svelte.dev/chat)

# sv - the Svelte scaffolding CLI
# sv - the Svelte CLI

Read the [SvelteKit documentation](https://kit.svelte.dev/docs) for more details about gettin 8000 g started with a newly created app.
Read the [SvelteKit documentation](https://svelte.dev/docs/kit) for more details about getting started with a newly created app.

### Packages

Expand Down
6 changes: 3 additions & 3 deletions documentation/docs/20-commands/40-sv-migrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ npx sv migrate [migration]

| Migration | From | To | Guide |
| ------------- | --------------------- | --------------------- | --------------------------------------------------------------- |
| `svelte-5` | Svelte 4 | Svelte 5 | [Website](https://svelte.dev/docs/v5-migration-guide) |
| `sveltekit-2` | SvelteKit 1.0 | SvelteKit 2.0 | [Website](https://kit.svelte.dev/docs/migrating-to-sveltekit-2) |
| `svelte-4` | Svelte 3 | Svelte 4 | [Website](https://svelte.dev/docs/v4-migration-guide) |
| `svelte-5` | Svelte 4 | Svelte 5 | [Website](https://svelte.dev/docs/svelte/v5-migration-guide) |
| `sveltekit-2` | SvelteKit 1.0 | SvelteKit 2.0 | [Website](https://svelte.dev/docs/kit/migrating-to-sveltekit-2) |
| `svelte-4` | Svelte 3 | Svelte 4 | [Website](https://svelte.dev/docs/svelte/v4-migration-guide) |
| `package` | `@sveltejs/package@1` | `@sveltejs/package@2` | [#8922](https://github.com/sveltejs/kit/pull/8922) |
| `routes` | SvelteKit pre-1.0 | SvelteKit 1.0 | [#5774](https://github.com/sveltejs/kit/discussions/5774) |

Expand Down
4 changes: 2 additions & 2 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sv - the Svelte CLI

A CLI for creating new [SvelteKit](https://kit.svelte.dev) projects and adding functionality to existing ones. Just run...
A command line interface (CLI) for creating and maintaining [Svelte](https://svelte.dev) applications. Just run...

```bash
npx sv
Expand Down Expand Up @@ -31,4 +31,4 @@ This project was formed by merging the `create-svelte` and `svelte-add` CLIs. Th

## License

[MIT](../../LICENSE).
[MIT](../../LICENSE)
8000 2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"directory": "packages/cli"
},
"license": "MIT",
"homepage": "https://kit.svelte.dev",
"homepage": "https://svelte.dev",
"bin": "./dist/bin.js",
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19, 6D40 7 +19,7 @@
"directory": "packages/create"
},
"license": "MIT",
"homepage": "https://kit.svelte.dev",
"homepage": "https://svelte.dev",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/create/shared/+checkjs/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"strict": true,
"moduleResolution": "bundler"
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
Expand Down
6 changes: 3 additions & 3 deletions packages/create/shared/+demo+checkjs/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// Consult https://svelte.dev/docs/kit/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),

kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
}
};
Expand Down
6 changes: 3 additions & 3 deletions packages/create/shared/+demo+typescript/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// Consult https://svelte.dev/docs/kit/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),

kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
}
};
Expand Down
4 changes: 2 additions & 2 deletions packages/create/shared/+demo-typescript/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import adapter from '@sveltejs/adapter-auto';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
}
};
Expand Down
4 changes: 2 additions & 2 deletions packages/create/shared/+skeletonlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Everything you need to build a Svelte library, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).

Read more about creating a library [in the docs](https://kit.svelte.dev/docs/packaging).
Read more about creating a library [in the docs](https://svelte.dev/docs/kit/packaging).

## Creating a project

Expand Down Expand Up @@ -45,7 +45,7 @@ npm run build

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

## Publishing

Expand Down
6 changes: 3 additions & 3 deletions packages/create/shared/+typescript/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// Consult https://svelte.dev/docs/kit/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),

kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
}
};
Expand Down
4 changes: 2 additions & 2 deletions packages/create/shared/+typescript/tsconfig.json
< F987 td class="blob-code blob-code-context js-file-line"> // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"strict": true,
"moduleResolution": "bundler"
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
//
// from the referenced tsconfig.json - TypeScript does not merge them in
Expand Down
4 changes: 2 additions & 2 deletions packages/create/shared/-typescript/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import adapter from '@sveltejs/adapter-auto';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
}
};
Expand Down
2 changes: 1 addition & 1 deletion packages/create/shared/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ npm run build

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
2 changes: 1 addition & 1 deletion packages/create/templates/demo/src/app.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// See https://kit.svelte.dev/docs/types#app
// See https://svelte.dev/docs/kit/types#app
// for information about these interfaces
declare global {
namespace App {
Expand Down
4 changes: 3 additions & 1 deletion packages/create/templates/demo/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
</main>

<footer>
<p>visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to learn SvelteKit</p>
<p>
visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to learn about SvelteKit
</p>
</footer>
</div>

Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/demo/src/routes/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<header>
<div class="corner">
<a href="https://kit.svelte.dev">
<a href="https://svelte.dev/docs/kit">
<img src={logo} alt="SvelteKit" />
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/create/templates/demo/src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<h1>About this app</h1>

<p>
This is a <a href="https://kit.svelte.dev">SvelteKit</a> app. You can make your own by typing the
following into your command line and following the prompts:
This is a <a href="https://svelte.dev/docs/kit">SvelteKit</a> app. You can make your own by typing
the following into your command line and following the prompts:
</p>

<pre>npx sv create</pre>
Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/demo/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// Consult https://svelte.dev/docs/kit/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),

Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/skeleton/src/app.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// See https://kit.svelte.dev/docs/types#app
// See https://svelte.dev/docs/kit/types#app
// for information about these interfaces
declare global {
namespace App {
Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/skeleton/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
2 changes: 1 addition & 1 deletion packages/create/templates/skeletonlib/src/app.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// See https://kit.svelte.dev/docs/types#app
// See https://svelte.dev/docs/kit/types#app
// for information about these interfaces
declare global {
namespace App {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h1>Welcome to your library project</h1>
<p>Create your package using @sveltejs/package and preview/showcase your work with SvelteKit</p>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
0