From 14ace57612dcb559da54ea0edfc1966983c1f47f Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 8 Feb 2019 11:40:30 -0500 Subject: [PATCH] rename .html files to .svelte --- test/apps/basics/src/routes/{[slug].html => [slug].svelte} | 0 test/apps/basics/src/routes/{_error.html => _error.svelte} | 0 test/apps/basics/src/routes/{a.html => a.svelte} | 0 .../basics/src/routes/ambiguous/{[slug].html => [slug].svelte} | 0 test/apps/basics/src/routes/b/{index.html => index.svelte} | 0 test/apps/basics/src/routes/{const.html => const.svelte} | 0 .../basics/src/routes/delete-test/{index.html => index.svelte} | 0 .../basics/src/routes/dirs/bar/{index.html => index.svelte} | 0 .../basics/src/routes/dirs/foo/{index.html => index.svelte} | 0 .../basics/src/routes/echo-query/{index.html => index.svelte} | 0 test/apps/basics/src/routes/{index.html => index.svelte} | 0 .../{unsafe-replacement.html => unsafe-replacement.svelte} | 0 .../css/src/routes/_components/{Title.html => Title.svelte} | 0 test/apps/css/src/routes/{_error.html => _error.svelte} | 0 test/apps/css/src/routes/{bar.html => bar.svelte} | 2 +- test/apps/css/src/routes/{foo.html => foo.svelte} | 0 test/apps/css/src/routes/{index.html => index.svelte} | 0 test/apps/errors/src/routes/{_error.html => _error.svelte} | 0 .../routes/{enhance-your-calm.html => enhance-your-calm.svelte} | 0 test/apps/errors/src/routes/{index.html => index.svelte} | 0 test/apps/errors/src/routes/{no-error.html => no-error.svelte} | 0 test/apps/errors/src/routes/{throw.html => throw.svelte} | 0 test/apps/export/src/routes/{_error.html => _error.svelte} | 0 test/apps/export/src/routes/{index.html => index.svelte} | 0 test/apps/ignore/src/routes/{[slug].html => [slug].svelte} | 0 test/apps/ignore/src/routes/{_error.html => _error.svelte} | 0 test/apps/ignore/src/routes/{a.html => a.svelte} | 0 test/apps/ignore/src/routes/{index.html => index.svelte} | 0 test/apps/layout/src/routes/{[slug].html => [slug].svelte} | 0 test/apps/layout/src/routes/{_error.html => _error.svelte} | 0 test/apps/layout/src/routes/{index.html => index.svelte} | 0 test/apps/preloading/src/routes/{_error.html => _error.svelte} | 0 .../apps/preloading/src/routes/{_layout.html => _layout.svelte} | 0 test/apps/preloading/src/routes/{foo.html => foo.svelte} | 0 test/apps/preloading/src/routes/{index.html => index.svelte} | 0 .../src/routes/{slow-preload.html => slow-preload.svelte} | 0 test/apps/redirects/src/routes/{_error.html => _error.svelte} | 0 test/apps/redirects/src/routes/{index.html => index.svelte} | 0 .../src/routes/{redirect-from.html => redirect-from.svelte} | 0 .../{redirect-to-external.html => redirect-to-external.svelte} | 0 .../routes/{redirect-to-root.html => redirect-to-root.svelte} | 0 .../src/routes/{redirect-to.html => redirect-to.svelte} | 0 test/apps/scroll/src/routes/{_error.html => _error.svelte} | 0 .../routes/{another-tall-page.html => another-tall-page.svelte} | 0 test/apps/scroll/src/routes/{index.html => index.svelte} | 0 .../apps/scroll/src/routes/{tall-page.html => tall-page.svelte} | 0 test/apps/session/src/routes/{_error.html => _error.svelte} | 0 test/apps/session/src/routes/{index.html => index.svelte} | 0 .../session/src/routes/{preloaded.html => preloaded.svelte} | 0 test/apps/session/src/routes/{session.html => session.svelte} | 0 .../with-basepath/src/routes/{_error.html => _error.svelte} | 0 test/apps/with-basepath/src/routes/{index.html => index.svelte} | 0 .../src/routes/{_error.html => _error.svelte} | 0 .../src/routes/{index.html => index.svelte} | 0 .../with-sourcemaps/src/routes/{_error.html => _error.svelte} | 0 .../with-sourcemaps/src/routes/{index.html => index.svelte} | 0 56 files changed, 1 insertion(+), 1 deletion(-) rename test/apps/basics/src/routes/{[slug].html => [slug].svelte} (100%) rename test/apps/basics/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/basics/src/routes/{a.html => a.svelte} (100%) rename test/apps/basics/src/routes/ambiguous/{[slug].html => [slug].svelte} (100%) rename test/apps/basics/src/routes/b/{index.html => index.svelte} (100%) rename test/apps/basics/src/routes/{const.html => const.svelte} (100%) rename test/apps/basics/src/routes/delete-test/{index.html => index.svelte} (100%) rename test/apps/basics/src/routes/dirs/bar/{index.html => index.svelte} (100%) rename test/apps/basics/src/routes/dirs/foo/{index.html => index.svelte} (100%) rename test/apps/basics/src/routes/echo-query/{index.html => index.svelte} (100%) rename test/apps/basics/src/routes/{index.html => index.svelte} (100%) rename test/apps/basics/src/routes/{unsafe-replacement.html => unsafe-replacement.svelte} (100%) rename test/apps/css/src/routes/_components/{Title.html => Title.svelte} (100%) rename test/apps/css/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/css/src/routes/{bar.html => bar.svelte} (75%) rename test/apps/css/src/routes/{foo.html => foo.svelte} (100%) rename test/apps/css/src/routes/{index.html => index.svelte} (100%) rename test/apps/errors/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/errors/src/routes/{enhance-your-calm.html => enhance-your-calm.svelte} (100%) rename test/apps/errors/src/routes/{index.html => index.svelte} (100%) rename test/apps/errors/src/routes/{no-error.html => no-error.svelte} (100%) rename test/apps/errors/src/routes/{throw.html => throw.svelte} (100%) rename test/apps/export/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/export/src/routes/{index.html => index.svelte} (100%) rename test/apps/ignore/src/routes/{[slug].html => [slug].svelte} (100%) rename test/apps/ignore/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/ignore/src/routes/{a.html => a.svelte} (100%) rename test/apps/ignore/src/routes/{index.html => index.svelte} (100%) rename test/apps/layout/src/routes/{[slug].html => [slug].svelte} (100%) rename test/apps/layout/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/layout/src/routes/{index.html => index.svelte} (100%) rename test/apps/preloading/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/preloading/src/routes/{_layout.html => _layout.svelte} (100%) rename test/apps/preloading/src/routes/{foo.html => foo.svelte} (100%) rename test/apps/preloading/src/routes/{index.html => index.svelte} (100%) rename test/apps/preloading/src/routes/{slow-preload.html => slow-preload.svelte} (100%) rename test/apps/redirects/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/redirects/src/routes/{index.html => index.svelte} (100%) rename test/apps/redirects/src/routes/{redirect-from.html => redirect-from.svelte} (100%) rename test/apps/redirects/src/routes/{redirect-to-external.html => redirect-to-external.svelte} (100%) rename test/apps/redirects/src/routes/{redirect-to-root.html => redirect-to-root.svelte} (100%) rename test/apps/redirects/src/routes/{redirect-to.html => redirect-to.svelte} (100%) rename test/apps/scroll/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/scroll/src/routes/{another-tall-page.html => another-tall-page.svelte} (100%) rename test/apps/scroll/src/routes/{index.html => index.svelte} (100%) rename test/apps/scroll/src/routes/{tall-page.html => tall-page.svelte} (100%) rename test/apps/session/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/session/src/routes/{index.html => index.svelte} (100%) rename test/apps/session/src/routes/{preloaded.html => preloaded.svelte} (100%) rename test/apps/session/src/routes/{session.html => session.svelte} (100%) rename test/apps/with-basepath/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/with-basepath/src/routes/{index.html => index.svelte} (100%) rename test/apps/with-sourcemaps-webpack/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/with-sourcemaps-webpack/src/routes/{index.html => index.svelte} (100%) rename test/apps/with-sourcemaps/src/routes/{_error.html => _error.svelte} (100%) rename test/apps/with-sourcemaps/src/routes/{index.html => index.svelte} (100%) diff --git a/test/apps/basics/src/routes/[slug].html b/test/apps/basics/src/routes/[slug].svelte similarity index 100% rename from test/apps/basics/src/routes/[slug].html rename to test/apps/basics/src/routes/[slug].svelte diff --git a/test/apps/basics/src/routes/_error.html b/test/apps/basics/src/routes/_error.svelte similarity index 100% rename from test/apps/basics/src/routes/_error.html rename to test/apps/basics/src/routes/_error.svelte diff --git a/test/apps/basics/src/routes/a.html b/test/apps/basics/src/routes/a.svelte similarity index 100% rename from test/apps/basics/src/routes/a.html rename to test/apps/basics/src/routes/a.svelte diff --git a/test/apps/basics/src/routes/ambiguous/[slug].html b/test/apps/basics/src/routes/ambiguous/[slug].svelte similarity index 100% rename from test/apps/basics/src/routes/ambiguous/[slug].html rename to test/apps/basics/src/routes/ambiguous/[slug].svelte diff --git a/test/apps/basics/src/routes/b/index.html b/test/apps/basics/src/routes/b/index.svelte similarity index 100% rename from test/apps/basics/src/routes/b/index.html rename to test/apps/basics/src/routes/b/index.svelte diff --git a/test/apps/basics/src/routes/const.html b/test/apps/basics/src/routes/const.svelte similarity index 100% rename from test/apps/basics/src/routes/const.html rename to test/apps/basics/src/routes/const.svelte diff --git a/test/apps/basics/src/routes/delete-test/index.html b/test/apps/basics/src/routes/delete-test/index.svelte similarity index 100% rename from test/apps/basics/src/routes/delete-test/index.html rename to test/apps/basics/src/routes/delete-test/index.svelte diff --git a/test/apps/basics/src/routes/dirs/bar/index.html b/test/apps/basics/src/routes/dirs/bar/index.svelte similarity index 100% rename from test/apps/basics/src/routes/dirs/bar/index.html rename to test/apps/basics/src/routes/dirs/bar/index.svelte diff --git a/test/apps/basics/src/routes/dirs/foo/index.html b/test/apps/basics/src/routes/dirs/foo/index.svelte similarity index 100% rename from test/apps/basics/src/routes/dirs/foo/index.html rename to test/apps/basics/src/routes/dirs/foo/index.svelte diff --git a/test/apps/basics/src/routes/echo-query/index.html b/test/apps/basics/src/routes/echo-query/index.svelte similarity index 100% rename from test/apps/basics/src/routes/echo-query/index.html rename to test/apps/basics/src/routes/echo-query/index.svelte diff --git a/test/apps/basics/src/routes/index.html b/test/apps/basics/src/routes/index.svelte similarity index 100% rename from test/apps/basics/src/routes/index.html rename to test/apps/basics/src/routes/index.svelte diff --git a/test/apps/basics/src/routes/unsafe-replacement.html b/test/apps/basics/src/routes/unsafe-replacement.svelte similarity index 100% rename from test/apps/basics/src/routes/unsafe-replacement.html rename to test/apps/basics/src/routes/unsafe-replacement.svelte diff --git a/test/apps/css/src/routes/_components/Title.html b/test/apps/css/src/routes/_components/Title.svelte similarity index 100% rename from test/apps/css/src/routes/_components/Title.html rename to test/apps/css/src/routes/_components/Title.svelte diff --git a/test/apps/css/src/routes/_error.html b/test/apps/css/src/routes/_error.svelte similarity index 100% rename from test/apps/css/src/routes/_error.html rename to test/apps/css/src/routes/_error.svelte diff --git a/test/apps/css/src/routes/bar.html b/test/apps/css/src/routes/bar.svelte similarity index 75% rename from test/apps/css/src/routes/bar.html rename to test/apps/css/src/routes/bar.svelte index d63d069..98df528 100644 --- a/test/apps/css/src/routes/bar.html +++ b/test/apps/css/src/routes/bar.svelte @@ -4,7 +4,7 @@ export let Title; onMount(() => { - import('./_components/Title.html').then(mod => { + import('./_components/Title.svelte').then(mod => { Title = mod.default; }); }); diff --git a/test/apps/css/src/routes/foo.html b/test/apps/css/src/routes/foo.svelte similarity index 100% rename from test/apps/css/src/routes/foo.html rename to test/apps/css/src/routes/foo.svelte diff --git a/test/apps/css/src/routes/index.html b/test/apps/css/src/routes/index.svelte similarity index 100% rename from test/apps/css/src/routes/index.html rename to test/apps/css/src/routes/index.svelte diff --git a/test/apps/errors/src/routes/_error.html b/test/apps/errors/src/routes/_error.svelte similarity index 100% rename from test/apps/errors/src/routes/_error.html rename to test/apps/errors/src/routes/_error.svelte diff --git a/test/apps/errors/src/routes/enhance-your-calm.html b/test/apps/errors/src/routes/enhance-your-calm.svelte similarity index 100% rename from test/apps/errors/src/routes/enhance-your-calm.html rename to test/apps/errors/src/routes/enhance-your-calm.svelte diff --git a/test/apps/errors/src/routes/index.html b/test/apps/errors/src/routes/index.svelte similarity index 100% rename from test/apps/errors/src/routes/index.html rename to test/apps/errors/src/routes/index.svelte diff --git a/test/apps/errors/src/routes/no-error.html b/test/apps/errors/src/routes/no-error.svelte similarity index 100% rename from test/apps/errors/src/routes/no-error.html rename to test/apps/errors/src/routes/no-error.svelte diff --git a/test/apps/errors/src/routes/throw.html b/test/apps/errors/src/routes/throw.svelte similarity index 100% rename from test/apps/errors/src/routes/throw.html rename to test/apps/errors/src/routes/throw.svelte diff --git a/test/apps/export/src/routes/_error.html b/test/apps/export/src/routes/_error.svelte similarity index 100% rename from test/apps/export/src/routes/_error.html rename to test/apps/export/src/routes/_error.svelte diff --git a/test/apps/export/src/routes/index.html b/test/apps/export/src/routes/index.svelte similarity index 100% rename from test/apps/export/src/routes/index.html rename to test/apps/export/src/routes/index.svelte diff --git a/test/apps/ignore/src/routes/[slug].html b/test/apps/ignore/src/routes/[slug].svelte similarity index 100% rename from test/apps/ignore/src/routes/[slug].html rename to test/apps/ignore/src/routes/[slug].svelte diff --git a/test/apps/ignore/src/routes/_error.html b/test/apps/ignore/src/routes/_error.svelte similarity index 100% rename from test/apps/ignore/src/routes/_error.html rename to test/apps/ignore/src/routes/_error.svelte diff --git a/test/apps/ignore/src/routes/a.html b/test/apps/ignore/src/routes/a.svelte similarity index 100% rename from test/apps/ignore/src/routes/a.html rename to test/apps/ignore/src/routes/a.svelte diff --git a/test/apps/ignore/src/routes/index.html b/test/apps/ignore/src/routes/index.svelte similarity index 100% rename from test/apps/ignore/src/routes/index.html rename to test/apps/ignore/src/routes/index.svelte diff --git a/test/apps/layout/src/routes/[slug].html b/test/apps/layout/src/routes/[slug].svelte similarity index 100% rename from test/apps/layout/src/routes/[slug].html rename to test/apps/layout/src/routes/[slug].svelte diff --git a/test/apps/layout/src/routes/_error.html b/test/apps/layout/src/routes/_error.svelte similarity index 100% rename from test/apps/layout/src/routes/_error.html rename to test/apps/layout/src/routes/_error.svelte diff --git a/test/apps/layout/src/routes/index.html b/test/apps/layout/src/routes/index.svelte similarity index 100% rename from test/apps/layout/src/routes/index.html rename to test/apps/layout/src/routes/index.svelte diff --git a/test/apps/preloading/src/routes/_error.html b/test/apps/preloading/src/routes/_error.svelte similarity index 100% rename from test/apps/preloading/src/routes/_error.html rename to test/apps/preloading/src/routes/_error.svelte diff --git a/test/apps/preloading/src/routes/_layout.html b/test/apps/preloading/src/routes/_layout.svelte similarity index 100% rename from test/apps/preloading/src/routes/_layout.html rename to test/apps/preloading/src/routes/_layout.svelte diff --git a/test/apps/preloading/src/routes/foo.html b/test/apps/preloading/src/routes/foo.svelte similarity index 100% rename from test/apps/preloading/src/routes/foo.html rename to test/apps/preloading/src/routes/foo.svelte diff --git a/test/apps/preloading/src/routes/index.html b/test/apps/preloading/src/routes/index.svelte similarity index 100% rename from test/apps/preloading/src/routes/index.html rename to test/apps/preloading/src/routes/index.svelte diff --git a/test/apps/preloading/src/routes/slow-preload.html b/test/apps/preloading/src/routes/slow-preload.svelte similarity index 100% rename from test/apps/preloading/src/routes/slow-preload.html rename to test/apps/preloading/src/routes/slow-preload.svelte diff --git a/test/apps/redirects/src/routes/_error.html b/test/apps/redirects/src/routes/_error.svelte similarity index 100% rename from test/apps/redirects/src/routes/_error.html rename to test/apps/redirects/src/routes/_error.svelte diff --git a/test/apps/redirects/src/routes/index.html b/test/apps/redirects/src/routes/index.svelte similarity index 100% rename from test/apps/redirects/src/routes/index.html rename to test/apps/redirects/src/routes/index.svelte diff --git a/test/apps/redirects/src/routes/redirect-from.html b/test/apps/redirects/src/routes/redirect-from.svelte similarity index 100% rename from test/apps/redirects/src/routes/redirect-from.html rename to test/apps/redirects/src/routes/redirect-from.svelte diff --git a/test/apps/redirects/src/routes/redirect-to-external.html b/test/apps/redirects/src/routes/redirect-to-external.svelte similarity index 100% rename from test/apps/redirects/src/routes/redirect-to-external.html rename to test/apps/redirects/src/routes/redirect-to-external.svelte diff --git a/test/apps/redirects/src/routes/redirect-to-root.html b/test/apps/redirects/src/routes/redirect-to-root.svelte similarity index 100% rename from test/apps/redirects/src/routes/redirect-to-root.html rename to test/apps/redirects/src/routes/redirect-to-root.svelte diff --git a/test/apps/redirects/src/routes/redirect-to.html b/test/apps/redirects/src/routes/redirect-to.svelte similarity index 100% rename from test/apps/redirects/src/routes/redirect-to.html rename to test/apps/redirects/src/routes/redirect-to.svelte diff --git a/test/apps/scroll/src/routes/_error.html b/test/apps/scroll/src/routes/_error.svelte similarity index 100% rename from test/apps/scroll/src/routes/_error.html rename to test/apps/scroll/src/routes/_error.svelte diff --git a/test/apps/scroll/src/routes/another-tall-page.html b/test/apps/scroll/src/routes/another-tall-page.svelte similarity index 100% rename from test/apps/scroll/src/routes/another-tall-page.html rename to test/apps/scroll/src/routes/another-tall-page.svelte diff --git a/test/apps/scroll/src/routes/index.html b/test/apps/scroll/src/routes/index.svelte similarity index 100% rename from test/apps/scroll/src/routes/index.html rename to test/apps/scroll/src/routes/index.svelte diff --git a/test/apps/scroll/src/routes/tall-page.html b/test/apps/scroll/src/routes/tall-page.svelte similarity index 100% rename from test/apps/scroll/src/routes/tall-page.html rename to test/apps/scroll/src/routes/tall-page.svelte diff --git a/test/apps/session/src/routes/_error.html b/test/apps/session/src/routes/_error.svelte similarity index 100% rename from test/apps/session/src/routes/_error.html rename to test/apps/session/src/routes/_error.svelte diff --git a/test/apps/session/src/routes/index.html b/test/apps/session/src/routes/index.svelte similarity index 100% rename from test/apps/session/src/routes/index.html rename to test/apps/session/src/routes/index.svelte diff --git a/test/apps/session/src/routes/preloaded.html b/test/apps/session/src/routes/preloaded.svelte similarity index 100% rename from test/apps/session/src/routes/preloaded.html rename to test/apps/session/src/routes/preloaded.svelte diff --git a/test/apps/session/src/routes/session.html b/test/apps/session/src/routes/session.svelte similarity index 100% rename from test/apps/session/src/routes/session.html rename to test/apps/session/src/routes/session.svelte diff --git a/test/apps/with-basepath/src/routes/_error.html b/test/apps/with-basepath/src/routes/_error.svelte similarity index 100% rename from test/apps/with-basepath/src/routes/_error.html rename to test/apps/with-basepath/src/routes/_error.svelte diff --git a/test/apps/with-basepath/src/routes/index.html b/test/apps/with-basepath/src/routes/index.svelte similarity index 100% rename from test/apps/with-basepath/src/routes/index.html rename to test/apps/with-basepath/src/routes/index.svelte diff --git a/test/apps/with-sourcemaps-webpack/src/routes/_error.html b/test/apps/with-sourcemaps-webpack/src/routes/_error.svelte similarity index 100% rename from test/apps/with-sourcemaps-webpack/src/routes/_error.html rename to test/apps/with-sourcemaps-webpack/src/routes/_error.svelte diff --git a/test/apps/with-sourcemaps-webpack/src/routes/index.html b/test/apps/with-sourcemaps-webpack/src/routes/index.svelte similarity index 100% rename from test/apps/with-sourcemaps-webpack/src/routes/index.html rename to test/apps/with-sourcemaps-webpack/src/routes/index.svelte diff --git a/test/apps/with-sourcemaps/src/routes/_error.html b/test/apps/with-sourcemaps/src/routes/_error.svelte similarity index 100% rename from test/apps/with-sourcemaps/src/routes/_error.html rename to test/apps/with-sourcemaps/src/routes/_error.svelte diff --git a/test/apps/with-sourcemaps/src/routes/index.html b/test/apps/with-sourcemaps/src/routes/index.svelte similarity index 100% rename from test/apps/with-sourcemaps/src/routes/index.html rename to test/apps/with-sourcemaps/src/routes/index.svelte