From 687e352209b0665fc6589711bdca7914f0d946a0 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 8 Feb 2019 08:48:10 -0500 Subject: [PATCH 1/3] rename .html files to .svelte --- test/cli/samples/basic/src/{Main.html => Main.svelte} | 0 .../custom-element/src/{Main.html => Main.svelte} | 0 test/cli/samples/dev/src/{Main.html => Main.svelte} | 0 test/cli/samples/dir-sourcemap/src/Main.html | 5 ----- test/cli/samples/dir-sourcemap/src/Main.svelte | 5 +++++ .../dir-sourcemap/src/{Widget.html => Widget.svelte} | 0 test/cli/samples/dir-subdir/src/Main.html | 5 ----- test/cli/samples/dir-subdir/src/Main.svelte | 5 +++++ .../src/widget/{Widget.html => Widget.svelte} | 0 test/cli/samples/dir/src/Main.html | 5 ----- test/cli/samples/dir/src/Main.svelte | 5 +++++ .../samples/dir/src/{Widget.html => Widget.svelte} | 0 .../samples/globals/src/{Main.html => Main.svelte} | 0 .../sourcemap-inline/src/{Main.html => Main.svelte} | 0 .../samples/sourcemap/src/{Main.html => Main.svelte} | 0 test/cli/samples/ssr/src/{Main.html => Main.svelte} | 0 test/cli/samples/store/src/{Main.html => Main.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 test/css/samples/basic/{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../combinator-child/{input.html => input.svelte} | 0 .../css/samples/css-vars/{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/empty-class/{input.html => input.svelte} | 0 .../empty-rule-dev/{input.html => input.svelte} | 0 .../samples/empty-rule/{input.html => input.svelte} | 0 .../global-keyframes/{input.html => input.svelte} | 0 test/css/samples/global/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../keyframes-from-to/{input.html => input.svelte} | 0 .../samples/keyframes/{input.html => input.svelte} | 0 .../local-inside-global/{input.html => input.svelte} | 0 .../media-query-word/{input.html => input.svelte} | 0 .../samples/media-query/{input.html => input.svelte} | 0 .../samples/nested/{expected.html => expected.svelte} | 0 test/css/samples/nested/{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../pseudo-element/{input.html => input.svelte} | 0 test/css/samples/spread/{input.html => input.svelte} | 0 .../supports-query/{input.html => input.svelte} | 0 .../universal-selector/{input.html => input.svelte} | 0 .../unknown-at-rule/{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../{input.html => input.svelte} | 0 .../{expected.html => expected.svelte} | 0 .../unused-selector/{input.html => input.svelte} | 0 .../samples/custom-method/{main.html => main.svelte} | 0 .../samples/escaped-css/{main.html => main.svelte} | 0 .../samples/html-slots/{main.html => main.svelte} | 0 .../samples/html/{main.html => main.svelte} | 0 .../nested.skip/{Counter.html => Counter.svelte} | 0 .../samples/nested.skip/{main.html => main.svelte} | 2 +- .../samples/new-styled/{main.html => main.svelte} | 0 .../samples/new/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/oncreate/{main.html => main.svelte} | 0 .../samples/props/{main.html => main.svelte} | 2 +- .../props/{my-widget.html => my-widget.svelte} | 0 .../samples/basic/{_after.html => _after.svelte} | 0 .../samples/basic/{_before.html => _before.svelte} | 0 .../samples/basic/{main.html => main.svelte} | 0 .../binding-input/{_after.html => _after.svelte} | 0 .../binding-input/{_before.html => _before.svelte} | 0 .../samples/binding-input/{main.html => main.svelte} | 0 .../{Nested.html => Nested.svelte} | 0 .../{_after.html => _after.svelte} | 0 .../{_before.html => _before.svelte} | 0 test/hydration/samples/component-in-element/main.html | 7 ------- .../samples/component-in-element/main.svelte | 7 +++++++ .../samples/component/{Nested.html => Nested.svelte} | 0 .../samples/component/{_after.html => _after.svelte} | 0 .../component/{_before.html => _before.svelte} | 0 test/hydration/samples/component/main.html | 5 ----- test/hydration/samples/component/main.svelte | 5 +++++ .../{_after.html => _after.svelte} | 0 .../{_before.html => _before.svelte} | 0 .../dynamic-text-changed/{main.html => main.svelte} | 0 .../dynamic-text/{_after.html => _after.svelte} | 0 .../dynamic-text/{_before.html => _before.svelte} | 0 .../samples/dynamic-text/{main.html => main.svelte} | 0 .../{_after.html => _after.svelte} | 0 .../{_before.html => _before.svelte} | 0 .../each-block-arg-clash/{main.html => main.svelte} | 0 .../samples/each-block/{_after.html => _after.svelte} | 0 .../each-block/{_before.html => _before.svelte} | 0 .../samples/each-block/{main.html => main.svelte} | 0 .../{_after.html => _after.svelte} | 0 .../{_before.html => _before.svelte} | 0 .../{main.html => main.svelte} | 0 .../{_after.html => _after.svelte} | 0 .../{_before.html => _before.svelte} | 0 .../{main.html => main.svelte} | 0 .../{_after.html => _after.svelte} | 0 .../{_before.html => _before.svelte} | 0 .../{main.html => main.svelte} | 0 .../{_after.html => _after.svelte} | 0 .../{_before.html => _before.svelte} | 0 .../{main.html => main.svelte} | 0 .../element-nested/{_after.html => _after.svelte} | 0 .../element-nested/{_before.html => _before.svelte} | 0 .../samples/element-nested/{main.html => main.svelte} | 0 .../element-ref/{_after.html => _after.svelte} | 0 .../element-ref/{_before.html => _before.svelte} | 0 .../samples/element-ref/{main.html => main.svelte} | 0 .../event-handler/{_after.html => _after.svelte} | 0 .../event-handler/{_before.html => _before.svelte} | 0 .../samples/event-handler/{main.html => main.svelte} | 0 .../if-block-anchor/{_after.html => _after.svelte} | 0 .../if-block-anchor/{_before.html => _before.svelte} | 0 .../if-block-anchor/{main.html => main.svelte} | 0 .../if-block-false/{_after.html => _after.svelte} | 0 .../if-block-false/{_before.html => _before.svelte} | 0 .../samples/if-block-false/{main.html => main.svelte} | 0 .../if-block-update/{_after.html => _after.svelte} | 0 .../if-block-update/{_before.html => _before.svelte} | 0 .../if-block-update/{main.html => main.svelte} | 0 .../samples/if-block/{_after.html => _after.svelte} | 0 .../samples/if-block/{_before.html => _before.svelte} | 0 .../samples/if-block/{main.html => main.svelte} | 0 .../samples/raw/{_after.html => _after.svelte} | 0 .../samples/raw/{_before.html => _before.svelte} | 0 test/hydration/samples/raw/{main.html => main.svelte} | 0 .../top-level-text/{_after.html => _after.svelte} | 0 .../top-level-text/{_before.html => _before.svelte} | 0 .../samples/top-level-text/{main.html => main.svelte} | 0 .../{input.html => input.svelte} | 0 test/js/samples/action/{input.html => input.svelte} | 0 .../bind-width-height/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../component-static/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../css-media-query/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/debug-empty/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../js/samples/debug-foo/{input.html => input.svelte} | 0 .../debug-ssr-foo/{input.html => input.svelte} | 0 .../deconflict-builtins/{input.html => input.svelte} | 0 .../deconflict-globals/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../do-use-dataset/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 test/js/samples/dynamic-import/input.html | 5 ----- test/js/samples/dynamic-import/input.svelte | 5 +++++ .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../each-block-keyed/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../event-modifiers/{input.html => input.svelte} | 0 .../head-no-whitespace/{input.html => input.svelte} | 0 .../hoisted-const/{input.html => input.svelte} | 0 .../samples/hoisted-let/{input.html => input.svelte} | 0 .../if-block-no-update/{input.html => input.svelte} | 0 .../if-block-simple/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/input-files/{input.html => input.svelte} | 0 .../samples/input-range/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../legacy-input-type/{input.html => input.svelte} | 0 .../media-bindings/{input.html => input.svelte} | 0 test/js/samples/non-imported-component/input.html | 6 ------ test/js/samples/non-imported-component/input.svelte | 6 ++++++ .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../select-dynamic-value/{input.html => input.svelte} | 0 .../samples/setup-method/{input.html => input.svelte} | 0 .../ssr-no-oncreate-etc/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../js/samples/svg-title/{input.html => input.svelte} | 0 test/js/samples/title/{input.html => input.svelte} | 0 .../transition-local/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../action-with-call/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../action-with-literal/{input.html => input.svelte} | 0 .../samples/action/{input.html => input.svelte} | 0 .../samples/animation/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../attribute-dynamic/{input.html => input.svelte} | 0 .../attribute-escaped/{input.html => input.svelte} | 0 .../attribute-multiple/{input.html => input.svelte} | 0 .../attribute-shorthand/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../attribute-static/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../attribute-unquoted/{input.html => input.svelte} | 0 .../await-then-catch/{input.html => input.svelte} | 0 .../binding-shorthand/{input.html => input.svelte} | 0 .../samples/binding/{input.html => input.svelte} | 0 .../samples/comment/{input.html => input.svelte} | 0 .../component-dynamic/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../convert-entities/{input.html => input.svelte} | 0 test/parser/samples/css/{input.html => input.svelte} | 0 .../dynamic-import/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../each-block-else/{input.html => input.svelte} | 0 .../each-block-indexed/{input.html => input.svelte} | 0 .../each-block-keyed/{input.html => input.svelte} | 0 .../samples/each-block/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../element-with-text/{input.html => input.svelte} | 0 .../samples/elements/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/error-css/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../error-self-reference/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../error-void-closing/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../event-handler/{input.html => input.svelte} | 0 .../if-block-else/{input.html => input.svelte} | 0 .../if-block-elseif/{input.html => input.svelte} | 0 .../samples/if-block/{input.html => input.svelte} | 0 .../implicitly-closed-li/{input.html => input.svelte} | 0 test/parser/samples/nbsp/{input.html => input.svelte} | 0 .../raw-mustaches/{input.html => input.svelte} | 0 test/parser/samples/refs/{input.html => input.svelte} | 0 .../script-comment-only/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/script/{input.html => input.svelte} | 0 .../self-closing-element/{input.html => input.svelte} | 0 .../self-reference/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/spread/{input.html => input.svelte} | 0 .../textarea-children/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../transition-intro/{input.html => input.svelte} | 0 .../unusual-identifier/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../whitespace-normal/{input.html => input.svelte} | 0 .../parser/samples/yield/{input.html => input.svelte} | 0 .../samples/dependencies/{input.html => input.svelte} | 0 .../dependencies/{output.html => output.svelte} | 0 .../samples/filename/{input.html => input.svelte} | 0 .../samples/filename/{output.html => output.svelte} | 2 +- .../samples/ignores-null/{input.html => input.svelte} | 0 .../ignores-null/{output.html => output.svelte} | 0 .../samples/markup/{input.html => input.svelte} | 0 .../samples/markup/{output.html => output.svelte} | 0 .../{input.html => input.svelte} | 0 .../{output.html => output.svelte} | 0 .../script-multiple/{input.html => input.svelte} | 0 .../script-multiple/{output.html => output.svelte} | 0 .../samples/script/{input.html => input.svelte} | 0 .../samples/script/{output.html => output.svelte} | 0 .../samples/style-async/{input.html => input.svelte} | 0 .../style-async/{output.html => output.svelte} | 0 .../style-attributes/{input.html => input.svelte} | 0 .../style-attributes/{output.html => output.svelte} | 0 .../samples/style/{input.html => input.svelte} | 0 .../samples/style/{output.html => output.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../action-function/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/action-this/{main.html => main.svelte} | 0 .../samples/action-update/{main.html => main.svelte} | 0 .../runtime/samples/action/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/animation-css/{main.html => main.svelte} | 0 .../animation-js-delay/{main.html => main.svelte} | 0 .../animation-js-easing/{main.html => main.svelte} | 0 .../samples/animation-js/{main.html => main.svelte} | 0 .../assignment-in-init/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../attribute-boolean-true/{main.html => main.svelte} | 0 .../attribute-casing/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../attribute-dynamic-type/{main.html => main.svelte} | 0 .../attribute-dynamic/{main.html => main.svelte} | 0 .../attribute-empty-svg/{main.html => main.svelte} | 0 .../attribute-empty/{main.html => main.svelte} | 0 .../attribute-namespaced/{main.html => main.svelte} | 0 .../{Component.html => Component.svelte} | 0 .../samples/attribute-partial-number/main.html | 5 ----- .../samples/attribute-partial-number/main.svelte | 5 +++++ .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../attribute-static/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/autofocus/{main.html => main.svelte} | 0 .../await-component-oncreate/{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../await-containing-if/{main.html => main.svelte} | 0 .../samples/await-in-each/{main.html => main.svelte} | 0 .../await-set-simultaneous/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../await-then-catch-event/{main.html => main.svelte} | 0 .../await-then-catch-if/{main.html => main.svelte} | 0 .../await-then-catch-in-slot/{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../await-then-catch-order/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../await-then-catch/{main.html => main.svelte} | 0 .../await-then-shorthand/{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../await-with-components/{main.html => main.svelte} | 2 +- .../before-render-chain/{Item.html => Item.svelte} | 0 .../before-render-chain/{List.html => List.svelte} | 2 +- .../before-render-chain/{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../binding-indirect/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../binding-input-checkbox/{main.html => main.svelte} | 0 .../binding-input-number/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../binding-input-range/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../binding-input-text/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Modal.html => Modal.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../binding-select-late/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/binding-select/{main.html => main.svelte} | 0 .../binding-store-deep/{main.html => main.svelte} | 0 .../samples/binding-store/{main.html => main.svelte} | 0 .../binding-textarea/{main.html => main.svelte} | 0 .../binding-this-and-value/{main.html => main.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../binding-this-unset/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/binding-this/{main.html => main.svelte} | 0 .../bindings-before-onmount/{One.html => One.svelte} | 2 +- .../bindings-before-onmount/{Two.html => Two.svelte} | 0 .../runtime/samples/bindings-before-onmount/main.html | 7 ------- .../samples/bindings-before-onmount/main.svelte | 7 +++++++ .../bindings-coalesced/{Foo.html => Foo.svelte} | 0 .../bindings-coalesced/{main.html => main.svelte} | 2 +- .../samples/class-boolean/{main.html => main.svelte} | 0 .../samples/class-helper/{main.html => main.svelte} | 0 .../samples/class-in-each/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/class-shortcut/{main.html => main.svelte} | 0 .../class-with-attribute/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Bar.html => Bar.svelte} | 0 .../{Baz.html => Baz.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 6 +++--- .../{Bar.html => Bar.svelte} | 0 .../{Baz.html => Baz.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 6 +++--- ...omponentSelector.html => ComponentSelector.svelte} | 0 .../{Editor.html => Editor.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../{Widget.html => Widget.svelte} | 0 .../component-binding-deep/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../component-binding-each/{main.html => main.svelte} | 2 +- .../{A.html => A.svelte} | 2 +- .../{B.html => B.svelte} | 2 +- .../{C.html => C.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../component-binding-nested/{Bar.html => Bar.svelte} | 2 +- .../component-binding-nested/{Baz.html => Baz.svelte} | 0 .../component-binding-nested/{Foo.html => Foo.svelte} | 2 +- .../{main.html => main.svelte} | 2 +- .../{Bar.html => Bar.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../{Bar.html => Bar.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../{Counter.html => Counter.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Bar.html => Bar.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Counter.html => Counter.svelte} | 0 .../component-binding/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../component-data-dynamic/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 test/runtime/samples/component-data-empty/main.html | 7 ------- test/runtime/samples/component-data-empty/main.svelte | 7 +++++++ .../{Link.html => Link.svelte} | 0 .../main.html | 5 ----- .../main.svelte | 5 +++++ .../{Foo.html => Foo.svelte} | 0 .../samples/component-data-static-boolean/main.html | 5 ----- .../samples/component-data-static-boolean/main.svelte | 5 +++++ .../{Widget.html => Widget.svelte} | 0 .../component-data-static/{main.html => main.svelte} | 2 +- .../{Button.html => Button.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../samples/component-events-console/main.html | 5 ----- .../samples/component-events-console/main.svelte | 5 +++++ .../{Widget.html => Widget.svelte} | 0 .../component-events-data/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../component-events-each/{main.html => main.svelte} | 2 +- .../component-events/{Widget.html => Widget.svelte} | 0 .../component-events/{main.html => main.svelte} | 2 +- .../{Component.html => Component.svelte} | 0 .../component-if-placement/{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../runtime/samples/component-nested-deep/Level1.html | 8 -------- .../samples/component-nested-deep/Level1.svelte | 8 ++++++++ .../runtime/samples/component-nested-deep/Level2.html | 6 ------ .../samples/component-nested-deep/Level2.svelte | 6 ++++++ .../{Level3.html => Level3.svelte} | 0 test/runtime/samples/component-nested-deep/main.html | 7 ------- .../runtime/samples/component-nested-deep/main.svelte | 7 +++++++ .../{Level1.html => Level1.svelte} | 4 ++-- .../{Level2.html => Level2.svelte} | 0 .../{Level3.html => Level3.svelte} | 0 .../runtime/samples/component-nested-deeper/main.html | 7 ------- .../samples/component-nested-deeper/main.svelte | 7 +++++++ .../component-not-void/{Link.html => Link.svelte} | 0 test/runtime/samples/component-not-void/main.html | 5 ----- test/runtime/samples/component-not-void/main.svelte | 5 +++++ .../component-ref/{Widget.html => Widget.svelte} | 0 .../samples/component-ref/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../samples/component-shorthand-import/main.html | 5 ----- .../samples/component-shorthand-import/main.svelte | 5 +++++ .../{Nested.html => Nested.svelte} | 0 test/runtime/samples/component-slot-default/main.html | 7 ------- .../samples/component-slot-default/main.svelte | 7 +++++++ .../{Nested.html => Nested.svelte} | 0 .../component-slot-dynamic/{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 test/runtime/samples/component-slot-empty/main.html | 6 ------ test/runtime/samples/component-slot-empty/main.svelte | 6 ++++++ .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../main.svelte} | 6 +++--- .../{Nested.html => Nested.svelte} | 0 .../main.html => component-slot-if-block/main.svelte} | 6 +++--- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../component-slot-let-b/{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../component-slot-let-c/{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../component-slot-let/{Nested.html => Nested.svelte} | 0 .../component-slot-let/{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../component-slot-named/{main.html => main.svelte} | 2 +- .../{Inner.html => Inner.svelte} | 0 .../{Outer.html => Outer.svelte} | 0 .../samples/component-slot-nested-component/main.html | 8 -------- .../component-slot-nested-component/main.svelte | 8 ++++++++ .../{Nested.html => Nested.svelte} | 0 .../component-slot-nested/{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../component-slot-used-with-default-event/main.html | 7 ------- .../main.svelte | 7 +++++++ .../{Email.html => Email.svelte} | 0 .../samples/component-static-at-symbol/main.html | 5 ----- .../samples/component-static-at-symbol/main.svelte | 5 +++++ .../{Widget.html => Widget.svelte} | 0 .../component-template-inline-mutation/main.html | 6 ------ .../component-template-inline-mutation/main.svelte | 6 ++++++ .../{Foo.html => Foo.svelte} | 0 .../samples/component-yield-follows-element/main.html | 5 ----- .../component-yield-follows-element/main.svelte | 5 +++++ .../component-yield-if/{Widget.html => Widget.svelte} | 0 .../component-yield-if/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Inner.html => Inner.svelte} | 0 .../{Outer.html => Outer.svelte} | 0 .../samples/component-yield-nested-if/main.html | 11 ----------- .../samples/component-yield-nested-if/main.svelte | 11 +++++++++++ .../{Widget.html => Widget.svelte} | 0 .../component-yield-parent/{main.html => main.svelte} | 2 +- .../{Modal.html => Modal.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 test/runtime/samples/component-yield-static/main.html | 7 ------- .../samples/component-yield-static/main.svelte | 7 +++++++ .../component-yield/{main.html => main.svelte} | 0 .../samples/component/{Widget.html => Widget.svelte} | 0 test/runtime/samples/component/main.html | 7 ------- test/runtime/samples/component/main.svelte | 7 +++++++ .../samples/context-api/{Tab.html => Tab.svelte} | 2 +- .../context-api/{TabList.html => TabList.svelte} | 0 .../context-api/{TabPanel.html => TabPanel.svelte} | 2 +- .../samples/context-api/{Tabs.html => Tabs.svelte} | 0 .../samples/context-api/{main.html => main.svelte} | 8 ++++---- .../samples/css-comments/{main.html => main.svelte} | 0 .../samples/css-false/{Widget.html => Widget.svelte} | 0 test/runtime/samples/css-false/main.html | 6 ------ test/runtime/samples/css-false/main.svelte | 6 ++++++ .../{Widget.html => Widget.svelte} | 0 .../css-space-in-attribute/{main.html => main.svelte} | 2 +- .../samples/css/{Widget.html => Widget.svelte} | 0 test/runtime/samples/css/main.html | 6 ------ test/runtime/samples/css/main.svelte | 6 ++++++ .../samples/custom-method/{main.html => main.svelte} | 0 .../deconflict-builtins/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../deconflict-contexts/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../deconflict-non-helpers/{main.html => main.svelte} | 0 test/runtime/samples/deconflict-self/main.html | 5 ----- test/runtime/samples/deconflict-self/main.svelte | 5 +++++ .../deconflict-self/nested/{main.html => main.svelte} | 0 .../deconflict-template-1/{main.html => main.svelte} | 0 .../deconflict-template-2/{main.html => main.svelte} | 0 .../deconflict-vars/{main.html => main.svelte} | 0 .../default-data-function/{main.html => main.svelte} | 0 .../default-data-override/{main.html => main.svelte} | 0 .../samples/default-data/{main.html => main.svelte} | 0 .../samples/destroy-twice/{main.html => main.svelte} | 0 .../samples/destructuring/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../dev-warning-helper/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../dev-warning-missing-data-component/main.html | 5 ----- .../dev-warning-missing-data-component/main.svelte | 5 +++++ .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/document-event/{main.html => main.svelte} | 0 .../{Green.html => Green.svelte} | 0 .../{Red.html => Red.svelte} | 0 .../dynamic-component-bindings-recreated-b/main.html | 10 ---------- .../main.svelte | 10 ++++++++++ .../{Green.html => Green.svelte} | 0 .../{Red.html => Red.svelte} | 0 .../dynamic-component-bindings-recreated/main.html | 9 --------- .../dynamic-component-bindings-recreated/main.svelte | 9 +++++++++ .../{Bar.html => Bar.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../samples/dynamic-component-bindings/main.html | 10 ---------- .../samples/dynamic-component-bindings/main.svelte | 10 ++++++++++ .../{main.html => main.svelte} | 0 .../dynamic-component-events/{Bar.html => Bar.svelte} | 0 .../dynamic-component-events/{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../dynamic-component-in-if/{Bar.html => Bar.svelte} | 0 .../dynamic-component-in-if/{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../{Bar.html => Bar.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../{Foo.html => Foo.svelte} | 0 .../samples/dynamic-component-nulled-out/main.html | 7 ------- .../samples/dynamic-component-nulled-out/main.svelte | 7 +++++++ .../dynamic-component-ref/{Foo.html => Foo.svelte} | 0 .../dynamic-component-ref/{main.html => main.svelte} | 2 +- .../dynamic-component-slot/{Bar.html => Bar.svelte} | 0 .../dynamic-component-slot/{Baz.html => Baz.svelte} | 0 .../dynamic-component-slot/{Foo.html => Foo.svelte} | 0 .../dynamic-component-slot/{main.html => main.svelte} | 6 +++--- .../{Bar.html => Bar.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../main.html | 8 -------- .../main.svelte | 8 ++++++++ .../dynamic-component/{Bar.html => Bar.svelte} | 0 .../dynamic-component/{Foo.html => Foo.svelte} | 0 test/runtime/samples/dynamic-component/main.html | 8 -------- test/runtime/samples/dynamic-component/main.svelte | 8 ++++++++ .../{main.html => main.svelte} | 0 .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../each-block-else/{main.html => main.svelte} | 0 .../{Thing.html => Thing.svelte} | 0 .../each-block-empty-outro/{main.html => main.svelte} | 2 +- .../each-block-function/{main.html => main.svelte} | 0 .../each-block-in-if-block/{main.html => main.svelte} | 0 .../each-block-index-only/{main.html => main.svelte} | 0 .../each-block-indexed/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../each-block-keyed-empty/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Nested.html => Nested.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../each-block-keyed/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../each-block-static/{main.html => main.svelte} | 0 .../each-block-text-node/{main.html => main.svelte} | 0 .../samples/each-block/{main.html => main.svelte} | 0 .../each-blocks-expression/{main.html => main.svelte} | 0 .../each-blocks-nested-b/{main.html => main.svelte} | 0 .../each-blocks-nested/{main.html => main.svelte} | 0 .../element-invalid-name/{main.html => main.svelte} | 0 .../element-source-location/{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../empty-style-block/{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../samples/escaped-text/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../event-handler-each/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../event-handler-hoisted/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../event-handler-removal/{main.html => main.svelte} | 0 .../event-handler-sanitize/{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../event-handler-shorthand-component/main.html | 5 ----- .../event-handler-shorthand-component/main.svelte | 5 +++++ .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../samples/event-handler/{main.html => main.svelte} | 0 .../{Nested.html => Nested.svelte} | 2 +- .../{Visibility.html => Visibility.svelte} | 0 .../flush-before-bindings/{main.html => main.svelte} | 2 +- .../function-in-expression/{main.html => main.svelte} | 0 .../get-after-destroy/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../hash-in-attribute/{main.html => main.svelte} | 0 .../samples/head-if-block/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../head-title-dynamic/{main.html => main.svelte} | 0 .../head-title-static/{main.html => main.svelte} | 0 .../samples/hello-world/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/helpers/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/html-entities/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../if-block-else-in-each/{main.html => main.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../samples/if-block-else/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../if-block-elseif-text/{main.html => main.svelte} | 0 .../if-block-elseif/{main.html => main.svelte} | 0 .../if-block-expression/{main.html => main.svelte} | 0 .../samples/if-block-first/{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../samples/if-block-or/{main.html => main.svelte} | 0 .../{Component.html => Component.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Component.html => Component.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../if-block-widget/{Widget.html => Widget.svelte} | 0 .../if-block-widget/{main.html => main.svelte} | 2 +- .../samples/if-block/{main.html => main.svelte} | 0 .../if-in-keyed-each/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../ignore-unchanged-raw/{main.html => main.svelte} | 0 .../ignore-unchanged-tag/{main.html => main.svelte} | 0 .../immutable-nested/{Nested.html => Nested.svelte} | 0 .../immutable-nested/{main.html => main.svelte} | 2 +- .../immutable-option/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../immutable-svelte-meta/{main.html => main.svelte} | 0 .../{ComponentOne.html => ComponentOne.svelte} | 0 .../{ComponentTwo.html => ComponentTwo.svelte} | 0 .../{main.html => main.svelte} | 4 ++-- .../initial-state-assign/{main.html => main.svelte} | 0 .../inline-expressions/{main.html => main.svelte} | 0 .../samples/input-list/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/internal-state/{Foo.html => Foo.svelte} | 0 test/runtime/samples/internal-state/main.html | 9 --------- test/runtime/samples/internal-state/main.svelte | 9 +++++++++ .../lifecycle-events/{main.html => main.svelte} | 0 .../lifecycle-next-tick/{main.html => main.svelte} | 0 .../lifecycle-render-order/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/module-context/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../names-deconflicted/{Widget.html => Widget.svelte} | 0 .../names-deconflicted/{main.html => main.svelte} | 2 +- test/runtime/samples/nbsp/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Folder.html => Folder.svelte} | 0 .../nested-transition-detach-if-false/main.html | 7 ------- .../nested-transition-detach-if-false/main.svelte | 7 +++++++ .../{Span.html => Span.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../noscript-removal/{main.html => main.svelte} | 0 .../ondestroy-before-cleanup/{Top.html => Top.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../samples/onmount-async/{main.html => main.svelte} | 0 .../{ParentWidget.html => ParentWidget.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../samples/onmount-fires-when-ready-nested/main.html | 9 --------- .../onmount-fires-when-ready-nested/main.svelte | 9 +++++++++ .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 test/runtime/samples/onmount-sibling-order/main.html | 6 ------ .../runtime/samples/onmount-sibling-order/main.svelte | 6 ++++++ .../option-without-select/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/preload/{main.html => main.svelte} | 0 .../prop-not-action/{Nested.html => Nested.svelte} | 0 test/runtime/samples/prop-not-action/main.html | 6 ------ test/runtime/samples/prop-not-action/main.svelte | 6 ++++++ .../{main.html => main.svelte} | 0 .../prop-without-semicolon/{main.html => main.svelte} | 0 .../raw-anchor-first-child/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../raw-anchor-last-child/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/raw-mustaches/{main.html => main.svelte} | 0 .../reactive-function/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../reactive-values/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../select-bind-array/{main.html => main.svelte} | 0 .../select-bind-in-array/{main.html => main.svelte} | 0 .../select-change-handler/{main.html => main.svelte} | 0 .../select-no-whitespace/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../select-one-way-bind/{main.html => main.svelte} | 0 .../samples/select-props/{main.html => main.svelte} | 0 .../runtime/samples/select/{main.html => main.svelte} | 0 .../self-reference-tree/{main.html => main.svelte} | 0 .../samples/self-reference/{main.html => main.svelte} | 0 .../set-after-destroy/{main.html => main.svelte} | 0 .../set-in-oncreate/{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../samples/set-in-onstate/{main.html => main.svelte} | 0 .../set-null-text-node/{main.html => main.svelte} | 0 .../set-prevents-loop/{Foo.html => Foo.svelte} | 0 .../set-prevents-loop/{main.html => main.svelte} | 2 +- .../set-undefined-attr/{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../samples/sigil-static-#/{main.html => main.svelte} | 0 .../samples/sigil-static-@/{main.html => main.svelte} | 0 .../single-static-element/{main.html => main.svelte} | 0 .../single-text-node/{main.html => main.svelte} | 0 .../slot-in-custom-element/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../spread-component-dynamic/{Foo.html => Foo.svelte} | 0 .../samples/spread-component-dynamic/main.html | 7 ------- .../samples/spread-component-dynamic/main.svelte | 7 +++++++ .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../samples/spread-component-with-bind/main.html | 8 -------- .../samples/spread-component-with-bind/main.svelte | 8 ++++++++ .../spread-component/{Widget.html => Widget.svelte} | 0 .../spread-component/{main.html => main.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../spread-each-component/{main.html => main.svelte} | 2 +- .../spread-each-element/{main.html => main.svelte} | 0 .../spread-element-boolean/{main.html => main.svelte} | 0 .../spread-element-input/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/spread-element/{main.html => main.svelte} | 0 .../spread-own-props/{Widget.html => Widget.svelte} | 0 .../spread-own-props/{main.html => main.svelte} | 2 +- .../state-deconflicted/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../store-auto-subscribe/{main.html => main.svelte} | 0 .../store-dev-mode-error/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/svg-attributes/{main.html => main.svelte} | 0 .../{Rect.html => Rect.svelte} | 0 .../main.svelte} | 2 +- .../{Rect.html => Rect.svelte} | 0 .../main.svelte} | 2 +- .../samples/svg-class/{main.html => main.svelte} | 0 .../svg-each-block-anchor/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../samples/svg-multiple/{main.html => main.svelte} | 0 .../svg-no-whitespace/{main.html => main.svelte} | 0 .../samples/svg-with-style/{main.html => main.svelte} | 0 .../samples/svg-xlink/{main.html => main.svelte} | 0 .../samples/svg-xmlns/{main.html => main.svelte} | 0 test/runtime/samples/svg/{main.html => main.svelte} | 0 .../samples/template/{main.html => main.svelte} | 0 .../textarea-children/{main.html => main.svelte} | 0 .../samples/textarea-value/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../transition-js-args/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../transition-js-context/{main.html => main.svelte} | 0 .../transition-js-deferred/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../transition-js-delay/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{A.html => A.svelte} | 0 .../{B.html => B.svelte} | 0 .../samples/transition-js-dynamic-component/main.html | 8 -------- .../transition-js-dynamic-component/main.svelte | 8 ++++++++ .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../transition-js-events/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../transition-js-initial/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../main.html | 5 ----- .../main.svelte | 5 +++++ .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../transition-js-local/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{Widget.html => Widget.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{Child.html => Child.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../whitespace-each-block/{main.html => main.svelte} | 0 .../whitespace-list/{main.html => main.svelte} | 0 .../whitespace-normal/{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../{main.html => main.svelte} | 0 .../window-binding-resize/{main.html => main.svelte} | 0 .../window-event-context/{main.html => main.svelte} | 0 .../window-event-custom/{main.html => main.svelte} | 0 .../samples/window-event/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../attribute-boolean/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../attribute-dynamic/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../attribute-static/{main.html => main.svelte} | 0 .../bindings/{_expected.html => _expected.svelte} | 0 .../samples/bindings/{main.html => main.svelte} | 0 .../comment/{_expected.html => _expected.svelte} | 0 .../samples/comment/{main.html => main.svelte} | 0 .../{Foo.html => Foo.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../component-binding/{Foo.html => Foo.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../component-binding/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../component-data-dynamic/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../component-data-empty/{main.html => main.svelte} | 2 +- .../{Widget.html => Widget.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../{main.html => main.svelte} | 2 +- .../component-refs/{Widget.html => Widget.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../samples/component-refs/{main.html => main.svelte} | 2 +- .../{_expected.html => _expected.svelte} | 0 .../component-yield/{Widget.html => Widget.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../component-yield/{main.html => main.svelte} | 2 +- .../samples/component/{Widget.html => Widget.svelte} | 0 .../component/{_expected.html => _expected.svelte} | 0 .../samples/component/{main.html => main.svelte} | 2 +- .../computed/{_expected.html => _expected.svelte} | 0 .../samples/computed/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../default-data-override/{main.html => main.svelte} | 0 .../default-data/{_expected.html => _expected.svelte} | 0 .../samples/default-data/{main.html => main.svelte} | 0 .../directives/{_expected.html => _expected.svelte} | 0 .../samples/directives/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../dynamic-text-escaped/{main.html => main.svelte} | 0 .../dynamic-text/{_expected.html => _expected.svelte} | 0 .../samples/dynamic-text/{main.html => main.svelte} | 0 .../each-block/{_expected.html => _expected.svelte} | 0 .../samples/each-block/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../empty-elements-closed/{main.html => main.svelte} | 0 .../entities/{_expected.html => _expected.svelte} | 0 .../samples/entities/{main.html => main.svelte} | 0 .../samples/head-title/_expected-head.html | 1 - .../{_actual-head.html => _expected-head.svelte} | 0 .../head-title/{_expected.html => _expected.svelte} | 0 .../samples/head-title/{main.html => main.svelte} | 0 .../helpers/{_expected.html => _expected.svelte} | 0 .../samples/helpers/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../samples/if-block-false/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../samples/if-block-true/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../import-non-component/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../samples/raw-mustaches/{main.html => main.svelte} | 0 .../sanitize-name/{[foo].html => [foo].svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../samples/sanitize-name/main.html | 5 ----- .../samples/sanitize-name/main.svelte | 5 +++++ .../static-div/{_expected.html => _expected.svelte} | 0 .../samples/static-div/{main.html => main.svelte} | 0 .../static-text/{_expected.html => _expected.svelte} | 0 .../samples/static-text/{main.html => main.svelte} | 0 .../samples/styles-nested/{One.html => One.svelte} | 2 +- .../samples/styles-nested/{Two.html => Two.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../samples/styles-nested/{main.html => main.svelte} | 2 +- .../styles/{_expected.html => _expected.svelte} | 0 .../samples/styles/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../textarea-children/{main.html => main.svelte} | 0 .../{_expected.html => _expected.svelte} | 0 .../samples/textarea-value/{main.html => main.svelte} | 0 .../triple/{_expected.html => _expected.svelte} | 0 .../samples/triple/{main.html => main.svelte} | 0 .../samples/basic/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/binding/{input.html => input.svelte} | 0 .../samples/css/{input.html => input.svelte} | 0 .../samples/each-block/{input.html => input.svelte} | 0 .../samples/script/{input.html => input.svelte} | 0 .../static-no-script/{input.html => input.svelte} | 0 test/stats/samples/basic/{input.html => input.svelte} | 0 .../duplicate-globals/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../duplicate-vars/{input.html => input.svelte} | 0 .../implicit-action/{input.html => input.svelte} | 0 .../implicit-reactive/{input.html => input.svelte} | 0 .../samples/implicit/{input.html => input.svelte} | 0 .../samples/imports/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 test/stats/samples/props/{input.html => input.svelte} | 0 .../store-referenced/{input.html => input.svelte} | 0 .../store-unreferenced/{input.html => input.svelte} | 0 .../template-references/{input.html => input.svelte} | 0 .../samples/undeclared/{input.html => input.svelte} | 0 .../a11y-alt-text/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../a11y-anchor-is-valid/{input.html => input.svelte} | 0 .../a11y-aria-props/{input.html => input.svelte} | 0 .../a11y-aria-role/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../a11y-html-has-lang/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../a11y-no-access-key/{input.html => input.svelte} | 0 .../a11y-no-autofocus/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 2 +- .../samples/a11y-scope/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../action-invalid/{input.html => input.svelte} | 0 test/validator/samples/action-on-component/input.html | 7 ------- .../samples/action-on-component/input.svelte | 7 +++++++ .../animation-duplicate/{input.html => input.svelte} | 0 .../animation-missing/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../animation-siblings/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 2 +- .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../binding-invalid/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 2 +- .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 2 +- .../{input.html => input.svelte} | 2 +- .../{input.html => input.svelte} | 0 .../css-invalid-global/{input.html => input.svelte} | 0 .../debug-invalid-args/{input.html => input.svelte} | 0 .../default-export/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../empty-block-dev/{input.html => input.svelte} | 0 .../empty-block-prod/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../missing-component/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../namespace-invalid/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../non-empty-block-dev/{input.html => input.svelte} | 0 .../samples/prop-slot/{input.html => input.svelte} | 2 +- .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../ref-not-supported/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../select-multiple/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../samples/tag-invalid/{input.html => input.svelte} | 0 .../tag-non-string/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../title-no-attributes/{input.html => input.svelte} | 0 .../title-no-children/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../transition-missing/{input.html => input.svelte} | 0 .../samples/transition-on-component/input.html | 7 ------- .../samples/transition-on-component/input.svelte | 7 +++++++ .../undefined-value/{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 .../{input.html => input.svelte} | 0 1251 files changed, 492 insertions(+), 493 deletions(-) rename test/cli/samples/basic/src/{Main.html => Main.svelte} (100%) rename test/cli/samples/custom-element/src/{Main.html => Main.svelte} (100%) rename test/cli/samples/dev/src/{Main.html => Main.svelte} (100%) delete mode 100644 test/cli/samples/dir-sourcemap/src/Main.html create mode 100644 test/cli/samples/dir-sourcemap/src/Main.svelte rename test/cli/samples/dir-sourcemap/src/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/cli/samples/dir-subdir/src/Main.html create mode 100644 test/cli/samples/dir-subdir/src/Main.svelte rename test/cli/samples/dir-subdir/src/widget/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/cli/samples/dir/src/Main.html create mode 100644 test/cli/samples/dir/src/Main.svelte rename test/cli/samples/dir/src/{Widget.html => Widget.svelte} (100%) rename test/cli/samples/globals/src/{Main.html => Main.svelte} (100%) rename test/cli/samples/sourcemap-inline/src/{Main.html => Main.svelte} (100%) rename test/cli/samples/sourcemap/src/{Main.html => Main.svelte} (100%) rename test/cli/samples/ssr/src/{Main.html => Main.svelte} (100%) rename test/cli/samples/store/src/{Main.html => Main.svelte} (100%) rename test/css/samples/attribute-selector-only-name/{input.html => input.svelte} (100%) rename test/css/samples/attribute-selector-unquoted/{input.html => input.svelte} (100%) rename test/css/samples/basic/{input.html => input.svelte} (100%) rename test/css/samples/combinator-child/{expected.html => expected.svelte} (100%) rename test/css/samples/combinator-child/{input.html => input.svelte} (100%) rename test/css/samples/css-vars/{input.html => input.svelte} (100%) rename test/css/samples/descendant-selector-non-top-level-outer/{expected.html => expected.svelte} (100%) rename test/css/samples/descendant-selector-non-top-level-outer/{input.html => input.svelte} (100%) rename test/css/samples/empty-class/{input.html => input.svelte} (100%) rename test/css/samples/empty-rule-dev/{input.html => input.svelte} (100%) rename test/css/samples/empty-rule/{input.html => input.svelte} (100%) rename test/css/samples/global-keyframes/{input.html => input.svelte} (100%) rename test/css/samples/global/{input.html => input.svelte} (100%) rename test/css/samples/keyframes-autoprefixed/{input.html => input.svelte} (100%) rename test/css/samples/keyframes-from-to/{input.html => input.svelte} (100%) rename test/css/samples/keyframes/{input.html => input.svelte} (100%) rename test/css/samples/local-inside-global/{input.html => input.svelte} (100%) rename test/css/samples/media-query-word/{input.html => input.svelte} (100%) rename test/css/samples/media-query/{input.html => input.svelte} (100%) rename test/css/samples/nested/{expected.html => expected.svelte} (100%) rename test/css/samples/nested/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-contains/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-contains/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-prefix/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-prefix/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-suffix/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-suffix/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-class-dynamic/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-class-dynamic/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-class-static/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-class-static/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner-class/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner-class/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-outer/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-outer/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-descendant/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-global/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-global/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-id/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-id/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-whitespace-multiple/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-whitespace-multiple/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute-whitespace/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute-whitespace/{input.html => input.svelte} (100%) rename test/css/samples/omit-scoping-attribute/{expected.html => expected.svelte} (100%) rename test/css/samples/omit-scoping-attribute/{input.html => input.svelte} (100%) rename test/css/samples/pseudo-element/{input.html => input.svelte} (100%) rename test/css/samples/spread/{input.html => input.svelte} (100%) rename test/css/samples/supports-query/{input.html => input.svelte} (100%) rename test/css/samples/universal-selector/{input.html => input.svelte} (100%) rename test/css/samples/unknown-at-rule/{input.html => input.svelte} (100%) rename test/css/samples/unused-selector-leading/{expected.html => expected.svelte} (100%) rename test/css/samples/unused-selector-leading/{input.html => input.svelte} (100%) rename test/css/samples/unused-selector-ternary/{expected.html => expected.svelte} (100%) rename test/css/samples/unused-selector-ternary/{input.html => input.svelte} (100%) rename test/css/samples/unused-selector/{expected.html => expected.svelte} (100%) rename test/css/samples/unused-selector/{input.html => input.svelte} (100%) rename test/custom-elements/samples/custom-method/{main.html => main.svelte} (100%) rename test/custom-elements/samples/escaped-css/{main.html => main.svelte} (100%) rename test/custom-elements/samples/html-slots/{main.html => main.svelte} (100%) rename test/custom-elements/samples/html/{main.html => main.svelte} (100%) rename test/custom-elements/samples/nested.skip/{Counter.html => Counter.svelte} (100%) rename test/custom-elements/samples/nested.skip/{main.html => main.svelte} (75%) rename test/custom-elements/samples/new-styled/{main.html => main.svelte} (100%) rename test/custom-elements/samples/new/{main.html => main.svelte} (100%) rename test/custom-elements/samples/no-missing-prop-warnings/{main.html => main.svelte} (100%) rename test/custom-elements/samples/oncreate/{main.html => main.svelte} (100%) rename test/custom-elements/samples/props/{main.html => main.svelte} (81%) rename test/custom-elements/samples/props/{my-widget.html => my-widget.svelte} (100%) rename test/hydration/samples/basic/{_after.html => _after.svelte} (100%) rename test/hydration/samples/basic/{_before.html => _before.svelte} (100%) rename test/hydration/samples/basic/{main.html => main.svelte} (100%) rename test/hydration/samples/binding-input/{_after.html => _after.svelte} (100%) rename test/hydration/samples/binding-input/{_before.html => _before.svelte} (100%) rename test/hydration/samples/binding-input/{main.html => main.svelte} (100%) rename test/hydration/samples/component-in-element/{Nested.html => Nested.svelte} (100%) rename test/hydration/samples/component-in-element/{_after.html => _after.svelte} (100%) rename test/hydration/samples/component-in-element/{_before.html => _before.svelte} (100%) delete mode 100644 test/hydration/samples/component-in-element/main.html create mode 100644 test/hydration/samples/component-in-element/main.svelte rename test/hydration/samples/component/{Nested.html => Nested.svelte} (100%) rename test/hydration/samples/component/{_after.html => _after.svelte} (100%) rename test/hydration/samples/component/{_before.html => _before.svelte} (100%) delete mode 100644 test/hydration/samples/component/main.html create mode 100644 test/hydration/samples/component/main.svelte rename test/hydration/samples/dynamic-text-changed/{_after.html => _after.svelte} (100%) rename test/hydration/samples/dynamic-text-changed/{_before.html => _before.svelte} (100%) rename test/hydration/samples/dynamic-text-changed/{main.html => main.svelte} (100%) rename test/hydration/samples/dynamic-text/{_after.html => _after.svelte} (100%) rename test/hydration/samples/dynamic-text/{_before.html => _before.svelte} (100%) rename test/hydration/samples/dynamic-text/{main.html => main.svelte} (100%) rename test/hydration/samples/each-block-arg-clash/{_after.html => _after.svelte} (100%) rename test/hydration/samples/each-block-arg-clash/{_before.html => _before.svelte} (100%) rename test/hydration/samples/each-block-arg-clash/{main.html => main.svelte} (100%) rename test/hydration/samples/each-block/{_after.html => _after.svelte} (100%) rename test/hydration/samples/each-block/{_before.html => _before.svelte} (100%) rename test/hydration/samples/each-block/{main.html => main.svelte} (100%) rename test/hydration/samples/element-attribute-added/{_after.html => _after.svelte} (100%) rename test/hydration/samples/element-attribute-added/{_before.html => _before.svelte} (100%) rename test/hydration/samples/element-attribute-added/{main.html => main.svelte} (100%) rename test/hydration/samples/element-attribute-changed/{_after.html => _after.svelte} (100%) rename test/hydration/samples/element-attribute-changed/{_before.html => _before.svelte} (100%) rename test/hydration/samples/element-attribute-changed/{main.html => main.svelte} (100%) rename test/hydration/samples/element-attribute-removed/{_after.html => _after.svelte} (100%) rename test/hydration/samples/element-attribute-removed/{_before.html => _before.svelte} (100%) rename test/hydration/samples/element-attribute-removed/{main.html => main.svelte} (100%) rename test/hydration/samples/element-attribute-unchanged/{_after.html => _after.svelte} (100%) rename test/hydration/samples/element-attribute-unchanged/{_before.html => _before.svelte} (100%) rename test/hydration/samples/element-attribute-unchanged/{main.html => main.svelte} (100%) rename test/hydration/samples/element-nested/{_after.html => _after.svelte} (100%) rename test/hydration/samples/element-nested/{_before.html => _before.svelte} (100%) rename test/hydration/samples/element-nested/{main.html => main.svelte} (100%) rename test/hydration/samples/element-ref/{_after.html => _after.svelte} (100%) rename test/hydration/samples/element-ref/{_before.html => _before.svelte} (100%) rename test/hydration/samples/element-ref/{main.html => main.svelte} (100%) rename test/hydration/samples/event-handler/{_after.html => _after.svelte} (100%) rename test/hydration/samples/event-handler/{_before.html => _before.svelte} (100%) rename test/hydration/samples/event-handler/{main.html => main.svelte} (100%) rename test/hydration/samples/if-block-anchor/{_after.html => _after.svelte} (100%) rename test/hydration/samples/if-block-anchor/{_before.html => _before.svelte} (100%) rename test/hydration/samples/if-block-anchor/{main.html => main.svelte} (100%) rename test/hydration/samples/if-block-false/{_after.html => _after.svelte} (100%) rename test/hydration/samples/if-block-false/{_before.html => _before.svelte} (100%) rename test/hydration/samples/if-block-false/{main.html => main.svelte} (100%) rename test/hydration/samples/if-block-update/{_after.html => _after.svelte} (100%) rename test/hydration/samples/if-block-update/{_before.html => _before.svelte} (100%) rename test/hydration/samples/if-block-update/{main.html => main.svelte} (100%) rename test/hydration/samples/if-block/{_after.html => _after.svelte} (100%) rename test/hydration/samples/if-block/{_before.html => _before.svelte} (100%) rename test/hydration/samples/if-block/{main.html => main.svelte} (100%) rename test/hydration/samples/raw/{_after.html => _after.svelte} (100%) rename test/hydration/samples/raw/{_before.html => _before.svelte} (100%) rename test/hydration/samples/raw/{main.html => main.svelte} (100%) rename test/hydration/samples/top-level-text/{_after.html => _after.svelte} (100%) rename test/hydration/samples/top-level-text/{_before.html => _before.svelte} (100%) rename test/hydration/samples/top-level-text/{main.html => main.svelte} (100%) rename test/js/samples/action-custom-event-handler/{input.html => input.svelte} (100%) rename test/js/samples/action/{input.html => input.svelte} (100%) rename test/js/samples/bind-width-height/{input.html => input.svelte} (100%) rename test/js/samples/collapses-text-around-comments/{input.html => input.svelte} (100%) rename test/js/samples/component-static-array/{input.html => input.svelte} (100%) rename test/js/samples/component-static-immutable/{input.html => input.svelte} (100%) rename test/js/samples/component-static-immutable2/{input.html => input.svelte} (100%) rename test/js/samples/component-static/{input.html => input.svelte} (100%) rename test/js/samples/computed-collapsed-if/{input.html => input.svelte} (100%) rename test/js/samples/css-media-query/{input.html => input.svelte} (100%) rename test/js/samples/css-shadow-dom-keyframes/{input.html => input.svelte} (100%) rename test/js/samples/debug-empty/{input.html => input.svelte} (100%) rename test/js/samples/debug-foo-bar-baz-things/{input.html => input.svelte} (100%) rename test/js/samples/debug-foo/{input.html => input.svelte} (100%) rename test/js/samples/debug-ssr-foo/{input.html => input.svelte} (100%) rename test/js/samples/deconflict-builtins/{input.html => input.svelte} (100%) rename test/js/samples/deconflict-globals/{input.html => input.svelte} (100%) rename test/js/samples/dev-warning-missing-data-computed/{input.html => input.svelte} (100%) rename test/js/samples/do-use-dataset/{input.html => input.svelte} (100%) rename test/js/samples/dont-use-dataset-in-legacy/{input.html => input.svelte} (100%) rename test/js/samples/dont-use-dataset-in-svg/{input.html => input.svelte} (100%) delete mode 100644 test/js/samples/dynamic-import/input.html create mode 100644 test/js/samples/dynamic-import/input.svelte rename test/js/samples/each-block-changed-check/{input.html => input.svelte} (100%) rename test/js/samples/each-block-keyed-animated/{input.html => input.svelte} (100%) rename test/js/samples/each-block-keyed/{input.html => input.svelte} (100%) rename test/js/samples/event-handler-no-passive/{input.html => input.svelte} (100%) rename test/js/samples/event-modifiers/{input.html => input.svelte} (100%) rename test/js/samples/head-no-whitespace/{input.html => input.svelte} (100%) rename test/js/samples/hoisted-const/{input.html => input.svelte} (100%) rename test/js/samples/hoisted-let/{input.html => input.svelte} (100%) rename test/js/samples/if-block-no-update/{input.html => input.svelte} (100%) rename test/js/samples/if-block-simple/{input.html => input.svelte} (100%) rename test/js/samples/inline-style-optimized-multiple/{input.html => input.svelte} (100%) rename test/js/samples/inline-style-optimized-url/{input.html => input.svelte} (100%) rename test/js/samples/inline-style-optimized/{input.html => input.svelte} (100%) rename test/js/samples/inline-style-unoptimized/{input.html => input.svelte} (100%) rename test/js/samples/input-files/{input.html => input.svelte} (100%) rename test/js/samples/input-range/{input.html => input.svelte} (100%) rename test/js/samples/input-without-blowback-guard/{input.html => input.svelte} (100%) rename test/js/samples/instrumentation-script-if-no-block/{input.html => input.svelte} (100%) rename test/js/samples/instrumentation-script-x-equals-x/{input.html => input.svelte} (100%) rename test/js/samples/instrumentation-template-if-no-block/{input.html => input.svelte} (100%) rename test/js/samples/instrumentation-template-x-equals-x/{input.html => input.svelte} (100%) rename test/js/samples/legacy-input-type/{input.html => input.svelte} (100%) rename test/js/samples/media-bindings/{input.html => input.svelte} (100%) delete mode 100644 test/js/samples/non-imported-component/input.html create mode 100644 test/js/samples/non-imported-component/input.svelte rename test/js/samples/non-mutable-reference/{input.html => input.svelte} (100%) rename test/js/samples/reactive-values-non-topologically-ordered/{input.html => input.svelte} (100%) rename test/js/samples/reactive-values-non-writable-dependencies/{input.html => input.svelte} (100%) rename test/js/samples/select-dynamic-value/{input.html => input.svelte} (100%) rename test/js/samples/setup-method/{input.html => input.svelte} (100%) rename test/js/samples/ssr-no-oncreate-etc/{input.html => input.svelte} (100%) rename test/js/samples/ssr-preserve-comments/{input.html => input.svelte} (100%) rename test/js/samples/svg-title/{input.html => input.svelte} (100%) rename test/js/samples/title/{input.html => input.svelte} (100%) rename test/js/samples/transition-local/{input.html => input.svelte} (100%) rename test/js/samples/use-elements-as-anchors/{input.html => input.svelte} (100%) rename test/js/samples/window-binding-scroll/{input.html => input.svelte} (100%) rename test/parser/samples/action-with-call/{input.html => input.svelte} (100%) rename test/parser/samples/action-with-identifier/{input.html => input.svelte} (100%) rename test/parser/samples/action-with-literal/{input.html => input.svelte} (100%) rename test/parser/samples/action/{input.html => input.svelte} (100%) rename test/parser/samples/animation/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-containing-solidus/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-dynamic-boolean/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-dynamic-reserved/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-dynamic/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-escaped/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-multiple/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-shorthand/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-static-boolean/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-static/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-unique-error/{input.html => input.svelte} (100%) rename test/parser/samples/attribute-unquoted/{input.html => input.svelte} (100%) rename test/parser/samples/await-then-catch/{input.html => input.svelte} (100%) rename test/parser/samples/binding-shorthand/{input.html => input.svelte} (100%) rename test/parser/samples/binding/{input.html => input.svelte} (100%) rename test/parser/samples/comment/{input.html => input.svelte} (100%) rename test/parser/samples/component-dynamic/{input.html => input.svelte} (100%) rename test/parser/samples/convert-entities-in-element/{input.html => input.svelte} (100%) rename test/parser/samples/convert-entities/{input.html => input.svelte} (100%) rename test/parser/samples/css/{input.html => input.svelte} (100%) rename test/parser/samples/dynamic-import/{input.html => input.svelte} (100%) rename test/parser/samples/each-block-destructured/{input.html => input.svelte} (100%) rename test/parser/samples/each-block-else/{input.html => input.svelte} (100%) rename test/parser/samples/each-block-indexed/{input.html => input.svelte} (100%) rename test/parser/samples/each-block-keyed/{input.html => input.svelte} (100%) rename test/parser/samples/each-block/{input.html => input.svelte} (100%) rename test/parser/samples/element-with-mustache/{input.html => input.svelte} (100%) rename test/parser/samples/element-with-text/{input.html => input.svelte} (100%) rename test/parser/samples/elements/{input.html => input.svelte} (100%) rename test/parser/samples/error-binding-disabled/{input.html => input.svelte} (100%) rename test/parser/samples/error-comment-unclosed/{input.html => input.svelte} (100%) rename test/parser/samples/error-css/{input.html => input.svelte} (100%) rename test/parser/samples/error-illegal-expression/{input.html => input.svelte} (100%) rename test/parser/samples/error-multiple-styles/{input.html => input.svelte} (100%) rename test/parser/samples/error-script-unclosed/{input.html => input.svelte} (100%) rename test/parser/samples/error-self-reference/{input.html => input.svelte} (100%) rename test/parser/samples/error-svelte-selfdestructive/{input.html => input.svelte} (100%) rename test/parser/samples/error-unexpected-end-of-input-b/{input.html => input.svelte} (100%) rename test/parser/samples/error-unexpected-end-of-input-c/{input.html => input.svelte} (100%) rename test/parser/samples/error-unexpected-end-of-input-d/{input.html => input.svelte} (100%) rename test/parser/samples/error-unexpected-end-of-input/{input.html => input.svelte} (100%) rename test/parser/samples/error-unmatched-closing-tag/{input.html => input.svelte} (100%) rename test/parser/samples/error-void-closing/{input.html => input.svelte} (100%) rename test/parser/samples/error-window-children/{input.html => input.svelte} (100%) rename test/parser/samples/error-window-duplicate/{input.html => input.svelte} (100%) rename test/parser/samples/error-window-inside-block/{input.html => input.svelte} (100%) rename test/parser/samples/error-window-inside-element/{input.html => input.svelte} (100%) rename test/parser/samples/event-handler/{input.html => input.svelte} (100%) rename test/parser/samples/if-block-else/{input.html => input.svelte} (100%) rename test/parser/samples/if-block-elseif/{input.html => input.svelte} (100%) rename test/parser/samples/if-block/{input.html => input.svelte} (100%) rename test/parser/samples/implicitly-closed-li/{input.html => input.svelte} (100%) rename test/parser/samples/nbsp/{input.html => input.svelte} (100%) rename test/parser/samples/raw-mustaches/{input.html => input.svelte} (100%) rename test/parser/samples/refs/{input.html => input.svelte} (100%) rename test/parser/samples/script-comment-only/{input.html => input.svelte} (100%) rename test/parser/samples/script-comment-trailing-multiline/{input.html => input.svelte} (100%) rename test/parser/samples/script-comment-trailing/{input.html => input.svelte} (100%) rename test/parser/samples/script/{input.html => input.svelte} (100%) rename test/parser/samples/self-closing-element/{input.html => input.svelte} (100%) rename test/parser/samples/self-reference/{input.html => input.svelte} (100%) rename test/parser/samples/space-between-mustaches/{input.html => input.svelte} (100%) rename test/parser/samples/spread/{input.html => input.svelte} (100%) rename test/parser/samples/textarea-children/{input.html => input.svelte} (100%) rename test/parser/samples/transition-intro-no-params/{input.html => input.svelte} (100%) rename test/parser/samples/transition-intro/{input.html => input.svelte} (100%) rename test/parser/samples/unusual-identifier/{input.html => input.svelte} (100%) rename test/parser/samples/whitespace-leading-trailing/{input.html => input.svelte} (100%) rename test/parser/samples/whitespace-normal/{input.html => input.svelte} (100%) rename test/parser/samples/yield/{input.html => input.svelte} (100%) rename test/preprocess/samples/dependencies/{input.html => input.svelte} (100%) rename test/preprocess/samples/dependencies/{output.html => output.svelte} (100%) rename test/preprocess/samples/filename/{input.html => input.svelte} (100%) rename test/preprocess/samples/filename/{output.html => output.svelte} (60%) rename test/preprocess/samples/ignores-null/{input.html => input.svelte} (100%) rename test/preprocess/samples/ignores-null/{output.html => output.svelte} (100%) rename test/preprocess/samples/markup/{input.html => input.svelte} (100%) rename test/preprocess/samples/markup/{output.html => output.svelte} (100%) rename test/preprocess/samples/multiple-preprocessors/{input.html => input.svelte} (100%) rename test/preprocess/samples/multiple-preprocessors/{output.html => output.svelte} (100%) rename test/preprocess/samples/script-multiple/{input.html => input.svelte} (100%) rename test/preprocess/samples/script-multiple/{output.html => output.svelte} (100%) rename test/preprocess/samples/script/{input.html => input.svelte} (100%) rename test/preprocess/samples/script/{output.html => output.svelte} (100%) rename test/preprocess/samples/style-async/{input.html => input.svelte} (100%) rename test/preprocess/samples/style-async/{output.html => output.svelte} (100%) rename test/preprocess/samples/style-attributes/{input.html => input.svelte} (100%) rename test/preprocess/samples/style-attributes/{output.html => output.svelte} (100%) rename test/preprocess/samples/style/{input.html => input.svelte} (100%) rename test/preprocess/samples/style/{output.html => output.svelte} (100%) rename test/runtime/samples/action-custom-event-handler-in-each-destructured/{main.html => main.svelte} (100%) rename test/runtime/samples/action-custom-event-handler-in-each/{main.html => main.svelte} (100%) rename test/runtime/samples/action-custom-event-handler-node-context/{main.html => main.svelte} (100%) rename test/runtime/samples/action-custom-event-handler-this/{main.html => main.svelte} (100%) rename test/runtime/samples/action-custom-event-handler-with-context/{main.html => main.svelte} (100%) rename test/runtime/samples/action-custom-event-handler/{main.html => main.svelte} (100%) rename test/runtime/samples/action-function/{main.html => main.svelte} (100%) rename test/runtime/samples/action-ternary-template/{main.html => main.svelte} (100%) rename test/runtime/samples/action-this/{main.html => main.svelte} (100%) rename test/runtime/samples/action-update/{main.html => main.svelte} (100%) rename test/runtime/samples/action/{main.html => main.svelte} (100%) rename test/runtime/samples/after-render-prevents-loop/{main.html => main.svelte} (100%) rename test/runtime/samples/after-render-triggers-update/{main.html => main.svelte} (100%) rename test/runtime/samples/animation-css/{main.html => main.svelte} (100%) rename test/runtime/samples/animation-js-delay/{main.html => main.svelte} (100%) rename test/runtime/samples/animation-js-easing/{main.html => main.svelte} (100%) rename test/runtime/samples/animation-js/{main.html => main.svelte} (100%) rename test/runtime/samples/assignment-in-init/{main.html => main.svelte} (100%) rename test/runtime/samples/assignment-to-computed-property/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-boolean-false/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-boolean-indeterminate/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-boolean-true/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-casing/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-dynamic-multiple/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-dynamic-no-dependencies/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-dynamic-quotemarks/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-dynamic-shorthand/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-dynamic-type/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-dynamic/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-empty-svg/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-empty/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-namespaced/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-partial-number/{Component.html => Component.svelte} (100%) delete mode 100644 test/runtime/samples/attribute-partial-number/main.html create mode 100644 test/runtime/samples/attribute-partial-number/main.svelte rename test/runtime/samples/attribute-prefer-expression/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-static-at-symbol/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-static-boolean/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-static-quotemarks/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-static/{main.html => main.svelte} (100%) rename test/runtime/samples/attribute-unknown-without-value/{main.html => main.svelte} (100%) rename test/runtime/samples/autofocus/{main.html => main.svelte} (100%) rename test/runtime/samples/await-component-oncreate/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/await-component-oncreate/{main.html => main.svelte} (67%) rename test/runtime/samples/await-containing-if/{main.html => main.svelte} (100%) rename test/runtime/samples/await-in-each/{main.html => main.svelte} (100%) rename test/runtime/samples/await-set-simultaneous/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-anchor/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-event/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-if/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-in-slot/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/await-then-catch-in-slot/{main.html => main.svelte} (84%) rename test/runtime/samples/await-then-catch-multiple/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-no-values/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-non-promise/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-order/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch-static/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-catch/{main.html => main.svelte} (100%) rename test/runtime/samples/await-then-shorthand/{main.html => main.svelte} (100%) rename test/runtime/samples/await-with-components/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/await-with-components/{main.html => main.svelte} (78%) rename test/runtime/samples/before-render-chain/{Item.html => Item.svelte} (100%) rename test/runtime/samples/before-render-chain/{List.html => List.svelte} (82%) rename test/runtime/samples/before-render-chain/{main.html => main.svelte} (64%) rename test/runtime/samples/before-render-prevents-loop/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-audio-currenttime-duration-volume/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-indirect-computed/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-indirect/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-checkbox-deep-contextual/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-checkbox-group-outside-each/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-checkbox-group/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-checkbox-indeterminate/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-checkbox-with-event-in-each/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-checkbox/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-number/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-radio-group/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-range-change/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-range/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-contextual-deconflicted/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-contextual/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-deconflicted/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-deep-computed-dynamic/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-deep-computed/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-deep-contextual/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text-deep/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-text/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-input-with-event/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select-implicit-option-value/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select-in-each-block/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select-in-yield/{Modal.html => Modal.svelte} (100%) rename test/runtime/samples/binding-select-in-yield/{main.html => main.svelte} (85%) rename test/runtime/samples/binding-select-initial-value-undefined/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select-initial-value/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select-late/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select-multiple/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select-optgroup/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-select/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-store-deep/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-store/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-textarea/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-this-and-value/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-this-component-reactive/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/binding-this-component-reactive/{main.html => main.svelte} (73%) rename test/runtime/samples/binding-this-element-reactive/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-this-no-innerhtml/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-this-unset/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-this-with-context/{main.html => main.svelte} (100%) rename test/runtime/samples/binding-this/{main.html => main.svelte} (100%) rename test/runtime/samples/bindings-before-onmount/{One.html => One.svelte} (74%) rename test/runtime/samples/bindings-before-onmount/{Two.html => Two.svelte} (100%) delete mode 100644 test/runtime/samples/bindings-before-onmount/main.html create mode 100644 test/runtime/samples/bindings-before-onmount/main.svelte rename test/runtime/samples/bindings-coalesced/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/bindings-coalesced/{main.html => main.svelte} (66%) rename test/runtime/samples/class-boolean/{main.html => main.svelte} (100%) rename test/runtime/samples/class-helper/{main.html => main.svelte} (100%) rename test/runtime/samples/class-in-each/{main.html => main.svelte} (100%) rename test/runtime/samples/class-shortcut-with-class/{main.html => main.svelte} (100%) rename test/runtime/samples/class-shortcut/{main.html => main.svelte} (100%) rename test/runtime/samples/class-with-attribute/{main.html => main.svelte} (100%) rename test/runtime/samples/class-with-dynamic-attribute/{main.html => main.svelte} (100%) rename test/runtime/samples/component-binding-blowback-b/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-binding-blowback-b/{main.html => main.svelte} (88%) rename test/runtime/samples/component-binding-blowback-c/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-binding-blowback-c/{main.html => main.svelte} (90%) rename test/runtime/samples/component-binding-blowback/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-binding-blowback/{main.html => main.svelte} (72%) rename test/runtime/samples/component-binding-computed/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-binding-computed/{main.html => main.svelte} (81%) rename test/runtime/samples/component-binding-conditional-b/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/component-binding-conditional-b/{Baz.html => Baz.svelte} (100%) rename test/runtime/samples/component-binding-conditional-b/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/component-binding-conditional-b/{main.html => main.svelte} (54%) rename test/runtime/samples/component-binding-conditional/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/component-binding-conditional/{Baz.html => Baz.svelte} (100%) rename test/runtime/samples/component-binding-conditional/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/component-binding-conditional/{main.html => main.svelte} (51%) rename test/runtime/samples/component-binding-deep-b/{ComponentSelector.html => ComponentSelector.svelte} (100%) rename test/runtime/samples/component-binding-deep-b/{Editor.html => Editor.svelte} (100%) rename test/runtime/samples/component-binding-deep-b/{main.html => main.svelte} (88%) rename test/runtime/samples/component-binding-deep/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-binding-deep/{main.html => main.svelte} (62%) rename test/runtime/samples/component-binding-each-nested/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-binding-each-nested/{main.html => main.svelte} (71%) rename test/runtime/samples/component-binding-each-object/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-binding-each-object/{main.html => main.svelte} (62%) rename test/runtime/samples/component-binding-each/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-binding-each/{main.html => main.svelte} (64%) rename test/runtime/samples/component-binding-infinite-loop/{A.html => A.svelte} (58%) rename test/runtime/samples/component-binding-infinite-loop/{B.html => B.svelte} (83%) rename test/runtime/samples/component-binding-infinite-loop/{C.html => C.svelte} (100%) rename test/runtime/samples/component-binding-infinite-loop/{main.html => main.svelte} (59%) rename test/runtime/samples/component-binding-nested/{Bar.html => Bar.svelte} (71%) rename test/runtime/samples/component-binding-nested/{Baz.html => Baz.svelte} (100%) rename test/runtime/samples/component-binding-nested/{Foo.html => Foo.svelte} (71%) rename test/runtime/samples/component-binding-nested/{main.html => main.svelte} (52%) rename test/runtime/samples/component-binding-parent-supercedes-child-b/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/component-binding-parent-supercedes-child-b/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/component-binding-parent-supercedes-child-b/{main.html => main.svelte} (55%) rename test/runtime/samples/component-binding-parent-supercedes-child-c/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/component-binding-parent-supercedes-child-c/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/component-binding-parent-supercedes-child-c/{main.html => main.svelte} (55%) rename test/runtime/samples/component-binding-parent-supercedes-child/{Counter.html => Counter.svelte} (100%) rename test/runtime/samples/component-binding-parent-supercedes-child/{main.html => main.svelte} (53%) rename test/runtime/samples/component-binding-private-state/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/component-binding-private-state/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/component-binding-private-state/{main.html => main.svelte} (55%) rename test/runtime/samples/component-binding-self-destroying/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-binding-self-destroying/{main.html => main.svelte} (75%) rename test/runtime/samples/component-binding/{Counter.html => Counter.svelte} (100%) rename test/runtime/samples/component-binding/{main.html => main.svelte} (51%) rename test/runtime/samples/component-data-dynamic-late/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-data-dynamic-late/{main.html => main.svelte} (67%) rename test/runtime/samples/component-data-dynamic-shorthand/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-data-dynamic-shorthand/{main.html => main.svelte} (57%) rename test/runtime/samples/component-data-dynamic/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-data-dynamic/{main.html => main.svelte} (80%) rename test/runtime/samples/component-data-empty/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/component-data-empty/main.html create mode 100644 test/runtime/samples/component-data-empty/main.svelte rename test/runtime/samples/component-data-static-boolean-regression/{Link.html => Link.svelte} (100%) delete mode 100644 test/runtime/samples/component-data-static-boolean-regression/main.html create mode 100644 test/runtime/samples/component-data-static-boolean-regression/main.svelte rename test/runtime/samples/component-data-static-boolean/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/component-data-static-boolean/main.html create mode 100644 test/runtime/samples/component-data-static-boolean/main.svelte rename test/runtime/samples/component-data-static/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-data-static/{main.html => main.svelte} (55%) rename test/runtime/samples/component-event-not-stale/{Button.html => Button.svelte} (100%) rename test/runtime/samples/component-event-not-stale/{main.html => main.svelte} (88%) rename test/runtime/samples/component-events-console/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/component-events-console/main.html create mode 100644 test/runtime/samples/component-events-console/main.svelte rename test/runtime/samples/component-events-data/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-events-data/{main.html => main.svelte} (81%) rename test/runtime/samples/component-events-each/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-events-each/{main.html => main.svelte} (85%) rename test/runtime/samples/component-events/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-events/{main.html => main.svelte} (83%) rename test/runtime/samples/component-if-placement/{Component.html => Component.svelte} (100%) rename test/runtime/samples/component-if-placement/{main.html => main.svelte} (63%) rename test/runtime/samples/component-name-deconflicted/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-name-deconflicted/{main.html => main.svelte} (70%) delete mode 100644 test/runtime/samples/component-nested-deep/Level1.html create mode 100644 test/runtime/samples/component-nested-deep/Level1.svelte delete mode 100644 test/runtime/samples/component-nested-deep/Level2.html create mode 100644 test/runtime/samples/component-nested-deep/Level2.svelte rename test/runtime/samples/component-nested-deep/{Level3.html => Level3.svelte} (100%) delete mode 100644 test/runtime/samples/component-nested-deep/main.html create mode 100644 test/runtime/samples/component-nested-deep/main.svelte rename test/runtime/samples/component-nested-deeper/{Level1.html => Level1.svelte} (74%) rename test/runtime/samples/component-nested-deeper/{Level2.html => Level2.svelte} (100%) rename test/runtime/samples/component-nested-deeper/{Level3.html => Level3.svelte} (100%) delete mode 100644 test/runtime/samples/component-nested-deeper/main.html create mode 100644 test/runtime/samples/component-nested-deeper/main.svelte rename test/runtime/samples/component-not-void/{Link.html => Link.svelte} (100%) delete mode 100644 test/runtime/samples/component-not-void/main.html create mode 100644 test/runtime/samples/component-not-void/main.svelte rename test/runtime/samples/component-ref/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-ref/{main.html => main.svelte} (62%) rename test/runtime/samples/component-shorthand-import/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/component-shorthand-import/main.html create mode 100644 test/runtime/samples/component-shorthand-import/main.svelte rename test/runtime/samples/component-slot-default/{Nested.html => Nested.svelte} (100%) delete mode 100644 test/runtime/samples/component-slot-default/main.html create mode 100644 test/runtime/samples/component-slot-default/main.svelte rename test/runtime/samples/component-slot-dynamic/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-dynamic/{main.html => main.svelte} (67%) rename test/runtime/samples/component-slot-each-block/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-each-block/{main.html => main.svelte} (69%) rename test/runtime/samples/component-slot-empty/{Nested.html => Nested.svelte} (100%) delete mode 100644 test/runtime/samples/component-slot-empty/main.html create mode 100644 test/runtime/samples/component-slot-empty/main.svelte rename test/runtime/samples/component-slot-fallback/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-fallback/{main.html => main.svelte} (51%) rename test/runtime/samples/component-slot-if-block-before-node/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/{component-slot-if-block/main.html => component-slot-if-block-before-node/main.svelte} (69%) rename test/runtime/samples/component-slot-if-block/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/{component-slot-if-block-before-node/main.html => component-slot-if-block/main.svelte} (69%) rename test/runtime/samples/component-slot-if-else-block-before-node/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-if-else-block-before-node/{main.html => main.svelte} (74%) rename test/runtime/samples/component-slot-let-aliased/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-let-aliased/{main.html => main.svelte} (65%) rename test/runtime/samples/component-slot-let-b/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-let-b/{main.html => main.svelte} (55%) rename test/runtime/samples/component-slot-let-c/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-let-c/{main.html => main.svelte} (60%) rename test/runtime/samples/component-slot-let-destructured/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-let-destructured/{main.html => main.svelte} (67%) rename test/runtime/samples/component-slot-let-named/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-let-named/{main.html => main.svelte} (71%) rename test/runtime/samples/component-slot-let-static/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-let-static/{main.html => main.svelte} (53%) rename test/runtime/samples/component-slot-let/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-let/{main.html => main.svelte} (65%) rename test/runtime/samples/component-slot-name-with-hyphen/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-name-with-hyphen/{main.html => main.svelte} (54%) rename test/runtime/samples/component-slot-named/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-named/{main.html => main.svelte} (63%) rename test/runtime/samples/component-slot-nested-component/{Inner.html => Inner.svelte} (100%) rename test/runtime/samples/component-slot-nested-component/{Outer.html => Outer.svelte} (100%) delete mode 100644 test/runtime/samples/component-slot-nested-component/main.html create mode 100644 test/runtime/samples/component-slot-nested-component/main.svelte rename test/runtime/samples/component-slot-nested/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/component-slot-nested/{main.html => main.svelte} (52%) rename test/runtime/samples/component-slot-used-with-default-event/{Nested.html => Nested.svelte} (100%) delete mode 100644 test/runtime/samples/component-slot-used-with-default-event/main.html create mode 100644 test/runtime/samples/component-slot-used-with-default-event/main.svelte rename test/runtime/samples/component-static-at-symbol/{Email.html => Email.svelte} (100%) delete mode 100644 test/runtime/samples/component-static-at-symbol/main.html create mode 100644 test/runtime/samples/component-static-at-symbol/main.svelte rename test/runtime/samples/component-template-inline-mutation/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/component-template-inline-mutation/main.html create mode 100644 test/runtime/samples/component-template-inline-mutation/main.svelte rename test/runtime/samples/component-yield-follows-element/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/component-yield-follows-element/main.html create mode 100644 test/runtime/samples/component-yield-follows-element/main.svelte rename test/runtime/samples/component-yield-if/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-yield-if/{main.html => main.svelte} (72%) rename test/runtime/samples/component-yield-multiple-in-each/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-yield-multiple-in-each/{main.html => main.svelte} (74%) rename test/runtime/samples/component-yield-multiple-in-if/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-yield-multiple-in-if/{main.html => main.svelte} (75%) rename test/runtime/samples/component-yield-nested-if/{Inner.html => Inner.svelte} (100%) rename test/runtime/samples/component-yield-nested-if/{Outer.html => Outer.svelte} (100%) delete mode 100644 test/runtime/samples/component-yield-nested-if/main.html create mode 100644 test/runtime/samples/component-yield-nested-if/main.svelte rename test/runtime/samples/component-yield-parent/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/component-yield-parent/{main.html => main.svelte} (64%) rename test/runtime/samples/component-yield-placement/{Modal.html => Modal.svelte} (100%) rename test/runtime/samples/component-yield-placement/{main.html => main.svelte} (83%) rename test/runtime/samples/component-yield-static/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/component-yield-static/main.html create mode 100644 test/runtime/samples/component-yield-static/main.svelte rename test/runtime/samples/component-yield/{main.html => main.svelte} (100%) rename test/runtime/samples/component/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/component/main.html create mode 100644 test/runtime/samples/component/main.svelte rename test/runtime/samples/context-api/{Tab.html => Tab.svelte} (87%) rename test/runtime/samples/context-api/{TabList.html => TabList.svelte} (100%) rename test/runtime/samples/context-api/{TabPanel.html => TabPanel.svelte} (86%) rename test/runtime/samples/context-api/{Tabs.html => Tabs.svelte} (100%) rename test/runtime/samples/context-api/{main.html => main.svelte} (68%) rename test/runtime/samples/css-comments/{main.html => main.svelte} (100%) rename test/runtime/samples/css-false/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/css-false/main.html create mode 100644 test/runtime/samples/css-false/main.svelte rename test/runtime/samples/css-space-in-attribute/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/css-space-in-attribute/{main.html => main.svelte} (51%) rename test/runtime/samples/css/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/css/main.html create mode 100644 test/runtime/samples/css/main.svelte rename test/runtime/samples/custom-method/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-builtins/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-component-name-with-global/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-component-name-with-module-global/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-component-refs/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-contexts/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-elements-indexes/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-non-helpers/{main.html => main.svelte} (100%) delete mode 100644 test/runtime/samples/deconflict-self/main.html create mode 100644 test/runtime/samples/deconflict-self/main.svelte rename test/runtime/samples/deconflict-self/nested/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-template-1/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-template-2/{main.html => main.svelte} (100%) rename test/runtime/samples/deconflict-vars/{main.html => main.svelte} (100%) rename test/runtime/samples/default-data-function/{main.html => main.svelte} (100%) rename test/runtime/samples/default-data-override/{main.html => main.svelte} (100%) rename test/runtime/samples/default-data/{main.html => main.svelte} (100%) rename test/runtime/samples/destroy-twice/{main.html => main.svelte} (100%) rename test/runtime/samples/destructuring/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-destroy-twice/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-helper/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-missing-data-binding/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-missing-data-component/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/dev-warning-missing-data-component/main.html create mode 100644 test/runtime/samples/dev-warning-missing-data-component/main.svelte rename test/runtime/samples/dev-warning-missing-data-each/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-missing-data-excludes-event/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-missing-data/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-readonly-computed/{main.html => main.svelte} (100%) rename test/runtime/samples/dev-warning-readonly-window-binding/{main.html => main.svelte} (100%) rename test/runtime/samples/document-event/{main.html => main.svelte} (100%) rename test/runtime/samples/dynamic-component-bindings-recreated-b/{Green.html => Green.svelte} (100%) rename test/runtime/samples/dynamic-component-bindings-recreated-b/{Red.html => Red.svelte} (100%) delete mode 100644 test/runtime/samples/dynamic-component-bindings-recreated-b/main.html create mode 100644 test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte rename test/runtime/samples/dynamic-component-bindings-recreated/{Green.html => Green.svelte} (100%) rename test/runtime/samples/dynamic-component-bindings-recreated/{Red.html => Red.svelte} (100%) delete mode 100644 test/runtime/samples/dynamic-component-bindings-recreated/main.html create mode 100644 test/runtime/samples/dynamic-component-bindings-recreated/main.svelte rename test/runtime/samples/dynamic-component-bindings/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/dynamic-component-bindings/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/dynamic-component-bindings/main.html create mode 100644 test/runtime/samples/dynamic-component-bindings/main.svelte rename test/runtime/samples/dynamic-component-destroy-null/{main.html => main.svelte} (100%) rename test/runtime/samples/dynamic-component-events/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/dynamic-component-events/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/dynamic-component-events/{main.html => main.svelte} (58%) rename test/runtime/samples/dynamic-component-in-if/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/dynamic-component-in-if/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/dynamic-component-in-if/{main.html => main.svelte} (57%) rename test/runtime/samples/dynamic-component-inside-element/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/dynamic-component-inside-element/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/dynamic-component-inside-element/{main.html => main.svelte} (57%) rename test/runtime/samples/dynamic-component-nulled-out/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/dynamic-component-nulled-out/main.html create mode 100644 test/runtime/samples/dynamic-component-nulled-out/main.svelte rename test/runtime/samples/dynamic-component-ref/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/dynamic-component-ref/{main.html => main.svelte} (72%) rename test/runtime/samples/dynamic-component-slot/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/dynamic-component-slot/{Baz.html => Baz.svelte} (100%) rename test/runtime/samples/dynamic-component-slot/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/dynamic-component-slot/{main.html => main.svelte} (78%) rename test/runtime/samples/dynamic-component-update-existing-instance/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/dynamic-component-update-existing-instance/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/dynamic-component-update-existing-instance/main.html create mode 100644 test/runtime/samples/dynamic-component-update-existing-instance/main.svelte rename test/runtime/samples/dynamic-component/{Bar.html => Bar.svelte} (100%) rename test/runtime/samples/dynamic-component/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/dynamic-component/main.html create mode 100644 test/runtime/samples/dynamic-component/main.svelte rename test/runtime/samples/each-block-array-literal/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-containing-component-in-if/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/each-block-containing-component-in-if/{main.html => main.svelte} (67%) rename test/runtime/samples/each-block-containing-if/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-deconflict-name-context/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-destructured-array-sparse/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-destructured-array/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-destructured-object-binding/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-destructured-object/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-dynamic-else-static/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-else-mount-or-intro/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/each-block-else-mount-or-intro/{main.html => main.svelte} (73%) rename test/runtime/samples/each-block-else-starts-empty/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-else/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-empty-outro/{Thing.html => Thing.svelte} (100%) rename test/runtime/samples/each-block-empty-outro/{main.html => main.svelte} (79%) rename test/runtime/samples/each-block-function/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-in-if-block/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-index-only/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-indexed/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-keyed-dynamic/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-keyed-empty/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-keyed-non-prop/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-keyed-random-permute/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-keyed-siblings/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-keyed-static/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-keyed-unshift/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/each-block-keyed-unshift/{main.html => main.svelte} (70%) rename test/runtime/samples/each-block-keyed/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-random-permute/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-scope-shadow/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-static/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block-text-node/{main.html => main.svelte} (100%) rename test/runtime/samples/each-block/{main.html => main.svelte} (100%) rename test/runtime/samples/each-blocks-expression/{main.html => main.svelte} (100%) rename test/runtime/samples/each-blocks-nested-b/{main.html => main.svelte} (100%) rename test/runtime/samples/each-blocks-nested/{main.html => main.svelte} (100%) rename test/runtime/samples/element-invalid-name/{main.html => main.svelte} (100%) rename test/runtime/samples/element-source-location/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/element-source-location/{main.html => main.svelte} (54%) rename test/runtime/samples/empty-style-block/{main.html => main.svelte} (100%) rename test/runtime/samples/escape-template-literals/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/escape-template-literals/{main.html => main.svelte} (75%) rename test/runtime/samples/escaped-text/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-console-log/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-deconflicted/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-each-context/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-each-deconflicted/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-each-this/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-each/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-event-methods/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-hoisted/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-modifier-once/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-modifier-prevent-default/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-modifier-stop-propagation/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-removal/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-sanitize/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler-shorthand-component/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/event-handler-shorthand-component/main.html create mode 100644 test/runtime/samples/event-handler-shorthand-component/main.svelte rename test/runtime/samples/event-handler-shorthand-dynamic-component/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/event-handler-shorthand-dynamic-component/{main.html => main.svelte} (61%) rename test/runtime/samples/event-handler-this-methods/{main.html => main.svelte} (100%) rename test/runtime/samples/event-handler/{main.html => main.svelte} (100%) rename test/runtime/samples/flush-before-bindings/{Nested.html => Nested.svelte} (87%) rename test/runtime/samples/flush-before-bindings/{Visibility.html => Visibility.svelte} (100%) rename test/runtime/samples/flush-before-bindings/{main.html => main.svelte} (73%) rename test/runtime/samples/function-in-expression/{main.html => main.svelte} (100%) rename test/runtime/samples/get-after-destroy/{main.html => main.svelte} (100%) rename test/runtime/samples/globals-accessible-directly-process/{main.html => main.svelte} (100%) rename test/runtime/samples/globals-accessible-directly/{main.html => main.svelte} (100%) rename test/runtime/samples/globals-not-dereferenced/{main.html => main.svelte} (100%) rename test/runtime/samples/globals-not-overwritten-by-bindings/{main.html => main.svelte} (100%) rename test/runtime/samples/globals-shadowed-by-data/{main.html => main.svelte} (100%) rename test/runtime/samples/globals-shadowed-by-helpers/{main.html => main.svelte} (100%) rename test/runtime/samples/hash-in-attribute/{main.html => main.svelte} (100%) rename test/runtime/samples/head-if-block/{main.html => main.svelte} (100%) rename test/runtime/samples/head-title-dynamic-simple/{main.html => main.svelte} (100%) rename test/runtime/samples/head-title-dynamic/{main.html => main.svelte} (100%) rename test/runtime/samples/head-title-static/{main.html => main.svelte} (100%) rename test/runtime/samples/hello-world/{main.html => main.svelte} (100%) rename test/runtime/samples/helpers-not-call-expression/{main.html => main.svelte} (100%) rename test/runtime/samples/helpers/{main.html => main.svelte} (100%) rename test/runtime/samples/html-entities-inside-elements/{main.html => main.svelte} (100%) rename test/runtime/samples/html-entities/{main.html => main.svelte} (100%) rename test/runtime/samples/html-non-entities-inside-elements/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-component-without-outro/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/if-block-component-without-outro/{main.html => main.svelte} (57%) rename test/runtime/samples/if-block-else-in-each/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-else-partial-outro/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/if-block-else-partial-outro/{main.html => main.svelte} (73%) rename test/runtime/samples/if-block-else/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-elseif-no-else/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-elseif-text/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-elseif/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-expression/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-first/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-no-outro-else-with-outro/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/if-block-no-outro-else-with-outro/{main.html => main.svelte} (77%) rename test/runtime/samples/if-block-or/{main.html => main.svelte} (100%) rename test/runtime/samples/if-block-outro-nested-else/{Component.html => Component.svelte} (100%) rename test/runtime/samples/if-block-outro-nested-else/{main.html => main.svelte} (73%) rename test/runtime/samples/if-block-outro-unique-select-block-type/{Component.html => Component.svelte} (100%) rename test/runtime/samples/if-block-outro-unique-select-block-type/{main.html => main.svelte} (76%) rename test/runtime/samples/if-block-widget/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/if-block-widget/{main.html => main.svelte} (69%) rename test/runtime/samples/if-block/{main.html => main.svelte} (100%) rename test/runtime/samples/if-in-keyed-each/{main.html => main.svelte} (100%) rename test/runtime/samples/ignore-unchanged-attribute-compound/{main.html => main.svelte} (100%) rename test/runtime/samples/ignore-unchanged-attribute/{main.html => main.svelte} (100%) rename test/runtime/samples/ignore-unchanged-raw/{main.html => main.svelte} (100%) rename test/runtime/samples/ignore-unchanged-tag/{main.html => main.svelte} (100%) rename test/runtime/samples/immutable-nested/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/immutable-nested/{main.html => main.svelte} (68%) rename test/runtime/samples/immutable-option/{main.html => main.svelte} (100%) rename test/runtime/samples/immutable-svelte-meta-false/{main.html => main.svelte} (100%) rename test/runtime/samples/immutable-svelte-meta/{main.html => main.svelte} (100%) rename test/runtime/samples/imported-renamed-components/{ComponentOne.html => ComponentOne.svelte} (100%) rename test/runtime/samples/imported-renamed-components/{ComponentTwo.html => ComponentTwo.svelte} (100%) rename test/runtime/samples/imported-renamed-components/{main.html => main.svelte} (59%) rename test/runtime/samples/initial-state-assign/{main.html => main.svelte} (100%) rename test/runtime/samples/inline-expressions/{main.html => main.svelte} (100%) rename test/runtime/samples/input-list/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-script-destructuring/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-script-loop-scope/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-script-multiple-assignments/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-script-update/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-template-destructuring/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-template-loop-scope/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-template-multiple-assignments/{main.html => main.svelte} (100%) rename test/runtime/samples/instrumentation-template-update/{main.html => main.svelte} (100%) rename test/runtime/samples/internal-state/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/internal-state/main.html create mode 100644 test/runtime/samples/internal-state/main.svelte rename test/runtime/samples/lifecycle-events/{main.html => main.svelte} (100%) rename test/runtime/samples/lifecycle-next-tick/{main.html => main.svelte} (100%) rename test/runtime/samples/lifecycle-render-order/{main.html => main.svelte} (100%) rename test/runtime/samples/module-context-with-instance-script/{main.html => main.svelte} (100%) rename test/runtime/samples/module-context/{main.html => main.svelte} (100%) rename test/runtime/samples/mutation-tracking-across-sibling-scopes/{main.html => main.svelte} (100%) rename test/runtime/samples/names-deconflicted-nested/{main.html => main.svelte} (100%) rename test/runtime/samples/names-deconflicted/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/names-deconflicted/{main.html => main.svelte} (82%) rename test/runtime/samples/nbsp/{main.html => main.svelte} (100%) rename test/runtime/samples/nested-transition-detach-each/{main.html => main.svelte} (100%) rename test/runtime/samples/nested-transition-detach-if-false/{Folder.html => Folder.svelte} (100%) delete mode 100644 test/runtime/samples/nested-transition-detach-if-false/main.html create mode 100644 test/runtime/samples/nested-transition-detach-if-false/main.svelte rename test/runtime/samples/nested-transition-if-block-not-remounted/{Span.html => Span.svelte} (100%) rename test/runtime/samples/nested-transition-if-block-not-remounted/{main.html => main.svelte} (75%) rename test/runtime/samples/noscript-removal/{main.html => main.svelte} (100%) rename test/runtime/samples/ondestroy-before-cleanup/{Top.html => Top.svelte} (100%) rename test/runtime/samples/ondestroy-before-cleanup/{main.html => main.svelte} (74%) rename test/runtime/samples/onmount-async/{main.html => main.svelte} (100%) rename test/runtime/samples/onmount-fires-when-ready-nested/{ParentWidget.html => ParentWidget.svelte} (64%) rename test/runtime/samples/onmount-fires-when-ready-nested/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/onmount-fires-when-ready-nested/main.html create mode 100644 test/runtime/samples/onmount-fires-when-ready-nested/main.svelte rename test/runtime/samples/onmount-fires-when-ready/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/onmount-fires-when-ready/{main.html => main.svelte} (70%) rename test/runtime/samples/onmount-sibling-order/{Nested.html => Nested.svelte} (100%) delete mode 100644 test/runtime/samples/onmount-sibling-order/main.html create mode 100644 test/runtime/samples/onmount-sibling-order/main.svelte rename test/runtime/samples/option-without-select/{main.html => main.svelte} (100%) rename test/runtime/samples/paren-wrapped-expressions/{main.html => main.svelte} (100%) rename test/runtime/samples/preload/{main.html => main.svelte} (100%) rename test/runtime/samples/prop-not-action/{Nested.html => Nested.svelte} (100%) delete mode 100644 test/runtime/samples/prop-not-action/main.html create mode 100644 test/runtime/samples/prop-not-action/main.svelte rename test/runtime/samples/prop-without-semicolon-b/{main.html => main.svelte} (100%) rename test/runtime/samples/prop-without-semicolon/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-anchor-first-child/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-anchor-first-last-child/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-anchor-last-child/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-anchor-next-previous-sibling/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-anchor-next-sibling/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-anchor-previous-sibling/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-mustaches-preserved/{main.html => main.svelte} (100%) rename test/runtime/samples/raw-mustaches/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-function/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values-deconflicted/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values-function-dependency/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values-implicit/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values-non-cyclical/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values-readonly/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values-second-order/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values-self-dependency/{main.html => main.svelte} (100%) rename test/runtime/samples/reactive-values/{main.html => main.svelte} (100%) rename test/runtime/samples/script-style-non-top-level/{main.html => main.svelte} (100%) rename test/runtime/samples/select-bind-array/{main.html => main.svelte} (100%) rename test/runtime/samples/select-bind-in-array/{main.html => main.svelte} (100%) rename test/runtime/samples/select-change-handler/{main.html => main.svelte} (100%) rename test/runtime/samples/select-no-whitespace/{main.html => main.svelte} (100%) rename test/runtime/samples/select-one-way-bind-object/{main.html => main.svelte} (100%) rename test/runtime/samples/select-one-way-bind/{main.html => main.svelte} (100%) rename test/runtime/samples/select-props/{main.html => main.svelte} (100%) rename test/runtime/samples/select/{main.html => main.svelte} (100%) rename test/runtime/samples/self-reference-tree/{main.html => main.svelte} (100%) rename test/runtime/samples/self-reference/{main.html => main.svelte} (100%) rename test/runtime/samples/set-after-destroy/{main.html => main.svelte} (100%) rename test/runtime/samples/set-in-oncreate/{main.html => main.svelte} (100%) rename test/runtime/samples/set-in-onstate-dedupes-renders/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/set-in-onstate-dedupes-renders/{main.html => main.svelte} (83%) rename test/runtime/samples/set-in-onstate/{main.html => main.svelte} (100%) rename test/runtime/samples/set-null-text-node/{main.html => main.svelte} (100%) rename test/runtime/samples/set-prevents-loop/{Foo.html => Foo.svelte} (100%) rename test/runtime/samples/set-prevents-loop/{main.html => main.svelte} (81%) rename test/runtime/samples/set-undefined-attr/{main.html => main.svelte} (100%) rename test/runtime/samples/sigil-component-attribute/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/sigil-component-attribute/{main.html => main.svelte} (65%) rename test/runtime/samples/sigil-static-#/{main.html => main.svelte} (100%) rename test/runtime/samples/sigil-static-@/{main.html => main.svelte} (100%) rename test/runtime/samples/single-static-element/{main.html => main.svelte} (100%) rename test/runtime/samples/single-text-node/{main.html => main.svelte} (100%) rename test/runtime/samples/slot-in-custom-element/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-component-dynamic-undefined/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-component-dynamic/{Foo.html => Foo.svelte} (100%) delete mode 100644 test/runtime/samples/spread-component-dynamic/main.html create mode 100644 test/runtime/samples/spread-component-dynamic/main.svelte rename test/runtime/samples/spread-component-multiple-dependencies/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/spread-component-multiple-dependencies/{main.html => main.svelte} (80%) rename test/runtime/samples/spread-component-with-bind/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/spread-component-with-bind/main.html create mode 100644 test/runtime/samples/spread-component-with-bind/main.svelte rename test/runtime/samples/spread-component/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/spread-component/{main.html => main.svelte} (69%) rename test/runtime/samples/spread-each-component/{Nested.html => Nested.svelte} (100%) rename test/runtime/samples/spread-each-component/{main.html => main.svelte} (65%) rename test/runtime/samples/spread-each-element/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-element-boolean/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-element-input/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-element-multiple-dependencies/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-element-multiple/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-element/{main.html => main.svelte} (100%) rename test/runtime/samples/spread-own-props/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/spread-own-props/{main.html => main.svelte} (73%) rename test/runtime/samples/state-deconflicted/{main.html => main.svelte} (100%) rename test/runtime/samples/store-auto-subscribe-implicit/{main.html => main.svelte} (100%) rename test/runtime/samples/store-auto-subscribe-in-each/{main.html => main.svelte} (100%) rename test/runtime/samples/store-auto-subscribe-in-reactive-declaration/{main.html => main.svelte} (100%) rename test/runtime/samples/store-auto-subscribe-in-script/{main.html => main.svelte} (100%) rename test/runtime/samples/store-auto-subscribe/{main.html => main.svelte} (100%) rename test/runtime/samples/store-dev-mode-error/{main.html => main.svelte} (100%) rename test/runtime/samples/store-prevent-user-declarations/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-attributes/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-child-component-declared-namespace-shorthand/{Rect.html => Rect.svelte} (100%) rename test/runtime/samples/{svg-child-component-declared-namespace/main.html => svg-child-component-declared-namespace-shorthand/main.svelte} (82%) rename test/runtime/samples/svg-child-component-declared-namespace/{Rect.html => Rect.svelte} (100%) rename test/runtime/samples/{svg-child-component-declared-namespace-shorthand/main.html => svg-child-component-declared-namespace/main.svelte} (82%) rename test/runtime/samples/svg-class/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-each-block-anchor/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-each-block-namespace/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-multiple/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-no-whitespace/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-with-style/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-xlink/{main.html => main.svelte} (100%) rename test/runtime/samples/svg-xmlns/{main.html => main.svelte} (100%) rename test/runtime/samples/svg/{main.html => main.svelte} (100%) rename test/runtime/samples/template/{main.html => main.svelte} (100%) rename test/runtime/samples/textarea-children/{main.html => main.svelte} (100%) rename test/runtime/samples/textarea-value/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-css-deferred-removal/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-css-duration/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-css-in-out-in/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-aborted-outro-in-each/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-aborted-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-args/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-await-block/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-context/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-deferred/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-delay-in-out/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-delay/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-destroyed-before-end/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-dynamic-component/{A.html => A.svelte} (100%) rename test/runtime/samples/transition-js-dynamic-component/{B.html => B.svelte} (100%) delete mode 100644 test/runtime/samples/transition-js-dynamic-component/main.html create mode 100644 test/runtime/samples/transition-js-dynamic-component/main.svelte rename test/runtime/samples/transition-js-dynamic-if-block-bidi/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-block-intro-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-block-intro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-block-keyed-intro-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-block-keyed-intro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-block-keyed-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-block-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-keyed-unchanged/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-each-unchanged/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-events/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-block-bidi/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-block-in-each-block-bidi/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-block-intro-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-block-intro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-block-outro-timeout/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-else-block-dynamic-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-else-block-intro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-else-block-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-if-elseif-block-outro/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-initial/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-intro-enabled-by-option/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-intro-skipped-by-default-nested/{Widget.html => Widget.svelte} (100%) delete mode 100644 test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.html create mode 100644 test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte rename test/runtime/samples/transition-js-intro-skipped-by-default/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-local-and-global/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-local-nested-await/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-local-nested-component/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/transition-js-local-nested-component/{main.html => main.svelte} (55%) rename test/runtime/samples/transition-js-local-nested-each-keyed/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-local-nested-each/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-local-nested-if/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-local/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-nested-await/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-nested-component/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/transition-js-nested-component/{main.html => main.svelte} (55%) rename test/runtime/samples/transition-js-nested-each-delete/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-nested-each-keyed-2/{Widget.html => Widget.svelte} (100%) rename test/runtime/samples/transition-js-nested-each-keyed-2/{main.html => main.svelte} (65%) rename test/runtime/samples/transition-js-nested-each-keyed/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-nested-each/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-nested-if/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-nested-intro/{Child.html => Child.svelte} (100%) rename test/runtime/samples/transition-js-nested-intro/{main.html => main.svelte} (65%) rename test/runtime/samples/transition-js-parameterised-with-state/{main.html => main.svelte} (100%) rename test/runtime/samples/transition-js-parameterised/{main.html => main.svelte} (100%) rename test/runtime/samples/whitespace-each-block/{main.html => main.svelte} (100%) rename test/runtime/samples/whitespace-list/{main.html => main.svelte} (100%) rename test/runtime/samples/whitespace-normal/{main.html => main.svelte} (100%) rename test/runtime/samples/window-bind-scroll-update/{main.html => main.svelte} (100%) rename test/runtime/samples/window-binding-multiple-handlers/{main.html => main.svelte} (100%) rename test/runtime/samples/window-binding-resize/{main.html => main.svelte} (100%) rename test/runtime/samples/window-event-context/{main.html => main.svelte} (100%) rename test/runtime/samples/window-event-custom/{main.html => main.svelte} (100%) rename test/runtime/samples/window-event/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/attribute-boolean/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/attribute-boolean/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/attribute-dynamic/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/attribute-dynamic/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/attribute-escaped-quotes-spread/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/attribute-escaped-quotes-spread/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/attribute-escaped-quotes/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/attribute-escaped-quotes/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/attribute-static/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/attribute-static/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/bindings/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/bindings/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/comment/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/comment/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/component-binding-renamed/{Foo.html => Foo.svelte} (100%) rename test/server-side-rendering/samples/component-binding-renamed/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-binding-renamed/{main.html => main.svelte} (69%) rename test/server-side-rendering/samples/component-binding/{Foo.html => Foo.svelte} (100%) rename test/server-side-rendering/samples/component-binding/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-binding/{main.html => main.svelte} (62%) rename test/server-side-rendering/samples/component-data-dynamic/{Widget.html => Widget.svelte} (100%) rename test/server-side-rendering/samples/component-data-dynamic/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-data-dynamic/{main.html => main.svelte} (83%) rename test/server-side-rendering/samples/component-data-empty/{Widget.html => Widget.svelte} (100%) rename test/server-side-rendering/samples/component-data-empty/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-data-empty/{main.html => main.svelte} (56%) rename test/server-side-rendering/samples/component-refs-and-attributes/{Widget.html => Widget.svelte} (100%) rename test/server-side-rendering/samples/component-refs-and-attributes/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-refs-and-attributes/{main.html => main.svelte} (74%) rename test/server-side-rendering/samples/component-refs/{Widget.html => Widget.svelte} (100%) rename test/server-side-rendering/samples/component-refs/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-refs/{main.html => main.svelte} (67%) rename test/server-side-rendering/samples/component-with-different-extension/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-yield/{Widget.html => Widget.svelte} (100%) rename test/server-side-rendering/samples/component-yield/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component-yield/{main.html => main.svelte} (69%) rename test/server-side-rendering/samples/component/{Widget.html => Widget.svelte} (100%) rename test/server-side-rendering/samples/component/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/component/{main.html => main.svelte} (53%) rename test/server-side-rendering/samples/computed/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/computed/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/default-data-override/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/default-data-override/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/default-data/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/default-data/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/directives/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/directives/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/dynamic-text-escaped/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/dynamic-text-escaped/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/dynamic-text/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/dynamic-text/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/each-block/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/each-block/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/empty-elements-closed/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/empty-elements-closed/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/entities/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/entities/{main.html => main.svelte} (100%) delete mode 100644 test/server-side-rendering/samples/head-title/_expected-head.html rename test/server-side-rendering/samples/head-title/{_actual-head.html => _expected-head.svelte} (100%) rename test/server-side-rendering/samples/head-title/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/head-title/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/helpers/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/helpers/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/if-block-false/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/if-block-false/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/if-block-true/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/if-block-true/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/import-non-component/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/import-non-component/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/raw-mustaches/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/raw-mustaches/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/sanitize-name/{[foo].html => [foo].svelte} (100%) rename test/server-side-rendering/samples/sanitize-name/{_expected.html => _expected.svelte} (100%) delete mode 100644 test/server-side-rendering/samples/sanitize-name/main.html create mode 100644 test/server-side-rendering/samples/sanitize-name/main.svelte rename test/server-side-rendering/samples/static-div/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/static-div/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/static-text/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/static-text/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/styles-nested/{One.html => One.svelte} (84%) rename test/server-side-rendering/samples/styles-nested/{Two.html => Two.svelte} (100%) rename test/server-side-rendering/samples/styles-nested/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/styles-nested/{main.html => main.svelte} (78%) rename test/server-side-rendering/samples/styles/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/styles/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/textarea-children/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/textarea-children/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/textarea-value/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/textarea-value/{main.html => main.svelte} (100%) rename test/server-side-rendering/samples/triple/{_expected.html => _expected.svelte} (100%) rename test/server-side-rendering/samples/triple/{main.html => main.svelte} (100%) rename test/sourcemaps/samples/basic/{input.html => input.svelte} (100%) rename test/sourcemaps/samples/binding-shorthand.skip/{input.html => input.svelte} (100%) rename test/sourcemaps/samples/binding/{input.html => input.svelte} (100%) rename test/sourcemaps/samples/css/{input.html => input.svelte} (100%) rename test/sourcemaps/samples/each-block/{input.html => input.svelte} (100%) rename test/sourcemaps/samples/script/{input.html => input.svelte} (100%) rename test/sourcemaps/samples/static-no-script/{input.html => input.svelte} (100%) rename test/stats/samples/basic/{input.html => input.svelte} (100%) rename test/stats/samples/duplicate-globals/{input.html => input.svelte} (100%) rename test/stats/samples/duplicate-non-hoistable/{input.html => input.svelte} (100%) rename test/stats/samples/duplicate-vars/{input.html => input.svelte} (100%) rename test/stats/samples/implicit-action/{input.html => input.svelte} (100%) rename test/stats/samples/implicit-reactive/{input.html => input.svelte} (100%) rename test/stats/samples/implicit/{input.html => input.svelte} (100%) rename test/stats/samples/imports/{input.html => input.svelte} (100%) rename test/stats/samples/mutated-vs-reassigned-bindings/{input.html => input.svelte} (100%) rename test/stats/samples/mutated-vs-reassigned/{input.html => input.svelte} (100%) rename test/stats/samples/props/{input.html => input.svelte} (100%) rename test/stats/samples/store-referenced/{input.html => input.svelte} (100%) rename test/stats/samples/store-unreferenced/{input.html => input.svelte} (100%) rename test/stats/samples/template-references/{input.html => input.svelte} (100%) rename test/stats/samples/undeclared/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-alt-text/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-anchor-has-content/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-anchor-in-svg-is-valid/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-anchor-is-valid/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-aria-props/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-aria-role/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-aria-unsupported-element/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-figcaption-right-place/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-figcaption-wrong-place/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-heading-has-content/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-html-has-lang/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-iframe-has-title/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-no-access-key/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-no-autofocus/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-no-distracting-elements/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-not-on-components/{input.html => input.svelte} (64%) rename test/validator/samples/a11y-scope/{input.html => input.svelte} (100%) rename test/validator/samples/a11y-tabindex-no-positive/{input.html => input.svelte} (100%) rename test/validator/samples/action-invalid/{input.html => input.svelte} (100%) delete mode 100644 test/validator/samples/action-on-component/input.html create mode 100644 test/validator/samples/action-on-component/input.svelte rename test/validator/samples/animation-duplicate/{input.html => input.svelte} (100%) rename test/validator/samples/animation-missing/{input.html => input.svelte} (100%) rename test/validator/samples/animation-not-in-each/{input.html => input.svelte} (100%) rename test/validator/samples/animation-not-in-keyed-each/{input.html => input.svelte} (100%) rename test/validator/samples/animation-siblings/{input.html => input.svelte} (100%) rename test/validator/samples/await-component-is-used/{input.html => input.svelte} (77%) rename test/validator/samples/binding-dimensions-svg-child/{input.html => input.svelte} (100%) rename test/validator/samples/binding-dimensions-svg/{input.html => input.svelte} (100%) rename test/validator/samples/binding-dimensions-void/{input.html => input.svelte} (100%) rename test/validator/samples/binding-input-checked/{input.html => input.svelte} (100%) rename test/validator/samples/binding-input-type-boolean/{input.html => input.svelte} (100%) rename test/validator/samples/binding-input-type-dynamic/{input.html => input.svelte} (100%) rename test/validator/samples/binding-invalid-on-element/{input.html => input.svelte} (100%) rename test/validator/samples/binding-invalid-value/{input.html => input.svelte} (100%) rename test/validator/samples/binding-invalid/{input.html => input.svelte} (100%) rename test/validator/samples/binding-select-multiple-dynamic/{input.html => input.svelte} (100%) rename test/validator/samples/component-slot-default-duplicate.skip/{input.html => input.svelte} (100%) rename test/validator/samples/component-slot-default-reserved/{input.html => input.svelte} (100%) rename test/validator/samples/component-slot-dynamic-attribute/{input.html => input.svelte} (58%) rename test/validator/samples/component-slot-dynamic/{input.html => input.svelte} (100%) rename test/validator/samples/component-slot-named-duplicate.skip/{input.html => input.svelte} (100%) rename test/validator/samples/component-slotted-each-block/{input.html => input.svelte} (66%) rename test/validator/samples/component-slotted-if-block/{input.html => input.svelte} (62%) rename test/validator/samples/css-invalid-global-placement/{input.html => input.svelte} (100%) rename test/validator/samples/css-invalid-global/{input.html => input.svelte} (100%) rename test/validator/samples/debug-invalid-args/{input.html => input.svelte} (100%) rename test/validator/samples/default-export/{input.html => input.svelte} (100%) rename test/validator/samples/directive-non-expression/{input.html => input.svelte} (100%) rename test/validator/samples/each-block-invalid-context-destructured/{input.html => input.svelte} (100%) rename test/validator/samples/each-block-invalid-context/{input.html => input.svelte} (100%) rename test/validator/samples/each-block-multiple-children/{input.html => input.svelte} (100%) rename test/validator/samples/empty-block-dev/{input.html => input.svelte} (100%) rename test/validator/samples/empty-block-prod/{input.html => input.svelte} (100%) rename test/validator/samples/event-modifiers-invalid-passive/{input.html => input.svelte} (100%) rename test/validator/samples/event-modifiers-invalid/{input.html => input.svelte} (100%) rename test/validator/samples/event-modifiers-legacy/{input.html => input.svelte} (100%) rename test/validator/samples/event-modifiers-redundant/{input.html => input.svelte} (100%) rename test/validator/samples/missing-component/{input.html => input.svelte} (100%) rename test/validator/samples/multiple-script-default-context/{input.html => input.svelte} (100%) rename test/validator/samples/multiple-script-module-context/{input.html => input.svelte} (100%) rename test/validator/samples/namespace-invalid-unguessable/{input.html => input.svelte} (100%) rename test/validator/samples/namespace-invalid/{input.html => input.svelte} (100%) rename test/validator/samples/namespace-non-literal/{input.html => input.svelte} (100%) rename test/validator/samples/non-empty-block-dev/{input.html => input.svelte} (100%) rename test/validator/samples/prop-slot/{input.html => input.svelte} (51%) rename test/validator/samples/reactive-declaration-cyclical/{input.html => input.svelte} (100%) rename test/validator/samples/ref-not-supported-in-css/{input.html => input.svelte} (100%) rename test/validator/samples/ref-not-supported/{input.html => input.svelte} (100%) rename test/validator/samples/script-invalid-context/{input.html => input.svelte} (100%) rename test/validator/samples/select-multiple/{input.html => input.svelte} (100%) rename test/validator/samples/slot-attribute-invalid/{input.html => input.svelte} (100%) rename test/validator/samples/svg-child-component-declared-namespace/{input.html => input.svelte} (100%) rename test/validator/samples/svg-child-component-undeclared-namespace/{input.html => input.svelte} (100%) rename test/validator/samples/tag-invalid/{input.html => input.svelte} (100%) rename test/validator/samples/tag-non-string/{input.html => input.svelte} (100%) rename test/validator/samples/textarea-value-children/{input.html => input.svelte} (100%) rename test/validator/samples/title-no-attributes/{input.html => input.svelte} (100%) rename test/validator/samples/title-no-children/{input.html => input.svelte} (100%) rename test/validator/samples/transition-duplicate-in-transition/{input.html => input.svelte} (100%) rename test/validator/samples/transition-duplicate-in/{input.html => input.svelte} (100%) rename test/validator/samples/transition-duplicate-out-transition/{input.html => input.svelte} (100%) rename test/validator/samples/transition-duplicate-out/{input.html => input.svelte} (100%) rename test/validator/samples/transition-duplicate-transition-in/{input.html => input.svelte} (100%) rename test/validator/samples/transition-duplicate-transition-out/{input.html => input.svelte} (100%) rename test/validator/samples/transition-duplicate-transition/{input.html => input.svelte} (100%) rename test/validator/samples/transition-missing/{input.html => input.svelte} (100%) delete mode 100644 test/validator/samples/transition-on-component/input.html create mode 100644 test/validator/samples/transition-on-component/input.svelte rename test/validator/samples/undefined-value/{input.html => input.svelte} (100%) rename test/validator/samples/window-binding-invalid-innerwidth/{input.html => input.svelte} (100%) rename test/validator/samples/window-binding-invalid-value/{input.html => input.svelte} (100%) rename test/validator/samples/window-binding-invalid-width/{input.html => input.svelte} (100%) rename test/validator/samples/window-binding-invalid/{input.html => input.svelte} (100%) rename test/validator/samples/window-binding-online/{input.html => input.svelte} (100%) diff --git a/test/cli/samples/basic/src/Main.html b/test/cli/samples/basic/src/Main.svelte similarity index 100% rename from test/cli/samples/basic/src/Main.html rename to test/cli/samples/basic/src/Main.svelte diff --git a/test/cli/samples/custom-element/src/Main.html b/test/cli/samples/custom-element/src/Main.svelte similarity index 100% rename from test/cli/samples/custom-element/src/Main.html rename to test/cli/samples/custom-element/src/Main.svelte diff --git a/test/cli/samples/dev/src/Main.html b/test/cli/samples/dev/src/Main.svelte similarity index 100% rename from test/cli/samples/dev/src/Main.html rename to test/cli/samples/dev/src/Main.svelte diff --git a/test/cli/samples/dir-sourcemap/src/Main.html b/test/cli/samples/dir-sourcemap/src/Main.html deleted file mode 100644 index cbcde3f1ed..0000000000 --- a/test/cli/samples/dir-sourcemap/src/Main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/cli/samples/dir-sourcemap/src/Main.svelte b/test/cli/samples/dir-sourcemap/src/Main.svelte new file mode 100644 index 0000000000..0a9d5bba87 --- /dev/null +++ b/test/cli/samples/dir-sourcemap/src/Main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/cli/samples/dir-sourcemap/src/Widget.html b/test/cli/samples/dir-sourcemap/src/Widget.svelte similarity index 100% rename from test/cli/samples/dir-sourcemap/src/Widget.html rename to test/cli/samples/dir-sourcemap/src/Widget.svelte diff --git a/test/cli/samples/dir-subdir/src/Main.html b/test/cli/samples/dir-subdir/src/Main.html deleted file mode 100644 index 89391562d5..0000000000 --- a/test/cli/samples/dir-subdir/src/Main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/cli/samples/dir-subdir/src/Main.svelte b/test/cli/samples/dir-subdir/src/Main.svelte new file mode 100644 index 0000000000..ac663b4338 --- /dev/null +++ b/test/cli/samples/dir-subdir/src/Main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/cli/samples/dir-subdir/src/widget/Widget.html b/test/cli/samples/dir-subdir/src/widget/Widget.svelte similarity index 100% rename from test/cli/samples/dir-subdir/src/widget/Widget.html rename to test/cli/samples/dir-subdir/src/widget/Widget.svelte diff --git a/test/cli/samples/dir/src/Main.html b/test/cli/samples/dir/src/Main.html deleted file mode 100644 index cbcde3f1ed..0000000000 --- a/test/cli/samples/dir/src/Main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/cli/samples/dir/src/Main.svelte b/test/cli/samples/dir/src/Main.svelte new file mode 100644 index 0000000000..0a9d5bba87 --- /dev/null +++ b/test/cli/samples/dir/src/Main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/cli/samples/dir/src/Widget.html b/test/cli/samples/dir/src/Widget.svelte similarity index 100% rename from test/cli/samples/dir/src/Widget.html rename to test/cli/samples/dir/src/Widget.svelte diff --git a/test/cli/samples/globals/src/Main.html b/test/cli/samples/globals/src/Main.svelte similarity index 100% rename from test/cli/samples/globals/src/Main.html rename to test/cli/samples/globals/src/Main.svelte diff --git a/test/cli/samples/sourcemap-inline/src/Main.html b/test/cli/samples/sourcemap-inline/src/Main.svelte similarity index 100% rename from test/cli/samples/sourcemap-inline/src/Main.html rename to test/cli/samples/sourcemap-inline/src/Main.svelte diff --git a/test/cli/samples/sourcemap/src/Main.html b/test/cli/samples/sourcemap/src/Main.svelte similarity index 100% rename from test/cli/samples/sourcemap/src/Main.html rename to test/cli/samples/sourcemap/src/Main.svelte diff --git a/test/cli/samples/ssr/src/Main.html b/test/cli/samples/ssr/src/Main.svelte similarity index 100% rename from test/cli/samples/ssr/src/Main.html rename to test/cli/samples/ssr/src/Main.svelte diff --git a/test/cli/samples/store/src/Main.html b/test/cli/samples/store/src/Main.svelte similarity index 100% rename from test/cli/samples/store/src/Main.html rename to test/cli/samples/store/src/Main.svelte diff --git a/test/css/samples/attribute-selector-only-name/input.html b/test/css/samples/attribute-selector-only-name/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-only-name/input.html rename to test/css/samples/attribute-selector-only-name/input.svelte diff --git a/test/css/samples/attribute-selector-unquoted/input.html b/test/css/samples/attribute-selector-unquoted/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-unquoted/input.html rename to test/css/samples/attribute-selector-unquoted/input.svelte diff --git a/test/css/samples/basic/input.html b/test/css/samples/basic/input.svelte similarity index 100% rename from test/css/samples/basic/input.html rename to test/css/samples/basic/input.svelte diff --git a/test/css/samples/combinator-child/expected.html b/test/css/samples/combinator-child/expected.svelte similarity index 100% rename from test/css/samples/combinator-child/expected.html rename to test/css/samples/combinator-child/expected.svelte diff --git a/test/css/samples/combinator-child/input.html b/test/css/samples/combinator-child/input.svelte similarity index 100% rename from test/css/samples/combinator-child/input.html rename to test/css/samples/combinator-child/input.svelte diff --git a/test/css/samples/css-vars/input.html b/test/css/samples/css-vars/input.svelte similarity index 100% rename from test/css/samples/css-vars/input.html rename to test/css/samples/css-vars/input.svelte diff --git a/test/css/samples/descendant-selector-non-top-level-outer/expected.html b/test/css/samples/descendant-selector-non-top-level-outer/expected.svelte similarity index 100% rename from test/css/samples/descendant-selector-non-top-level-outer/expected.html rename to test/css/samples/descendant-selector-non-top-level-outer/expected.svelte diff --git a/test/css/samples/descendant-selector-non-top-level-outer/input.html b/test/css/samples/descendant-selector-non-top-level-outer/input.svelte similarity index 100% rename from test/css/samples/descendant-selector-non-top-level-outer/input.html rename to test/css/samples/descendant-selector-non-top-level-outer/input.svelte diff --git a/test/css/samples/empty-class/input.html b/test/css/samples/empty-class/input.svelte similarity index 100% rename from test/css/samples/empty-class/input.html rename to test/css/samples/empty-class/input.svelte diff --git a/test/css/samples/empty-rule-dev/input.html b/test/css/samples/empty-rule-dev/input.svelte similarity index 100% rename from test/css/samples/empty-rule-dev/input.html rename to test/css/samples/empty-rule-dev/input.svelte diff --git a/test/css/samples/empty-rule/input.html b/test/css/samples/empty-rule/input.svelte similarity index 100% rename from test/css/samples/empty-rule/input.html rename to test/css/samples/empty-rule/input.svelte diff --git a/test/css/samples/global-keyframes/input.html b/test/css/samples/global-keyframes/input.svelte similarity index 100% rename from test/css/samples/global-keyframes/input.html rename to test/css/samples/global-keyframes/input.svelte diff --git a/test/css/samples/global/input.html b/test/css/samples/global/input.svelte similarity index 100% rename from test/css/samples/global/input.html rename to test/css/samples/global/input.svelte diff --git a/test/css/samples/keyframes-autoprefixed/input.html b/test/css/samples/keyframes-autoprefixed/input.svelte similarity index 100% rename from test/css/samples/keyframes-autoprefixed/input.html rename to test/css/samples/keyframes-autoprefixed/input.svelte diff --git a/test/css/samples/keyframes-from-to/input.html b/test/css/samples/keyframes-from-to/input.svelte similarity index 100% rename from test/css/samples/keyframes-from-to/input.html rename to test/css/samples/keyframes-from-to/input.svelte diff --git a/test/css/samples/keyframes/input.html b/test/css/samples/keyframes/input.svelte similarity index 100% rename from test/css/samples/keyframes/input.html rename to test/css/samples/keyframes/input.svelte diff --git a/test/css/samples/local-inside-global/input.html b/test/css/samples/local-inside-global/input.svelte similarity index 100% rename from test/css/samples/local-inside-global/input.html rename to test/css/samples/local-inside-global/input.svelte diff --git a/test/css/samples/media-query-word/input.html b/test/css/samples/media-query-word/input.svelte similarity index 100% rename from test/css/samples/media-query-word/input.html rename to test/css/samples/media-query-word/input.svelte diff --git a/test/css/samples/media-query/input.html b/test/css/samples/media-query/input.svelte similarity index 100% rename from test/css/samples/media-query/input.html rename to test/css/samples/media-query/input.svelte diff --git a/test/css/samples/nested/expected.html b/test/css/samples/nested/expected.svelte similarity index 100% rename from test/css/samples/nested/expected.html rename to test/css/samples/nested/expected.svelte diff --git a/test/css/samples/nested/input.html b/test/css/samples/nested/input.svelte similarity index 100% rename from test/css/samples/nested/input.html rename to test/css/samples/nested/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-contains/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-contains/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-contains/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-contains/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-equals/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-prefix/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-prefix/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-suffix/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-suffix/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector/expected.html b/test/css/samples/omit-scoping-attribute-attribute-selector/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector/expected.html rename to test/css/samples/omit-scoping-attribute-attribute-selector/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector/input.html b/test/css/samples/omit-scoping-attribute-attribute-selector/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector/input.html rename to test/css/samples/omit-scoping-attribute-attribute-selector/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-class-dynamic/expected.html b/test/css/samples/omit-scoping-attribute-class-dynamic/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-dynamic/expected.html rename to test/css/samples/omit-scoping-attribute-class-dynamic/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-class-dynamic/input.html b/test/css/samples/omit-scoping-attribute-class-dynamic/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-dynamic/input.html rename to test/css/samples/omit-scoping-attribute-class-dynamic/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-class-static/expected.html b/test/css/samples/omit-scoping-attribute-class-static/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-static/expected.html rename to test/css/samples/omit-scoping-attribute-class-static/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-class-static/input.html b/test/css/samples/omit-scoping-attribute-class-static/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-static/input.html rename to test/css/samples/omit-scoping-attribute-class-static/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.html b/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.html rename to test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/input.html b/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-class/input.html rename to test/css/samples/omit-scoping-attribute-descendant-global-inner-class/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.html b/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.html rename to test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/input.html b/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/input.html rename to test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.html b/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.html rename to test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/input.html b/test/css/samples/omit-scoping-attribute-descendant-global-inner/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner/input.html rename to test/css/samples/omit-scoping-attribute-descendant-global-inner/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.html b/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.html rename to test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/input.html b/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/input.html rename to test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.html b/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.html rename to test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/input.html b/test/css/samples/omit-scoping-attribute-descendant-global-outer/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer/input.html rename to test/css/samples/omit-scoping-attribute-descendant-global-outer/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant/expected.html b/test/css/samples/omit-scoping-attribute-descendant/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant/expected.html rename to test/css/samples/omit-scoping-attribute-descendant/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant/input.html b/test/css/samples/omit-scoping-attribute-descendant/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant/input.html rename to test/css/samples/omit-scoping-attribute-descendant/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-global/expected.html b/test/css/samples/omit-scoping-attribute-global/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-global/expected.html rename to test/css/samples/omit-scoping-attribute-global/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-global/input.html b/test/css/samples/omit-scoping-attribute-global/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-global/input.html rename to test/css/samples/omit-scoping-attribute-global/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-id/expected.html b/test/css/samples/omit-scoping-attribute-id/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-id/expected.html rename to test/css/samples/omit-scoping-attribute-id/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-id/input.html b/test/css/samples/omit-scoping-attribute-id/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-id/input.html rename to test/css/samples/omit-scoping-attribute-id/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html b/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html rename to test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-whitespace-multiple/input.html b/test/css/samples/omit-scoping-attribute-whitespace-multiple/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace-multiple/input.html rename to test/css/samples/omit-scoping-attribute-whitespace-multiple/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-whitespace/expected.html b/test/css/samples/omit-scoping-attribute-whitespace/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace/expected.html rename to test/css/samples/omit-scoping-attribute-whitespace/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute-whitespace/input.html b/test/css/samples/omit-scoping-attribute-whitespace/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace/input.html rename to test/css/samples/omit-scoping-attribute-whitespace/input.svelte diff --git a/test/css/samples/omit-scoping-attribute/expected.html b/test/css/samples/omit-scoping-attribute/expected.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute/expected.html rename to test/css/samples/omit-scoping-attribute/expected.svelte diff --git a/test/css/samples/omit-scoping-attribute/input.html b/test/css/samples/omit-scoping-attribute/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute/input.html rename to test/css/samples/omit-scoping-attribute/input.svelte diff --git a/test/css/samples/pseudo-element/input.html b/test/css/samples/pseudo-element/input.svelte similarity index 100% rename from test/css/samples/pseudo-element/input.html rename to test/css/samples/pseudo-element/input.svelte diff --git a/test/css/samples/spread/input.html b/test/css/samples/spread/input.svelte similarity index 100% rename from test/css/samples/spread/input.html rename to test/css/samples/spread/input.svelte diff --git a/test/css/samples/supports-query/input.html b/test/css/samples/supports-query/input.svelte similarity index 100% rename from test/css/samples/supports-query/input.html rename to test/css/samples/supports-query/input.svelte diff --git a/test/css/samples/universal-selector/input.html b/test/css/samples/universal-selector/input.svelte similarity index 100% rename from test/css/samples/universal-selector/input.html rename to test/css/samples/universal-selector/input.svelte diff --git a/test/css/samples/unknown-at-rule/input.html b/test/css/samples/unknown-at-rule/input.svelte similarity index 100% rename from test/css/samples/unknown-at-rule/input.html rename to test/css/samples/unknown-at-rule/input.svelte diff --git a/test/css/samples/unused-selector-leading/expected.html b/test/css/samples/unused-selector-leading/expected.svelte similarity index 100% rename from test/css/samples/unused-selector-leading/expected.html rename to test/css/samples/unused-selector-leading/expected.svelte diff --git a/test/css/samples/unused-selector-leading/input.html b/test/css/samples/unused-selector-leading/input.svelte similarity index 100% rename from test/css/samples/unused-selector-leading/input.html rename to test/css/samples/unused-selector-leading/input.svelte diff --git a/test/css/samples/unused-selector-ternary/expected.html b/test/css/samples/unused-selector-ternary/expected.svelte similarity index 100% rename from test/css/samples/unused-selector-ternary/expected.html rename to test/css/samples/unused-selector-ternary/expected.svelte diff --git a/test/css/samples/unused-selector-ternary/input.html b/test/css/samples/unused-selector-ternary/input.svelte similarity index 100% rename from test/css/samples/unused-selector-ternary/input.html rename to test/css/samples/unused-selector-ternary/input.svelte diff --git a/test/css/samples/unused-selector/expected.html b/test/css/samples/unused-selector/expected.svelte similarity index 100% rename from test/css/samples/unused-selector/expected.html rename to test/css/samples/unused-selector/expected.svelte diff --git a/test/css/samples/unused-selector/input.html b/test/css/samples/unused-selector/input.svelte similarity index 100% rename from test/css/samples/unused-selector/input.html rename to test/css/samples/unused-selector/input.svelte diff --git a/test/custom-elements/samples/custom-method/main.html b/test/custom-elements/samples/custom-method/main.svelte similarity index 100% rename from test/custom-elements/samples/custom-method/main.html rename to test/custom-elements/samples/custom-method/main.svelte diff --git a/test/custom-elements/samples/escaped-css/main.html b/test/custom-elements/samples/escaped-css/main.svelte similarity index 100% rename from test/custom-elements/samples/escaped-css/main.html rename to test/custom-elements/samples/escaped-css/main.svelte diff --git a/test/custom-elements/samples/html-slots/main.html b/test/custom-elements/samples/html-slots/main.svelte similarity index 100% rename from test/custom-elements/samples/html-slots/main.html rename to test/custom-elements/samples/html-slots/main.svelte diff --git a/test/custom-elements/samples/html/main.html b/test/custom-elements/samples/html/main.svelte similarity index 100% rename from test/custom-elements/samples/html/main.html rename to test/custom-elements/samples/html/main.svelte diff --git a/test/custom-elements/samples/nested.skip/Counter.html b/test/custom-elements/samples/nested.skip/Counter.svelte similarity index 100% rename from test/custom-elements/samples/nested.skip/Counter.html rename to test/custom-elements/samples/nested.skip/Counter.svelte diff --git a/test/custom-elements/samples/nested.skip/main.html b/test/custom-elements/samples/nested.skip/main.svelte similarity index 75% rename from test/custom-elements/samples/nested.skip/main.html rename to test/custom-elements/samples/nested.skip/main.svelte index 90459c83eb..cb26008061 100644 --- a/test/custom-elements/samples/nested.skip/main.html +++ b/test/custom-elements/samples/nested.skip/main.svelte @@ -1,7 +1,7 @@ diff --git a/test/custom-elements/samples/new-styled/main.html b/test/custom-elements/samples/new-styled/main.svelte similarity index 100% rename from test/custom-elements/samples/new-styled/main.html rename to test/custom-elements/samples/new-styled/main.svelte diff --git a/test/custom-elements/samples/new/main.html b/test/custom-elements/samples/new/main.svelte similarity index 100% rename from test/custom-elements/samples/new/main.html rename to test/custom-elements/samples/new/main.svelte diff --git a/test/custom-elements/samples/no-missing-prop-warnings/main.html b/test/custom-elements/samples/no-missing-prop-warnings/main.svelte similarity index 100% rename from test/custom-elements/samples/no-missing-prop-warnings/main.html rename to test/custom-elements/samples/no-missing-prop-warnings/main.svelte diff --git a/test/custom-elements/samples/oncreate/main.html b/test/custom-elements/samples/oncreate/main.svelte similarity index 100% rename from test/custom-elements/samples/oncreate/main.html rename to test/custom-elements/samples/oncreate/main.svelte diff --git a/test/custom-elements/samples/props/main.html b/test/custom-elements/samples/props/main.svelte similarity index 81% rename from test/custom-elements/samples/props/main.html rename to test/custom-elements/samples/props/main.svelte index b36c7f3e3d..80b483bf6e 100644 --- a/test/custom-elements/samples/props/main.html +++ b/test/custom-elements/samples/props/main.svelte @@ -1,7 +1,7 @@ diff --git a/test/custom-elements/samples/props/my-widget.html b/test/custom-elements/samples/props/my-widget.svelte similarity index 100% rename from test/custom-elements/samples/props/my-widget.html rename to test/custom-elements/samples/props/my-widget.svelte diff --git a/test/hydration/samples/basic/_after.html b/test/hydration/samples/basic/_after.svelte similarity index 100% rename from test/hydration/samples/basic/_after.html rename to test/hydration/samples/basic/_after.svelte diff --git a/test/hydration/samples/basic/_before.html b/test/hydration/samples/basic/_before.svelte similarity index 100% rename from test/hydration/samples/basic/_before.html rename to test/hydration/samples/basic/_before.svelte diff --git a/test/hydration/samples/basic/main.html b/test/hydration/samples/basic/main.svelte similarity index 100% rename from test/hydration/samples/basic/main.html rename to test/hydration/samples/basic/main.svelte diff --git a/test/hydration/samples/binding-input/_after.html b/test/hydration/samples/binding-input/_after.svelte similarity index 100% rename from test/hydration/samples/binding-input/_after.html rename to test/hydration/samples/binding-input/_after.svelte diff --git a/test/hydration/samples/binding-input/_before.html b/test/hydration/samples/binding-input/_before.svelte similarity index 100% rename from test/hydration/samples/binding-input/_before.html rename to test/hydration/samples/binding-input/_before.svelte diff --git a/test/hydration/samples/binding-input/main.html b/test/hydration/samples/binding-input/main.svelte similarity index 100% rename from test/hydration/samples/binding-input/main.html rename to test/hydration/samples/binding-input/main.svelte diff --git a/test/hydration/samples/component-in-element/Nested.html b/test/hydration/samples/component-in-element/Nested.svelte similarity index 100% rename from test/hydration/samples/component-in-element/Nested.html rename to test/hydration/samples/component-in-element/Nested.svelte diff --git a/test/hydration/samples/component-in-element/_after.html b/test/hydration/samples/component-in-element/_after.svelte similarity index 100% rename from test/hydration/samples/component-in-element/_after.html rename to test/hydration/samples/component-in-element/_after.svelte diff --git a/test/hydration/samples/component-in-element/_before.html b/test/hydration/samples/component-in-element/_before.svelte similarity index 100% rename from test/hydration/samples/component-in-element/_before.html rename to test/hydration/samples/component-in-element/_before.svelte diff --git a/test/hydration/samples/component-in-element/main.html b/test/hydration/samples/component-in-element/main.html deleted file mode 100644 index 4367a831ea..0000000000 --- a/test/hydration/samples/component-in-element/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - -
- -
\ No newline at end of file diff --git a/test/hydration/samples/component-in-element/main.svelte b/test/hydration/samples/component-in-element/main.svelte new file mode 100644 index 0000000000..f1d903fcd6 --- /dev/null +++ b/test/hydration/samples/component-in-element/main.svelte @@ -0,0 +1,7 @@ + + +
+ +
\ No newline at end of file diff --git a/test/hydration/samples/component/Nested.html b/test/hydration/samples/component/Nested.svelte similarity index 100% rename from test/hydration/samples/component/Nested.html rename to test/hydration/samples/component/Nested.svelte diff --git a/test/hydration/samples/component/_after.html b/test/hydration/samples/component/_after.svelte similarity index 100% rename from test/hydration/samples/component/_after.html rename to test/hydration/samples/component/_after.svelte diff --git a/test/hydration/samples/component/_before.html b/test/hydration/samples/component/_before.svelte similarity index 100% rename from test/hydration/samples/component/_before.html rename to test/hydration/samples/component/_before.svelte diff --git a/test/hydration/samples/component/main.html b/test/hydration/samples/component/main.html deleted file mode 100644 index 583835f46a..0000000000 --- a/test/hydration/samples/component/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/hydration/samples/component/main.svelte b/test/hydration/samples/component/main.svelte new file mode 100644 index 0000000000..469c37f719 --- /dev/null +++ b/test/hydration/samples/component/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/hydration/samples/dynamic-text-changed/_after.html b/test/hydration/samples/dynamic-text-changed/_after.svelte similarity index 100% rename from test/hydration/samples/dynamic-text-changed/_after.html rename to test/hydration/samples/dynamic-text-changed/_after.svelte diff --git a/test/hydration/samples/dynamic-text-changed/_before.html b/test/hydration/samples/dynamic-text-changed/_before.svelte similarity index 100% rename from test/hydration/samples/dynamic-text-changed/_before.html rename to test/hydration/samples/dynamic-text-changed/_before.svelte diff --git a/test/hydration/samples/dynamic-text-changed/main.html b/test/hydration/samples/dynamic-text-changed/main.svelte similarity index 100% rename from test/hydration/samples/dynamic-text-changed/main.html rename to test/hydration/samples/dynamic-text-changed/main.svelte diff --git a/test/hydration/samples/dynamic-text/_after.html b/test/hydration/samples/dynamic-text/_after.svelte similarity index 100% rename from test/hydration/samples/dynamic-text/_after.html rename to test/hydration/samples/dynamic-text/_after.svelte diff --git a/test/hydration/samples/dynamic-text/_before.html b/test/hydration/samples/dynamic-text/_before.svelte similarity index 100% rename from test/hydration/samples/dynamic-text/_before.html rename to test/hydration/samples/dynamic-text/_before.svelte diff --git a/test/hydration/samples/dynamic-text/main.html b/test/hydration/samples/dynamic-text/main.svelte similarity index 100% rename from test/hydration/samples/dynamic-text/main.html rename to test/hydration/samples/dynamic-text/main.svelte diff --git a/test/hydration/samples/each-block-arg-clash/_after.html b/test/hydration/samples/each-block-arg-clash/_after.svelte similarity index 100% rename from test/hydration/samples/each-block-arg-clash/_after.html rename to test/hydration/samples/each-block-arg-clash/_after.svelte diff --git a/test/hydration/samples/each-block-arg-clash/_before.html b/test/hydration/samples/each-block-arg-clash/_before.svelte similarity index 100% rename from test/hydration/samples/each-block-arg-clash/_before.html rename to test/hydration/samples/each-block-arg-clash/_before.svelte diff --git a/test/hydration/samples/each-block-arg-clash/main.html b/test/hydration/samples/each-block-arg-clash/main.svelte similarity index 100% rename from test/hydration/samples/each-block-arg-clash/main.html rename to test/hydration/samples/each-block-arg-clash/main.svelte diff --git a/test/hydration/samples/each-block/_after.html b/test/hydration/samples/each-block/_after.svelte similarity index 100% rename from test/hydration/samples/each-block/_after.html rename to test/hydration/samples/each-block/_after.svelte diff --git a/test/hydration/samples/each-block/_before.html b/test/hydration/samples/each-block/_before.svelte similarity index 100% rename from test/hydration/samples/each-block/_before.html rename to test/hydration/samples/each-block/_before.svelte diff --git a/test/hydration/samples/each-block/main.html b/test/hydration/samples/each-block/main.svelte similarity index 100% rename from test/hydration/samples/each-block/main.html rename to test/hydration/samples/each-block/main.svelte diff --git a/test/hydration/samples/element-attribute-added/_after.html b/test/hydration/samples/element-attribute-added/_after.svelte similarity index 100% rename from test/hydration/samples/element-attribute-added/_after.html rename to test/hydration/samples/element-attribute-added/_after.svelte diff --git a/test/hydration/samples/element-attribute-added/_before.html b/test/hydration/samples/element-attribute-added/_before.svelte similarity index 100% rename from test/hydration/samples/element-attribute-added/_before.html rename to test/hydration/samples/element-attribute-added/_before.svelte diff --git a/test/hydration/samples/element-attribute-added/main.html b/test/hydration/samples/element-attribute-added/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-added/main.html rename to test/hydration/samples/element-attribute-added/main.svelte diff --git a/test/hydration/samples/element-attribute-changed/_after.html b/test/hydration/samples/element-attribute-changed/_after.svelte similarity index 100% rename from test/hydration/samples/element-attribute-changed/_after.html rename to test/hydration/samples/element-attribute-changed/_after.svelte diff --git a/test/hydration/samples/element-attribute-changed/_before.html b/test/hydration/samples/element-attribute-changed/_before.svelte similarity index 100% rename from test/hydration/samples/element-attribute-changed/_before.html rename to test/hydration/samples/element-attribute-changed/_before.svelte diff --git a/test/hydration/samples/element-attribute-changed/main.html b/test/hydration/samples/element-attribute-changed/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-changed/main.html rename to test/hydration/samples/element-attribute-changed/main.svelte diff --git a/test/hydration/samples/element-attribute-removed/_after.html b/test/hydration/samples/element-attribute-removed/_after.svelte similarity index 100% rename from test/hydration/samples/element-attribute-removed/_after.html rename to test/hydration/samples/element-attribute-removed/_after.svelte diff --git a/test/hydration/samples/element-attribute-removed/_before.html b/test/hydration/samples/element-attribute-removed/_before.svelte similarity index 100% rename from test/hydration/samples/element-attribute-removed/_before.html rename to test/hydration/samples/element-attribute-removed/_before.svelte diff --git a/test/hydration/samples/element-attribute-removed/main.html b/test/hydration/samples/element-attribute-removed/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-removed/main.html rename to test/hydration/samples/element-attribute-removed/main.svelte diff --git a/test/hydration/samples/element-attribute-unchanged/_after.html b/test/hydration/samples/element-attribute-unchanged/_after.svelte similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/_after.html rename to test/hydration/samples/element-attribute-unchanged/_after.svelte diff --git a/test/hydration/samples/element-attribute-unchanged/_before.html b/test/hydration/samples/element-attribute-unchanged/_before.svelte similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/_before.html rename to test/hydration/samples/element-attribute-unchanged/_before.svelte diff --git a/test/hydration/samples/element-attribute-unchanged/main.html b/test/hydration/samples/element-attribute-unchanged/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/main.html rename to test/hydration/samples/element-attribute-unchanged/main.svelte diff --git a/test/hydration/samples/element-nested/_after.html b/test/hydration/samples/element-nested/_after.svelte similarity index 100% rename from test/hydration/samples/element-nested/_after.html rename to test/hydration/samples/element-nested/_after.svelte diff --git a/test/hydration/samples/element-nested/_before.html b/test/hydration/samples/element-nested/_before.svelte similarity index 100% rename from test/hydration/samples/element-nested/_before.html rename to test/hydration/samples/element-nested/_before.svelte diff --git a/test/hydration/samples/element-nested/main.html b/test/hydration/samples/element-nested/main.svelte similarity index 100% rename from test/hydration/samples/element-nested/main.html rename to test/hydration/samples/element-nested/main.svelte diff --git a/test/hydration/samples/element-ref/_after.html b/test/hydration/samples/element-ref/_after.svelte similarity index 100% rename from test/hydration/samples/element-ref/_after.html rename to test/hydration/samples/element-ref/_after.svelte diff --git a/test/hydration/samples/element-ref/_before.html b/test/hydration/samples/element-ref/_before.svelte similarity index 100% rename from test/hydration/samples/element-ref/_before.html rename to test/hydration/samples/element-ref/_before.svelte diff --git a/test/hydration/samples/element-ref/main.html b/test/hydration/samples/element-ref/main.svelte similarity index 100% rename from test/hydration/samples/element-ref/main.html rename to test/hydration/samples/element-ref/main.svelte diff --git a/test/hydration/samples/event-handler/_after.html b/test/hydration/samples/event-handler/_after.svelte similarity index 100% rename from test/hydration/samples/event-handler/_after.html rename to test/hydration/samples/event-handler/_after.svelte diff --git a/test/hydration/samples/event-handler/_before.html b/test/hydration/samples/event-handler/_before.svelte similarity index 100% rename from test/hydration/samples/event-handler/_before.html rename to test/hydration/samples/event-handler/_before.svelte diff --git a/test/hydration/samples/event-handler/main.html b/test/hydration/samples/event-handler/main.svelte similarity index 100% rename from test/hydration/samples/event-handler/main.html rename to test/hydration/samples/event-handler/main.svelte diff --git a/test/hydration/samples/if-block-anchor/_after.html b/test/hydration/samples/if-block-anchor/_after.svelte similarity index 100% rename from test/hydration/samples/if-block-anchor/_after.html rename to test/hydration/samples/if-block-anchor/_after.svelte diff --git a/test/hydration/samples/if-block-anchor/_before.html b/test/hydration/samples/if-block-anchor/_before.svelte similarity index 100% rename from test/hydration/samples/if-block-anchor/_before.html rename to test/hydration/samples/if-block-anchor/_before.svelte diff --git a/test/hydration/samples/if-block-anchor/main.html b/test/hydration/samples/if-block-anchor/main.svelte similarity index 100% rename from test/hydration/samples/if-block-anchor/main.html rename to test/hydration/samples/if-block-anchor/main.svelte diff --git a/test/hydration/samples/if-block-false/_after.html b/test/hydration/samples/if-block-false/_after.svelte similarity index 100% rename from test/hydration/samples/if-block-false/_after.html rename to test/hydration/samples/if-block-false/_after.svelte diff --git a/test/hydration/samples/if-block-false/_before.html b/test/hydration/samples/if-block-false/_before.svelte similarity index 100% rename from test/hydration/samples/if-block-false/_before.html rename to test/hydration/samples/if-block-false/_before.svelte diff --git a/test/hydration/samples/if-block-false/main.html b/test/hydration/samples/if-block-false/main.svelte similarity index 100% rename from test/hydration/samples/if-block-false/main.html rename to test/hydration/samples/if-block-false/main.svelte diff --git a/test/hydration/samples/if-block-update/_after.html b/test/hydration/samples/if-block-update/_after.svelte similarity index 100% rename from test/hydration/samples/if-block-update/_after.html rename to test/hydration/samples/if-block-update/_after.svelte diff --git a/test/hydration/samples/if-block-update/_before.html b/test/hydration/samples/if-block-update/_before.svelte similarity index 100% rename from test/hydration/samples/if-block-update/_before.html rename to test/hydration/samples/if-block-update/_before.svelte diff --git a/test/hydration/samples/if-block-update/main.html b/test/hydration/samples/if-block-update/main.svelte similarity index 100% rename from test/hydration/samples/if-block-update/main.html rename to test/hydration/samples/if-block-update/main.svelte diff --git a/test/hydration/samples/if-block/_after.html b/test/hydration/samples/if-block/_after.svelte similarity index 100% rename from test/hydration/samples/if-block/_after.html rename to test/hydration/samples/if-block/_after.svelte diff --git a/test/hydration/samples/if-block/_before.html b/test/hydration/samples/if-block/_before.svelte similarity index 100% rename from test/hydration/samples/if-block/_before.html rename to test/hydration/samples/if-block/_before.svelte diff --git a/test/hydration/samples/if-block/main.html b/test/hydration/samples/if-block/main.svelte similarity index 100% rename from test/hydration/samples/if-block/main.html rename to test/hydration/samples/if-block/main.svelte diff --git a/test/hydration/samples/raw/_after.html b/test/hydration/samples/raw/_after.svelte similarity index 100% rename from test/hydration/samples/raw/_after.html rename to test/hydration/samples/raw/_after.svelte diff --git a/test/hydration/samples/raw/_before.html b/test/hydration/samples/raw/_before.svelte similarity index 100% rename from test/hydration/samples/raw/_before.html rename to test/hydration/samples/raw/_before.svelte diff --git a/test/hydration/samples/raw/main.html b/test/hydration/samples/raw/main.svelte similarity index 100% rename from test/hydration/samples/raw/main.html rename to test/hydration/samples/raw/main.svelte diff --git a/test/hydration/samples/top-level-text/_after.html b/test/hydration/samples/top-level-text/_after.svelte similarity index 100% rename from test/hydration/samples/top-level-text/_after.html rename to test/hydration/samples/top-level-text/_after.svelte diff --git a/test/hydration/samples/top-level-text/_before.html b/test/hydration/samples/top-level-text/_before.svelte similarity index 100% rename from test/hydration/samples/top-level-text/_before.html rename to test/hydration/samples/top-level-text/_before.svelte diff --git a/test/hydration/samples/top-level-text/main.html b/test/hydration/samples/top-level-text/main.svelte similarity index 100% rename from test/hydration/samples/top-level-text/main.html rename to test/hydration/samples/top-level-text/main.svelte diff --git a/test/js/samples/action-custom-event-handler/input.html b/test/js/samples/action-custom-event-handler/input.svelte similarity index 100% rename from test/js/samples/action-custom-event-handler/input.html rename to test/js/samples/action-custom-event-handler/input.svelte diff --git a/test/js/samples/action/input.html b/test/js/samples/action/input.svelte similarity index 100% rename from test/js/samples/action/input.html rename to test/js/samples/action/input.svelte diff --git a/test/js/samples/bind-width-height/input.html b/test/js/samples/bind-width-height/input.svelte similarity index 100% rename from test/js/samples/bind-width-height/input.html rename to test/js/samples/bind-width-height/input.svelte diff --git a/test/js/samples/collapses-text-around-comments/input.html b/test/js/samples/collapses-text-around-comments/input.svelte similarity index 100% rename from test/js/samples/collapses-text-around-comments/input.html rename to test/js/samples/collapses-text-around-comments/input.svelte diff --git a/test/js/samples/component-static-array/input.html b/test/js/samples/component-static-array/input.svelte similarity index 100% rename from test/js/samples/component-static-array/input.html rename to test/js/samples/component-static-array/input.svelte diff --git a/test/js/samples/component-static-immutable/input.html b/test/js/samples/component-static-immutable/input.svelte similarity index 100% rename from test/js/samples/component-static-immutable/input.html rename to test/js/samples/component-static-immutable/input.svelte diff --git a/test/js/samples/component-static-immutable2/input.html b/test/js/samples/component-static-immutable2/input.svelte similarity index 100% rename from test/js/samples/component-static-immutable2/input.html rename to test/js/samples/component-static-immutable2/input.svelte diff --git a/test/js/samples/component-static/input.html b/test/js/samples/component-static/input.svelte similarity index 100% rename from test/js/samples/component-static/input.html rename to test/js/samples/component-static/input.svelte diff --git a/test/js/samples/computed-collapsed-if/input.html b/test/js/samples/computed-collapsed-if/input.svelte similarity index 100% rename from test/js/samples/computed-collapsed-if/input.html rename to test/js/samples/computed-collapsed-if/input.svelte diff --git a/test/js/samples/css-media-query/input.html b/test/js/samples/css-media-query/input.svelte similarity index 100% rename from test/js/samples/css-media-query/input.html rename to test/js/samples/css-media-query/input.svelte diff --git a/test/js/samples/css-shadow-dom-keyframes/input.html b/test/js/samples/css-shadow-dom-keyframes/input.svelte similarity index 100% rename from test/js/samples/css-shadow-dom-keyframes/input.html rename to test/js/samples/css-shadow-dom-keyframes/input.svelte diff --git a/test/js/samples/debug-empty/input.html b/test/js/samples/debug-empty/input.svelte similarity index 100% rename from test/js/samples/debug-empty/input.html rename to test/js/samples/debug-empty/input.svelte diff --git a/test/js/samples/debug-foo-bar-baz-things/input.html b/test/js/samples/debug-foo-bar-baz-things/input.svelte similarity index 100% rename from test/js/samples/debug-foo-bar-baz-things/input.html rename to test/js/samples/debug-foo-bar-baz-things/input.svelte diff --git a/test/js/samples/debug-foo/input.html b/test/js/samples/debug-foo/input.svelte similarity index 100% rename from test/js/samples/debug-foo/input.html rename to test/js/samples/debug-foo/input.svelte diff --git a/test/js/samples/debug-ssr-foo/input.html b/test/js/samples/debug-ssr-foo/input.svelte similarity index 100% rename from test/js/samples/debug-ssr-foo/input.html rename to test/js/samples/debug-ssr-foo/input.svelte diff --git a/test/js/samples/deconflict-builtins/input.html b/test/js/samples/deconflict-builtins/input.svelte similarity index 100% rename from test/js/samples/deconflict-builtins/input.html rename to test/js/samples/deconflict-builtins/input.svelte diff --git a/test/js/samples/deconflict-globals/input.html b/test/js/samples/deconflict-globals/input.svelte similarity index 100% rename from test/js/samples/deconflict-globals/input.html rename to test/js/samples/deconflict-globals/input.svelte diff --git a/test/js/samples/dev-warning-missing-data-computed/input.html b/test/js/samples/dev-warning-missing-data-computed/input.svelte similarity index 100% rename from test/js/samples/dev-warning-missing-data-computed/input.html rename to test/js/samples/dev-warning-missing-data-computed/input.svelte diff --git a/test/js/samples/do-use-dataset/input.html b/test/js/samples/do-use-dataset/input.svelte similarity index 100% rename from test/js/samples/do-use-dataset/input.html rename to test/js/samples/do-use-dataset/input.svelte diff --git a/test/js/samples/dont-use-dataset-in-legacy/input.html b/test/js/samples/dont-use-dataset-in-legacy/input.svelte similarity index 100% rename from test/js/samples/dont-use-dataset-in-legacy/input.html rename to test/js/samples/dont-use-dataset-in-legacy/input.svelte diff --git a/test/js/samples/dont-use-dataset-in-svg/input.html b/test/js/samples/dont-use-dataset-in-svg/input.svelte similarity index 100% rename from test/js/samples/dont-use-dataset-in-svg/input.html rename to test/js/samples/dont-use-dataset-in-svg/input.svelte diff --git a/test/js/samples/dynamic-import/input.html b/test/js/samples/dynamic-import/input.html deleted file mode 100644 index 3640ef5161..0000000000 --- a/test/js/samples/dynamic-import/input.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/js/samples/dynamic-import/input.svelte b/test/js/samples/dynamic-import/input.svelte new file mode 100644 index 0000000000..7e423b5e46 --- /dev/null +++ b/test/js/samples/dynamic-import/input.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/js/samples/each-block-changed-check/input.html b/test/js/samples/each-block-changed-check/input.svelte similarity index 100% rename from test/js/samples/each-block-changed-check/input.html rename to test/js/samples/each-block-changed-check/input.svelte diff --git a/test/js/samples/each-block-keyed-animated/input.html b/test/js/samples/each-block-keyed-animated/input.svelte similarity index 100% rename from test/js/samples/each-block-keyed-animated/input.html rename to test/js/samples/each-block-keyed-animated/input.svelte diff --git a/test/js/samples/each-block-keyed/input.html b/test/js/samples/each-block-keyed/input.svelte similarity index 100% rename from test/js/samples/each-block-keyed/input.html rename to test/js/samples/each-block-keyed/input.svelte diff --git a/test/js/samples/event-handler-no-passive/input.html b/test/js/samples/event-handler-no-passive/input.svelte similarity index 100% rename from test/js/samples/event-handler-no-passive/input.html rename to test/js/samples/event-handler-no-passive/input.svelte diff --git a/test/js/samples/event-modifiers/input.html b/test/js/samples/event-modifiers/input.svelte similarity index 100% rename from test/js/samples/event-modifiers/input.html rename to test/js/samples/event-modifiers/input.svelte diff --git a/test/js/samples/head-no-whitespace/input.html b/test/js/samples/head-no-whitespace/input.svelte similarity index 100% rename from test/js/samples/head-no-whitespace/input.html rename to test/js/samples/head-no-whitespace/input.svelte diff --git a/test/js/samples/hoisted-const/input.html b/test/js/samples/hoisted-const/input.svelte similarity index 100% rename from test/js/samples/hoisted-const/input.html rename to test/js/samples/hoisted-const/input.svelte diff --git a/test/js/samples/hoisted-let/input.html b/test/js/samples/hoisted-let/input.svelte similarity index 100% rename from test/js/samples/hoisted-let/input.html rename to test/js/samples/hoisted-let/input.svelte diff --git a/test/js/samples/if-block-no-update/input.html b/test/js/samples/if-block-no-update/input.svelte similarity index 100% rename from test/js/samples/if-block-no-update/input.html rename to test/js/samples/if-block-no-update/input.svelte diff --git a/test/js/samples/if-block-simple/input.html b/test/js/samples/if-block-simple/input.svelte similarity index 100% rename from test/js/samples/if-block-simple/input.html rename to test/js/samples/if-block-simple/input.svelte diff --git a/test/js/samples/inline-style-optimized-multiple/input.html b/test/js/samples/inline-style-optimized-multiple/input.svelte similarity index 100% rename from test/js/samples/inline-style-optimized-multiple/input.html rename to test/js/samples/inline-style-optimized-multiple/input.svelte diff --git a/test/js/samples/inline-style-optimized-url/input.html b/test/js/samples/inline-style-optimized-url/input.svelte similarity index 100% rename from test/js/samples/inline-style-optimized-url/input.html rename to test/js/samples/inline-style-optimized-url/input.svelte diff --git a/test/js/samples/inline-style-optimized/input.html b/test/js/samples/inline-style-optimized/input.svelte similarity index 100% rename from test/js/samples/inline-style-optimized/input.html rename to test/js/samples/inline-style-optimized/input.svelte diff --git a/test/js/samples/inline-style-unoptimized/input.html b/test/js/samples/inline-style-unoptimized/input.svelte similarity index 100% rename from test/js/samples/inline-style-unoptimized/input.html rename to test/js/samples/inline-style-unoptimized/input.svelte diff --git a/test/js/samples/input-files/input.html b/test/js/samples/input-files/input.svelte similarity index 100% rename from test/js/samples/input-files/input.html rename to test/js/samples/input-files/input.svelte diff --git a/test/js/samples/input-range/input.html b/test/js/samples/input-range/input.svelte similarity index 100% rename from test/js/samples/input-range/input.html rename to test/js/samples/input-range/input.svelte diff --git a/test/js/samples/input-without-blowback-guard/input.html b/test/js/samples/input-without-blowback-guard/input.svelte similarity index 100% rename from test/js/samples/input-without-blowback-guard/input.html rename to test/js/samples/input-without-blowback-guard/input.svelte diff --git a/test/js/samples/instrumentation-script-if-no-block/input.html b/test/js/samples/instrumentation-script-if-no-block/input.svelte similarity index 100% rename from test/js/samples/instrumentation-script-if-no-block/input.html rename to test/js/samples/instrumentation-script-if-no-block/input.svelte diff --git a/test/js/samples/instrumentation-script-x-equals-x/input.html b/test/js/samples/instrumentation-script-x-equals-x/input.svelte similarity index 100% rename from test/js/samples/instrumentation-script-x-equals-x/input.html rename to test/js/samples/instrumentation-script-x-equals-x/input.svelte diff --git a/test/js/samples/instrumentation-template-if-no-block/input.html b/test/js/samples/instrumentation-template-if-no-block/input.svelte similarity index 100% rename from test/js/samples/instrumentation-template-if-no-block/input.html rename to test/js/samples/instrumentation-template-if-no-block/input.svelte diff --git a/test/js/samples/instrumentation-template-x-equals-x/input.html b/test/js/samples/instrumentation-template-x-equals-x/input.svelte similarity index 100% rename from test/js/samples/instrumentation-template-x-equals-x/input.html rename to test/js/samples/instrumentation-template-x-equals-x/input.svelte diff --git a/test/js/samples/legacy-input-type/input.html b/test/js/samples/legacy-input-type/input.svelte similarity index 100% rename from test/js/samples/legacy-input-type/input.html rename to test/js/samples/legacy-input-type/input.svelte diff --git a/test/js/samples/media-bindings/input.html b/test/js/samples/media-bindings/input.svelte similarity index 100% rename from test/js/samples/media-bindings/input.html rename to test/js/samples/media-bindings/input.svelte diff --git a/test/js/samples/non-imported-component/input.html b/test/js/samples/non-imported-component/input.html deleted file mode 100644 index 60bb515a3c..0000000000 --- a/test/js/samples/non-imported-component/input.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/test/js/samples/non-imported-component/input.svelte b/test/js/samples/non-imported-component/input.svelte new file mode 100644 index 0000000000..fb2054bc7f --- /dev/null +++ b/test/js/samples/non-imported-component/input.svelte @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/test/js/samples/non-mutable-reference/input.html b/test/js/samples/non-mutable-reference/input.svelte similarity index 100% rename from test/js/samples/non-mutable-reference/input.html rename to test/js/samples/non-mutable-reference/input.svelte diff --git a/test/js/samples/reactive-values-non-topologically-ordered/input.html b/test/js/samples/reactive-values-non-topologically-ordered/input.svelte similarity index 100% rename from test/js/samples/reactive-values-non-topologically-ordered/input.html rename to test/js/samples/reactive-values-non-topologically-ordered/input.svelte diff --git a/test/js/samples/reactive-values-non-writable-dependencies/input.html b/test/js/samples/reactive-values-non-writable-dependencies/input.svelte similarity index 100% rename from test/js/samples/reactive-values-non-writable-dependencies/input.html rename to test/js/samples/reactive-values-non-writable-dependencies/input.svelte diff --git a/test/js/samples/select-dynamic-value/input.html b/test/js/samples/select-dynamic-value/input.svelte similarity index 100% rename from test/js/samples/select-dynamic-value/input.html rename to test/js/samples/select-dynamic-value/input.svelte diff --git a/test/js/samples/setup-method/input.html b/test/js/samples/setup-method/input.svelte similarity index 100% rename from test/js/samples/setup-method/input.html rename to test/js/samples/setup-method/input.svelte diff --git a/test/js/samples/ssr-no-oncreate-etc/input.html b/test/js/samples/ssr-no-oncreate-etc/input.svelte similarity index 100% rename from test/js/samples/ssr-no-oncreate-etc/input.html rename to test/js/samples/ssr-no-oncreate-etc/input.svelte diff --git a/test/js/samples/ssr-preserve-comments/input.html b/test/js/samples/ssr-preserve-comments/input.svelte similarity index 100% rename from test/js/samples/ssr-preserve-comments/input.html rename to test/js/samples/ssr-preserve-comments/input.svelte diff --git a/test/js/samples/svg-title/input.html b/test/js/samples/svg-title/input.svelte similarity index 100% rename from test/js/samples/svg-title/input.html rename to test/js/samples/svg-title/input.svelte diff --git a/test/js/samples/title/input.html b/test/js/samples/title/input.svelte similarity index 100% rename from test/js/samples/title/input.html rename to test/js/samples/title/input.svelte diff --git a/test/js/samples/transition-local/input.html b/test/js/samples/transition-local/input.svelte similarity index 100% rename from test/js/samples/transition-local/input.html rename to test/js/samples/transition-local/input.svelte diff --git a/test/js/samples/use-elements-as-anchors/input.html b/test/js/samples/use-elements-as-anchors/input.svelte similarity index 100% rename from test/js/samples/use-elements-as-anchors/input.html rename to test/js/samples/use-elements-as-anchors/input.svelte diff --git a/test/js/samples/window-binding-scroll/input.html b/test/js/samples/window-binding-scroll/input.svelte similarity index 100% rename from test/js/samples/window-binding-scroll/input.html rename to test/js/samples/window-binding-scroll/input.svelte diff --git a/test/parser/samples/action-with-call/input.html b/test/parser/samples/action-with-call/input.svelte similarity index 100% rename from test/parser/samples/action-with-call/input.html rename to test/parser/samples/action-with-call/input.svelte diff --git a/test/parser/samples/action-with-identifier/input.html b/test/parser/samples/action-with-identifier/input.svelte similarity index 100% rename from test/parser/samples/action-with-identifier/input.html rename to test/parser/samples/action-with-identifier/input.svelte diff --git a/test/parser/samples/action-with-literal/input.html b/test/parser/samples/action-with-literal/input.svelte similarity index 100% rename from test/parser/samples/action-with-literal/input.html rename to test/parser/samples/action-with-literal/input.svelte diff --git a/test/parser/samples/action/input.html b/test/parser/samples/action/input.svelte similarity index 100% rename from test/parser/samples/action/input.html rename to test/parser/samples/action/input.svelte diff --git a/test/parser/samples/animation/input.html b/test/parser/samples/animation/input.svelte similarity index 100% rename from test/parser/samples/animation/input.html rename to test/parser/samples/animation/input.svelte diff --git a/test/parser/samples/attribute-containing-solidus/input.html b/test/parser/samples/attribute-containing-solidus/input.svelte similarity index 100% rename from test/parser/samples/attribute-containing-solidus/input.html rename to test/parser/samples/attribute-containing-solidus/input.svelte diff --git a/test/parser/samples/attribute-dynamic-boolean/input.html b/test/parser/samples/attribute-dynamic-boolean/input.svelte similarity index 100% rename from test/parser/samples/attribute-dynamic-boolean/input.html rename to test/parser/samples/attribute-dynamic-boolean/input.svelte diff --git a/test/parser/samples/attribute-dynamic-reserved/input.html b/test/parser/samples/attribute-dynamic-reserved/input.svelte similarity index 100% rename from test/parser/samples/attribute-dynamic-reserved/input.html rename to test/parser/samples/attribute-dynamic-reserved/input.svelte diff --git a/test/parser/samples/attribute-dynamic/input.html b/test/parser/samples/attribute-dynamic/input.svelte similarity index 100% rename from test/parser/samples/attribute-dynamic/input.html rename to test/parser/samples/attribute-dynamic/input.svelte diff --git a/test/parser/samples/attribute-escaped/input.html b/test/parser/samples/attribute-escaped/input.svelte similarity index 100% rename from test/parser/samples/attribute-escaped/input.html rename to test/parser/samples/attribute-escaped/input.svelte diff --git a/test/parser/samples/attribute-multiple/input.html b/test/parser/samples/attribute-multiple/input.svelte similarity index 100% rename from test/parser/samples/attribute-multiple/input.html rename to test/parser/samples/attribute-multiple/input.svelte diff --git a/test/parser/samples/attribute-shorthand/input.html b/test/parser/samples/attribute-shorthand/input.svelte similarity index 100% rename from test/parser/samples/attribute-shorthand/input.html rename to test/parser/samples/attribute-shorthand/input.svelte diff --git a/test/parser/samples/attribute-static-boolean/input.html b/test/parser/samples/attribute-static-boolean/input.svelte similarity index 100% rename from test/parser/samples/attribute-static-boolean/input.html rename to test/parser/samples/attribute-static-boolean/input.svelte diff --git a/test/parser/samples/attribute-static/input.html b/test/parser/samples/attribute-static/input.svelte similarity index 100% rename from test/parser/samples/attribute-static/input.html rename to test/parser/samples/attribute-static/input.svelte diff --git a/test/parser/samples/attribute-unique-error/input.html b/test/parser/samples/attribute-unique-error/input.svelte similarity index 100% rename from test/parser/samples/attribute-unique-error/input.html rename to test/parser/samples/attribute-unique-error/input.svelte diff --git a/test/parser/samples/attribute-unquoted/input.html b/test/parser/samples/attribute-unquoted/input.svelte similarity index 100% rename from test/parser/samples/attribute-unquoted/input.html rename to test/parser/samples/attribute-unquoted/input.svelte diff --git a/test/parser/samples/await-then-catch/input.html b/test/parser/samples/await-then-catch/input.svelte similarity index 100% rename from test/parser/samples/await-then-catch/input.html rename to test/parser/samples/await-then-catch/input.svelte diff --git a/test/parser/samples/binding-shorthand/input.html b/test/parser/samples/binding-shorthand/input.svelte similarity index 100% rename from test/parser/samples/binding-shorthand/input.html rename to test/parser/samples/binding-shorthand/input.svelte diff --git a/test/parser/samples/binding/input.html b/test/parser/samples/binding/input.svelte similarity index 100% rename from test/parser/samples/binding/input.html rename to test/parser/samples/binding/input.svelte diff --git a/test/parser/samples/comment/input.html b/test/parser/samples/comment/input.svelte similarity index 100% rename from test/parser/samples/comment/input.html rename to test/parser/samples/comment/input.svelte diff --git a/test/parser/samples/component-dynamic/input.html b/test/parser/samples/component-dynamic/input.svelte similarity index 100% rename from test/parser/samples/component-dynamic/input.html rename to test/parser/samples/component-dynamic/input.svelte diff --git a/test/parser/samples/convert-entities-in-element/input.html b/test/parser/samples/convert-entities-in-element/input.svelte similarity index 100% rename from test/parser/samples/convert-entities-in-element/input.html rename to test/parser/samples/convert-entities-in-element/input.svelte diff --git a/test/parser/samples/convert-entities/input.html b/test/parser/samples/convert-entities/input.svelte similarity index 100% rename from test/parser/samples/convert-entities/input.html rename to test/parser/samples/convert-entities/input.svelte diff --git a/test/parser/samples/css/input.html b/test/parser/samples/css/input.svelte similarity index 100% rename from test/parser/samples/css/input.html rename to test/parser/samples/css/input.svelte diff --git a/test/parser/samples/dynamic-import/input.html b/test/parser/samples/dynamic-import/input.svelte similarity index 100% rename from test/parser/samples/dynamic-import/input.html rename to test/parser/samples/dynamic-import/input.svelte diff --git a/test/parser/samples/each-block-destructured/input.html b/test/parser/samples/each-block-destructured/input.svelte similarity index 100% rename from test/parser/samples/each-block-destructured/input.html rename to test/parser/samples/each-block-destructured/input.svelte diff --git a/test/parser/samples/each-block-else/input.html b/test/parser/samples/each-block-else/input.svelte similarity index 100% rename from test/parser/samples/each-block-else/input.html rename to test/parser/samples/each-block-else/input.svelte diff --git a/test/parser/samples/each-block-indexed/input.html b/test/parser/samples/each-block-indexed/input.svelte similarity index 100% rename from test/parser/samples/each-block-indexed/input.html rename to test/parser/samples/each-block-indexed/input.svelte diff --git a/test/parser/samples/each-block-keyed/input.html b/test/parser/samples/each-block-keyed/input.svelte similarity index 100% rename from test/parser/samples/each-block-keyed/input.html rename to test/parser/samples/each-block-keyed/input.svelte diff --git a/test/parser/samples/each-block/input.html b/test/parser/samples/each-block/input.svelte similarity index 100% rename from test/parser/samples/each-block/input.html rename to test/parser/samples/each-block/input.svelte diff --git a/test/parser/samples/element-with-mustache/input.html b/test/parser/samples/element-with-mustache/input.svelte similarity index 100% rename from test/parser/samples/element-with-mustache/input.html rename to test/parser/samples/element-with-mustache/input.svelte diff --git a/test/parser/samples/element-with-text/input.html b/test/parser/samples/element-with-text/input.svelte similarity index 100% rename from test/parser/samples/element-with-text/input.html rename to test/parser/samples/element-with-text/input.svelte diff --git a/test/parser/samples/elements/input.html b/test/parser/samples/elements/input.svelte similarity index 100% rename from test/parser/samples/elements/input.html rename to test/parser/samples/elements/input.svelte diff --git a/test/parser/samples/error-binding-disabled/input.html b/test/parser/samples/error-binding-disabled/input.svelte similarity index 100% rename from test/parser/samples/error-binding-disabled/input.html rename to test/parser/samples/error-binding-disabled/input.svelte diff --git a/test/parser/samples/error-comment-unclosed/input.html b/test/parser/samples/error-comment-unclosed/input.svelte similarity index 100% rename from test/parser/samples/error-comment-unclosed/input.html rename to test/parser/samples/error-comment-unclosed/input.svelte diff --git a/test/parser/samples/error-css/input.html b/test/parser/samples/error-css/input.svelte similarity index 100% rename from test/parser/samples/error-css/input.html rename to test/parser/samples/error-css/input.svelte diff --git a/test/parser/samples/error-illegal-expression/input.html b/test/parser/samples/error-illegal-expression/input.svelte similarity index 100% rename from test/parser/samples/error-illegal-expression/input.html rename to test/parser/samples/error-illegal-expression/input.svelte diff --git a/test/parser/samples/error-multiple-styles/input.html b/test/parser/samples/error-multiple-styles/input.svelte similarity index 100% rename from test/parser/samples/error-multiple-styles/input.html rename to test/parser/samples/error-multiple-styles/input.svelte diff --git a/test/parser/samples/error-script-unclosed/input.html b/test/parser/samples/error-script-unclosed/input.svelte similarity index 100% rename from test/parser/samples/error-script-unclosed/input.html rename to test/parser/samples/error-script-unclosed/input.svelte diff --git a/test/parser/samples/error-self-reference/input.html b/test/parser/samples/error-self-reference/input.svelte similarity index 100% rename from test/parser/samples/error-self-reference/input.html rename to test/parser/samples/error-self-reference/input.svelte diff --git a/test/parser/samples/error-svelte-selfdestructive/input.html b/test/parser/samples/error-svelte-selfdestructive/input.svelte similarity index 100% rename from test/parser/samples/error-svelte-selfdestructive/input.html rename to test/parser/samples/error-svelte-selfdestructive/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input-b/input.html b/test/parser/samples/error-unexpected-end-of-input-b/input.svelte similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input-b/input.html rename to test/parser/samples/error-unexpected-end-of-input-b/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input-c/input.html b/test/parser/samples/error-unexpected-end-of-input-c/input.svelte similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input-c/input.html rename to test/parser/samples/error-unexpected-end-of-input-c/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input-d/input.html b/test/parser/samples/error-unexpected-end-of-input-d/input.svelte similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input-d/input.html rename to test/parser/samples/error-unexpected-end-of-input-d/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input/input.html b/test/parser/samples/error-unexpected-end-of-input/input.svelte similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input/input.html rename to test/parser/samples/error-unexpected-end-of-input/input.svelte diff --git a/test/parser/samples/error-unmatched-closing-tag/input.html b/test/parser/samples/error-unmatched-closing-tag/input.svelte similarity index 100% rename from test/parser/samples/error-unmatched-closing-tag/input.html rename to test/parser/samples/error-unmatched-closing-tag/input.svelte diff --git a/test/parser/samples/error-void-closing/input.html b/test/parser/samples/error-void-closing/input.svelte similarity index 100% rename from test/parser/samples/error-void-closing/input.html rename to test/parser/samples/error-void-closing/input.svelte diff --git a/test/parser/samples/error-window-children/input.html b/test/parser/samples/error-window-children/input.svelte similarity index 100% rename from test/parser/samples/error-window-children/input.html rename to test/parser/samples/error-window-children/input.svelte diff --git a/test/parser/samples/error-window-duplicate/input.html b/test/parser/samples/error-window-duplicate/input.svelte similarity index 100% rename from test/parser/samples/error-window-duplicate/input.html rename to test/parser/samples/error-window-duplicate/input.svelte diff --git a/test/parser/samples/error-window-inside-block/input.html b/test/parser/samples/error-window-inside-block/input.svelte similarity index 100% rename from test/parser/samples/error-window-inside-block/input.html rename to test/parser/samples/error-window-inside-block/input.svelte diff --git a/test/parser/samples/error-window-inside-element/input.html b/test/parser/samples/error-window-inside-element/input.svelte similarity index 100% rename from test/parser/samples/error-window-inside-element/input.html rename to test/parser/samples/error-window-inside-element/input.svelte diff --git a/test/parser/samples/event-handler/input.html b/test/parser/samples/event-handler/input.svelte similarity index 100% rename from test/parser/samples/event-handler/input.html rename to test/parser/samples/event-handler/input.svelte diff --git a/test/parser/samples/if-block-else/input.html b/test/parser/samples/if-block-else/input.svelte similarity index 100% rename from test/parser/samples/if-block-else/input.html rename to test/parser/samples/if-block-else/input.svelte diff --git a/test/parser/samples/if-block-elseif/input.html b/test/parser/samples/if-block-elseif/input.svelte similarity index 100% rename from test/parser/samples/if-block-elseif/input.html rename to test/parser/samples/if-block-elseif/input.svelte diff --git a/test/parser/samples/if-block/input.html b/test/parser/samples/if-block/input.svelte similarity index 100% rename from test/parser/samples/if-block/input.html rename to test/parser/samples/if-block/input.svelte diff --git a/test/parser/samples/implicitly-closed-li/input.html b/test/parser/samples/implicitly-closed-li/input.svelte similarity index 100% rename from test/parser/samples/implicitly-closed-li/input.html rename to test/parser/samples/implicitly-closed-li/input.svelte diff --git a/test/parser/samples/nbsp/input.html b/test/parser/samples/nbsp/input.svelte similarity index 100% rename from test/parser/samples/nbsp/input.html rename to test/parser/samples/nbsp/input.svelte diff --git a/test/parser/samples/raw-mustaches/input.html b/test/parser/samples/raw-mustaches/input.svelte similarity index 100% rename from test/parser/samples/raw-mustaches/input.html rename to test/parser/samples/raw-mustaches/input.svelte diff --git a/test/parser/samples/refs/input.html b/test/parser/samples/refs/input.svelte similarity index 100% rename from test/parser/samples/refs/input.html rename to test/parser/samples/refs/input.svelte diff --git a/test/parser/samples/script-comment-only/input.html b/test/parser/samples/script-comment-only/input.svelte similarity index 100% rename from test/parser/samples/script-comment-only/input.html rename to test/parser/samples/script-comment-only/input.svelte diff --git a/test/parser/samples/script-comment-trailing-multiline/input.html b/test/parser/samples/script-comment-trailing-multiline/input.svelte similarity index 100% rename from test/parser/samples/script-comment-trailing-multiline/input.html rename to test/parser/samples/script-comment-trailing-multiline/input.svelte diff --git a/test/parser/samples/script-comment-trailing/input.html b/test/parser/samples/script-comment-trailing/input.svelte similarity index 100% rename from test/parser/samples/script-comment-trailing/input.html rename to test/parser/samples/script-comment-trailing/input.svelte diff --git a/test/parser/samples/script/input.html b/test/parser/samples/script/input.svelte similarity index 100% rename from test/parser/samples/script/input.html rename to test/parser/samples/script/input.svelte diff --git a/test/parser/samples/self-closing-element/input.html b/test/parser/samples/self-closing-element/input.svelte similarity index 100% rename from test/parser/samples/self-closing-element/input.html rename to test/parser/samples/self-closing-element/input.svelte diff --git a/test/parser/samples/self-reference/input.html b/test/parser/samples/self-reference/input.svelte similarity index 100% rename from test/parser/samples/self-reference/input.html rename to test/parser/samples/self-reference/input.svelte diff --git a/test/parser/samples/space-between-mustaches/input.html b/test/parser/samples/space-between-mustaches/input.svelte similarity index 100% rename from test/parser/samples/space-between-mustaches/input.html rename to test/parser/samples/space-between-mustaches/input.svelte diff --git a/test/parser/samples/spread/input.html b/test/parser/samples/spread/input.svelte similarity index 100% rename from test/parser/samples/spread/input.html rename to test/parser/samples/spread/input.svelte diff --git a/test/parser/samples/textarea-children/input.html b/test/parser/samples/textarea-children/input.svelte similarity index 100% rename from test/parser/samples/textarea-children/input.html rename to test/parser/samples/textarea-children/input.svelte diff --git a/test/parser/samples/transition-intro-no-params/input.html b/test/parser/samples/transition-intro-no-params/input.svelte similarity index 100% rename from test/parser/samples/transition-intro-no-params/input.html rename to test/parser/samples/transition-intro-no-params/input.svelte diff --git a/test/parser/samples/transition-intro/input.html b/test/parser/samples/transition-intro/input.svelte similarity index 100% rename from test/parser/samples/transition-intro/input.html rename to test/parser/samples/transition-intro/input.svelte diff --git a/test/parser/samples/unusual-identifier/input.html b/test/parser/samples/unusual-identifier/input.svelte similarity index 100% rename from test/parser/samples/unusual-identifier/input.html rename to test/parser/samples/unusual-identifier/input.svelte diff --git a/test/parser/samples/whitespace-leading-trailing/input.html b/test/parser/samples/whitespace-leading-trailing/input.svelte similarity index 100% rename from test/parser/samples/whitespace-leading-trailing/input.html rename to test/parser/samples/whitespace-leading-trailing/input.svelte diff --git a/test/parser/samples/whitespace-normal/input.html b/test/parser/samples/whitespace-normal/input.svelte similarity index 100% rename from test/parser/samples/whitespace-normal/input.html rename to test/parser/samples/whitespace-normal/input.svelte diff --git a/test/parser/samples/yield/input.html b/test/parser/samples/yield/input.svelte similarity index 100% rename from test/parser/samples/yield/input.html rename to test/parser/samples/yield/input.svelte diff --git a/test/preprocess/samples/dependencies/input.html b/test/preprocess/samples/dependencies/input.svelte similarity index 100% rename from test/preprocess/samples/dependencies/input.html rename to test/preprocess/samples/dependencies/input.svelte diff --git a/test/preprocess/samples/dependencies/output.html b/test/preprocess/samples/dependencies/output.svelte similarity index 100% rename from test/preprocess/samples/dependencies/output.html rename to test/preprocess/samples/dependencies/output.svelte diff --git a/test/preprocess/samples/filename/input.html b/test/preprocess/samples/filename/input.svelte similarity index 100% rename from test/preprocess/samples/filename/input.html rename to test/preprocess/samples/filename/input.svelte diff --git a/test/preprocess/samples/filename/output.html b/test/preprocess/samples/filename/output.svelte similarity index 60% rename from test/preprocess/samples/filename/output.html rename to test/preprocess/samples/filename/output.svelte index 90fa180704..1dcf67cc00 100644 --- a/test/preprocess/samples/filename/output.html +++ b/test/preprocess/samples/filename/output.svelte @@ -1,3 +1,3 @@

Hello file.html!

- \ No newline at end of file + \ No newline at end of file diff --git a/test/preprocess/samples/ignores-null/input.html b/test/preprocess/samples/ignores-null/input.svelte similarity index 100% rename from test/preprocess/samples/ignores-null/input.html rename to test/preprocess/samples/ignores-null/input.svelte diff --git a/test/preprocess/samples/ignores-null/output.html b/test/preprocess/samples/ignores-null/output.svelte similarity index 100% rename from test/preprocess/samples/ignores-null/output.html rename to test/preprocess/samples/ignores-null/output.svelte diff --git a/test/preprocess/samples/markup/input.html b/test/preprocess/samples/markup/input.svelte similarity index 100% rename from test/preprocess/samples/markup/input.html rename to test/preprocess/samples/markup/input.svelte diff --git a/test/preprocess/samples/markup/output.html b/test/preprocess/samples/markup/output.svelte similarity index 100% rename from test/preprocess/samples/markup/output.html rename to test/preprocess/samples/markup/output.svelte diff --git a/test/preprocess/samples/multiple-preprocessors/input.html b/test/preprocess/samples/multiple-preprocessors/input.svelte similarity index 100% rename from test/preprocess/samples/multiple-preprocessors/input.html rename to test/preprocess/samples/multiple-preprocessors/input.svelte diff --git a/test/preprocess/samples/multiple-preprocessors/output.html b/test/preprocess/samples/multiple-preprocessors/output.svelte similarity index 100% rename from test/preprocess/samples/multiple-preprocessors/output.html rename to test/preprocess/samples/multiple-preprocessors/output.svelte diff --git a/test/preprocess/samples/script-multiple/input.html b/test/preprocess/samples/script-multiple/input.svelte similarity index 100% rename from test/preprocess/samples/script-multiple/input.html rename to test/preprocess/samples/script-multiple/input.svelte diff --git a/test/preprocess/samples/script-multiple/output.html b/test/preprocess/samples/script-multiple/output.svelte similarity index 100% rename from test/preprocess/samples/script-multiple/output.html rename to test/preprocess/samples/script-multiple/output.svelte diff --git a/test/preprocess/samples/script/input.html b/test/preprocess/samples/script/input.svelte similarity index 100% rename from test/preprocess/samples/script/input.html rename to test/preprocess/samples/script/input.svelte diff --git a/test/preprocess/samples/script/output.html b/test/preprocess/samples/script/output.svelte similarity index 100% rename from test/preprocess/samples/script/output.html rename to test/preprocess/samples/script/output.svelte diff --git a/test/preprocess/samples/style-async/input.html b/test/preprocess/samples/style-async/input.svelte similarity index 100% rename from test/preprocess/samples/style-async/input.html rename to test/preprocess/samples/style-async/input.svelte diff --git a/test/preprocess/samples/style-async/output.html b/test/preprocess/samples/style-async/output.svelte similarity index 100% rename from test/preprocess/samples/style-async/output.html rename to test/preprocess/samples/style-async/output.svelte diff --git a/test/preprocess/samples/style-attributes/input.html b/test/preprocess/samples/style-attributes/input.svelte similarity index 100% rename from test/preprocess/samples/style-attributes/input.html rename to test/preprocess/samples/style-attributes/input.svelte diff --git a/test/preprocess/samples/style-attributes/output.html b/test/preprocess/samples/style-attributes/output.svelte similarity index 100% rename from test/preprocess/samples/style-attributes/output.html rename to test/preprocess/samples/style-attributes/output.svelte diff --git a/test/preprocess/samples/style/input.html b/test/preprocess/samples/style/input.svelte similarity index 100% rename from test/preprocess/samples/style/input.html rename to test/preprocess/samples/style/input.svelte diff --git a/test/preprocess/samples/style/output.html b/test/preprocess/samples/style/output.svelte similarity index 100% rename from test/preprocess/samples/style/output.html rename to test/preprocess/samples/style/output.svelte diff --git a/test/runtime/samples/action-custom-event-handler-in-each-destructured/main.html b/test/runtime/samples/action-custom-event-handler-in-each-destructured/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler-in-each-destructured/main.html rename to test/runtime/samples/action-custom-event-handler-in-each-destructured/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-in-each/main.html b/test/runtime/samples/action-custom-event-handler-in-each/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler-in-each/main.html rename to test/runtime/samples/action-custom-event-handler-in-each/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-node-context/main.html b/test/runtime/samples/action-custom-event-handler-node-context/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler-node-context/main.html rename to test/runtime/samples/action-custom-event-handler-node-context/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-this/main.html b/test/runtime/samples/action-custom-event-handler-this/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler-this/main.html rename to test/runtime/samples/action-custom-event-handler-this/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-with-context/main.html b/test/runtime/samples/action-custom-event-handler-with-context/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler-with-context/main.html rename to test/runtime/samples/action-custom-event-handler-with-context/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler/main.html b/test/runtime/samples/action-custom-event-handler/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler/main.html rename to test/runtime/samples/action-custom-event-handler/main.svelte diff --git a/test/runtime/samples/action-function/main.html b/test/runtime/samples/action-function/main.svelte similarity index 100% rename from test/runtime/samples/action-function/main.html rename to test/runtime/samples/action-function/main.svelte diff --git a/test/runtime/samples/action-ternary-template/main.html b/test/runtime/samples/action-ternary-template/main.svelte similarity index 100% rename from test/runtime/samples/action-ternary-template/main.html rename to test/runtime/samples/action-ternary-template/main.svelte diff --git a/test/runtime/samples/action-this/main.html b/test/runtime/samples/action-this/main.svelte similarity index 100% rename from test/runtime/samples/action-this/main.html rename to test/runtime/samples/action-this/main.svelte diff --git a/test/runtime/samples/action-update/main.html b/test/runtime/samples/action-update/main.svelte similarity index 100% rename from test/runtime/samples/action-update/main.html rename to test/runtime/samples/action-update/main.svelte diff --git a/test/runtime/samples/action/main.html b/test/runtime/samples/action/main.svelte similarity index 100% rename from test/runtime/samples/action/main.html rename to test/runtime/samples/action/main.svelte diff --git a/test/runtime/samples/after-render-prevents-loop/main.html b/test/runtime/samples/after-render-prevents-loop/main.svelte similarity index 100% rename from test/runtime/samples/after-render-prevents-loop/main.html rename to test/runtime/samples/after-render-prevents-loop/main.svelte diff --git a/test/runtime/samples/after-render-triggers-update/main.html b/test/runtime/samples/after-render-triggers-update/main.svelte similarity index 100% rename from test/runtime/samples/after-render-triggers-update/main.html rename to test/runtime/samples/after-render-triggers-update/main.svelte diff --git a/test/runtime/samples/animation-css/main.html b/test/runtime/samples/animation-css/main.svelte similarity index 100% rename from test/runtime/samples/animation-css/main.html rename to test/runtime/samples/animation-css/main.svelte diff --git a/test/runtime/samples/animation-js-delay/main.html b/test/runtime/samples/animation-js-delay/main.svelte similarity index 100% rename from test/runtime/samples/animation-js-delay/main.html rename to test/runtime/samples/animation-js-delay/main.svelte diff --git a/test/runtime/samples/animation-js-easing/main.html b/test/runtime/samples/animation-js-easing/main.svelte similarity index 100% rename from test/runtime/samples/animation-js-easing/main.html rename to test/runtime/samples/animation-js-easing/main.svelte diff --git a/test/runtime/samples/animation-js/main.html b/test/runtime/samples/animation-js/main.svelte similarity index 100% rename from test/runtime/samples/animation-js/main.html rename to test/runtime/samples/animation-js/main.svelte diff --git a/test/runtime/samples/assignment-in-init/main.html b/test/runtime/samples/assignment-in-init/main.svelte similarity index 100% rename from test/runtime/samples/assignment-in-init/main.html rename to test/runtime/samples/assignment-in-init/main.svelte diff --git a/test/runtime/samples/assignment-to-computed-property/main.html b/test/runtime/samples/assignment-to-computed-property/main.svelte similarity index 100% rename from test/runtime/samples/assignment-to-computed-property/main.html rename to test/runtime/samples/assignment-to-computed-property/main.svelte diff --git a/test/runtime/samples/attribute-boolean-false/main.html b/test/runtime/samples/attribute-boolean-false/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-false/main.html rename to test/runtime/samples/attribute-boolean-false/main.svelte diff --git a/test/runtime/samples/attribute-boolean-indeterminate/main.html b/test/runtime/samples/attribute-boolean-indeterminate/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-indeterminate/main.html rename to test/runtime/samples/attribute-boolean-indeterminate/main.svelte diff --git a/test/runtime/samples/attribute-boolean-true/main.html b/test/runtime/samples/attribute-boolean-true/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-true/main.html rename to test/runtime/samples/attribute-boolean-true/main.svelte diff --git a/test/runtime/samples/attribute-casing/main.html b/test/runtime/samples/attribute-casing/main.svelte similarity index 100% rename from test/runtime/samples/attribute-casing/main.html rename to test/runtime/samples/attribute-casing/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-multiple/main.html b/test/runtime/samples/attribute-dynamic-multiple/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-multiple/main.html rename to test/runtime/samples/attribute-dynamic-multiple/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-no-dependencies/main.html b/test/runtime/samples/attribute-dynamic-no-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-no-dependencies/main.html rename to test/runtime/samples/attribute-dynamic-no-dependencies/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-quotemarks/main.html b/test/runtime/samples/attribute-dynamic-quotemarks/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-quotemarks/main.html rename to test/runtime/samples/attribute-dynamic-quotemarks/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-shorthand/main.html b/test/runtime/samples/attribute-dynamic-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-shorthand/main.html rename to test/runtime/samples/attribute-dynamic-shorthand/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-type/main.html b/test/runtime/samples/attribute-dynamic-type/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-type/main.html rename to test/runtime/samples/attribute-dynamic-type/main.svelte diff --git a/test/runtime/samples/attribute-dynamic/main.html b/test/runtime/samples/attribute-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic/main.html rename to test/runtime/samples/attribute-dynamic/main.svelte diff --git a/test/runtime/samples/attribute-empty-svg/main.html b/test/runtime/samples/attribute-empty-svg/main.svelte similarity index 100% rename from test/runtime/samples/attribute-empty-svg/main.html rename to test/runtime/samples/attribute-empty-svg/main.svelte diff --git a/test/runtime/samples/attribute-empty/main.html b/test/runtime/samples/attribute-empty/main.svelte similarity index 100% rename from test/runtime/samples/attribute-empty/main.html rename to test/runtime/samples/attribute-empty/main.svelte diff --git a/test/runtime/samples/attribute-namespaced/main.html b/test/runtime/samples/attribute-namespaced/main.svelte similarity index 100% rename from test/runtime/samples/attribute-namespaced/main.html rename to test/runtime/samples/attribute-namespaced/main.svelte diff --git a/test/runtime/samples/attribute-partial-number/Component.html b/test/runtime/samples/attribute-partial-number/Component.svelte similarity index 100% rename from test/runtime/samples/attribute-partial-number/Component.html rename to test/runtime/samples/attribute-partial-number/Component.svelte diff --git a/test/runtime/samples/attribute-partial-number/main.html b/test/runtime/samples/attribute-partial-number/main.html deleted file mode 100644 index c720ea4eed..0000000000 --- a/test/runtime/samples/attribute-partial-number/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/attribute-partial-number/main.svelte b/test/runtime/samples/attribute-partial-number/main.svelte new file mode 100644 index 0000000000..163116e4fa --- /dev/null +++ b/test/runtime/samples/attribute-partial-number/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/attribute-prefer-expression/main.html b/test/runtime/samples/attribute-prefer-expression/main.svelte similarity index 100% rename from test/runtime/samples/attribute-prefer-expression/main.html rename to test/runtime/samples/attribute-prefer-expression/main.svelte diff --git a/test/runtime/samples/attribute-static-at-symbol/main.html b/test/runtime/samples/attribute-static-at-symbol/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static-at-symbol/main.html rename to test/runtime/samples/attribute-static-at-symbol/main.svelte diff --git a/test/runtime/samples/attribute-static-boolean/main.html b/test/runtime/samples/attribute-static-boolean/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static-boolean/main.html rename to test/runtime/samples/attribute-static-boolean/main.svelte diff --git a/test/runtime/samples/attribute-static-quotemarks/main.html b/test/runtime/samples/attribute-static-quotemarks/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static-quotemarks/main.html rename to test/runtime/samples/attribute-static-quotemarks/main.svelte diff --git a/test/runtime/samples/attribute-static/main.html b/test/runtime/samples/attribute-static/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static/main.html rename to test/runtime/samples/attribute-static/main.svelte diff --git a/test/runtime/samples/attribute-unknown-without-value/main.html b/test/runtime/samples/attribute-unknown-without-value/main.svelte similarity index 100% rename from test/runtime/samples/attribute-unknown-without-value/main.html rename to test/runtime/samples/attribute-unknown-without-value/main.svelte diff --git a/test/runtime/samples/autofocus/main.html b/test/runtime/samples/autofocus/main.svelte similarity index 100% rename from test/runtime/samples/autofocus/main.html rename to test/runtime/samples/autofocus/main.svelte diff --git a/test/runtime/samples/await-component-oncreate/Foo.html b/test/runtime/samples/await-component-oncreate/Foo.svelte similarity index 100% rename from test/runtime/samples/await-component-oncreate/Foo.html rename to test/runtime/samples/await-component-oncreate/Foo.svelte diff --git a/test/runtime/samples/await-component-oncreate/main.html b/test/runtime/samples/await-component-oncreate/main.svelte similarity index 67% rename from test/runtime/samples/await-component-oncreate/main.html rename to test/runtime/samples/await-component-oncreate/main.svelte index 80a686962e..d1ddc16fd2 100644 --- a/test/runtime/samples/await-component-oncreate/main.html +++ b/test/runtime/samples/await-component-oncreate/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/await-containing-if/main.html b/test/runtime/samples/await-containing-if/main.svelte similarity index 100% rename from test/runtime/samples/await-containing-if/main.html rename to test/runtime/samples/await-containing-if/main.svelte diff --git a/test/runtime/samples/await-in-each/main.html b/test/runtime/samples/await-in-each/main.svelte similarity index 100% rename from test/runtime/samples/await-in-each/main.html rename to test/runtime/samples/await-in-each/main.svelte diff --git a/test/runtime/samples/await-set-simultaneous/main.html b/test/runtime/samples/await-set-simultaneous/main.svelte similarity index 100% rename from test/runtime/samples/await-set-simultaneous/main.html rename to test/runtime/samples/await-set-simultaneous/main.svelte diff --git a/test/runtime/samples/await-then-catch-anchor/main.html b/test/runtime/samples/await-then-catch-anchor/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-anchor/main.html rename to test/runtime/samples/await-then-catch-anchor/main.svelte diff --git a/test/runtime/samples/await-then-catch-event/main.html b/test/runtime/samples/await-then-catch-event/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-event/main.html rename to test/runtime/samples/await-then-catch-event/main.svelte diff --git a/test/runtime/samples/await-then-catch-if/main.html b/test/runtime/samples/await-then-catch-if/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-if/main.html rename to test/runtime/samples/await-then-catch-if/main.svelte diff --git a/test/runtime/samples/await-then-catch-in-slot/Foo.html b/test/runtime/samples/await-then-catch-in-slot/Foo.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-in-slot/Foo.html rename to test/runtime/samples/await-then-catch-in-slot/Foo.svelte diff --git a/test/runtime/samples/await-then-catch-in-slot/main.html b/test/runtime/samples/await-then-catch-in-slot/main.svelte similarity index 84% rename from test/runtime/samples/await-then-catch-in-slot/main.html rename to test/runtime/samples/await-then-catch-in-slot/main.svelte index ded116356c..3aa75374ea 100644 --- a/test/runtime/samples/await-then-catch-in-slot/main.html +++ b/test/runtime/samples/await-then-catch-in-slot/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/await-then-catch-multiple/main.html b/test/runtime/samples/await-then-catch-multiple/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-multiple/main.html rename to test/runtime/samples/await-then-catch-multiple/main.svelte diff --git a/test/runtime/samples/await-then-catch-no-values/main.html b/test/runtime/samples/await-then-catch-no-values/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-no-values/main.html rename to test/runtime/samples/await-then-catch-no-values/main.svelte diff --git a/test/runtime/samples/await-then-catch-non-promise/main.html b/test/runtime/samples/await-then-catch-non-promise/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-non-promise/main.html rename to test/runtime/samples/await-then-catch-non-promise/main.svelte diff --git a/test/runtime/samples/await-then-catch-order/main.html b/test/runtime/samples/await-then-catch-order/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-order/main.html rename to test/runtime/samples/await-then-catch-order/main.svelte diff --git a/test/runtime/samples/await-then-catch-static/main.html b/test/runtime/samples/await-then-catch-static/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-static/main.html rename to test/runtime/samples/await-then-catch-static/main.svelte diff --git a/test/runtime/samples/await-then-catch/main.html b/test/runtime/samples/await-then-catch/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch/main.html rename to test/runtime/samples/await-then-catch/main.svelte diff --git a/test/runtime/samples/await-then-shorthand/main.html b/test/runtime/samples/await-then-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/await-then-shorthand/main.html rename to test/runtime/samples/await-then-shorthand/main.svelte diff --git a/test/runtime/samples/await-with-components/Widget.html b/test/runtime/samples/await-with-components/Widget.svelte similarity index 100% rename from test/runtime/samples/await-with-components/Widget.html rename to test/runtime/samples/await-with-components/Widget.svelte diff --git a/test/runtime/samples/await-with-components/main.html b/test/runtime/samples/await-with-components/main.svelte similarity index 78% rename from test/runtime/samples/await-with-components/main.html rename to test/runtime/samples/await-with-components/main.svelte index 84894997e1..02b32bb496 100644 --- a/test/runtime/samples/await-with-components/main.html +++ b/test/runtime/samples/await-with-components/main.svelte @@ -7,6 +7,6 @@ {/await} \ No newline at end of file diff --git a/test/runtime/samples/before-render-chain/Item.html b/test/runtime/samples/before-render-chain/Item.svelte similarity index 100% rename from test/runtime/samples/before-render-chain/Item.html rename to test/runtime/samples/before-render-chain/Item.svelte diff --git a/test/runtime/samples/before-render-chain/List.html b/test/runtime/samples/before-render-chain/List.svelte similarity index 82% rename from test/runtime/samples/before-render-chain/List.html rename to test/runtime/samples/before-render-chain/List.svelte index 645356bd92..5b12d8a104 100644 --- a/test/runtime/samples/before-render-chain/List.html +++ b/test/runtime/samples/before-render-chain/List.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/before-render-prevents-loop/main.html b/test/runtime/samples/before-render-prevents-loop/main.svelte similarity index 100% rename from test/runtime/samples/before-render-prevents-loop/main.html rename to test/runtime/samples/before-render-prevents-loop/main.svelte diff --git a/test/runtime/samples/binding-audio-currenttime-duration-volume/main.html b/test/runtime/samples/binding-audio-currenttime-duration-volume/main.svelte similarity index 100% rename from test/runtime/samples/binding-audio-currenttime-duration-volume/main.html rename to test/runtime/samples/binding-audio-currenttime-duration-volume/main.svelte diff --git a/test/runtime/samples/binding-indirect-computed/main.html b/test/runtime/samples/binding-indirect-computed/main.svelte similarity index 100% rename from test/runtime/samples/binding-indirect-computed/main.html rename to test/runtime/samples/binding-indirect-computed/main.svelte diff --git a/test/runtime/samples/binding-indirect/main.html b/test/runtime/samples/binding-indirect/main.svelte similarity index 100% rename from test/runtime/samples/binding-indirect/main.html rename to test/runtime/samples/binding-indirect/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-deep-contextual/main.html b/test/runtime/samples/binding-input-checkbox-deep-contextual/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-deep-contextual/main.html rename to test/runtime/samples/binding-input-checkbox-deep-contextual/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-group-outside-each/main.html b/test/runtime/samples/binding-input-checkbox-group-outside-each/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-group-outside-each/main.html rename to test/runtime/samples/binding-input-checkbox-group-outside-each/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-group/main.html b/test/runtime/samples/binding-input-checkbox-group/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-group/main.html rename to test/runtime/samples/binding-input-checkbox-group/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-indeterminate/main.html b/test/runtime/samples/binding-input-checkbox-indeterminate/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-indeterminate/main.html rename to test/runtime/samples/binding-input-checkbox-indeterminate/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-with-event-in-each/main.html b/test/runtime/samples/binding-input-checkbox-with-event-in-each/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-with-event-in-each/main.html rename to test/runtime/samples/binding-input-checkbox-with-event-in-each/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox/main.html b/test/runtime/samples/binding-input-checkbox/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox/main.html rename to test/runtime/samples/binding-input-checkbox/main.svelte diff --git a/test/runtime/samples/binding-input-number/main.html b/test/runtime/samples/binding-input-number/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-number/main.html rename to test/runtime/samples/binding-input-number/main.svelte diff --git a/test/runtime/samples/binding-input-radio-group/main.html b/test/runtime/samples/binding-input-radio-group/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-radio-group/main.html rename to test/runtime/samples/binding-input-radio-group/main.svelte diff --git a/test/runtime/samples/binding-input-range-change/main.html b/test/runtime/samples/binding-input-range-change/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-range-change/main.html rename to test/runtime/samples/binding-input-range-change/main.svelte diff --git a/test/runtime/samples/binding-input-range/main.html b/test/runtime/samples/binding-input-range/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-range/main.html rename to test/runtime/samples/binding-input-range/main.svelte diff --git a/test/runtime/samples/binding-input-text-contextual-deconflicted/main.html b/test/runtime/samples/binding-input-text-contextual-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-contextual-deconflicted/main.html rename to test/runtime/samples/binding-input-text-contextual-deconflicted/main.svelte diff --git a/test/runtime/samples/binding-input-text-contextual/main.html b/test/runtime/samples/binding-input-text-contextual/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-contextual/main.html rename to test/runtime/samples/binding-input-text-contextual/main.svelte diff --git a/test/runtime/samples/binding-input-text-deconflicted/main.html b/test/runtime/samples/binding-input-text-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deconflicted/main.html rename to test/runtime/samples/binding-input-text-deconflicted/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-computed-dynamic/main.html b/test/runtime/samples/binding-input-text-deep-computed-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep-computed-dynamic/main.html rename to test/runtime/samples/binding-input-text-deep-computed-dynamic/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-computed/main.html b/test/runtime/samples/binding-input-text-deep-computed/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep-computed/main.html rename to test/runtime/samples/binding-input-text-deep-computed/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/main.html b/test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/main.html rename to test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-contextual/main.html b/test/runtime/samples/binding-input-text-deep-contextual/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep-contextual/main.html rename to test/runtime/samples/binding-input-text-deep-contextual/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep/main.html b/test/runtime/samples/binding-input-text-deep/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep/main.html rename to test/runtime/samples/binding-input-text-deep/main.svelte diff --git a/test/runtime/samples/binding-input-text/main.html b/test/runtime/samples/binding-input-text/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text/main.html rename to test/runtime/samples/binding-input-text/main.svelte diff --git a/test/runtime/samples/binding-input-with-event/main.html b/test/runtime/samples/binding-input-with-event/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-with-event/main.html rename to test/runtime/samples/binding-input-with-event/main.svelte diff --git a/test/runtime/samples/binding-select-implicit-option-value/main.html b/test/runtime/samples/binding-select-implicit-option-value/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-implicit-option-value/main.html rename to test/runtime/samples/binding-select-implicit-option-value/main.svelte diff --git a/test/runtime/samples/binding-select-in-each-block/main.html b/test/runtime/samples/binding-select-in-each-block/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-in-each-block/main.html rename to test/runtime/samples/binding-select-in-each-block/main.svelte diff --git a/test/runtime/samples/binding-select-in-yield/Modal.html b/test/runtime/samples/binding-select-in-yield/Modal.svelte similarity index 100% rename from test/runtime/samples/binding-select-in-yield/Modal.html rename to test/runtime/samples/binding-select-in-yield/Modal.svelte diff --git a/test/runtime/samples/binding-select-in-yield/main.html b/test/runtime/samples/binding-select-in-yield/main.svelte similarity index 85% rename from test/runtime/samples/binding-select-in-yield/main.html rename to test/runtime/samples/binding-select-in-yield/main.svelte index cb1499e1c7..2d3ef28f28 100644 --- a/test/runtime/samples/binding-select-in-yield/main.html +++ b/test/runtime/samples/binding-select-in-yield/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/binding-this-element-reactive/main.html b/test/runtime/samples/binding-this-element-reactive/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-element-reactive/main.html rename to test/runtime/samples/binding-this-element-reactive/main.svelte diff --git a/test/runtime/samples/binding-this-no-innerhtml/main.html b/test/runtime/samples/binding-this-no-innerhtml/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-no-innerhtml/main.html rename to test/runtime/samples/binding-this-no-innerhtml/main.svelte diff --git a/test/runtime/samples/binding-this-unset/main.html b/test/runtime/samples/binding-this-unset/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-unset/main.html rename to test/runtime/samples/binding-this-unset/main.svelte diff --git a/test/runtime/samples/binding-this-with-context/main.html b/test/runtime/samples/binding-this-with-context/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-with-context/main.html rename to test/runtime/samples/binding-this-with-context/main.svelte diff --git a/test/runtime/samples/binding-this/main.html b/test/runtime/samples/binding-this/main.svelte similarity index 100% rename from test/runtime/samples/binding-this/main.html rename to test/runtime/samples/binding-this/main.svelte diff --git a/test/runtime/samples/bindings-before-onmount/One.html b/test/runtime/samples/bindings-before-onmount/One.svelte similarity index 74% rename from test/runtime/samples/bindings-before-onmount/One.html rename to test/runtime/samples/bindings-before-onmount/One.svelte index b2ba905ec9..5dd38a6f08 100644 --- a/test/runtime/samples/bindings-before-onmount/One.html +++ b/test/runtime/samples/bindings-before-onmount/One.svelte @@ -1,6 +1,6 @@ - - \ No newline at end of file diff --git a/test/runtime/samples/bindings-before-onmount/main.svelte b/test/runtime/samples/bindings-before-onmount/main.svelte new file mode 100644 index 0000000000..65c1221b26 --- /dev/null +++ b/test/runtime/samples/bindings-before-onmount/main.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/bindings-coalesced/Foo.html b/test/runtime/samples/bindings-coalesced/Foo.svelte similarity index 100% rename from test/runtime/samples/bindings-coalesced/Foo.html rename to test/runtime/samples/bindings-coalesced/Foo.svelte diff --git a/test/runtime/samples/bindings-coalesced/main.html b/test/runtime/samples/bindings-coalesced/main.svelte similarity index 66% rename from test/runtime/samples/bindings-coalesced/main.html rename to test/runtime/samples/bindings-coalesced/main.svelte index cf0b85491a..003f89c6d9 100644 --- a/test/runtime/samples/bindings-coalesced/main.html +++ b/test/runtime/samples/bindings-coalesced/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-binding-each/Widget.html b/test/runtime/samples/component-binding-each/Widget.svelte similarity index 100% rename from test/runtime/samples/component-binding-each/Widget.html rename to test/runtime/samples/component-binding-each/Widget.svelte diff --git a/test/runtime/samples/component-binding-each/main.html b/test/runtime/samples/component-binding-each/main.svelte similarity index 64% rename from test/runtime/samples/component-binding-each/main.html rename to test/runtime/samples/component-binding-each/main.svelte index 49ab04e68f..36a7c46225 100644 --- a/test/runtime/samples/component-binding-each/main.html +++ b/test/runtime/samples/component-binding-each/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-binding-infinite-loop/A.html b/test/runtime/samples/component-binding-infinite-loop/A.svelte similarity index 58% rename from test/runtime/samples/component-binding-infinite-loop/A.html rename to test/runtime/samples/component-binding-infinite-loop/A.svelte index d4a9bf8eac..8ba3ec20f3 100644 --- a/test/runtime/samples/component-binding-infinite-loop/A.html +++ b/test/runtime/samples/component-binding-infinite-loop/A.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-binding-infinite-loop/B.html b/test/runtime/samples/component-binding-infinite-loop/B.svelte similarity index 83% rename from test/runtime/samples/component-binding-infinite-loop/B.html rename to test/runtime/samples/component-binding-infinite-loop/B.svelte index 72bbbe4110..cbc8160679 100644 --- a/test/runtime/samples/component-binding-infinite-loop/B.html +++ b/test/runtime/samples/component-binding-infinite-loop/B.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-binding-nested/Bar.html b/test/runtime/samples/component-binding-nested/Bar.svelte similarity index 71% rename from test/runtime/samples/component-binding-nested/Bar.html rename to test/runtime/samples/component-binding-nested/Bar.svelte index 9ed5c6f42c..19159f168d 100644 --- a/test/runtime/samples/component-binding-nested/Bar.html +++ b/test/runtime/samples/component-binding-nested/Bar.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-binding-nested/Baz.html b/test/runtime/samples/component-binding-nested/Baz.svelte similarity index 100% rename from test/runtime/samples/component-binding-nested/Baz.html rename to test/runtime/samples/component-binding-nested/Baz.svelte diff --git a/test/runtime/samples/component-binding-nested/Foo.html b/test/runtime/samples/component-binding-nested/Foo.svelte similarity index 71% rename from test/runtime/samples/component-binding-nested/Foo.html rename to test/runtime/samples/component-binding-nested/Foo.svelte index 500480eae6..4a3e59afe7 100644 --- a/test/runtime/samples/component-binding-nested/Foo.html +++ b/test/runtime/samples/component-binding-nested/Foo.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-binding-nested/main.html b/test/runtime/samples/component-binding-nested/main.svelte similarity index 52% rename from test/runtime/samples/component-binding-nested/main.html rename to test/runtime/samples/component-binding-nested/main.svelte index cae8f4dc52..18f96b310c 100644 --- a/test/runtime/samples/component-binding-nested/main.html +++ b/test/runtime/samples/component-binding-nested/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-b/Bar.html b/test/runtime/samples/component-binding-parent-supercedes-child-b/Bar.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-b/Bar.html rename to test/runtime/samples/component-binding-parent-supercedes-child-b/Bar.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-b/Foo.html b/test/runtime/samples/component-binding-parent-supercedes-child-b/Foo.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-b/Foo.html rename to test/runtime/samples/component-binding-parent-supercedes-child-b/Foo.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-b/main.html b/test/runtime/samples/component-binding-parent-supercedes-child-b/main.svelte similarity index 55% rename from test/runtime/samples/component-binding-parent-supercedes-child-b/main.html rename to test/runtime/samples/component-binding-parent-supercedes-child-b/main.svelte index aaad9eb2fe..e6edf3b1f7 100644 --- a/test/runtime/samples/component-binding-parent-supercedes-child-b/main.html +++ b/test/runtime/samples/component-binding-parent-supercedes-child-b/main.svelte @@ -1,6 +1,6 @@ diff --git a/test/runtime/samples/component-binding-private-state/Bar.html b/test/runtime/samples/component-binding-private-state/Bar.svelte similarity index 100% rename from test/runtime/samples/component-binding-private-state/Bar.html rename to test/runtime/samples/component-binding-private-state/Bar.svelte diff --git a/test/runtime/samples/component-binding-private-state/Foo.html b/test/runtime/samples/component-binding-private-state/Foo.svelte similarity index 100% rename from test/runtime/samples/component-binding-private-state/Foo.html rename to test/runtime/samples/component-binding-private-state/Foo.svelte diff --git a/test/runtime/samples/component-binding-private-state/main.html b/test/runtime/samples/component-binding-private-state/main.svelte similarity index 55% rename from test/runtime/samples/component-binding-private-state/main.html rename to test/runtime/samples/component-binding-private-state/main.svelte index ffc5bd188d..426ef04bad 100644 --- a/test/runtime/samples/component-binding-private-state/main.html +++ b/test/runtime/samples/component-binding-private-state/main.svelte @@ -1,6 +1,6 @@ diff --git a/test/runtime/samples/component-binding/Counter.html b/test/runtime/samples/component-binding/Counter.svelte similarity index 100% rename from test/runtime/samples/component-binding/Counter.html rename to test/runtime/samples/component-binding/Counter.svelte diff --git a/test/runtime/samples/component-binding/main.html b/test/runtime/samples/component-binding/main.svelte similarity index 51% rename from test/runtime/samples/component-binding/main.html rename to test/runtime/samples/component-binding/main.svelte index 5639d47eb1..3a582fe7bd 100644 --- a/test/runtime/samples/component-binding/main.html +++ b/test/runtime/samples/component-binding/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-data-dynamic-late/Widget.html b/test/runtime/samples/component-data-dynamic-late/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic-late/Widget.html rename to test/runtime/samples/component-data-dynamic-late/Widget.svelte diff --git a/test/runtime/samples/component-data-dynamic-late/main.html b/test/runtime/samples/component-data-dynamic-late/main.svelte similarity index 67% rename from test/runtime/samples/component-data-dynamic-late/main.html rename to test/runtime/samples/component-data-dynamic-late/main.svelte index 4c07837598..4e11d151cf 100644 --- a/test/runtime/samples/component-data-dynamic-late/main.html +++ b/test/runtime/samples/component-data-dynamic-late/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-data-dynamic/Widget.html b/test/runtime/samples/component-data-dynamic/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic/Widget.html rename to test/runtime/samples/component-data-dynamic/Widget.svelte diff --git a/test/runtime/samples/component-data-dynamic/main.html b/test/runtime/samples/component-data-dynamic/main.svelte similarity index 80% rename from test/runtime/samples/component-data-dynamic/main.html rename to test/runtime/samples/component-data-dynamic/main.svelte index 7c796ca9b6..42ef74a185 100644 --- a/test/runtime/samples/component-data-dynamic/main.html +++ b/test/runtime/samples/component-data-dynamic/main.svelte @@ -1,5 +1,5 @@ - -
- -
\ No newline at end of file diff --git a/test/runtime/samples/component-data-empty/main.svelte b/test/runtime/samples/component-data-empty/main.svelte new file mode 100644 index 0000000000..be6a137e8a --- /dev/null +++ b/test/runtime/samples/component-data-empty/main.svelte @@ -0,0 +1,7 @@ + + +
+ +
\ No newline at end of file diff --git a/test/runtime/samples/component-data-static-boolean-regression/Link.html b/test/runtime/samples/component-data-static-boolean-regression/Link.svelte similarity index 100% rename from test/runtime/samples/component-data-static-boolean-regression/Link.html rename to test/runtime/samples/component-data-static-boolean-regression/Link.svelte diff --git a/test/runtime/samples/component-data-static-boolean-regression/main.html b/test/runtime/samples/component-data-static-boolean-regression/main.html deleted file mode 100644 index 8207fef20e..0000000000 --- a/test/runtime/samples/component-data-static-boolean-regression/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/component-data-static-boolean-regression/main.svelte b/test/runtime/samples/component-data-static-boolean-regression/main.svelte new file mode 100644 index 0000000000..492d1dc78a --- /dev/null +++ b/test/runtime/samples/component-data-static-boolean-regression/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/component-data-static-boolean/Foo.html b/test/runtime/samples/component-data-static-boolean/Foo.svelte similarity index 100% rename from test/runtime/samples/component-data-static-boolean/Foo.html rename to test/runtime/samples/component-data-static-boolean/Foo.svelte diff --git a/test/runtime/samples/component-data-static-boolean/main.html b/test/runtime/samples/component-data-static-boolean/main.html deleted file mode 100644 index cfaef9dea3..0000000000 --- a/test/runtime/samples/component-data-static-boolean/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/component-data-static-boolean/main.svelte b/test/runtime/samples/component-data-static-boolean/main.svelte new file mode 100644 index 0000000000..edb8e749af --- /dev/null +++ b/test/runtime/samples/component-data-static-boolean/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/component-data-static/Widget.html b/test/runtime/samples/component-data-static/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-static/Widget.html rename to test/runtime/samples/component-data-static/Widget.svelte diff --git a/test/runtime/samples/component-data-static/main.html b/test/runtime/samples/component-data-static/main.svelte similarity index 55% rename from test/runtime/samples/component-data-static/main.html rename to test/runtime/samples/component-data-static/main.svelte index ec8e37c45e..b116b262a0 100644 --- a/test/runtime/samples/component-data-static/main.html +++ b/test/runtime/samples/component-data-static/main.svelte @@ -1,5 +1,5 @@
diff --git a/test/runtime/samples/component-event-not-stale/Button.html b/test/runtime/samples/component-event-not-stale/Button.svelte similarity index 100% rename from test/runtime/samples/component-event-not-stale/Button.html rename to test/runtime/samples/component-event-not-stale/Button.svelte diff --git a/test/runtime/samples/component-event-not-stale/main.html b/test/runtime/samples/component-event-not-stale/main.svelte similarity index 88% rename from test/runtime/samples/component-event-not-stale/main.html rename to test/runtime/samples/component-event-not-stale/main.svelte index 1beacd0e2d..0b2ab2c1ee 100644 --- a/test/runtime/samples/component-event-not-stale/main.html +++ b/test/runtime/samples/component-event-not-stale/main.svelte @@ -1,6 +1,6 @@ - - \ No newline at end of file diff --git a/test/runtime/samples/component-events-console/main.svelte b/test/runtime/samples/component-events-console/main.svelte new file mode 100644 index 0000000000..fba004b4eb --- /dev/null +++ b/test/runtime/samples/component-events-console/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/component-events-data/Widget.html b/test/runtime/samples/component-events-data/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events-data/Widget.html rename to test/runtime/samples/component-events-data/Widget.svelte diff --git a/test/runtime/samples/component-events-data/main.html b/test/runtime/samples/component-events-data/main.svelte similarity index 81% rename from test/runtime/samples/component-events-data/main.html rename to test/runtime/samples/component-events-data/main.svelte index 5661404a46..ea44594ccd 100644 --- a/test/runtime/samples/component-events-data/main.html +++ b/test/runtime/samples/component-events-data/main.svelte @@ -1,6 +1,6 @@ diff --git a/test/runtime/samples/component-events-each/Widget.html b/test/runtime/samples/component-events-each/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events-each/Widget.html rename to test/runtime/samples/component-events-each/Widget.svelte diff --git a/test/runtime/samples/component-events-each/main.html b/test/runtime/samples/component-events-each/main.svelte similarity index 85% rename from test/runtime/samples/component-events-each/main.html rename to test/runtime/samples/component-events-each/main.svelte index 4a5a694172..f229873431 100644 --- a/test/runtime/samples/component-events-each/main.html +++ b/test/runtime/samples/component-events-each/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-name-deconflicted/Nested.html b/test/runtime/samples/component-name-deconflicted/Nested.svelte similarity index 100% rename from test/runtime/samples/component-name-deconflicted/Nested.html rename to test/runtime/samples/component-name-deconflicted/Nested.svelte diff --git a/test/runtime/samples/component-name-deconflicted/main.html b/test/runtime/samples/component-name-deconflicted/main.svelte similarity index 70% rename from test/runtime/samples/component-name-deconflicted/main.html rename to test/runtime/samples/component-name-deconflicted/main.svelte index 03d43c357b..1649ad0a7d 100644 --- a/test/runtime/samples/component-name-deconflicted/main.html +++ b/test/runtime/samples/component-name-deconflicted/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-nested-deep/Level1.html b/test/runtime/samples/component-nested-deep/Level1.html deleted file mode 100644 index 246bc4dfb7..0000000000 --- a/test/runtime/samples/component-nested-deep/Level1.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/Level1.svelte b/test/runtime/samples/component-nested-deep/Level1.svelte new file mode 100644 index 0000000000..1889fa2bd0 --- /dev/null +++ b/test/runtime/samples/component-nested-deep/Level1.svelte @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/Level2.html b/test/runtime/samples/component-nested-deep/Level2.html deleted file mode 100644 index 4b992b5cb3..0000000000 --- a/test/runtime/samples/component-nested-deep/Level2.html +++ /dev/null @@ -1,6 +0,0 @@ - - -level 2 - \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/Level2.svelte b/test/runtime/samples/component-nested-deep/Level2.svelte new file mode 100644 index 0000000000..500c4c9887 --- /dev/null +++ b/test/runtime/samples/component-nested-deep/Level2.svelte @@ -0,0 +1,6 @@ + + +level 2 + \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/Level3.html b/test/runtime/samples/component-nested-deep/Level3.svelte similarity index 100% rename from test/runtime/samples/component-nested-deep/Level3.html rename to test/runtime/samples/component-nested-deep/Level3.svelte diff --git a/test/runtime/samples/component-nested-deep/main.html b/test/runtime/samples/component-nested-deep/main.html deleted file mode 100644 index 57e4fc02b1..0000000000 --- a/test/runtime/samples/component-nested-deep/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deep/main.svelte b/test/runtime/samples/component-nested-deep/main.svelte new file mode 100644 index 0000000000..a7007e27ea --- /dev/null +++ b/test/runtime/samples/component-nested-deep/main.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deeper/Level1.html b/test/runtime/samples/component-nested-deeper/Level1.svelte similarity index 74% rename from test/runtime/samples/component-nested-deeper/Level1.html rename to test/runtime/samples/component-nested-deeper/Level1.svelte index 273e1b61c8..887782f121 100644 --- a/test/runtime/samples/component-nested-deeper/Level1.html +++ b/test/runtime/samples/component-nested-deeper/Level1.svelte @@ -1,6 +1,6 @@ diff --git a/test/runtime/samples/component-nested-deeper/Level2.html b/test/runtime/samples/component-nested-deeper/Level2.svelte similarity index 100% rename from test/runtime/samples/component-nested-deeper/Level2.html rename to test/runtime/samples/component-nested-deeper/Level2.svelte diff --git a/test/runtime/samples/component-nested-deeper/Level3.html b/test/runtime/samples/component-nested-deeper/Level3.svelte similarity index 100% rename from test/runtime/samples/component-nested-deeper/Level3.html rename to test/runtime/samples/component-nested-deeper/Level3.svelte diff --git a/test/runtime/samples/component-nested-deeper/main.html b/test/runtime/samples/component-nested-deeper/main.html deleted file mode 100644 index 4c72ae6743..0000000000 --- a/test/runtime/samples/component-nested-deeper/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/component-nested-deeper/main.svelte b/test/runtime/samples/component-nested-deeper/main.svelte new file mode 100644 index 0000000000..a1a6ff0de5 --- /dev/null +++ b/test/runtime/samples/component-nested-deeper/main.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/component-not-void/Link.html b/test/runtime/samples/component-not-void/Link.svelte similarity index 100% rename from test/runtime/samples/component-not-void/Link.html rename to test/runtime/samples/component-not-void/Link.svelte diff --git a/test/runtime/samples/component-not-void/main.html b/test/runtime/samples/component-not-void/main.html deleted file mode 100644 index 0769c81092..0000000000 --- a/test/runtime/samples/component-not-void/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - -Hello \ No newline at end of file diff --git a/test/runtime/samples/component-not-void/main.svelte b/test/runtime/samples/component-not-void/main.svelte new file mode 100644 index 0000000000..836777832b --- /dev/null +++ b/test/runtime/samples/component-not-void/main.svelte @@ -0,0 +1,5 @@ + + +Hello \ No newline at end of file diff --git a/test/runtime/samples/component-ref/Widget.html b/test/runtime/samples/component-ref/Widget.svelte similarity index 100% rename from test/runtime/samples/component-ref/Widget.html rename to test/runtime/samples/component-ref/Widget.svelte diff --git a/test/runtime/samples/component-ref/main.html b/test/runtime/samples/component-ref/main.svelte similarity index 62% rename from test/runtime/samples/component-ref/main.html rename to test/runtime/samples/component-ref/main.svelte index a91173c5af..1f51727c76 100644 --- a/test/runtime/samples/component-ref/main.html +++ b/test/runtime/samples/component-ref/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-shorthand-import/Widget.html b/test/runtime/samples/component-shorthand-import/Widget.svelte similarity index 100% rename from test/runtime/samples/component-shorthand-import/Widget.html rename to test/runtime/samples/component-shorthand-import/Widget.svelte diff --git a/test/runtime/samples/component-shorthand-import/main.html b/test/runtime/samples/component-shorthand-import/main.html deleted file mode 100644 index cbcde3f1ed..0000000000 --- a/test/runtime/samples/component-shorthand-import/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/component-shorthand-import/main.svelte b/test/runtime/samples/component-shorthand-import/main.svelte new file mode 100644 index 0000000000..0a9d5bba87 --- /dev/null +++ b/test/runtime/samples/component-shorthand-import/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/component-slot-default/Nested.html b/test/runtime/samples/component-slot-default/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-default/Nested.html rename to test/runtime/samples/component-slot-default/Nested.svelte diff --git a/test/runtime/samples/component-slot-default/main.html b/test/runtime/samples/component-slot-default/main.html deleted file mode 100644 index 06a1f64cae..0000000000 --- a/test/runtime/samples/component-slot-default/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - Hello - \ No newline at end of file diff --git a/test/runtime/samples/component-slot-default/main.svelte b/test/runtime/samples/component-slot-default/main.svelte new file mode 100644 index 0000000000..1e1ea8daa8 --- /dev/null +++ b/test/runtime/samples/component-slot-default/main.svelte @@ -0,0 +1,7 @@ + + + + Hello + \ No newline at end of file diff --git a/test/runtime/samples/component-slot-dynamic/Nested.html b/test/runtime/samples/component-slot-dynamic/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-dynamic/Nested.html rename to test/runtime/samples/component-slot-dynamic/Nested.svelte diff --git a/test/runtime/samples/component-slot-dynamic/main.html b/test/runtime/samples/component-slot-dynamic/main.svelte similarity index 67% rename from test/runtime/samples/component-slot-dynamic/main.html rename to test/runtime/samples/component-slot-dynamic/main.svelte index ad952b38bb..8eb876444a 100644 --- a/test/runtime/samples/component-slot-dynamic/main.html +++ b/test/runtime/samples/component-slot-dynamic/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-each-block/Nested.html b/test/runtime/samples/component-slot-each-block/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-each-block/Nested.html rename to test/runtime/samples/component-slot-each-block/Nested.svelte diff --git a/test/runtime/samples/component-slot-each-block/main.html b/test/runtime/samples/component-slot-each-block/main.svelte similarity index 69% rename from test/runtime/samples/component-slot-each-block/main.html rename to test/runtime/samples/component-slot-each-block/main.svelte index 911eb5c1ae..986c5c40e1 100644 --- a/test/runtime/samples/component-slot-each-block/main.html +++ b/test/runtime/samples/component-slot-each-block/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-empty/Nested.html b/test/runtime/samples/component-slot-empty/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-empty/Nested.html rename to test/runtime/samples/component-slot-empty/Nested.svelte diff --git a/test/runtime/samples/component-slot-empty/main.html b/test/runtime/samples/component-slot-empty/main.html deleted file mode 100644 index 3d76b0a696..0000000000 --- a/test/runtime/samples/component-slot-empty/main.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/test/runtime/samples/component-slot-empty/main.svelte b/test/runtime/samples/component-slot-empty/main.svelte new file mode 100644 index 0000000000..619060e4cb --- /dev/null +++ b/test/runtime/samples/component-slot-empty/main.svelte @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/test/runtime/samples/component-slot-fallback/Nested.html b/test/runtime/samples/component-slot-fallback/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback/Nested.html rename to test/runtime/samples/component-slot-fallback/Nested.svelte diff --git a/test/runtime/samples/component-slot-fallback/main.html b/test/runtime/samples/component-slot-fallback/main.svelte similarity index 51% rename from test/runtime/samples/component-slot-fallback/main.html rename to test/runtime/samples/component-slot-fallback/main.svelte index f4d609216c..0bdb6f8b1d 100644 --- a/test/runtime/samples/component-slot-fallback/main.html +++ b/test/runtime/samples/component-slot-fallback/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-if-block-before-node/Nested.html b/test/runtime/samples/component-slot-if-block-before-node/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-if-block-before-node/Nested.html rename to test/runtime/samples/component-slot-if-block-before-node/Nested.svelte diff --git a/test/runtime/samples/component-slot-if-block/main.html b/test/runtime/samples/component-slot-if-block-before-node/main.svelte similarity index 69% rename from test/runtime/samples/component-slot-if-block/main.html rename to test/runtime/samples/component-slot-if-block-before-node/main.svelte index 2b0405a471..6e51f27649 100644 --- a/test/runtime/samples/component-slot-if-block/main.html +++ b/test/runtime/samples/component-slot-if-block-before-node/main.svelte @@ -1,13 +1,13 @@ -

unconditional

- {#if foo}

conditional

{/if} + +

unconditional

\ No newline at end of file diff --git a/test/runtime/samples/component-slot-if-block/Nested.html b/test/runtime/samples/component-slot-if-block/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-if-block/Nested.html rename to test/runtime/samples/component-slot-if-block/Nested.svelte diff --git a/test/runtime/samples/component-slot-if-block-before-node/main.html b/test/runtime/samples/component-slot-if-block/main.svelte similarity index 69% rename from test/runtime/samples/component-slot-if-block-before-node/main.html rename to test/runtime/samples/component-slot-if-block/main.svelte index 01ea1e8455..465da320a9 100644 --- a/test/runtime/samples/component-slot-if-block-before-node/main.html +++ b/test/runtime/samples/component-slot-if-block/main.svelte @@ -1,13 +1,13 @@ +

unconditional

+ {#if foo}

conditional

{/if} - -

unconditional

\ No newline at end of file diff --git a/test/runtime/samples/component-slot-if-else-block-before-node/Nested.html b/test/runtime/samples/component-slot-if-else-block-before-node/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-if-else-block-before-node/Nested.html rename to test/runtime/samples/component-slot-if-else-block-before-node/Nested.svelte diff --git a/test/runtime/samples/component-slot-if-else-block-before-node/main.html b/test/runtime/samples/component-slot-if-else-block-before-node/main.svelte similarity index 74% rename from test/runtime/samples/component-slot-if-else-block-before-node/main.html rename to test/runtime/samples/component-slot-if-else-block-before-node/main.svelte index 684497b98a..0b24f77b16 100644 --- a/test/runtime/samples/component-slot-if-else-block-before-node/main.html +++ b/test/runtime/samples/component-slot-if-else-block-before-node/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-let-aliased/Nested.html b/test/runtime/samples/component-slot-let-aliased/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-aliased/Nested.html rename to test/runtime/samples/component-slot-let-aliased/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-aliased/main.html b/test/runtime/samples/component-slot-let-aliased/main.svelte similarity index 65% rename from test/runtime/samples/component-slot-let-aliased/main.html rename to test/runtime/samples/component-slot-let-aliased/main.svelte index 1acb7fbcdc..468a58face 100644 --- a/test/runtime/samples/component-slot-let-aliased/main.html +++ b/test/runtime/samples/component-slot-let-aliased/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-let-b/Nested.html b/test/runtime/samples/component-slot-let-b/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-b/Nested.html rename to test/runtime/samples/component-slot-let-b/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-b/main.html b/test/runtime/samples/component-slot-let-b/main.svelte similarity index 55% rename from test/runtime/samples/component-slot-let-b/main.html rename to test/runtime/samples/component-slot-let-b/main.svelte index b4fd5f54c6..4acec62b21 100644 --- a/test/runtime/samples/component-slot-let-b/main.html +++ b/test/runtime/samples/component-slot-let-b/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-let-c/Nested.html b/test/runtime/samples/component-slot-let-c/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-c/Nested.html rename to test/runtime/samples/component-slot-let-c/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-c/main.html b/test/runtime/samples/component-slot-let-c/main.svelte similarity index 60% rename from test/runtime/samples/component-slot-let-c/main.html rename to test/runtime/samples/component-slot-let-c/main.svelte index b834fd8790..b594964303 100644 --- a/test/runtime/samples/component-slot-let-c/main.html +++ b/test/runtime/samples/component-slot-let-c/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-let-destructured/Nested.html b/test/runtime/samples/component-slot-let-destructured/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-destructured/Nested.html rename to test/runtime/samples/component-slot-let-destructured/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-destructured/main.html b/test/runtime/samples/component-slot-let-destructured/main.svelte similarity index 67% rename from test/runtime/samples/component-slot-let-destructured/main.html rename to test/runtime/samples/component-slot-let-destructured/main.svelte index 488fd463de..1ee93bf105 100644 --- a/test/runtime/samples/component-slot-let-destructured/main.html +++ b/test/runtime/samples/component-slot-let-destructured/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-let-named/Nested.html b/test/runtime/samples/component-slot-let-named/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-named/Nested.html rename to test/runtime/samples/component-slot-let-named/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-named/main.html b/test/runtime/samples/component-slot-let-named/main.svelte similarity index 71% rename from test/runtime/samples/component-slot-let-named/main.html rename to test/runtime/samples/component-slot-let-named/main.svelte index 1c3d3365c7..f9e9e3a10f 100644 --- a/test/runtime/samples/component-slot-let-named/main.html +++ b/test/runtime/samples/component-slot-let-named/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-let-static/Nested.html b/test/runtime/samples/component-slot-let-static/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-static/Nested.html rename to test/runtime/samples/component-slot-let-static/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-static/main.html b/test/runtime/samples/component-slot-let-static/main.svelte similarity index 53% rename from test/runtime/samples/component-slot-let-static/main.html rename to test/runtime/samples/component-slot-let-static/main.svelte index 6e91b0d026..3eeaba976e 100644 --- a/test/runtime/samples/component-slot-let-static/main.html +++ b/test/runtime/samples/component-slot-let-static/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-let/Nested.html b/test/runtime/samples/component-slot-let/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let/Nested.html rename to test/runtime/samples/component-slot-let/Nested.svelte diff --git a/test/runtime/samples/component-slot-let/main.html b/test/runtime/samples/component-slot-let/main.svelte similarity index 65% rename from test/runtime/samples/component-slot-let/main.html rename to test/runtime/samples/component-slot-let/main.svelte index 76d491389f..d00bb8e41e 100644 --- a/test/runtime/samples/component-slot-let/main.html +++ b/test/runtime/samples/component-slot-let/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-name-with-hyphen/Nested.html b/test/runtime/samples/component-slot-name-with-hyphen/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-name-with-hyphen/Nested.html rename to test/runtime/samples/component-slot-name-with-hyphen/Nested.svelte diff --git a/test/runtime/samples/component-slot-name-with-hyphen/main.html b/test/runtime/samples/component-slot-name-with-hyphen/main.svelte similarity index 54% rename from test/runtime/samples/component-slot-name-with-hyphen/main.html rename to test/runtime/samples/component-slot-name-with-hyphen/main.svelte index a77e524f89..13a65b2196 100644 --- a/test/runtime/samples/component-slot-name-with-hyphen/main.html +++ b/test/runtime/samples/component-slot-name-with-hyphen/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-named/Nested.html b/test/runtime/samples/component-slot-named/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-named/Nested.html rename to test/runtime/samples/component-slot-named/Nested.svelte diff --git a/test/runtime/samples/component-slot-named/main.html b/test/runtime/samples/component-slot-named/main.svelte similarity index 63% rename from test/runtime/samples/component-slot-named/main.html rename to test/runtime/samples/component-slot-named/main.svelte index 627c3ab7e0..e25587c1e5 100644 --- a/test/runtime/samples/component-slot-named/main.html +++ b/test/runtime/samples/component-slot-named/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-nested-component/Inner.html b/test/runtime/samples/component-slot-nested-component/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-component/Inner.html rename to test/runtime/samples/component-slot-nested-component/Inner.svelte diff --git a/test/runtime/samples/component-slot-nested-component/Outer.html b/test/runtime/samples/component-slot-nested-component/Outer.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-component/Outer.html rename to test/runtime/samples/component-slot-nested-component/Outer.svelte diff --git a/test/runtime/samples/component-slot-nested-component/main.html b/test/runtime/samples/component-slot-nested-component/main.html deleted file mode 100644 index d86e58bb70..0000000000 --- a/test/runtime/samples/component-slot-nested-component/main.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - foo - \ No newline at end of file diff --git a/test/runtime/samples/component-slot-nested-component/main.svelte b/test/runtime/samples/component-slot-nested-component/main.svelte new file mode 100644 index 0000000000..45c6d437b6 --- /dev/null +++ b/test/runtime/samples/component-slot-nested-component/main.svelte @@ -0,0 +1,8 @@ + + + + foo + \ No newline at end of file diff --git a/test/runtime/samples/component-slot-nested/Nested.html b/test/runtime/samples/component-slot-nested/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested/Nested.html rename to test/runtime/samples/component-slot-nested/Nested.svelte diff --git a/test/runtime/samples/component-slot-nested/main.html b/test/runtime/samples/component-slot-nested/main.svelte similarity index 52% rename from test/runtime/samples/component-slot-nested/main.html rename to test/runtime/samples/component-slot-nested/main.svelte index a109ec9c06..982a918709 100644 --- a/test/runtime/samples/component-slot-nested/main.html +++ b/test/runtime/samples/component-slot-nested/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-slot-used-with-default-event/Nested.html b/test/runtime/samples/component-slot-used-with-default-event/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-used-with-default-event/Nested.html rename to test/runtime/samples/component-slot-used-with-default-event/Nested.svelte diff --git a/test/runtime/samples/component-slot-used-with-default-event/main.html b/test/runtime/samples/component-slot-used-with-default-event/main.html deleted file mode 100644 index 06a1f64cae..0000000000 --- a/test/runtime/samples/component-slot-used-with-default-event/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - Hello - \ No newline at end of file diff --git a/test/runtime/samples/component-slot-used-with-default-event/main.svelte b/test/runtime/samples/component-slot-used-with-default-event/main.svelte new file mode 100644 index 0000000000..1e1ea8daa8 --- /dev/null +++ b/test/runtime/samples/component-slot-used-with-default-event/main.svelte @@ -0,0 +1,7 @@ + + + + Hello + \ No newline at end of file diff --git a/test/runtime/samples/component-static-at-symbol/Email.html b/test/runtime/samples/component-static-at-symbol/Email.svelte similarity index 100% rename from test/runtime/samples/component-static-at-symbol/Email.html rename to test/runtime/samples/component-static-at-symbol/Email.svelte diff --git a/test/runtime/samples/component-static-at-symbol/main.html b/test/runtime/samples/component-static-at-symbol/main.html deleted file mode 100644 index 275b922f6a..0000000000 --- a/test/runtime/samples/component-static-at-symbol/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/component-static-at-symbol/main.svelte b/test/runtime/samples/component-static-at-symbol/main.svelte new file mode 100644 index 0000000000..39f82ffd25 --- /dev/null +++ b/test/runtime/samples/component-static-at-symbol/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/component-template-inline-mutation/Widget.html b/test/runtime/samples/component-template-inline-mutation/Widget.svelte similarity index 100% rename from test/runtime/samples/component-template-inline-mutation/Widget.html rename to test/runtime/samples/component-template-inline-mutation/Widget.svelte diff --git a/test/runtime/samples/component-template-inline-mutation/main.html b/test/runtime/samples/component-template-inline-mutation/main.html deleted file mode 100644 index f094aef743..0000000000 --- a/test/runtime/samples/component-template-inline-mutation/main.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/test/runtime/samples/component-template-inline-mutation/main.svelte b/test/runtime/samples/component-template-inline-mutation/main.svelte new file mode 100644 index 0000000000..b77462c690 --- /dev/null +++ b/test/runtime/samples/component-template-inline-mutation/main.svelte @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/test/runtime/samples/component-yield-follows-element/Foo.html b/test/runtime/samples/component-yield-follows-element/Foo.svelte similarity index 100% rename from test/runtime/samples/component-yield-follows-element/Foo.html rename to test/runtime/samples/component-yield-follows-element/Foo.svelte diff --git a/test/runtime/samples/component-yield-follows-element/main.html b/test/runtime/samples/component-yield-follows-element/main.html deleted file mode 100644 index b362e9a410..0000000000 --- a/test/runtime/samples/component-yield-follows-element/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - -test \ No newline at end of file diff --git a/test/runtime/samples/component-yield-follows-element/main.svelte b/test/runtime/samples/component-yield-follows-element/main.svelte new file mode 100644 index 0000000000..3a43b58231 --- /dev/null +++ b/test/runtime/samples/component-yield-follows-element/main.svelte @@ -0,0 +1,5 @@ + + +test \ No newline at end of file diff --git a/test/runtime/samples/component-yield-if/Widget.html b/test/runtime/samples/component-yield-if/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-if/Widget.html rename to test/runtime/samples/component-yield-if/Widget.svelte diff --git a/test/runtime/samples/component-yield-if/main.html b/test/runtime/samples/component-yield-if/main.svelte similarity index 72% rename from test/runtime/samples/component-yield-if/main.html rename to test/runtime/samples/component-yield-if/main.svelte index 768993e064..4e02155a8b 100644 --- a/test/runtime/samples/component-yield-if/main.html +++ b/test/runtime/samples/component-yield-if/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-yield-multiple-in-if/Widget.html b/test/runtime/samples/component-yield-multiple-in-if/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-multiple-in-if/Widget.html rename to test/runtime/samples/component-yield-multiple-in-if/Widget.svelte diff --git a/test/runtime/samples/component-yield-multiple-in-if/main.html b/test/runtime/samples/component-yield-multiple-in-if/main.svelte similarity index 75% rename from test/runtime/samples/component-yield-multiple-in-if/main.html rename to test/runtime/samples/component-yield-multiple-in-if/main.svelte index 53eba749d6..db518183b5 100644 --- a/test/runtime/samples/component-yield-multiple-in-if/main.html +++ b/test/runtime/samples/component-yield-multiple-in-if/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-yield-nested-if/Inner.html b/test/runtime/samples/component-yield-nested-if/Inner.svelte similarity index 100% rename from test/runtime/samples/component-yield-nested-if/Inner.html rename to test/runtime/samples/component-yield-nested-if/Inner.svelte diff --git a/test/runtime/samples/component-yield-nested-if/Outer.html b/test/runtime/samples/component-yield-nested-if/Outer.svelte similarity index 100% rename from test/runtime/samples/component-yield-nested-if/Outer.html rename to test/runtime/samples/component-yield-nested-if/Outer.svelte diff --git a/test/runtime/samples/component-yield-nested-if/main.html b/test/runtime/samples/component-yield-nested-if/main.html deleted file mode 100644 index 98c27812e6..0000000000 --- a/test/runtime/samples/component-yield-nested-if/main.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - One - - \ No newline at end of file diff --git a/test/runtime/samples/component-yield-nested-if/main.svelte b/test/runtime/samples/component-yield-nested-if/main.svelte new file mode 100644 index 0000000000..2107a21ed4 --- /dev/null +++ b/test/runtime/samples/component-yield-nested-if/main.svelte @@ -0,0 +1,11 @@ + + + + One + + \ No newline at end of file diff --git a/test/runtime/samples/component-yield-parent/Widget.html b/test/runtime/samples/component-yield-parent/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-parent/Widget.html rename to test/runtime/samples/component-yield-parent/Widget.svelte diff --git a/test/runtime/samples/component-yield-parent/main.html b/test/runtime/samples/component-yield-parent/main.svelte similarity index 64% rename from test/runtime/samples/component-yield-parent/main.html rename to test/runtime/samples/component-yield-parent/main.svelte index b36dbc1b14..8de37236ae 100644 --- a/test/runtime/samples/component-yield-parent/main.html +++ b/test/runtime/samples/component-yield-parent/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-yield-placement/Modal.html b/test/runtime/samples/component-yield-placement/Modal.svelte similarity index 100% rename from test/runtime/samples/component-yield-placement/Modal.html rename to test/runtime/samples/component-yield-placement/Modal.svelte diff --git a/test/runtime/samples/component-yield-placement/main.html b/test/runtime/samples/component-yield-placement/main.svelte similarity index 83% rename from test/runtime/samples/component-yield-placement/main.html rename to test/runtime/samples/component-yield-placement/main.svelte index cc5bfd73ed..ee1a1221eb 100644 --- a/test/runtime/samples/component-yield-placement/main.html +++ b/test/runtime/samples/component-yield-placement/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/component-yield-static/Widget.html b/test/runtime/samples/component-yield-static/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-static/Widget.html rename to test/runtime/samples/component-yield-static/Widget.svelte diff --git a/test/runtime/samples/component-yield-static/main.html b/test/runtime/samples/component-yield-static/main.html deleted file mode 100644 index 9d5807872d..0000000000 --- a/test/runtime/samples/component-yield-static/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - -Hello {name} \ No newline at end of file diff --git a/test/runtime/samples/component-yield-static/main.svelte b/test/runtime/samples/component-yield-static/main.svelte new file mode 100644 index 0000000000..3e99a8baa9 --- /dev/null +++ b/test/runtime/samples/component-yield-static/main.svelte @@ -0,0 +1,7 @@ + + +Hello {name} \ No newline at end of file diff --git a/test/runtime/samples/component-yield/main.html b/test/runtime/samples/component-yield/main.svelte similarity index 100% rename from test/runtime/samples/component-yield/main.html rename to test/runtime/samples/component-yield/main.svelte diff --git a/test/runtime/samples/component/Widget.html b/test/runtime/samples/component/Widget.svelte similarity index 100% rename from test/runtime/samples/component/Widget.html rename to test/runtime/samples/component/Widget.svelte diff --git a/test/runtime/samples/component/main.html b/test/runtime/samples/component/main.html deleted file mode 100644 index 1bd0073a0e..0000000000 --- a/test/runtime/samples/component/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - -
- -
\ No newline at end of file diff --git a/test/runtime/samples/component/main.svelte b/test/runtime/samples/component/main.svelte new file mode 100644 index 0000000000..fb2f332507 --- /dev/null +++ b/test/runtime/samples/component/main.svelte @@ -0,0 +1,7 @@ + + +
+ +
\ No newline at end of file diff --git a/test/runtime/samples/context-api/Tab.html b/test/runtime/samples/context-api/Tab.svelte similarity index 87% rename from test/runtime/samples/context-api/Tab.html rename to test/runtime/samples/context-api/Tab.svelte index 2f9793aed8..af3f002521 100644 --- a/test/runtime/samples/context-api/Tab.html +++ b/test/runtime/samples/context-api/Tab.svelte @@ -1,6 +1,6 @@ diff --git a/test/runtime/samples/css-comments/main.html b/test/runtime/samples/css-comments/main.svelte similarity index 100% rename from test/runtime/samples/css-comments/main.html rename to test/runtime/samples/css-comments/main.svelte diff --git a/test/runtime/samples/css-false/Widget.html b/test/runtime/samples/css-false/Widget.svelte similarity index 100% rename from test/runtime/samples/css-false/Widget.html rename to test/runtime/samples/css-false/Widget.svelte diff --git a/test/runtime/samples/css-false/main.html b/test/runtime/samples/css-false/main.html deleted file mode 100644 index dbbc5c325b..0000000000 --- a/test/runtime/samples/css-false/main.html +++ /dev/null @@ -1,6 +0,0 @@ - - -

control

- \ No newline at end of file diff --git a/test/runtime/samples/css-false/main.svelte b/test/runtime/samples/css-false/main.svelte new file mode 100644 index 0000000000..5129d127ba --- /dev/null +++ b/test/runtime/samples/css-false/main.svelte @@ -0,0 +1,6 @@ + + +

control

+ \ No newline at end of file diff --git a/test/runtime/samples/css-space-in-attribute/Widget.html b/test/runtime/samples/css-space-in-attribute/Widget.svelte similarity index 100% rename from test/runtime/samples/css-space-in-attribute/Widget.html rename to test/runtime/samples/css-space-in-attribute/Widget.svelte diff --git a/test/runtime/samples/css-space-in-attribute/main.html b/test/runtime/samples/css-space-in-attribute/main.svelte similarity index 51% rename from test/runtime/samples/css-space-in-attribute/main.html rename to test/runtime/samples/css-space-in-attribute/main.svelte index 93bec897f3..e23e6c4e40 100644 --- a/test/runtime/samples/css-space-in-attribute/main.html +++ b/test/runtime/samples/css-space-in-attribute/main.svelte @@ -1,5 +1,5 @@

control

diff --git a/test/runtime/samples/css/Widget.html b/test/runtime/samples/css/Widget.svelte similarity index 100% rename from test/runtime/samples/css/Widget.html rename to test/runtime/samples/css/Widget.svelte diff --git a/test/runtime/samples/css/main.html b/test/runtime/samples/css/main.html deleted file mode 100644 index dbbc5c325b..0000000000 --- a/test/runtime/samples/css/main.html +++ /dev/null @@ -1,6 +0,0 @@ - - -

control

- \ No newline at end of file diff --git a/test/runtime/samples/css/main.svelte b/test/runtime/samples/css/main.svelte new file mode 100644 index 0000000000..5129d127ba --- /dev/null +++ b/test/runtime/samples/css/main.svelte @@ -0,0 +1,6 @@ + + +

control

+ \ No newline at end of file diff --git a/test/runtime/samples/custom-method/main.html b/test/runtime/samples/custom-method/main.svelte similarity index 100% rename from test/runtime/samples/custom-method/main.html rename to test/runtime/samples/custom-method/main.svelte diff --git a/test/runtime/samples/deconflict-builtins/main.html b/test/runtime/samples/deconflict-builtins/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-builtins/main.html rename to test/runtime/samples/deconflict-builtins/main.svelte diff --git a/test/runtime/samples/deconflict-component-name-with-global/main.html b/test/runtime/samples/deconflict-component-name-with-global/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-component-name-with-global/main.html rename to test/runtime/samples/deconflict-component-name-with-global/main.svelte diff --git a/test/runtime/samples/deconflict-component-name-with-module-global/main.html b/test/runtime/samples/deconflict-component-name-with-module-global/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-component-name-with-module-global/main.html rename to test/runtime/samples/deconflict-component-name-with-module-global/main.svelte diff --git a/test/runtime/samples/deconflict-component-refs/main.html b/test/runtime/samples/deconflict-component-refs/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-component-refs/main.html rename to test/runtime/samples/deconflict-component-refs/main.svelte diff --git a/test/runtime/samples/deconflict-contexts/main.html b/test/runtime/samples/deconflict-contexts/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-contexts/main.html rename to test/runtime/samples/deconflict-contexts/main.svelte diff --git a/test/runtime/samples/deconflict-elements-indexes/main.html b/test/runtime/samples/deconflict-elements-indexes/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-elements-indexes/main.html rename to test/runtime/samples/deconflict-elements-indexes/main.svelte diff --git a/test/runtime/samples/deconflict-non-helpers/main.html b/test/runtime/samples/deconflict-non-helpers/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-non-helpers/main.html rename to test/runtime/samples/deconflict-non-helpers/main.svelte diff --git a/test/runtime/samples/deconflict-self/main.html b/test/runtime/samples/deconflict-self/main.html deleted file mode 100644 index 30f524eb69..0000000000 --- a/test/runtime/samples/deconflict-self/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - -
\ No newline at end of file diff --git a/test/runtime/samples/deconflict-self/main.svelte b/test/runtime/samples/deconflict-self/main.svelte new file mode 100644 index 0000000000..7010a66c88 --- /dev/null +++ b/test/runtime/samples/deconflict-self/main.svelte @@ -0,0 +1,5 @@ + + +
\ No newline at end of file diff --git a/test/runtime/samples/deconflict-self/nested/main.html b/test/runtime/samples/deconflict-self/nested/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-self/nested/main.html rename to test/runtime/samples/deconflict-self/nested/main.svelte diff --git a/test/runtime/samples/deconflict-template-1/main.html b/test/runtime/samples/deconflict-template-1/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-template-1/main.html rename to test/runtime/samples/deconflict-template-1/main.svelte diff --git a/test/runtime/samples/deconflict-template-2/main.html b/test/runtime/samples/deconflict-template-2/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-template-2/main.html rename to test/runtime/samples/deconflict-template-2/main.svelte diff --git a/test/runtime/samples/deconflict-vars/main.html b/test/runtime/samples/deconflict-vars/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-vars/main.html rename to test/runtime/samples/deconflict-vars/main.svelte diff --git a/test/runtime/samples/default-data-function/main.html b/test/runtime/samples/default-data-function/main.svelte similarity index 100% rename from test/runtime/samples/default-data-function/main.html rename to test/runtime/samples/default-data-function/main.svelte diff --git a/test/runtime/samples/default-data-override/main.html b/test/runtime/samples/default-data-override/main.svelte similarity index 100% rename from test/runtime/samples/default-data-override/main.html rename to test/runtime/samples/default-data-override/main.svelte diff --git a/test/runtime/samples/default-data/main.html b/test/runtime/samples/default-data/main.svelte similarity index 100% rename from test/runtime/samples/default-data/main.html rename to test/runtime/samples/default-data/main.svelte diff --git a/test/runtime/samples/destroy-twice/main.html b/test/runtime/samples/destroy-twice/main.svelte similarity index 100% rename from test/runtime/samples/destroy-twice/main.html rename to test/runtime/samples/destroy-twice/main.svelte diff --git a/test/runtime/samples/destructuring/main.html b/test/runtime/samples/destructuring/main.svelte similarity index 100% rename from test/runtime/samples/destructuring/main.html rename to test/runtime/samples/destructuring/main.svelte diff --git a/test/runtime/samples/dev-warning-destroy-twice/main.html b/test/runtime/samples/dev-warning-destroy-twice/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-destroy-twice/main.html rename to test/runtime/samples/dev-warning-destroy-twice/main.svelte diff --git a/test/runtime/samples/dev-warning-helper/main.html b/test/runtime/samples/dev-warning-helper/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-helper/main.html rename to test/runtime/samples/dev-warning-helper/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-binding/main.html b/test/runtime/samples/dev-warning-missing-data-binding/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-binding/main.html rename to test/runtime/samples/dev-warning-missing-data-binding/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-component/Foo.html b/test/runtime/samples/dev-warning-missing-data-component/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-component/Foo.html rename to test/runtime/samples/dev-warning-missing-data-component/Foo.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-component/main.html b/test/runtime/samples/dev-warning-missing-data-component/main.html deleted file mode 100644 index 2bda6e2937..0000000000 --- a/test/runtime/samples/dev-warning-missing-data-component/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/dev-warning-missing-data-component/main.svelte b/test/runtime/samples/dev-warning-missing-data-component/main.svelte new file mode 100644 index 0000000000..15a5895b3d --- /dev/null +++ b/test/runtime/samples/dev-warning-missing-data-component/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/dev-warning-missing-data-each/main.html b/test/runtime/samples/dev-warning-missing-data-each/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-each/main.html rename to test/runtime/samples/dev-warning-missing-data-each/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-excludes-event/main.html b/test/runtime/samples/dev-warning-missing-data-excludes-event/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-excludes-event/main.html rename to test/runtime/samples/dev-warning-missing-data-excludes-event/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data/main.html b/test/runtime/samples/dev-warning-missing-data/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data/main.html rename to test/runtime/samples/dev-warning-missing-data/main.svelte diff --git a/test/runtime/samples/dev-warning-readonly-computed/main.html b/test/runtime/samples/dev-warning-readonly-computed/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-readonly-computed/main.html rename to test/runtime/samples/dev-warning-readonly-computed/main.svelte diff --git a/test/runtime/samples/dev-warning-readonly-window-binding/main.html b/test/runtime/samples/dev-warning-readonly-window-binding/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-readonly-window-binding/main.html rename to test/runtime/samples/dev-warning-readonly-window-binding/main.svelte diff --git a/test/runtime/samples/document-event/main.html b/test/runtime/samples/document-event/main.svelte similarity index 100% rename from test/runtime/samples/document-event/main.html rename to test/runtime/samples/document-event/main.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/Green.html b/test/runtime/samples/dynamic-component-bindings-recreated-b/Green.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated-b/Green.html rename to test/runtime/samples/dynamic-component-bindings-recreated-b/Green.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/Red.html b/test/runtime/samples/dynamic-component-bindings-recreated-b/Red.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated-b/Red.html rename to test/runtime/samples/dynamic-component-bindings-recreated-b/Red.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/main.html b/test/runtime/samples/dynamic-component-bindings-recreated-b/main.html deleted file mode 100644 index cdae60e835..0000000000 --- a/test/runtime/samples/dynamic-component-bindings-recreated-b/main.html +++ /dev/null @@ -1,10 +0,0 @@ - - -

parent {foo}

- \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte b/test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte new file mode 100644 index 0000000000..019718e5cb --- /dev/null +++ b/test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte @@ -0,0 +1,10 @@ + + +

parent {foo}

+ \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/Green.html b/test/runtime/samples/dynamic-component-bindings-recreated/Green.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated/Green.html rename to test/runtime/samples/dynamic-component-bindings-recreated/Green.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/Red.html b/test/runtime/samples/dynamic-component-bindings-recreated/Red.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated/Red.html rename to test/runtime/samples/dynamic-component-bindings-recreated/Red.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/main.html b/test/runtime/samples/dynamic-component-bindings-recreated/main.html deleted file mode 100644 index c91906e5df..0000000000 --- a/test/runtime/samples/dynamic-component-bindings-recreated/main.html +++ /dev/null @@ -1,9 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/main.svelte b/test/runtime/samples/dynamic-component-bindings-recreated/main.svelte new file mode 100644 index 0000000000..011ac923b2 --- /dev/null +++ b/test/runtime/samples/dynamic-component-bindings-recreated/main.svelte @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-bindings/Bar.html b/test/runtime/samples/dynamic-component-bindings/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings/Bar.html rename to test/runtime/samples/dynamic-component-bindings/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-bindings/Foo.html b/test/runtime/samples/dynamic-component-bindings/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings/Foo.html rename to test/runtime/samples/dynamic-component-bindings/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-bindings/main.html b/test/runtime/samples/dynamic-component-bindings/main.html deleted file mode 100644 index 0df350a9f2..0000000000 --- a/test/runtime/samples/dynamic-component-bindings/main.html +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-bindings/main.svelte b/test/runtime/samples/dynamic-component-bindings/main.svelte new file mode 100644 index 0000000000..31d0f86e5e --- /dev/null +++ b/test/runtime/samples/dynamic-component-bindings/main.svelte @@ -0,0 +1,10 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-destroy-null/main.html b/test/runtime/samples/dynamic-component-destroy-null/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-destroy-null/main.html rename to test/runtime/samples/dynamic-component-destroy-null/main.svelte diff --git a/test/runtime/samples/dynamic-component-events/Bar.html b/test/runtime/samples/dynamic-component-events/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-events/Bar.html rename to test/runtime/samples/dynamic-component-events/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-events/Foo.html b/test/runtime/samples/dynamic-component-events/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-events/Foo.html rename to test/runtime/samples/dynamic-component-events/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-events/main.html b/test/runtime/samples/dynamic-component-events/main.svelte similarity index 58% rename from test/runtime/samples/dynamic-component-events/main.html rename to test/runtime/samples/dynamic-component-events/main.svelte index 77856e8e63..f60e578289 100644 --- a/test/runtime/samples/dynamic-component-events/main.html +++ b/test/runtime/samples/dynamic-component-events/main.svelte @@ -1,6 +1,6 @@ diff --git a/test/runtime/samples/dynamic-component-nulled-out/Foo.html b/test/runtime/samples/dynamic-component-nulled-out/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-nulled-out/Foo.html rename to test/runtime/samples/dynamic-component-nulled-out/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-nulled-out/main.html b/test/runtime/samples/dynamic-component-nulled-out/main.html deleted file mode 100644 index b98ecb8f7e..0000000000 --- a/test/runtime/samples/dynamic-component-nulled-out/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-nulled-out/main.svelte b/test/runtime/samples/dynamic-component-nulled-out/main.svelte new file mode 100644 index 0000000000..2df6837267 --- /dev/null +++ b/test/runtime/samples/dynamic-component-nulled-out/main.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-ref/Foo.html b/test/runtime/samples/dynamic-component-ref/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-ref/Foo.html rename to test/runtime/samples/dynamic-component-ref/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-ref/main.html b/test/runtime/samples/dynamic-component-ref/main.svelte similarity index 72% rename from test/runtime/samples/dynamic-component-ref/main.html rename to test/runtime/samples/dynamic-component-ref/main.svelte index fe9c52cab6..984f34fc7b 100644 --- a/test/runtime/samples/dynamic-component-ref/main.html +++ b/test/runtime/samples/dynamic-component-ref/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/dynamic-component-slot/Bar.html b/test/runtime/samples/dynamic-component-slot/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-slot/Bar.html rename to test/runtime/samples/dynamic-component-slot/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-slot/Baz.html b/test/runtime/samples/dynamic-component-slot/Baz.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-slot/Baz.html rename to test/runtime/samples/dynamic-component-slot/Baz.svelte diff --git a/test/runtime/samples/dynamic-component-slot/Foo.html b/test/runtime/samples/dynamic-component-slot/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-slot/Foo.html rename to test/runtime/samples/dynamic-component-slot/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-slot/main.html b/test/runtime/samples/dynamic-component-slot/main.svelte similarity index 78% rename from test/runtime/samples/dynamic-component-slot/main.html rename to test/runtime/samples/dynamic-component-slot/main.svelte index 32f1ecce19..99bcf9e64f 100644 --- a/test/runtime/samples/dynamic-component-slot/main.html +++ b/test/runtime/samples/dynamic-component-slot/main.svelte @@ -1,7 +1,7 @@ - - \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-update-existing-instance/main.svelte b/test/runtime/samples/dynamic-component-update-existing-instance/main.svelte new file mode 100644 index 0000000000..6e2a8cde5e --- /dev/null +++ b/test/runtime/samples/dynamic-component-update-existing-instance/main.svelte @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component/Bar.html b/test/runtime/samples/dynamic-component/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component/Bar.html rename to test/runtime/samples/dynamic-component/Bar.svelte diff --git a/test/runtime/samples/dynamic-component/Foo.html b/test/runtime/samples/dynamic-component/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component/Foo.html rename to test/runtime/samples/dynamic-component/Foo.svelte diff --git a/test/runtime/samples/dynamic-component/main.html b/test/runtime/samples/dynamic-component/main.html deleted file mode 100644 index efa9394d30..0000000000 --- a/test/runtime/samples/dynamic-component/main.html +++ /dev/null @@ -1,8 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component/main.svelte b/test/runtime/samples/dynamic-component/main.svelte new file mode 100644 index 0000000000..6e2a8cde5e --- /dev/null +++ b/test/runtime/samples/dynamic-component/main.svelte @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/each-block-array-literal/main.html b/test/runtime/samples/each-block-array-literal/main.svelte similarity index 100% rename from test/runtime/samples/each-block-array-literal/main.html rename to test/runtime/samples/each-block-array-literal/main.svelte diff --git a/test/runtime/samples/each-block-containing-component-in-if/Nested.html b/test/runtime/samples/each-block-containing-component-in-if/Nested.svelte similarity index 100% rename from test/runtime/samples/each-block-containing-component-in-if/Nested.html rename to test/runtime/samples/each-block-containing-component-in-if/Nested.svelte diff --git a/test/runtime/samples/each-block-containing-component-in-if/main.html b/test/runtime/samples/each-block-containing-component-in-if/main.svelte similarity index 67% rename from test/runtime/samples/each-block-containing-component-in-if/main.html rename to test/runtime/samples/each-block-containing-component-in-if/main.svelte index 16f042a277..049948fa56 100644 --- a/test/runtime/samples/each-block-containing-component-in-if/main.html +++ b/test/runtime/samples/each-block-containing-component-in-if/main.svelte @@ -1,5 +1,5 @@ {#each items as item} diff --git a/test/runtime/samples/each-block-else-starts-empty/main.html b/test/runtime/samples/each-block-else-starts-empty/main.svelte similarity index 100% rename from test/runtime/samples/each-block-else-starts-empty/main.html rename to test/runtime/samples/each-block-else-starts-empty/main.svelte diff --git a/test/runtime/samples/each-block-else/main.html b/test/runtime/samples/each-block-else/main.svelte similarity index 100% rename from test/runtime/samples/each-block-else/main.html rename to test/runtime/samples/each-block-else/main.svelte diff --git a/test/runtime/samples/each-block-empty-outro/Thing.html b/test/runtime/samples/each-block-empty-outro/Thing.svelte similarity index 100% rename from test/runtime/samples/each-block-empty-outro/Thing.html rename to test/runtime/samples/each-block-empty-outro/Thing.svelte diff --git a/test/runtime/samples/each-block-empty-outro/main.html b/test/runtime/samples/each-block-empty-outro/main.svelte similarity index 79% rename from test/runtime/samples/each-block-empty-outro/main.html rename to test/runtime/samples/each-block-empty-outro/main.svelte index 325cbbcf45..338f471d31 100644 --- a/test/runtime/samples/each-block-empty-outro/main.html +++ b/test/runtime/samples/each-block-empty-outro/main.svelte @@ -2,7 +2,7 @@ export let visible; export let empty; - import Thing from './Thing.html'; + import Thing from './Thing.svelte'; {#if visible} diff --git a/test/runtime/samples/each-block-function/main.html b/test/runtime/samples/each-block-function/main.svelte similarity index 100% rename from test/runtime/samples/each-block-function/main.html rename to test/runtime/samples/each-block-function/main.svelte diff --git a/test/runtime/samples/each-block-in-if-block/main.html b/test/runtime/samples/each-block-in-if-block/main.svelte similarity index 100% rename from test/runtime/samples/each-block-in-if-block/main.html rename to test/runtime/samples/each-block-in-if-block/main.svelte diff --git a/test/runtime/samples/each-block-index-only/main.html b/test/runtime/samples/each-block-index-only/main.svelte similarity index 100% rename from test/runtime/samples/each-block-index-only/main.html rename to test/runtime/samples/each-block-index-only/main.svelte diff --git a/test/runtime/samples/each-block-indexed/main.html b/test/runtime/samples/each-block-indexed/main.svelte similarity index 100% rename from test/runtime/samples/each-block-indexed/main.html rename to test/runtime/samples/each-block-indexed/main.svelte diff --git a/test/runtime/samples/each-block-keyed-dynamic/main.html b/test/runtime/samples/each-block-keyed-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-dynamic/main.html rename to test/runtime/samples/each-block-keyed-dynamic/main.svelte diff --git a/test/runtime/samples/each-block-keyed-empty/main.html b/test/runtime/samples/each-block-keyed-empty/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-empty/main.html rename to test/runtime/samples/each-block-keyed-empty/main.svelte diff --git a/test/runtime/samples/each-block-keyed-non-prop/main.html b/test/runtime/samples/each-block-keyed-non-prop/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-non-prop/main.html rename to test/runtime/samples/each-block-keyed-non-prop/main.svelte diff --git a/test/runtime/samples/each-block-keyed-random-permute/main.html b/test/runtime/samples/each-block-keyed-random-permute/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-random-permute/main.html rename to test/runtime/samples/each-block-keyed-random-permute/main.svelte diff --git a/test/runtime/samples/each-block-keyed-siblings/main.html b/test/runtime/samples/each-block-keyed-siblings/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-siblings/main.html rename to test/runtime/samples/each-block-keyed-siblings/main.svelte diff --git a/test/runtime/samples/each-block-keyed-static/main.html b/test/runtime/samples/each-block-keyed-static/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-static/main.html rename to test/runtime/samples/each-block-keyed-static/main.svelte diff --git a/test/runtime/samples/each-block-keyed-unshift/Nested.html b/test/runtime/samples/each-block-keyed-unshift/Nested.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-unshift/Nested.html rename to test/runtime/samples/each-block-keyed-unshift/Nested.svelte diff --git a/test/runtime/samples/each-block-keyed-unshift/main.html b/test/runtime/samples/each-block-keyed-unshift/main.svelte similarity index 70% rename from test/runtime/samples/each-block-keyed-unshift/main.html rename to test/runtime/samples/each-block-keyed-unshift/main.svelte index 5af62d4e08..b8954e17fd 100644 --- a/test/runtime/samples/each-block-keyed-unshift/main.html +++ b/test/runtime/samples/each-block-keyed-unshift/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/each-block-keyed/main.html b/test/runtime/samples/each-block-keyed/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed/main.html rename to test/runtime/samples/each-block-keyed/main.svelte diff --git a/test/runtime/samples/each-block-random-permute/main.html b/test/runtime/samples/each-block-random-permute/main.svelte similarity index 100% rename from test/runtime/samples/each-block-random-permute/main.html rename to test/runtime/samples/each-block-random-permute/main.svelte diff --git a/test/runtime/samples/each-block-scope-shadow/main.html b/test/runtime/samples/each-block-scope-shadow/main.svelte similarity index 100% rename from test/runtime/samples/each-block-scope-shadow/main.html rename to test/runtime/samples/each-block-scope-shadow/main.svelte diff --git a/test/runtime/samples/each-block-static/main.html b/test/runtime/samples/each-block-static/main.svelte similarity index 100% rename from test/runtime/samples/each-block-static/main.html rename to test/runtime/samples/each-block-static/main.svelte diff --git a/test/runtime/samples/each-block-text-node/main.html b/test/runtime/samples/each-block-text-node/main.svelte similarity index 100% rename from test/runtime/samples/each-block-text-node/main.html rename to test/runtime/samples/each-block-text-node/main.svelte diff --git a/test/runtime/samples/each-block/main.html b/test/runtime/samples/each-block/main.svelte similarity index 100% rename from test/runtime/samples/each-block/main.html rename to test/runtime/samples/each-block/main.svelte diff --git a/test/runtime/samples/each-blocks-expression/main.html b/test/runtime/samples/each-blocks-expression/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-expression/main.html rename to test/runtime/samples/each-blocks-expression/main.svelte diff --git a/test/runtime/samples/each-blocks-nested-b/main.html b/test/runtime/samples/each-blocks-nested-b/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-nested-b/main.html rename to test/runtime/samples/each-blocks-nested-b/main.svelte diff --git a/test/runtime/samples/each-blocks-nested/main.html b/test/runtime/samples/each-blocks-nested/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-nested/main.html rename to test/runtime/samples/each-blocks-nested/main.svelte diff --git a/test/runtime/samples/element-invalid-name/main.html b/test/runtime/samples/element-invalid-name/main.svelte similarity index 100% rename from test/runtime/samples/element-invalid-name/main.html rename to test/runtime/samples/element-invalid-name/main.svelte diff --git a/test/runtime/samples/element-source-location/Foo.html b/test/runtime/samples/element-source-location/Foo.svelte similarity index 100% rename from test/runtime/samples/element-source-location/Foo.html rename to test/runtime/samples/element-source-location/Foo.svelte diff --git a/test/runtime/samples/element-source-location/main.html b/test/runtime/samples/element-source-location/main.svelte similarity index 54% rename from test/runtime/samples/element-source-location/main.html rename to test/runtime/samples/element-source-location/main.svelte index ca70895728..38855ef3ac 100644 --- a/test/runtime/samples/element-source-location/main.html +++ b/test/runtime/samples/element-source-location/main.svelte @@ -1,5 +1,5 @@

this is a header

diff --git a/test/runtime/samples/empty-style-block/main.html b/test/runtime/samples/empty-style-block/main.svelte similarity index 100% rename from test/runtime/samples/empty-style-block/main.html rename to test/runtime/samples/empty-style-block/main.svelte diff --git a/test/runtime/samples/escape-template-literals/Widget.html b/test/runtime/samples/escape-template-literals/Widget.svelte similarity index 100% rename from test/runtime/samples/escape-template-literals/Widget.html rename to test/runtime/samples/escape-template-literals/Widget.svelte diff --git a/test/runtime/samples/escape-template-literals/main.html b/test/runtime/samples/escape-template-literals/main.svelte similarity index 75% rename from test/runtime/samples/escape-template-literals/main.html rename to test/runtime/samples/escape-template-literals/main.svelte index bfd016de6b..d26aa6ea63 100644 --- a/test/runtime/samples/escape-template-literals/main.html +++ b/test/runtime/samples/escape-template-literals/main.svelte @@ -1,5 +1,5 @@ `${foo}\n` diff --git a/test/runtime/samples/escaped-text/main.html b/test/runtime/samples/escaped-text/main.svelte similarity index 100% rename from test/runtime/samples/escaped-text/main.html rename to test/runtime/samples/escaped-text/main.svelte diff --git a/test/runtime/samples/event-handler-console-log/main.html b/test/runtime/samples/event-handler-console-log/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-console-log/main.html rename to test/runtime/samples/event-handler-console-log/main.svelte diff --git a/test/runtime/samples/event-handler-deconflicted/main.html b/test/runtime/samples/event-handler-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-deconflicted/main.html rename to test/runtime/samples/event-handler-deconflicted/main.svelte diff --git a/test/runtime/samples/event-handler-each-context/main.html b/test/runtime/samples/event-handler-each-context/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-context/main.html rename to test/runtime/samples/event-handler-each-context/main.svelte diff --git a/test/runtime/samples/event-handler-each-deconflicted/main.html b/test/runtime/samples/event-handler-each-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-deconflicted/main.html rename to test/runtime/samples/event-handler-each-deconflicted/main.svelte diff --git a/test/runtime/samples/event-handler-each-this/main.html b/test/runtime/samples/event-handler-each-this/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-this/main.html rename to test/runtime/samples/event-handler-each-this/main.svelte diff --git a/test/runtime/samples/event-handler-each/main.html b/test/runtime/samples/event-handler-each/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each/main.html rename to test/runtime/samples/event-handler-each/main.svelte diff --git a/test/runtime/samples/event-handler-event-methods/main.html b/test/runtime/samples/event-handler-event-methods/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-event-methods/main.html rename to test/runtime/samples/event-handler-event-methods/main.svelte diff --git a/test/runtime/samples/event-handler-hoisted/main.html b/test/runtime/samples/event-handler-hoisted/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-hoisted/main.html rename to test/runtime/samples/event-handler-hoisted/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-once/main.html b/test/runtime/samples/event-handler-modifier-once/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-once/main.html rename to test/runtime/samples/event-handler-modifier-once/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-prevent-default/main.html b/test/runtime/samples/event-handler-modifier-prevent-default/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-prevent-default/main.html rename to test/runtime/samples/event-handler-modifier-prevent-default/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-stop-propagation/main.html b/test/runtime/samples/event-handler-modifier-stop-propagation/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-stop-propagation/main.html rename to test/runtime/samples/event-handler-modifier-stop-propagation/main.svelte diff --git a/test/runtime/samples/event-handler-removal/main.html b/test/runtime/samples/event-handler-removal/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-removal/main.html rename to test/runtime/samples/event-handler-removal/main.svelte diff --git a/test/runtime/samples/event-handler-sanitize/main.html b/test/runtime/samples/event-handler-sanitize/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-sanitize/main.html rename to test/runtime/samples/event-handler-sanitize/main.svelte diff --git a/test/runtime/samples/event-handler-shorthand-component/Widget.html b/test/runtime/samples/event-handler-shorthand-component/Widget.svelte similarity index 100% rename from test/runtime/samples/event-handler-shorthand-component/Widget.html rename to test/runtime/samples/event-handler-shorthand-component/Widget.svelte diff --git a/test/runtime/samples/event-handler-shorthand-component/main.html b/test/runtime/samples/event-handler-shorthand-component/main.html deleted file mode 100644 index 26586d3fd3..0000000000 --- a/test/runtime/samples/event-handler-shorthand-component/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/event-handler-shorthand-component/main.svelte b/test/runtime/samples/event-handler-shorthand-component/main.svelte new file mode 100644 index 0000000000..df21f9e8b8 --- /dev/null +++ b/test/runtime/samples/event-handler-shorthand-component/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.html b/test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.svelte similarity index 100% rename from test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.html rename to test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.svelte diff --git a/test/runtime/samples/event-handler-shorthand-dynamic-component/main.html b/test/runtime/samples/event-handler-shorthand-dynamic-component/main.svelte similarity index 61% rename from test/runtime/samples/event-handler-shorthand-dynamic-component/main.html rename to test/runtime/samples/event-handler-shorthand-dynamic-component/main.svelte index f38a4d30bb..f6c5494ce4 100644 --- a/test/runtime/samples/event-handler-shorthand-dynamic-component/main.html +++ b/test/runtime/samples/event-handler-shorthand-dynamic-component/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/event-handler-this-methods/main.html b/test/runtime/samples/event-handler-this-methods/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-this-methods/main.html rename to test/runtime/samples/event-handler-this-methods/main.svelte diff --git a/test/runtime/samples/event-handler/main.html b/test/runtime/samples/event-handler/main.svelte similarity index 100% rename from test/runtime/samples/event-handler/main.html rename to test/runtime/samples/event-handler/main.svelte diff --git a/test/runtime/samples/flush-before-bindings/Nested.html b/test/runtime/samples/flush-before-bindings/Nested.svelte similarity index 87% rename from test/runtime/samples/flush-before-bindings/Nested.html rename to test/runtime/samples/flush-before-bindings/Nested.svelte index a632b585a8..0a1721d308 100644 --- a/test/runtime/samples/flush-before-bindings/Nested.html +++ b/test/runtime/samples/flush-before-bindings/Nested.svelte @@ -1,5 +1,5 @@ {#if foo} diff --git a/test/runtime/samples/if-block-else-in-each/main.html b/test/runtime/samples/if-block-else-in-each/main.svelte similarity index 100% rename from test/runtime/samples/if-block-else-in-each/main.html rename to test/runtime/samples/if-block-else-in-each/main.svelte diff --git a/test/runtime/samples/if-block-else-partial-outro/Foo.html b/test/runtime/samples/if-block-else-partial-outro/Foo.svelte similarity index 100% rename from test/runtime/samples/if-block-else-partial-outro/Foo.html rename to test/runtime/samples/if-block-else-partial-outro/Foo.svelte diff --git a/test/runtime/samples/if-block-else-partial-outro/main.html b/test/runtime/samples/if-block-else-partial-outro/main.svelte similarity index 73% rename from test/runtime/samples/if-block-else-partial-outro/main.html rename to test/runtime/samples/if-block-else-partial-outro/main.svelte index 90c253c730..47f986ea48 100644 --- a/test/runtime/samples/if-block-else-partial-outro/main.html +++ b/test/runtime/samples/if-block-else-partial-outro/main.svelte @@ -2,7 +2,7 @@ export let y = false; export let x = 'x'; - import Foo from './Foo.html'; + import Foo from './Foo.svelte'; {#if y} diff --git a/test/runtime/samples/if-block-else/main.html b/test/runtime/samples/if-block-else/main.svelte similarity index 100% rename from test/runtime/samples/if-block-else/main.html rename to test/runtime/samples/if-block-else/main.svelte diff --git a/test/runtime/samples/if-block-elseif-no-else/main.html b/test/runtime/samples/if-block-elseif-no-else/main.svelte similarity index 100% rename from test/runtime/samples/if-block-elseif-no-else/main.html rename to test/runtime/samples/if-block-elseif-no-else/main.svelte diff --git a/test/runtime/samples/if-block-elseif-text/main.html b/test/runtime/samples/if-block-elseif-text/main.svelte similarity index 100% rename from test/runtime/samples/if-block-elseif-text/main.html rename to test/runtime/samples/if-block-elseif-text/main.svelte diff --git a/test/runtime/samples/if-block-elseif/main.html b/test/runtime/samples/if-block-elseif/main.svelte similarity index 100% rename from test/runtime/samples/if-block-elseif/main.html rename to test/runtime/samples/if-block-elseif/main.svelte diff --git a/test/runtime/samples/if-block-expression/main.html b/test/runtime/samples/if-block-expression/main.svelte similarity index 100% rename from test/runtime/samples/if-block-expression/main.html rename to test/runtime/samples/if-block-expression/main.svelte diff --git a/test/runtime/samples/if-block-first/main.html b/test/runtime/samples/if-block-first/main.svelte similarity index 100% rename from test/runtime/samples/if-block-first/main.html rename to test/runtime/samples/if-block-first/main.svelte diff --git a/test/runtime/samples/if-block-no-outro-else-with-outro/Widget.html b/test/runtime/samples/if-block-no-outro-else-with-outro/Widget.svelte similarity index 100% rename from test/runtime/samples/if-block-no-outro-else-with-outro/Widget.html rename to test/runtime/samples/if-block-no-outro-else-with-outro/Widget.svelte diff --git a/test/runtime/samples/if-block-no-outro-else-with-outro/main.html b/test/runtime/samples/if-block-no-outro-else-with-outro/main.svelte similarity index 77% rename from test/runtime/samples/if-block-no-outro-else-with-outro/main.html rename to test/runtime/samples/if-block-no-outro-else-with-outro/main.svelte index 2007bf2ea2..e32a7a52cb 100644 --- a/test/runtime/samples/if-block-no-outro-else-with-outro/main.html +++ b/test/runtime/samples/if-block-no-outro-else-with-outro/main.svelte @@ -2,7 +2,7 @@ export let foo; export let x = 'x'; - import Widget from './Widget.html'; + import Widget from './Widget.svelte'; {#if foo} diff --git a/test/runtime/samples/if-block-or/main.html b/test/runtime/samples/if-block-or/main.svelte similarity index 100% rename from test/runtime/samples/if-block-or/main.html rename to test/runtime/samples/if-block-or/main.svelte diff --git a/test/runtime/samples/if-block-outro-nested-else/Component.html b/test/runtime/samples/if-block-outro-nested-else/Component.svelte similarity index 100% rename from test/runtime/samples/if-block-outro-nested-else/Component.html rename to test/runtime/samples/if-block-outro-nested-else/Component.svelte diff --git a/test/runtime/samples/if-block-outro-nested-else/main.html b/test/runtime/samples/if-block-outro-nested-else/main.svelte similarity index 73% rename from test/runtime/samples/if-block-outro-nested-else/main.html rename to test/runtime/samples/if-block-outro-nested-else/main.svelte index c10f861a6c..3937998c40 100644 --- a/test/runtime/samples/if-block-outro-nested-else/main.html +++ b/test/runtime/samples/if-block-outro-nested-else/main.svelte @@ -1,7 +1,7 @@ {#if foo} diff --git a/test/runtime/samples/if-block-outro-unique-select-block-type/Component.html b/test/runtime/samples/if-block-outro-unique-select-block-type/Component.svelte similarity index 100% rename from test/runtime/samples/if-block-outro-unique-select-block-type/Component.html rename to test/runtime/samples/if-block-outro-unique-select-block-type/Component.svelte diff --git a/test/runtime/samples/if-block-outro-unique-select-block-type/main.html b/test/runtime/samples/if-block-outro-unique-select-block-type/main.svelte similarity index 76% rename from test/runtime/samples/if-block-outro-unique-select-block-type/main.html rename to test/runtime/samples/if-block-outro-unique-select-block-type/main.svelte index 77b3a6dfe3..0579a562eb 100644 --- a/test/runtime/samples/if-block-outro-unique-select-block-type/main.html +++ b/test/runtime/samples/if-block-outro-unique-select-block-type/main.svelte @@ -1,7 +1,7 @@ {#if foo} diff --git a/test/runtime/samples/if-block-widget/Widget.html b/test/runtime/samples/if-block-widget/Widget.svelte similarity index 100% rename from test/runtime/samples/if-block-widget/Widget.html rename to test/runtime/samples/if-block-widget/Widget.svelte diff --git a/test/runtime/samples/if-block-widget/main.html b/test/runtime/samples/if-block-widget/main.svelte similarity index 69% rename from test/runtime/samples/if-block-widget/main.html rename to test/runtime/samples/if-block-widget/main.svelte index 12996bbcd4..fef00e276c 100644 --- a/test/runtime/samples/if-block-widget/main.html +++ b/test/runtime/samples/if-block-widget/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/if-block/main.html b/test/runtime/samples/if-block/main.svelte similarity index 100% rename from test/runtime/samples/if-block/main.html rename to test/runtime/samples/if-block/main.svelte diff --git a/test/runtime/samples/if-in-keyed-each/main.html b/test/runtime/samples/if-in-keyed-each/main.svelte similarity index 100% rename from test/runtime/samples/if-in-keyed-each/main.html rename to test/runtime/samples/if-in-keyed-each/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-attribute-compound/main.html b/test/runtime/samples/ignore-unchanged-attribute-compound/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute-compound/main.html rename to test/runtime/samples/ignore-unchanged-attribute-compound/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-attribute/main.html b/test/runtime/samples/ignore-unchanged-attribute/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute/main.html rename to test/runtime/samples/ignore-unchanged-attribute/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-raw/main.html b/test/runtime/samples/ignore-unchanged-raw/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-raw/main.html rename to test/runtime/samples/ignore-unchanged-raw/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-tag/main.html b/test/runtime/samples/ignore-unchanged-tag/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-tag/main.html rename to test/runtime/samples/ignore-unchanged-tag/main.svelte diff --git a/test/runtime/samples/immutable-nested/Nested.html b/test/runtime/samples/immutable-nested/Nested.svelte similarity index 100% rename from test/runtime/samples/immutable-nested/Nested.html rename to test/runtime/samples/immutable-nested/Nested.svelte diff --git a/test/runtime/samples/immutable-nested/main.html b/test/runtime/samples/immutable-nested/main.svelte similarity index 68% rename from test/runtime/samples/immutable-nested/main.html rename to test/runtime/samples/immutable-nested/main.svelte index aa8efa9ebc..e50055be0c 100644 --- a/test/runtime/samples/immutable-nested/main.html +++ b/test/runtime/samples/immutable-nested/main.svelte @@ -1,7 +1,7 @@
diff --git a/test/runtime/samples/immutable-option/main.html b/test/runtime/samples/immutable-option/main.svelte similarity index 100% rename from test/runtime/samples/immutable-option/main.html rename to test/runtime/samples/immutable-option/main.svelte diff --git a/test/runtime/samples/immutable-svelte-meta-false/main.html b/test/runtime/samples/immutable-svelte-meta-false/main.svelte similarity index 100% rename from test/runtime/samples/immutable-svelte-meta-false/main.html rename to test/runtime/samples/immutable-svelte-meta-false/main.svelte diff --git a/test/runtime/samples/immutable-svelte-meta/main.html b/test/runtime/samples/immutable-svelte-meta/main.svelte similarity index 100% rename from test/runtime/samples/immutable-svelte-meta/main.html rename to test/runtime/samples/immutable-svelte-meta/main.svelte diff --git a/test/runtime/samples/imported-renamed-components/ComponentOne.html b/test/runtime/samples/imported-renamed-components/ComponentOne.svelte similarity index 100% rename from test/runtime/samples/imported-renamed-components/ComponentOne.html rename to test/runtime/samples/imported-renamed-components/ComponentOne.svelte diff --git a/test/runtime/samples/imported-renamed-components/ComponentTwo.html b/test/runtime/samples/imported-renamed-components/ComponentTwo.svelte similarity index 100% rename from test/runtime/samples/imported-renamed-components/ComponentTwo.html rename to test/runtime/samples/imported-renamed-components/ComponentTwo.svelte diff --git a/test/runtime/samples/imported-renamed-components/main.html b/test/runtime/samples/imported-renamed-components/main.svelte similarity index 59% rename from test/runtime/samples/imported-renamed-components/main.html rename to test/runtime/samples/imported-renamed-components/main.svelte index 9c6efdb230..9055a9e9a5 100644 --- a/test/runtime/samples/imported-renamed-components/main.html +++ b/test/runtime/samples/imported-renamed-components/main.svelte @@ -1,6 +1,6 @@ - - - - \ No newline at end of file diff --git a/test/runtime/samples/internal-state/main.svelte b/test/runtime/samples/internal-state/main.svelte new file mode 100644 index 0000000000..594ab3c837 --- /dev/null +++ b/test/runtime/samples/internal-state/main.svelte @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/test/runtime/samples/lifecycle-events/main.html b/test/runtime/samples/lifecycle-events/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-events/main.html rename to test/runtime/samples/lifecycle-events/main.svelte diff --git a/test/runtime/samples/lifecycle-next-tick/main.html b/test/runtime/samples/lifecycle-next-tick/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-next-tick/main.html rename to test/runtime/samples/lifecycle-next-tick/main.svelte diff --git a/test/runtime/samples/lifecycle-render-order/main.html b/test/runtime/samples/lifecycle-render-order/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-render-order/main.html rename to test/runtime/samples/lifecycle-render-order/main.svelte diff --git a/test/runtime/samples/module-context-with-instance-script/main.html b/test/runtime/samples/module-context-with-instance-script/main.svelte similarity index 100% rename from test/runtime/samples/module-context-with-instance-script/main.html rename to test/runtime/samples/module-context-with-instance-script/main.svelte diff --git a/test/runtime/samples/module-context/main.html b/test/runtime/samples/module-context/main.svelte similarity index 100% rename from test/runtime/samples/module-context/main.html rename to test/runtime/samples/module-context/main.svelte diff --git a/test/runtime/samples/mutation-tracking-across-sibling-scopes/main.html b/test/runtime/samples/mutation-tracking-across-sibling-scopes/main.svelte similarity index 100% rename from test/runtime/samples/mutation-tracking-across-sibling-scopes/main.html rename to test/runtime/samples/mutation-tracking-across-sibling-scopes/main.svelte diff --git a/test/runtime/samples/names-deconflicted-nested/main.html b/test/runtime/samples/names-deconflicted-nested/main.svelte similarity index 100% rename from test/runtime/samples/names-deconflicted-nested/main.html rename to test/runtime/samples/names-deconflicted-nested/main.svelte diff --git a/test/runtime/samples/names-deconflicted/Widget.html b/test/runtime/samples/names-deconflicted/Widget.svelte similarity index 100% rename from test/runtime/samples/names-deconflicted/Widget.html rename to test/runtime/samples/names-deconflicted/Widget.svelte diff --git a/test/runtime/samples/names-deconflicted/main.html b/test/runtime/samples/names-deconflicted/main.svelte similarity index 82% rename from test/runtime/samples/names-deconflicted/main.html rename to test/runtime/samples/names-deconflicted/main.svelte index f2c47a7718..60e3ea1320 100644 --- a/test/runtime/samples/names-deconflicted/main.html +++ b/test/runtime/samples/names-deconflicted/main.svelte @@ -1,5 +1,5 @@ - - \ No newline at end of file diff --git a/test/runtime/samples/nested-transition-detach-if-false/main.svelte b/test/runtime/samples/nested-transition-detach-if-false/main.svelte new file mode 100644 index 0000000000..2a7a4b49bf --- /dev/null +++ b/test/runtime/samples/nested-transition-detach-if-false/main.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/nested-transition-if-block-not-remounted/Span.html b/test/runtime/samples/nested-transition-if-block-not-remounted/Span.svelte similarity index 100% rename from test/runtime/samples/nested-transition-if-block-not-remounted/Span.html rename to test/runtime/samples/nested-transition-if-block-not-remounted/Span.svelte diff --git a/test/runtime/samples/nested-transition-if-block-not-remounted/main.html b/test/runtime/samples/nested-transition-if-block-not-remounted/main.svelte similarity index 75% rename from test/runtime/samples/nested-transition-if-block-not-remounted/main.html rename to test/runtime/samples/nested-transition-if-block-not-remounted/main.svelte index 373d3d0485..e6456a86f6 100644 --- a/test/runtime/samples/nested-transition-if-block-not-remounted/main.html +++ b/test/runtime/samples/nested-transition-if-block-not-remounted/main.svelte @@ -1,7 +1,7 @@
diff --git a/test/runtime/samples/noscript-removal/main.html b/test/runtime/samples/noscript-removal/main.svelte similarity index 100% rename from test/runtime/samples/noscript-removal/main.html rename to test/runtime/samples/noscript-removal/main.svelte diff --git a/test/runtime/samples/ondestroy-before-cleanup/Top.html b/test/runtime/samples/ondestroy-before-cleanup/Top.svelte similarity index 100% rename from test/runtime/samples/ondestroy-before-cleanup/Top.html rename to test/runtime/samples/ondestroy-before-cleanup/Top.svelte diff --git a/test/runtime/samples/ondestroy-before-cleanup/main.html b/test/runtime/samples/ondestroy-before-cleanup/main.svelte similarity index 74% rename from test/runtime/samples/ondestroy-before-cleanup/main.html rename to test/runtime/samples/ondestroy-before-cleanup/main.svelte index 34053dd613..efd940053e 100644 --- a/test/runtime/samples/ondestroy-before-cleanup/main.html +++ b/test/runtime/samples/ondestroy-before-cleanup/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/onmount-fires-when-ready-nested/Widget.html b/test/runtime/samples/onmount-fires-when-ready-nested/Widget.svelte similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready-nested/Widget.html rename to test/runtime/samples/onmount-fires-when-ready-nested/Widget.svelte diff --git a/test/runtime/samples/onmount-fires-when-ready-nested/main.html b/test/runtime/samples/onmount-fires-when-ready-nested/main.html deleted file mode 100644 index 910f63e086..0000000000 --- a/test/runtime/samples/onmount-fires-when-ready-nested/main.html +++ /dev/null @@ -1,9 +0,0 @@ - - -
- - -
diff --git a/test/runtime/samples/onmount-fires-when-ready-nested/main.svelte b/test/runtime/samples/onmount-fires-when-ready-nested/main.svelte new file mode 100644 index 0000000000..a155293e26 --- /dev/null +++ b/test/runtime/samples/onmount-fires-when-ready-nested/main.svelte @@ -0,0 +1,9 @@ + + +
+ + +
diff --git a/test/runtime/samples/onmount-fires-when-ready/Widget.html b/test/runtime/samples/onmount-fires-when-ready/Widget.svelte similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready/Widget.html rename to test/runtime/samples/onmount-fires-when-ready/Widget.svelte diff --git a/test/runtime/samples/onmount-fires-when-ready/main.html b/test/runtime/samples/onmount-fires-when-ready/main.svelte similarity index 70% rename from test/runtime/samples/onmount-fires-when-ready/main.html rename to test/runtime/samples/onmount-fires-when-ready/main.svelte index f2760ecff1..1204ac6719 100644 --- a/test/runtime/samples/onmount-fires-when-ready/main.html +++ b/test/runtime/samples/onmount-fires-when-ready/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/onmount-sibling-order/Nested.html b/test/runtime/samples/onmount-sibling-order/Nested.svelte similarity index 100% rename from test/runtime/samples/onmount-sibling-order/Nested.html rename to test/runtime/samples/onmount-sibling-order/Nested.svelte diff --git a/test/runtime/samples/onmount-sibling-order/main.html b/test/runtime/samples/onmount-sibling-order/main.html deleted file mode 100644 index e4218aa4b4..0000000000 --- a/test/runtime/samples/onmount-sibling-order/main.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/test/runtime/samples/onmount-sibling-order/main.svelte b/test/runtime/samples/onmount-sibling-order/main.svelte new file mode 100644 index 0000000000..3fbf499755 --- /dev/null +++ b/test/runtime/samples/onmount-sibling-order/main.svelte @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/test/runtime/samples/option-without-select/main.html b/test/runtime/samples/option-without-select/main.svelte similarity index 100% rename from test/runtime/samples/option-without-select/main.html rename to test/runtime/samples/option-without-select/main.svelte diff --git a/test/runtime/samples/paren-wrapped-expressions/main.html b/test/runtime/samples/paren-wrapped-expressions/main.svelte similarity index 100% rename from test/runtime/samples/paren-wrapped-expressions/main.html rename to test/runtime/samples/paren-wrapped-expressions/main.svelte diff --git a/test/runtime/samples/preload/main.html b/test/runtime/samples/preload/main.svelte similarity index 100% rename from test/runtime/samples/preload/main.html rename to test/runtime/samples/preload/main.svelte diff --git a/test/runtime/samples/prop-not-action/Nested.html b/test/runtime/samples/prop-not-action/Nested.svelte similarity index 100% rename from test/runtime/samples/prop-not-action/Nested.html rename to test/runtime/samples/prop-not-action/Nested.svelte diff --git a/test/runtime/samples/prop-not-action/main.html b/test/runtime/samples/prop-not-action/main.html deleted file mode 100644 index c0ddd01e79..0000000000 --- a/test/runtime/samples/prop-not-action/main.html +++ /dev/null @@ -1,6 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/prop-not-action/main.svelte b/test/runtime/samples/prop-not-action/main.svelte new file mode 100644 index 0000000000..e1c40bc070 --- /dev/null +++ b/test/runtime/samples/prop-not-action/main.svelte @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/prop-without-semicolon-b/main.html b/test/runtime/samples/prop-without-semicolon-b/main.svelte similarity index 100% rename from test/runtime/samples/prop-without-semicolon-b/main.html rename to test/runtime/samples/prop-without-semicolon-b/main.svelte diff --git a/test/runtime/samples/prop-without-semicolon/main.html b/test/runtime/samples/prop-without-semicolon/main.svelte similarity index 100% rename from test/runtime/samples/prop-without-semicolon/main.html rename to test/runtime/samples/prop-without-semicolon/main.svelte diff --git a/test/runtime/samples/raw-anchor-first-child/main.html b/test/runtime/samples/raw-anchor-first-child/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-first-child/main.html rename to test/runtime/samples/raw-anchor-first-child/main.svelte diff --git a/test/runtime/samples/raw-anchor-first-last-child/main.html b/test/runtime/samples/raw-anchor-first-last-child/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-first-last-child/main.html rename to test/runtime/samples/raw-anchor-first-last-child/main.svelte diff --git a/test/runtime/samples/raw-anchor-last-child/main.html b/test/runtime/samples/raw-anchor-last-child/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-last-child/main.html rename to test/runtime/samples/raw-anchor-last-child/main.svelte diff --git a/test/runtime/samples/raw-anchor-next-previous-sibling/main.html b/test/runtime/samples/raw-anchor-next-previous-sibling/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-next-previous-sibling/main.html rename to test/runtime/samples/raw-anchor-next-previous-sibling/main.svelte diff --git a/test/runtime/samples/raw-anchor-next-sibling/main.html b/test/runtime/samples/raw-anchor-next-sibling/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-next-sibling/main.html rename to test/runtime/samples/raw-anchor-next-sibling/main.svelte diff --git a/test/runtime/samples/raw-anchor-previous-sibling/main.html b/test/runtime/samples/raw-anchor-previous-sibling/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-previous-sibling/main.html rename to test/runtime/samples/raw-anchor-previous-sibling/main.svelte diff --git a/test/runtime/samples/raw-mustaches-preserved/main.html b/test/runtime/samples/raw-mustaches-preserved/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustaches-preserved/main.html rename to test/runtime/samples/raw-mustaches-preserved/main.svelte diff --git a/test/runtime/samples/raw-mustaches/main.html b/test/runtime/samples/raw-mustaches/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustaches/main.html rename to test/runtime/samples/raw-mustaches/main.svelte diff --git a/test/runtime/samples/reactive-function/main.html b/test/runtime/samples/reactive-function/main.svelte similarity index 100% rename from test/runtime/samples/reactive-function/main.html rename to test/runtime/samples/reactive-function/main.svelte diff --git a/test/runtime/samples/reactive-values-deconflicted/main.html b/test/runtime/samples/reactive-values-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-deconflicted/main.html rename to test/runtime/samples/reactive-values-deconflicted/main.svelte diff --git a/test/runtime/samples/reactive-values-function-dependency/main.html b/test/runtime/samples/reactive-values-function-dependency/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-function-dependency/main.html rename to test/runtime/samples/reactive-values-function-dependency/main.svelte diff --git a/test/runtime/samples/reactive-values-implicit/main.html b/test/runtime/samples/reactive-values-implicit/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-implicit/main.html rename to test/runtime/samples/reactive-values-implicit/main.svelte diff --git a/test/runtime/samples/reactive-values-non-cyclical/main.html b/test/runtime/samples/reactive-values-non-cyclical/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-non-cyclical/main.html rename to test/runtime/samples/reactive-values-non-cyclical/main.svelte diff --git a/test/runtime/samples/reactive-values-readonly/main.html b/test/runtime/samples/reactive-values-readonly/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-readonly/main.html rename to test/runtime/samples/reactive-values-readonly/main.svelte diff --git a/test/runtime/samples/reactive-values-second-order/main.html b/test/runtime/samples/reactive-values-second-order/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-second-order/main.html rename to test/runtime/samples/reactive-values-second-order/main.svelte diff --git a/test/runtime/samples/reactive-values-self-dependency/main.html b/test/runtime/samples/reactive-values-self-dependency/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-self-dependency/main.html rename to test/runtime/samples/reactive-values-self-dependency/main.svelte diff --git a/test/runtime/samples/reactive-values/main.html b/test/runtime/samples/reactive-values/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values/main.html rename to test/runtime/samples/reactive-values/main.svelte diff --git a/test/runtime/samples/script-style-non-top-level/main.html b/test/runtime/samples/script-style-non-top-level/main.svelte similarity index 100% rename from test/runtime/samples/script-style-non-top-level/main.html rename to test/runtime/samples/script-style-non-top-level/main.svelte diff --git a/test/runtime/samples/select-bind-array/main.html b/test/runtime/samples/select-bind-array/main.svelte similarity index 100% rename from test/runtime/samples/select-bind-array/main.html rename to test/runtime/samples/select-bind-array/main.svelte diff --git a/test/runtime/samples/select-bind-in-array/main.html b/test/runtime/samples/select-bind-in-array/main.svelte similarity index 100% rename from test/runtime/samples/select-bind-in-array/main.html rename to test/runtime/samples/select-bind-in-array/main.svelte diff --git a/test/runtime/samples/select-change-handler/main.html b/test/runtime/samples/select-change-handler/main.svelte similarity index 100% rename from test/runtime/samples/select-change-handler/main.html rename to test/runtime/samples/select-change-handler/main.svelte diff --git a/test/runtime/samples/select-no-whitespace/main.html b/test/runtime/samples/select-no-whitespace/main.svelte similarity index 100% rename from test/runtime/samples/select-no-whitespace/main.html rename to test/runtime/samples/select-no-whitespace/main.svelte diff --git a/test/runtime/samples/select-one-way-bind-object/main.html b/test/runtime/samples/select-one-way-bind-object/main.svelte similarity index 100% rename from test/runtime/samples/select-one-way-bind-object/main.html rename to test/runtime/samples/select-one-way-bind-object/main.svelte diff --git a/test/runtime/samples/select-one-way-bind/main.html b/test/runtime/samples/select-one-way-bind/main.svelte similarity index 100% rename from test/runtime/samples/select-one-way-bind/main.html rename to test/runtime/samples/select-one-way-bind/main.svelte diff --git a/test/runtime/samples/select-props/main.html b/test/runtime/samples/select-props/main.svelte similarity index 100% rename from test/runtime/samples/select-props/main.html rename to test/runtime/samples/select-props/main.svelte diff --git a/test/runtime/samples/select/main.html b/test/runtime/samples/select/main.svelte similarity index 100% rename from test/runtime/samples/select/main.html rename to test/runtime/samples/select/main.svelte diff --git a/test/runtime/samples/self-reference-tree/main.html b/test/runtime/samples/self-reference-tree/main.svelte similarity index 100% rename from test/runtime/samples/self-reference-tree/main.html rename to test/runtime/samples/self-reference-tree/main.svelte diff --git a/test/runtime/samples/self-reference/main.html b/test/runtime/samples/self-reference/main.svelte similarity index 100% rename from test/runtime/samples/self-reference/main.html rename to test/runtime/samples/self-reference/main.svelte diff --git a/test/runtime/samples/set-after-destroy/main.html b/test/runtime/samples/set-after-destroy/main.svelte similarity index 100% rename from test/runtime/samples/set-after-destroy/main.html rename to test/runtime/samples/set-after-destroy/main.svelte diff --git a/test/runtime/samples/set-in-oncreate/main.html b/test/runtime/samples/set-in-oncreate/main.svelte similarity index 100% rename from test/runtime/samples/set-in-oncreate/main.html rename to test/runtime/samples/set-in-oncreate/main.svelte diff --git a/test/runtime/samples/set-in-onstate-dedupes-renders/Widget.html b/test/runtime/samples/set-in-onstate-dedupes-renders/Widget.svelte similarity index 100% rename from test/runtime/samples/set-in-onstate-dedupes-renders/Widget.html rename to test/runtime/samples/set-in-onstate-dedupes-renders/Widget.svelte diff --git a/test/runtime/samples/set-in-onstate-dedupes-renders/main.html b/test/runtime/samples/set-in-onstate-dedupes-renders/main.svelte similarity index 83% rename from test/runtime/samples/set-in-onstate-dedupes-renders/main.html rename to test/runtime/samples/set-in-onstate-dedupes-renders/main.svelte index d6fe905c3b..cf87944bb8 100644 --- a/test/runtime/samples/set-in-onstate-dedupes-renders/main.html +++ b/test/runtime/samples/set-in-onstate-dedupes-renders/main.svelte @@ -1,7 +1,7 @@ diff --git a/test/runtime/samples/sigil-static-#/main.html b/test/runtime/samples/sigil-static-#/main.svelte similarity index 100% rename from test/runtime/samples/sigil-static-#/main.html rename to test/runtime/samples/sigil-static-#/main.svelte diff --git a/test/runtime/samples/sigil-static-@/main.html b/test/runtime/samples/sigil-static-@/main.svelte similarity index 100% rename from test/runtime/samples/sigil-static-@/main.html rename to test/runtime/samples/sigil-static-@/main.svelte diff --git a/test/runtime/samples/single-static-element/main.html b/test/runtime/samples/single-static-element/main.svelte similarity index 100% rename from test/runtime/samples/single-static-element/main.html rename to test/runtime/samples/single-static-element/main.svelte diff --git a/test/runtime/samples/single-text-node/main.html b/test/runtime/samples/single-text-node/main.svelte similarity index 100% rename from test/runtime/samples/single-text-node/main.html rename to test/runtime/samples/single-text-node/main.svelte diff --git a/test/runtime/samples/slot-in-custom-element/main.html b/test/runtime/samples/slot-in-custom-element/main.svelte similarity index 100% rename from test/runtime/samples/slot-in-custom-element/main.html rename to test/runtime/samples/slot-in-custom-element/main.svelte diff --git a/test/runtime/samples/spread-component-dynamic-undefined/main.html b/test/runtime/samples/spread-component-dynamic-undefined/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic-undefined/main.html rename to test/runtime/samples/spread-component-dynamic-undefined/main.svelte diff --git a/test/runtime/samples/spread-component-dynamic/Foo.html b/test/runtime/samples/spread-component-dynamic/Foo.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic/Foo.html rename to test/runtime/samples/spread-component-dynamic/Foo.svelte diff --git a/test/runtime/samples/spread-component-dynamic/main.html b/test/runtime/samples/spread-component-dynamic/main.html deleted file mode 100644 index 4b83ee5307..0000000000 --- a/test/runtime/samples/spread-component-dynamic/main.html +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/spread-component-dynamic/main.svelte b/test/runtime/samples/spread-component-dynamic/main.svelte new file mode 100644 index 0000000000..879a5c2cd5 --- /dev/null +++ b/test/runtime/samples/spread-component-dynamic/main.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/spread-component-multiple-dependencies/Widget.html b/test/runtime/samples/spread-component-multiple-dependencies/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-multiple-dependencies/Widget.html rename to test/runtime/samples/spread-component-multiple-dependencies/Widget.svelte diff --git a/test/runtime/samples/spread-component-multiple-dependencies/main.html b/test/runtime/samples/spread-component-multiple-dependencies/main.svelte similarity index 80% rename from test/runtime/samples/spread-component-multiple-dependencies/main.html rename to test/runtime/samples/spread-component-multiple-dependencies/main.svelte index 79ed1d2974..a60043391a 100644 --- a/test/runtime/samples/spread-component-multiple-dependencies/main.html +++ b/test/runtime/samples/spread-component-multiple-dependencies/main.svelte @@ -4,7 +4,7 @@ export let b = 'b'; export let bar = { baz: 'baz' }; - import Widget from './Widget.html'; + import Widget from './Widget.svelte'; diff --git a/test/runtime/samples/spread-component-with-bind/Widget.html b/test/runtime/samples/spread-component-with-bind/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-with-bind/Widget.html rename to test/runtime/samples/spread-component-with-bind/Widget.svelte diff --git a/test/runtime/samples/spread-component-with-bind/main.html b/test/runtime/samples/spread-component-with-bind/main.html deleted file mode 100644 index e4c81624fd..0000000000 --- a/test/runtime/samples/spread-component-with-bind/main.html +++ /dev/null @@ -1,8 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/spread-component-with-bind/main.svelte b/test/runtime/samples/spread-component-with-bind/main.svelte new file mode 100644 index 0000000000..98375e2348 --- /dev/null +++ b/test/runtime/samples/spread-component-with-bind/main.svelte @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/spread-component/Widget.html b/test/runtime/samples/spread-component/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component/Widget.html rename to test/runtime/samples/spread-component/Widget.svelte diff --git a/test/runtime/samples/spread-component/main.html b/test/runtime/samples/spread-component/main.svelte similarity index 69% rename from test/runtime/samples/spread-component/main.html rename to test/runtime/samples/spread-component/main.svelte index 351a7964ef..3ca281903e 100644 --- a/test/runtime/samples/spread-component/main.html +++ b/test/runtime/samples/spread-component/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/spread-each-component/Nested.html b/test/runtime/samples/spread-each-component/Nested.svelte similarity index 100% rename from test/runtime/samples/spread-each-component/Nested.html rename to test/runtime/samples/spread-each-component/Nested.svelte diff --git a/test/runtime/samples/spread-each-component/main.html b/test/runtime/samples/spread-each-component/main.svelte similarity index 65% rename from test/runtime/samples/spread-each-component/main.html rename to test/runtime/samples/spread-each-component/main.svelte index 2124861160..f8c0cebaba 100644 --- a/test/runtime/samples/spread-each-component/main.html +++ b/test/runtime/samples/spread-each-component/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/spread-each-element/main.html b/test/runtime/samples/spread-each-element/main.svelte similarity index 100% rename from test/runtime/samples/spread-each-element/main.html rename to test/runtime/samples/spread-each-element/main.svelte diff --git a/test/runtime/samples/spread-element-boolean/main.html b/test/runtime/samples/spread-element-boolean/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-boolean/main.html rename to test/runtime/samples/spread-element-boolean/main.svelte diff --git a/test/runtime/samples/spread-element-input/main.html b/test/runtime/samples/spread-element-input/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input/main.html rename to test/runtime/samples/spread-element-input/main.svelte diff --git a/test/runtime/samples/spread-element-multiple-dependencies/main.html b/test/runtime/samples/spread-element-multiple-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-multiple-dependencies/main.html rename to test/runtime/samples/spread-element-multiple-dependencies/main.svelte diff --git a/test/runtime/samples/spread-element-multiple/main.html b/test/runtime/samples/spread-element-multiple/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-multiple/main.html rename to test/runtime/samples/spread-element-multiple/main.svelte diff --git a/test/runtime/samples/spread-element/main.html b/test/runtime/samples/spread-element/main.svelte similarity index 100% rename from test/runtime/samples/spread-element/main.html rename to test/runtime/samples/spread-element/main.svelte diff --git a/test/runtime/samples/spread-own-props/Widget.html b/test/runtime/samples/spread-own-props/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-own-props/Widget.html rename to test/runtime/samples/spread-own-props/Widget.svelte diff --git a/test/runtime/samples/spread-own-props/main.html b/test/runtime/samples/spread-own-props/main.svelte similarity index 73% rename from test/runtime/samples/spread-own-props/main.html rename to test/runtime/samples/spread-own-props/main.svelte index 79afded90e..5fbd75d663 100644 --- a/test/runtime/samples/spread-own-props/main.html +++ b/test/runtime/samples/spread-own-props/main.svelte @@ -1,7 +1,7 @@ diff --git a/test/runtime/samples/state-deconflicted/main.html b/test/runtime/samples/state-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/state-deconflicted/main.html rename to test/runtime/samples/state-deconflicted/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-implicit/main.html b/test/runtime/samples/store-auto-subscribe-implicit/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-implicit/main.html rename to test/runtime/samples/store-auto-subscribe-implicit/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-each/main.html b/test/runtime/samples/store-auto-subscribe-in-each/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-each/main.html rename to test/runtime/samples/store-auto-subscribe-in-each/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/main.html b/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-reactive-declaration/main.html rename to test/runtime/samples/store-auto-subscribe-in-reactive-declaration/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-script/main.html b/test/runtime/samples/store-auto-subscribe-in-script/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-script/main.html rename to test/runtime/samples/store-auto-subscribe-in-script/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe/main.html b/test/runtime/samples/store-auto-subscribe/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe/main.html rename to test/runtime/samples/store-auto-subscribe/main.svelte diff --git a/test/runtime/samples/store-dev-mode-error/main.html b/test/runtime/samples/store-dev-mode-error/main.svelte similarity index 100% rename from test/runtime/samples/store-dev-mode-error/main.html rename to test/runtime/samples/store-dev-mode-error/main.svelte diff --git a/test/runtime/samples/store-prevent-user-declarations/main.html b/test/runtime/samples/store-prevent-user-declarations/main.svelte similarity index 100% rename from test/runtime/samples/store-prevent-user-declarations/main.html rename to test/runtime/samples/store-prevent-user-declarations/main.svelte diff --git a/test/runtime/samples/svg-attributes/main.html b/test/runtime/samples/svg-attributes/main.svelte similarity index 100% rename from test/runtime/samples/svg-attributes/main.html rename to test/runtime/samples/svg-attributes/main.svelte diff --git a/test/runtime/samples/svg-child-component-declared-namespace-shorthand/Rect.html b/test/runtime/samples/svg-child-component-declared-namespace-shorthand/Rect.svelte similarity index 100% rename from test/runtime/samples/svg-child-component-declared-namespace-shorthand/Rect.html rename to test/runtime/samples/svg-child-component-declared-namespace-shorthand/Rect.svelte diff --git a/test/runtime/samples/svg-child-component-declared-namespace/main.html b/test/runtime/samples/svg-child-component-declared-namespace-shorthand/main.svelte similarity index 82% rename from test/runtime/samples/svg-child-component-declared-namespace/main.html rename to test/runtime/samples/svg-child-component-declared-namespace-shorthand/main.svelte index 9e82368dbc..aa65b2b453 100644 --- a/test/runtime/samples/svg-child-component-declared-namespace/main.html +++ b/test/runtime/samples/svg-child-component-declared-namespace-shorthand/main.svelte @@ -1,5 +1,5 @@ - - \ No newline at end of file diff --git a/test/runtime/samples/transition-js-dynamic-component/main.svelte b/test/runtime/samples/transition-js-dynamic-component/main.svelte new file mode 100644 index 0000000000..08697ec1a9 --- /dev/null +++ b/test/runtime/samples/transition-js-dynamic-component/main.svelte @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/transition-js-dynamic-if-block-bidi/main.html b/test/runtime/samples/transition-js-dynamic-if-block-bidi/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-dynamic-if-block-bidi/main.html rename to test/runtime/samples/transition-js-dynamic-if-block-bidi/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-intro-outro/main.html b/test/runtime/samples/transition-js-each-block-intro-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-block-intro-outro/main.html rename to test/runtime/samples/transition-js-each-block-intro-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-intro/main.html b/test/runtime/samples/transition-js-each-block-intro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-block-intro/main.html rename to test/runtime/samples/transition-js-each-block-intro/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.html b/test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.html rename to test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-keyed-intro/main.html b/test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-block-keyed-intro/main.html rename to test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-keyed-outro/main.html b/test/runtime/samples/transition-js-each-block-keyed-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-block-keyed-outro/main.html rename to test/runtime/samples/transition-js-each-block-keyed-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-outro/main.html b/test/runtime/samples/transition-js-each-block-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-block-outro/main.html rename to test/runtime/samples/transition-js-each-block-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-keyed-unchanged/main.html b/test/runtime/samples/transition-js-each-keyed-unchanged/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-keyed-unchanged/main.html rename to test/runtime/samples/transition-js-each-keyed-unchanged/main.svelte diff --git a/test/runtime/samples/transition-js-each-unchanged/main.html b/test/runtime/samples/transition-js-each-unchanged/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-unchanged/main.html rename to test/runtime/samples/transition-js-each-unchanged/main.svelte diff --git a/test/runtime/samples/transition-js-events/main.html b/test/runtime/samples/transition-js-events/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-events/main.html rename to test/runtime/samples/transition-js-events/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-bidi/main.html b/test/runtime/samples/transition-js-if-block-bidi/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-bidi/main.html rename to test/runtime/samples/transition-js-if-block-bidi/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/main.html b/test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/main.html rename to test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/main.html b/test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/main.html rename to test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.html b/test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.html rename to test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-intro-outro/main.html b/test/runtime/samples/transition-js-if-block-intro-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-intro-outro/main.html rename to test/runtime/samples/transition-js-if-block-intro-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-intro/main.html b/test/runtime/samples/transition-js-if-block-intro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-intro/main.html rename to test/runtime/samples/transition-js-if-block-intro/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-outro-timeout/main.html b/test/runtime/samples/transition-js-if-block-outro-timeout/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-outro-timeout/main.html rename to test/runtime/samples/transition-js-if-block-outro-timeout/main.svelte diff --git a/test/runtime/samples/transition-js-if-else-block-dynamic-outro/main.html b/test/runtime/samples/transition-js-if-else-block-dynamic-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-dynamic-outro/main.html rename to test/runtime/samples/transition-js-if-else-block-dynamic-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-else-block-intro/main.html b/test/runtime/samples/transition-js-if-else-block-intro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-intro/main.html rename to test/runtime/samples/transition-js-if-else-block-intro/main.svelte diff --git a/test/runtime/samples/transition-js-if-else-block-outro/main.html b/test/runtime/samples/transition-js-if-else-block-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-outro/main.html rename to test/runtime/samples/transition-js-if-else-block-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-elseif-block-outro/main.html b/test/runtime/samples/transition-js-if-elseif-block-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-elseif-block-outro/main.html rename to test/runtime/samples/transition-js-if-elseif-block-outro/main.svelte diff --git a/test/runtime/samples/transition-js-initial/main.html b/test/runtime/samples/transition-js-initial/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-initial/main.html rename to test/runtime/samples/transition-js-initial/main.svelte diff --git a/test/runtime/samples/transition-js-intro-enabled-by-option/main.html b/test/runtime/samples/transition-js-intro-enabled-by-option/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-intro-enabled-by-option/main.html rename to test/runtime/samples/transition-js-intro-enabled-by-option/main.svelte diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default-nested/Widget.html b/test/runtime/samples/transition-js-intro-skipped-by-default-nested/Widget.svelte similarity index 100% rename from test/runtime/samples/transition-js-intro-skipped-by-default-nested/Widget.html rename to test/runtime/samples/transition-js-intro-skipped-by-default-nested/Widget.svelte diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.html b/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.html deleted file mode 100644 index cbcde3f1ed..0000000000 --- a/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte b/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte new file mode 100644 index 0000000000..0a9d5bba87 --- /dev/null +++ b/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default/main.html b/test/runtime/samples/transition-js-intro-skipped-by-default/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-intro-skipped-by-default/main.html rename to test/runtime/samples/transition-js-intro-skipped-by-default/main.svelte diff --git a/test/runtime/samples/transition-js-local-and-global/main.html b/test/runtime/samples/transition-js-local-and-global/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-and-global/main.html rename to test/runtime/samples/transition-js-local-and-global/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-await/main.html b/test/runtime/samples/transition-js-local-nested-await/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-await/main.html rename to test/runtime/samples/transition-js-local-nested-await/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-component/Widget.html b/test/runtime/samples/transition-js-local-nested-component/Widget.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-component/Widget.html rename to test/runtime/samples/transition-js-local-nested-component/Widget.svelte diff --git a/test/runtime/samples/transition-js-local-nested-component/main.html b/test/runtime/samples/transition-js-local-nested-component/main.svelte similarity index 55% rename from test/runtime/samples/transition-js-local-nested-component/main.html rename to test/runtime/samples/transition-js-local-nested-component/main.svelte index 2eb867a667..761ef9d860 100644 --- a/test/runtime/samples/transition-js-local-nested-component/main.html +++ b/test/runtime/samples/transition-js-local-nested-component/main.svelte @@ -1,7 +1,7 @@ {#if x} diff --git a/test/runtime/samples/transition-js-local-nested-each-keyed/main.html b/test/runtime/samples/transition-js-local-nested-each-keyed/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-each-keyed/main.html rename to test/runtime/samples/transition-js-local-nested-each-keyed/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-each/main.html b/test/runtime/samples/transition-js-local-nested-each/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-each/main.html rename to test/runtime/samples/transition-js-local-nested-each/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-if/main.html b/test/runtime/samples/transition-js-local-nested-if/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-if/main.html rename to test/runtime/samples/transition-js-local-nested-if/main.svelte diff --git a/test/runtime/samples/transition-js-local/main.html b/test/runtime/samples/transition-js-local/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local/main.html rename to test/runtime/samples/transition-js-local/main.svelte diff --git a/test/runtime/samples/transition-js-nested-await/main.html b/test/runtime/samples/transition-js-nested-await/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-await/main.html rename to test/runtime/samples/transition-js-nested-await/main.svelte diff --git a/test/runtime/samples/transition-js-nested-component/Widget.html b/test/runtime/samples/transition-js-nested-component/Widget.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-component/Widget.html rename to test/runtime/samples/transition-js-nested-component/Widget.svelte diff --git a/test/runtime/samples/transition-js-nested-component/main.html b/test/runtime/samples/transition-js-nested-component/main.svelte similarity index 55% rename from test/runtime/samples/transition-js-nested-component/main.html rename to test/runtime/samples/transition-js-nested-component/main.svelte index b4b3beccd8..8cfaa3bf02 100644 --- a/test/runtime/samples/transition-js-nested-component/main.html +++ b/test/runtime/samples/transition-js-nested-component/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/transition-js-nested-each-delete/main.html b/test/runtime/samples/transition-js-nested-each-delete/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-each-delete/main.html rename to test/runtime/samples/transition-js-nested-each-delete/main.svelte diff --git a/test/runtime/samples/transition-js-nested-each-keyed-2/Widget.html b/test/runtime/samples/transition-js-nested-each-keyed-2/Widget.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-each-keyed-2/Widget.html rename to test/runtime/samples/transition-js-nested-each-keyed-2/Widget.svelte diff --git a/test/runtime/samples/transition-js-nested-each-keyed-2/main.html b/test/runtime/samples/transition-js-nested-each-keyed-2/main.svelte similarity index 65% rename from test/runtime/samples/transition-js-nested-each-keyed-2/main.html rename to test/runtime/samples/transition-js-nested-each-keyed-2/main.svelte index 11096498cb..8a8ef57576 100644 --- a/test/runtime/samples/transition-js-nested-each-keyed-2/main.html +++ b/test/runtime/samples/transition-js-nested-each-keyed-2/main.svelte @@ -2,7 +2,7 @@ export let x; export let things; - import Widget from './Widget.html'; + import Widget from './Widget.svelte'; {#if x} diff --git a/test/runtime/samples/transition-js-nested-each-keyed/main.html b/test/runtime/samples/transition-js-nested-each-keyed/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-each-keyed/main.html rename to test/runtime/samples/transition-js-nested-each-keyed/main.svelte diff --git a/test/runtime/samples/transition-js-nested-each/main.html b/test/runtime/samples/transition-js-nested-each/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-each/main.html rename to test/runtime/samples/transition-js-nested-each/main.svelte diff --git a/test/runtime/samples/transition-js-nested-if/main.html b/test/runtime/samples/transition-js-nested-if/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-if/main.html rename to test/runtime/samples/transition-js-nested-if/main.svelte diff --git a/test/runtime/samples/transition-js-nested-intro/Child.html b/test/runtime/samples/transition-js-nested-intro/Child.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-intro/Child.html rename to test/runtime/samples/transition-js-nested-intro/Child.svelte diff --git a/test/runtime/samples/transition-js-nested-intro/main.html b/test/runtime/samples/transition-js-nested-intro/main.svelte similarity index 65% rename from test/runtime/samples/transition-js-nested-intro/main.html rename to test/runtime/samples/transition-js-nested-intro/main.svelte index f222940ad5..5ae29bee7b 100644 --- a/test/runtime/samples/transition-js-nested-intro/main.html +++ b/test/runtime/samples/transition-js-nested-intro/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/runtime/samples/transition-js-parameterised-with-state/main.html b/test/runtime/samples/transition-js-parameterised-with-state/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-parameterised-with-state/main.html rename to test/runtime/samples/transition-js-parameterised-with-state/main.svelte diff --git a/test/runtime/samples/transition-js-parameterised/main.html b/test/runtime/samples/transition-js-parameterised/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-parameterised/main.html rename to test/runtime/samples/transition-js-parameterised/main.svelte diff --git a/test/runtime/samples/whitespace-each-block/main.html b/test/runtime/samples/whitespace-each-block/main.svelte similarity index 100% rename from test/runtime/samples/whitespace-each-block/main.html rename to test/runtime/samples/whitespace-each-block/main.svelte diff --git a/test/runtime/samples/whitespace-list/main.html b/test/runtime/samples/whitespace-list/main.svelte similarity index 100% rename from test/runtime/samples/whitespace-list/main.html rename to test/runtime/samples/whitespace-list/main.svelte diff --git a/test/runtime/samples/whitespace-normal/main.html b/test/runtime/samples/whitespace-normal/main.svelte similarity index 100% rename from test/runtime/samples/whitespace-normal/main.html rename to test/runtime/samples/whitespace-normal/main.svelte diff --git a/test/runtime/samples/window-bind-scroll-update/main.html b/test/runtime/samples/window-bind-scroll-update/main.svelte similarity index 100% rename from test/runtime/samples/window-bind-scroll-update/main.html rename to test/runtime/samples/window-bind-scroll-update/main.svelte diff --git a/test/runtime/samples/window-binding-multiple-handlers/main.html b/test/runtime/samples/window-binding-multiple-handlers/main.svelte similarity index 100% rename from test/runtime/samples/window-binding-multiple-handlers/main.html rename to test/runtime/samples/window-binding-multiple-handlers/main.svelte diff --git a/test/runtime/samples/window-binding-resize/main.html b/test/runtime/samples/window-binding-resize/main.svelte similarity index 100% rename from test/runtime/samples/window-binding-resize/main.html rename to test/runtime/samples/window-binding-resize/main.svelte diff --git a/test/runtime/samples/window-event-context/main.html b/test/runtime/samples/window-event-context/main.svelte similarity index 100% rename from test/runtime/samples/window-event-context/main.html rename to test/runtime/samples/window-event-context/main.svelte diff --git a/test/runtime/samples/window-event-custom/main.html b/test/runtime/samples/window-event-custom/main.svelte similarity index 100% rename from test/runtime/samples/window-event-custom/main.html rename to test/runtime/samples/window-event-custom/main.svelte diff --git a/test/runtime/samples/window-event/main.html b/test/runtime/samples/window-event/main.svelte similarity index 100% rename from test/runtime/samples/window-event/main.html rename to test/runtime/samples/window-event/main.svelte diff --git a/test/server-side-rendering/samples/attribute-boolean/_expected.html b/test/server-side-rendering/samples/attribute-boolean/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-boolean/_expected.html rename to test/server-side-rendering/samples/attribute-boolean/_expected.svelte diff --git a/test/server-side-rendering/samples/attribute-boolean/main.html b/test/server-side-rendering/samples/attribute-boolean/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-boolean/main.html rename to test/server-side-rendering/samples/attribute-boolean/main.svelte diff --git a/test/server-side-rendering/samples/attribute-dynamic/_expected.html b/test/server-side-rendering/samples/attribute-dynamic/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-dynamic/_expected.html rename to test/server-side-rendering/samples/attribute-dynamic/_expected.svelte diff --git a/test/server-side-rendering/samples/attribute-dynamic/main.html b/test/server-side-rendering/samples/attribute-dynamic/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-dynamic/main.html rename to test/server-side-rendering/samples/attribute-dynamic/main.svelte diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.html b/test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.html rename to test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.svelte diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes-spread/main.html b/test/server-side-rendering/samples/attribute-escaped-quotes-spread/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes-spread/main.html rename to test/server-side-rendering/samples/attribute-escaped-quotes-spread/main.svelte diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes/_expected.html b/test/server-side-rendering/samples/attribute-escaped-quotes/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes/_expected.html rename to test/server-side-rendering/samples/attribute-escaped-quotes/_expected.svelte diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes/main.html b/test/server-side-rendering/samples/attribute-escaped-quotes/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes/main.html rename to test/server-side-rendering/samples/attribute-escaped-quotes/main.svelte diff --git a/test/server-side-rendering/samples/attribute-static/_expected.html b/test/server-side-rendering/samples/attribute-static/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-static/_expected.html rename to test/server-side-rendering/samples/attribute-static/_expected.svelte diff --git a/test/server-side-rendering/samples/attribute-static/main.html b/test/server-side-rendering/samples/attribute-static/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-static/main.html rename to test/server-side-rendering/samples/attribute-static/main.svelte diff --git a/test/server-side-rendering/samples/bindings/_expected.html b/test/server-side-rendering/samples/bindings/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/bindings/_expected.html rename to test/server-side-rendering/samples/bindings/_expected.svelte diff --git a/test/server-side-rendering/samples/bindings/main.html b/test/server-side-rendering/samples/bindings/main.svelte similarity index 100% rename from test/server-side-rendering/samples/bindings/main.html rename to test/server-side-rendering/samples/bindings/main.svelte diff --git a/test/server-side-rendering/samples/comment/_expected.html b/test/server-side-rendering/samples/comment/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/comment/_expected.html rename to test/server-side-rendering/samples/comment/_expected.svelte diff --git a/test/server-side-rendering/samples/comment/main.html b/test/server-side-rendering/samples/comment/main.svelte similarity index 100% rename from test/server-side-rendering/samples/comment/main.html rename to test/server-side-rendering/samples/comment/main.svelte diff --git a/test/server-side-rendering/samples/component-binding-renamed/Foo.html b/test/server-side-rendering/samples/component-binding-renamed/Foo.svelte similarity index 100% rename from test/server-side-rendering/samples/component-binding-renamed/Foo.html rename to test/server-side-rendering/samples/component-binding-renamed/Foo.svelte diff --git a/test/server-side-rendering/samples/component-binding-renamed/_expected.html b/test/server-side-rendering/samples/component-binding-renamed/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/component-binding-renamed/_expected.html rename to test/server-side-rendering/samples/component-binding-renamed/_expected.svelte diff --git a/test/server-side-rendering/samples/component-binding-renamed/main.html b/test/server-side-rendering/samples/component-binding-renamed/main.svelte similarity index 69% rename from test/server-side-rendering/samples/component-binding-renamed/main.html rename to test/server-side-rendering/samples/component-binding-renamed/main.svelte index 5c8af5f2ea..927239e1ec 100644 --- a/test/server-side-rendering/samples/component-binding-renamed/main.html +++ b/test/server-side-rendering/samples/component-binding-renamed/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/server-side-rendering/samples/component-data-dynamic/Widget.html b/test/server-side-rendering/samples/component-data-dynamic/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-data-dynamic/Widget.html rename to test/server-side-rendering/samples/component-data-dynamic/Widget.svelte diff --git a/test/server-side-rendering/samples/component-data-dynamic/_expected.html b/test/server-side-rendering/samples/component-data-dynamic/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/component-data-dynamic/_expected.html rename to test/server-side-rendering/samples/component-data-dynamic/_expected.svelte diff --git a/test/server-side-rendering/samples/component-data-dynamic/main.html b/test/server-side-rendering/samples/component-data-dynamic/main.svelte similarity index 83% rename from test/server-side-rendering/samples/component-data-dynamic/main.html rename to test/server-side-rendering/samples/component-data-dynamic/main.svelte index 74998f4742..ce7f22d6ea 100644 --- a/test/server-side-rendering/samples/component-data-dynamic/main.html +++ b/test/server-side-rendering/samples/component-data-dynamic/main.svelte @@ -1,5 +1,5 @@
diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/Widget.html b/test/server-side-rendering/samples/component-refs-and-attributes/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-refs-and-attributes/Widget.html rename to test/server-side-rendering/samples/component-refs-and-attributes/Widget.svelte diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/_expected.html b/test/server-side-rendering/samples/component-refs-and-attributes/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/component-refs-and-attributes/_expected.html rename to test/server-side-rendering/samples/component-refs-and-attributes/_expected.svelte diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/main.html b/test/server-side-rendering/samples/component-refs-and-attributes/main.svelte similarity index 74% rename from test/server-side-rendering/samples/component-refs-and-attributes/main.html rename to test/server-side-rendering/samples/component-refs-and-attributes/main.svelte index 8192bdf402..5c86521df5 100644 --- a/test/server-side-rendering/samples/component-refs-and-attributes/main.html +++ b/test/server-side-rendering/samples/component-refs-and-attributes/main.svelte @@ -1,7 +1,7 @@ diff --git a/test/server-side-rendering/samples/component-refs/Widget.html b/test/server-side-rendering/samples/component-refs/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-refs/Widget.html rename to test/server-side-rendering/samples/component-refs/Widget.svelte diff --git a/test/server-side-rendering/samples/component-refs/_expected.html b/test/server-side-rendering/samples/component-refs/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/component-refs/_expected.html rename to test/server-side-rendering/samples/component-refs/_expected.svelte diff --git a/test/server-side-rendering/samples/component-refs/main.html b/test/server-side-rendering/samples/component-refs/main.svelte similarity index 67% rename from test/server-side-rendering/samples/component-refs/main.html rename to test/server-side-rendering/samples/component-refs/main.svelte index 96b3d15de4..6ec0bc5438 100644 --- a/test/server-side-rendering/samples/component-refs/main.html +++ b/test/server-side-rendering/samples/component-refs/main.svelte @@ -1,7 +1,7 @@
diff --git a/test/server-side-rendering/samples/component-with-different-extension/_expected.html b/test/server-side-rendering/samples/component-with-different-extension/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/component-with-different-extension/_expected.html rename to test/server-side-rendering/samples/component-with-different-extension/_expected.svelte diff --git a/test/server-side-rendering/samples/component-yield/Widget.html b/test/server-side-rendering/samples/component-yield/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-yield/Widget.html rename to test/server-side-rendering/samples/component-yield/Widget.svelte diff --git a/test/server-side-rendering/samples/component-yield/_expected.html b/test/server-side-rendering/samples/component-yield/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/component-yield/_expected.html rename to test/server-side-rendering/samples/component-yield/_expected.svelte diff --git a/test/server-side-rendering/samples/component-yield/main.html b/test/server-side-rendering/samples/component-yield/main.svelte similarity index 69% rename from test/server-side-rendering/samples/component-yield/main.html rename to test/server-side-rendering/samples/component-yield/main.svelte index 9c2f573c91..2dbd669a78 100644 --- a/test/server-side-rendering/samples/component-yield/main.html +++ b/test/server-side-rendering/samples/component-yield/main.svelte @@ -1,5 +1,5 @@ diff --git a/test/server-side-rendering/samples/component/Widget.html b/test/server-side-rendering/samples/component/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component/Widget.html rename to test/server-side-rendering/samples/component/Widget.svelte diff --git a/test/server-side-rendering/samples/component/_expected.html b/test/server-side-rendering/samples/component/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/component/_expected.html rename to test/server-side-rendering/samples/component/_expected.svelte diff --git a/test/server-side-rendering/samples/component/main.html b/test/server-side-rendering/samples/component/main.svelte similarity index 53% rename from test/server-side-rendering/samples/component/main.html rename to test/server-side-rendering/samples/component/main.svelte index ecb4297a40..ac0b429163 100644 --- a/test/server-side-rendering/samples/component/main.html +++ b/test/server-side-rendering/samples/component/main.svelte @@ -1,5 +1,5 @@
diff --git a/test/server-side-rendering/samples/computed/_expected.html b/test/server-side-rendering/samples/computed/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/computed/_expected.html rename to test/server-side-rendering/samples/computed/_expected.svelte diff --git a/test/server-side-rendering/samples/computed/main.html b/test/server-side-rendering/samples/computed/main.svelte similarity index 100% rename from test/server-side-rendering/samples/computed/main.html rename to test/server-side-rendering/samples/computed/main.svelte diff --git a/test/server-side-rendering/samples/default-data-override/_expected.html b/test/server-side-rendering/samples/default-data-override/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/default-data-override/_expected.html rename to test/server-side-rendering/samples/default-data-override/_expected.svelte diff --git a/test/server-side-rendering/samples/default-data-override/main.html b/test/server-side-rendering/samples/default-data-override/main.svelte similarity index 100% rename from test/server-side-rendering/samples/default-data-override/main.html rename to test/server-side-rendering/samples/default-data-override/main.svelte diff --git a/test/server-side-rendering/samples/default-data/_expected.html b/test/server-side-rendering/samples/default-data/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/default-data/_expected.html rename to test/server-side-rendering/samples/default-data/_expected.svelte diff --git a/test/server-side-rendering/samples/default-data/main.html b/test/server-side-rendering/samples/default-data/main.svelte similarity index 100% rename from test/server-side-rendering/samples/default-data/main.html rename to test/server-side-rendering/samples/default-data/main.svelte diff --git a/test/server-side-rendering/samples/directives/_expected.html b/test/server-side-rendering/samples/directives/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/directives/_expected.html rename to test/server-side-rendering/samples/directives/_expected.svelte diff --git a/test/server-side-rendering/samples/directives/main.html b/test/server-side-rendering/samples/directives/main.svelte similarity index 100% rename from test/server-side-rendering/samples/directives/main.html rename to test/server-side-rendering/samples/directives/main.svelte diff --git a/test/server-side-rendering/samples/dynamic-text-escaped/_expected.html b/test/server-side-rendering/samples/dynamic-text-escaped/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-text-escaped/_expected.html rename to test/server-side-rendering/samples/dynamic-text-escaped/_expected.svelte diff --git a/test/server-side-rendering/samples/dynamic-text-escaped/main.html b/test/server-side-rendering/samples/dynamic-text-escaped/main.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-text-escaped/main.html rename to test/server-side-rendering/samples/dynamic-text-escaped/main.svelte diff --git a/test/server-side-rendering/samples/dynamic-text/_expected.html b/test/server-side-rendering/samples/dynamic-text/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-text/_expected.html rename to test/server-side-rendering/samples/dynamic-text/_expected.svelte diff --git a/test/server-side-rendering/samples/dynamic-text/main.html b/test/server-side-rendering/samples/dynamic-text/main.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-text/main.html rename to test/server-side-rendering/samples/dynamic-text/main.svelte diff --git a/test/server-side-rendering/samples/each-block/_expected.html b/test/server-side-rendering/samples/each-block/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/each-block/_expected.html rename to test/server-side-rendering/samples/each-block/_expected.svelte diff --git a/test/server-side-rendering/samples/each-block/main.html b/test/server-side-rendering/samples/each-block/main.svelte similarity index 100% rename from test/server-side-rendering/samples/each-block/main.html rename to test/server-side-rendering/samples/each-block/main.svelte diff --git a/test/server-side-rendering/samples/empty-elements-closed/_expected.html b/test/server-side-rendering/samples/empty-elements-closed/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/empty-elements-closed/_expected.html rename to test/server-side-rendering/samples/empty-elements-closed/_expected.svelte diff --git a/test/server-side-rendering/samples/empty-elements-closed/main.html b/test/server-side-rendering/samples/empty-elements-closed/main.svelte similarity index 100% rename from test/server-side-rendering/samples/empty-elements-closed/main.html rename to test/server-side-rendering/samples/empty-elements-closed/main.svelte diff --git a/test/server-side-rendering/samples/entities/_expected.html b/test/server-side-rendering/samples/entities/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/entities/_expected.html rename to test/server-side-rendering/samples/entities/_expected.svelte diff --git a/test/server-side-rendering/samples/entities/main.html b/test/server-side-rendering/samples/entities/main.svelte similarity index 100% rename from test/server-side-rendering/samples/entities/main.html rename to test/server-side-rendering/samples/entities/main.svelte diff --git a/test/server-side-rendering/samples/head-title/_expected-head.html b/test/server-side-rendering/samples/head-title/_expected-head.html deleted file mode 100644 index 7d696352f9..0000000000 --- a/test/server-side-rendering/samples/head-title/_expected-head.html +++ /dev/null @@ -1 +0,0 @@ -a custom title \ No newline at end of file diff --git a/test/server-side-rendering/samples/head-title/_actual-head.html b/test/server-side-rendering/samples/head-title/_expected-head.svelte similarity index 100% rename from test/server-side-rendering/samples/head-title/_actual-head.html rename to test/server-side-rendering/samples/head-title/_expected-head.svelte diff --git a/test/server-side-rendering/samples/head-title/_expected.html b/test/server-side-rendering/samples/head-title/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/head-title/_expected.html rename to test/server-side-rendering/samples/head-title/_expected.svelte diff --git a/test/server-side-rendering/samples/head-title/main.html b/test/server-side-rendering/samples/head-title/main.svelte similarity index 100% rename from test/server-side-rendering/samples/head-title/main.html rename to test/server-side-rendering/samples/head-title/main.svelte diff --git a/test/server-side-rendering/samples/helpers/_expected.html b/test/server-side-rendering/samples/helpers/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/helpers/_expected.html rename to test/server-side-rendering/samples/helpers/_expected.svelte diff --git a/test/server-side-rendering/samples/helpers/main.html b/test/server-side-rendering/samples/helpers/main.svelte similarity index 100% rename from test/server-side-rendering/samples/helpers/main.html rename to test/server-side-rendering/samples/helpers/main.svelte diff --git a/test/server-side-rendering/samples/if-block-false/_expected.html b/test/server-side-rendering/samples/if-block-false/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/if-block-false/_expected.html rename to test/server-side-rendering/samples/if-block-false/_expected.svelte diff --git a/test/server-side-rendering/samples/if-block-false/main.html b/test/server-side-rendering/samples/if-block-false/main.svelte similarity index 100% rename from test/server-side-rendering/samples/if-block-false/main.html rename to test/server-side-rendering/samples/if-block-false/main.svelte diff --git a/test/server-side-rendering/samples/if-block-true/_expected.html b/test/server-side-rendering/samples/if-block-true/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/if-block-true/_expected.html rename to test/server-side-rendering/samples/if-block-true/_expected.svelte diff --git a/test/server-side-rendering/samples/if-block-true/main.html b/test/server-side-rendering/samples/if-block-true/main.svelte similarity index 100% rename from test/server-side-rendering/samples/if-block-true/main.html rename to test/server-side-rendering/samples/if-block-true/main.svelte diff --git a/test/server-side-rendering/samples/import-non-component/_expected.html b/test/server-side-rendering/samples/import-non-component/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/import-non-component/_expected.html rename to test/server-side-rendering/samples/import-non-component/_expected.svelte diff --git a/test/server-side-rendering/samples/import-non-component/main.html b/test/server-side-rendering/samples/import-non-component/main.svelte similarity index 100% rename from test/server-side-rendering/samples/import-non-component/main.html rename to test/server-side-rendering/samples/import-non-component/main.svelte diff --git a/test/server-side-rendering/samples/raw-mustaches/_expected.html b/test/server-side-rendering/samples/raw-mustaches/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/raw-mustaches/_expected.html rename to test/server-side-rendering/samples/raw-mustaches/_expected.svelte diff --git a/test/server-side-rendering/samples/raw-mustaches/main.html b/test/server-side-rendering/samples/raw-mustaches/main.svelte similarity index 100% rename from test/server-side-rendering/samples/raw-mustaches/main.html rename to test/server-side-rendering/samples/raw-mustaches/main.svelte diff --git a/test/server-side-rendering/samples/sanitize-name/[foo].html b/test/server-side-rendering/samples/sanitize-name/[foo].svelte similarity index 100% rename from test/server-side-rendering/samples/sanitize-name/[foo].html rename to test/server-side-rendering/samples/sanitize-name/[foo].svelte diff --git a/test/server-side-rendering/samples/sanitize-name/_expected.html b/test/server-side-rendering/samples/sanitize-name/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/sanitize-name/_expected.html rename to test/server-side-rendering/samples/sanitize-name/_expected.svelte diff --git a/test/server-side-rendering/samples/sanitize-name/main.html b/test/server-side-rendering/samples/sanitize-name/main.html deleted file mode 100644 index 6d7986da2e..0000000000 --- a/test/server-side-rendering/samples/sanitize-name/main.html +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/test/server-side-rendering/samples/sanitize-name/main.svelte b/test/server-side-rendering/samples/sanitize-name/main.svelte new file mode 100644 index 0000000000..1438843da9 --- /dev/null +++ b/test/server-side-rendering/samples/sanitize-name/main.svelte @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/test/server-side-rendering/samples/static-div/_expected.html b/test/server-side-rendering/samples/static-div/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/static-div/_expected.html rename to test/server-side-rendering/samples/static-div/_expected.svelte diff --git a/test/server-side-rendering/samples/static-div/main.html b/test/server-side-rendering/samples/static-div/main.svelte similarity index 100% rename from test/server-side-rendering/samples/static-div/main.html rename to test/server-side-rendering/samples/static-div/main.svelte diff --git a/test/server-side-rendering/samples/static-text/_expected.html b/test/server-side-rendering/samples/static-text/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/static-text/_expected.html rename to test/server-side-rendering/samples/static-text/_expected.svelte diff --git a/test/server-side-rendering/samples/static-text/main.html b/test/server-side-rendering/samples/static-text/main.svelte similarity index 100% rename from test/server-side-rendering/samples/static-text/main.html rename to test/server-side-rendering/samples/static-text/main.svelte diff --git a/test/server-side-rendering/samples/styles-nested/One.html b/test/server-side-rendering/samples/styles-nested/One.svelte similarity index 84% rename from test/server-side-rendering/samples/styles-nested/One.html rename to test/server-side-rendering/samples/styles-nested/One.svelte index df5512b91a..94b44675c8 100644 --- a/test/server-side-rendering/samples/styles-nested/One.html +++ b/test/server-side-rendering/samples/styles-nested/One.svelte @@ -1,5 +1,5 @@ diff --git a/test/server-side-rendering/samples/styles-nested/Two.html b/test/server-side-rendering/samples/styles-nested/Two.svelte similarity index 100% rename from test/server-side-rendering/samples/styles-nested/Two.html rename to test/server-side-rendering/samples/styles-nested/Two.svelte diff --git a/test/server-side-rendering/samples/styles-nested/_expected.html b/test/server-side-rendering/samples/styles-nested/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/styles-nested/_expected.html rename to test/server-side-rendering/samples/styles-nested/_expected.svelte diff --git a/test/server-side-rendering/samples/styles-nested/main.html b/test/server-side-rendering/samples/styles-nested/main.svelte similarity index 78% rename from test/server-side-rendering/samples/styles-nested/main.html rename to test/server-side-rendering/samples/styles-nested/main.svelte index 11775475b8..d6f1d594e3 100644 --- a/test/server-side-rendering/samples/styles-nested/main.html +++ b/test/server-side-rendering/samples/styles-nested/main.svelte @@ -1,5 +1,5 @@
red
diff --git a/test/server-side-rendering/samples/styles/_expected.html b/test/server-side-rendering/samples/styles/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/styles/_expected.html rename to test/server-side-rendering/samples/styles/_expected.svelte diff --git a/test/server-side-rendering/samples/styles/main.html b/test/server-side-rendering/samples/styles/main.svelte similarity index 100% rename from test/server-side-rendering/samples/styles/main.html rename to test/server-side-rendering/samples/styles/main.svelte diff --git a/test/server-side-rendering/samples/textarea-children/_expected.html b/test/server-side-rendering/samples/textarea-children/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/textarea-children/_expected.html rename to test/server-side-rendering/samples/textarea-children/_expected.svelte diff --git a/test/server-side-rendering/samples/textarea-children/main.html b/test/server-side-rendering/samples/textarea-children/main.svelte similarity index 100% rename from test/server-side-rendering/samples/textarea-children/main.html rename to test/server-side-rendering/samples/textarea-children/main.svelte diff --git a/test/server-side-rendering/samples/textarea-value/_expected.html b/test/server-side-rendering/samples/textarea-value/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/textarea-value/_expected.html rename to test/server-side-rendering/samples/textarea-value/_expected.svelte diff --git a/test/server-side-rendering/samples/textarea-value/main.html b/test/server-side-rendering/samples/textarea-value/main.svelte similarity index 100% rename from test/server-side-rendering/samples/textarea-value/main.html rename to test/server-side-rendering/samples/textarea-value/main.svelte diff --git a/test/server-side-rendering/samples/triple/_expected.html b/test/server-side-rendering/samples/triple/_expected.svelte similarity index 100% rename from test/server-side-rendering/samples/triple/_expected.html rename to test/server-side-rendering/samples/triple/_expected.svelte diff --git a/test/server-side-rendering/samples/triple/main.html b/test/server-side-rendering/samples/triple/main.svelte similarity index 100% rename from test/server-side-rendering/samples/triple/main.html rename to test/server-side-rendering/samples/triple/main.svelte diff --git a/test/sourcemaps/samples/basic/input.html b/test/sourcemaps/samples/basic/input.svelte similarity index 100% rename from test/sourcemaps/samples/basic/input.html rename to test/sourcemaps/samples/basic/input.svelte diff --git a/test/sourcemaps/samples/binding-shorthand.skip/input.html b/test/sourcemaps/samples/binding-shorthand.skip/input.svelte similarity index 100% rename from test/sourcemaps/samples/binding-shorthand.skip/input.html rename to test/sourcemaps/samples/binding-shorthand.skip/input.svelte diff --git a/test/sourcemaps/samples/binding/input.html b/test/sourcemaps/samples/binding/input.svelte similarity index 100% rename from test/sourcemaps/samples/binding/input.html rename to test/sourcemaps/samples/binding/input.svelte diff --git a/test/sourcemaps/samples/css/input.html b/test/sourcemaps/samples/css/input.svelte similarity index 100% rename from test/sourcemaps/samples/css/input.html rename to test/sourcemaps/samples/css/input.svelte diff --git a/test/sourcemaps/samples/each-block/input.html b/test/sourcemaps/samples/each-block/input.svelte similarity index 100% rename from test/sourcemaps/samples/each-block/input.html rename to test/sourcemaps/samples/each-block/input.svelte diff --git a/test/sourcemaps/samples/script/input.html b/test/sourcemaps/samples/script/input.svelte similarity index 100% rename from test/sourcemaps/samples/script/input.html rename to test/sourcemaps/samples/script/input.svelte diff --git a/test/sourcemaps/samples/static-no-script/input.html b/test/sourcemaps/samples/static-no-script/input.svelte similarity index 100% rename from test/sourcemaps/samples/static-no-script/input.html rename to test/sourcemaps/samples/static-no-script/input.svelte diff --git a/test/stats/samples/basic/input.html b/test/stats/samples/basic/input.svelte similarity index 100% rename from test/stats/samples/basic/input.html rename to test/stats/samples/basic/input.svelte diff --git a/test/stats/samples/duplicate-globals/input.html b/test/stats/samples/duplicate-globals/input.svelte similarity index 100% rename from test/stats/samples/duplicate-globals/input.html rename to test/stats/samples/duplicate-globals/input.svelte diff --git a/test/stats/samples/duplicate-non-hoistable/input.html b/test/stats/samples/duplicate-non-hoistable/input.svelte similarity index 100% rename from test/stats/samples/duplicate-non-hoistable/input.html rename to test/stats/samples/duplicate-non-hoistable/input.svelte diff --git a/test/stats/samples/duplicate-vars/input.html b/test/stats/samples/duplicate-vars/input.svelte similarity index 100% rename from test/stats/samples/duplicate-vars/input.html rename to test/stats/samples/duplicate-vars/input.svelte diff --git a/test/stats/samples/implicit-action/input.html b/test/stats/samples/implicit-action/input.svelte similarity index 100% rename from test/stats/samples/implicit-action/input.html rename to test/stats/samples/implicit-action/input.svelte diff --git a/test/stats/samples/implicit-reactive/input.html b/test/stats/samples/implicit-reactive/input.svelte similarity index 100% rename from test/stats/samples/implicit-reactive/input.html rename to test/stats/samples/implicit-reactive/input.svelte diff --git a/test/stats/samples/implicit/input.html b/test/stats/samples/implicit/input.svelte similarity index 100% rename from test/stats/samples/implicit/input.html rename to test/stats/samples/implicit/input.svelte diff --git a/test/stats/samples/imports/input.html b/test/stats/samples/imports/input.svelte similarity index 100% rename from test/stats/samples/imports/input.html rename to test/stats/samples/imports/input.svelte diff --git a/test/stats/samples/mutated-vs-reassigned-bindings/input.html b/test/stats/samples/mutated-vs-reassigned-bindings/input.svelte similarity index 100% rename from test/stats/samples/mutated-vs-reassigned-bindings/input.html rename to test/stats/samples/mutated-vs-reassigned-bindings/input.svelte diff --git a/test/stats/samples/mutated-vs-reassigned/input.html b/test/stats/samples/mutated-vs-reassigned/input.svelte similarity index 100% rename from test/stats/samples/mutated-vs-reassigned/input.html rename to test/stats/samples/mutated-vs-reassigned/input.svelte diff --git a/test/stats/samples/props/input.html b/test/stats/samples/props/input.svelte similarity index 100% rename from test/stats/samples/props/input.html rename to test/stats/samples/props/input.svelte diff --git a/test/stats/samples/store-referenced/input.html b/test/stats/samples/store-referenced/input.svelte similarity index 100% rename from test/stats/samples/store-referenced/input.html rename to test/stats/samples/store-referenced/input.svelte diff --git a/test/stats/samples/store-unreferenced/input.html b/test/stats/samples/store-unreferenced/input.svelte similarity index 100% rename from test/stats/samples/store-unreferenced/input.html rename to test/stats/samples/store-unreferenced/input.svelte diff --git a/test/stats/samples/template-references/input.html b/test/stats/samples/template-references/input.svelte similarity index 100% rename from test/stats/samples/template-references/input.html rename to test/stats/samples/template-references/input.svelte diff --git a/test/stats/samples/undeclared/input.html b/test/stats/samples/undeclared/input.svelte similarity index 100% rename from test/stats/samples/undeclared/input.html rename to test/stats/samples/undeclared/input.svelte diff --git a/test/validator/samples/a11y-alt-text/input.html b/test/validator/samples/a11y-alt-text/input.svelte similarity index 100% rename from test/validator/samples/a11y-alt-text/input.html rename to test/validator/samples/a11y-alt-text/input.svelte diff --git a/test/validator/samples/a11y-anchor-has-content/input.html b/test/validator/samples/a11y-anchor-has-content/input.svelte similarity index 100% rename from test/validator/samples/a11y-anchor-has-content/input.html rename to test/validator/samples/a11y-anchor-has-content/input.svelte diff --git a/test/validator/samples/a11y-anchor-in-svg-is-valid/input.html b/test/validator/samples/a11y-anchor-in-svg-is-valid/input.svelte similarity index 100% rename from test/validator/samples/a11y-anchor-in-svg-is-valid/input.html rename to test/validator/samples/a11y-anchor-in-svg-is-valid/input.svelte diff --git a/test/validator/samples/a11y-anchor-is-valid/input.html b/test/validator/samples/a11y-anchor-is-valid/input.svelte similarity index 100% rename from test/validator/samples/a11y-anchor-is-valid/input.html rename to test/validator/samples/a11y-anchor-is-valid/input.svelte diff --git a/test/validator/samples/a11y-aria-props/input.html b/test/validator/samples/a11y-aria-props/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-props/input.html rename to test/validator/samples/a11y-aria-props/input.svelte diff --git a/test/validator/samples/a11y-aria-role/input.html b/test/validator/samples/a11y-aria-role/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-role/input.html rename to test/validator/samples/a11y-aria-role/input.svelte diff --git a/test/validator/samples/a11y-aria-unsupported-element/input.html b/test/validator/samples/a11y-aria-unsupported-element/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-unsupported-element/input.html rename to test/validator/samples/a11y-aria-unsupported-element/input.svelte diff --git a/test/validator/samples/a11y-figcaption-right-place/input.html b/test/validator/samples/a11y-figcaption-right-place/input.svelte similarity index 100% rename from test/validator/samples/a11y-figcaption-right-place/input.html rename to test/validator/samples/a11y-figcaption-right-place/input.svelte diff --git a/test/validator/samples/a11y-figcaption-wrong-place/input.html b/test/validator/samples/a11y-figcaption-wrong-place/input.svelte similarity index 100% rename from test/validator/samples/a11y-figcaption-wrong-place/input.html rename to test/validator/samples/a11y-figcaption-wrong-place/input.svelte diff --git a/test/validator/samples/a11y-heading-has-content/input.html b/test/validator/samples/a11y-heading-has-content/input.svelte similarity index 100% rename from test/validator/samples/a11y-heading-has-content/input.html rename to test/validator/samples/a11y-heading-has-content/input.svelte diff --git a/test/validator/samples/a11y-html-has-lang/input.html b/test/validator/samples/a11y-html-has-lang/input.svelte similarity index 100% rename from test/validator/samples/a11y-html-has-lang/input.html rename to test/validator/samples/a11y-html-has-lang/input.svelte diff --git a/test/validator/samples/a11y-iframe-has-title/input.html b/test/validator/samples/a11y-iframe-has-title/input.svelte similarity index 100% rename from test/validator/samples/a11y-iframe-has-title/input.html rename to test/validator/samples/a11y-iframe-has-title/input.svelte diff --git a/test/validator/samples/a11y-no-access-key/input.html b/test/validator/samples/a11y-no-access-key/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-access-key/input.html rename to test/validator/samples/a11y-no-access-key/input.svelte diff --git a/test/validator/samples/a11y-no-autofocus/input.html b/test/validator/samples/a11y-no-autofocus/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-autofocus/input.html rename to test/validator/samples/a11y-no-autofocus/input.svelte diff --git a/test/validator/samples/a11y-no-distracting-elements/input.html b/test/validator/samples/a11y-no-distracting-elements/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-distracting-elements/input.html rename to test/validator/samples/a11y-no-distracting-elements/input.svelte diff --git a/test/validator/samples/a11y-not-on-components/input.html b/test/validator/samples/a11y-not-on-components/input.svelte similarity index 64% rename from test/validator/samples/a11y-not-on-components/input.html rename to test/validator/samples/a11y-not-on-components/input.svelte index e0ee327280..c7673a67ed 100644 --- a/test/validator/samples/a11y-not-on-components/input.html +++ b/test/validator/samples/a11y-not-on-components/input.svelte @@ -1,5 +1,5 @@ diff --git a/test/validator/samples/a11y-scope/input.html b/test/validator/samples/a11y-scope/input.svelte similarity index 100% rename from test/validator/samples/a11y-scope/input.html rename to test/validator/samples/a11y-scope/input.svelte diff --git a/test/validator/samples/a11y-tabindex-no-positive/input.html b/test/validator/samples/a11y-tabindex-no-positive/input.svelte similarity index 100% rename from test/validator/samples/a11y-tabindex-no-positive/input.html rename to test/validator/samples/a11y-tabindex-no-positive/input.svelte diff --git a/test/validator/samples/action-invalid/input.html b/test/validator/samples/action-invalid/input.svelte similarity index 100% rename from test/validator/samples/action-invalid/input.html rename to test/validator/samples/action-invalid/input.svelte diff --git a/test/validator/samples/action-on-component/input.html b/test/validator/samples/action-on-component/input.html deleted file mode 100644 index 788bedaa94..0000000000 --- a/test/validator/samples/action-on-component/input.html +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/test/validator/samples/action-on-component/input.svelte b/test/validator/samples/action-on-component/input.svelte new file mode 100644 index 0000000000..a067c05dbd --- /dev/null +++ b/test/validator/samples/action-on-component/input.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/validator/samples/animation-duplicate/input.html b/test/validator/samples/animation-duplicate/input.svelte similarity index 100% rename from test/validator/samples/animation-duplicate/input.html rename to test/validator/samples/animation-duplicate/input.svelte diff --git a/test/validator/samples/animation-missing/input.html b/test/validator/samples/animation-missing/input.svelte similarity index 100% rename from test/validator/samples/animation-missing/input.html rename to test/validator/samples/animation-missing/input.svelte diff --git a/test/validator/samples/animation-not-in-each/input.html b/test/validator/samples/animation-not-in-each/input.svelte similarity index 100% rename from test/validator/samples/animation-not-in-each/input.html rename to test/validator/samples/animation-not-in-each/input.svelte diff --git a/test/validator/samples/animation-not-in-keyed-each/input.html b/test/validator/samples/animation-not-in-keyed-each/input.svelte similarity index 100% rename from test/validator/samples/animation-not-in-keyed-each/input.html rename to test/validator/samples/animation-not-in-keyed-each/input.svelte diff --git a/test/validator/samples/animation-siblings/input.html b/test/validator/samples/animation-siblings/input.svelte similarity index 100% rename from test/validator/samples/animation-siblings/input.html rename to test/validator/samples/animation-siblings/input.svelte diff --git a/test/validator/samples/await-component-is-used/input.html b/test/validator/samples/await-component-is-used/input.svelte similarity index 77% rename from test/validator/samples/await-component-is-used/input.html rename to test/validator/samples/await-component-is-used/input.svelte index 029b549675..5fe87e0c70 100644 --- a/test/validator/samples/await-component-is-used/input.html +++ b/test/validator/samples/await-component-is-used/input.svelte @@ -1,5 +1,5 @@ diff --git a/test/validator/samples/binding-dimensions-svg-child/input.html b/test/validator/samples/binding-dimensions-svg-child/input.svelte similarity index 100% rename from test/validator/samples/binding-dimensions-svg-child/input.html rename to test/validator/samples/binding-dimensions-svg-child/input.svelte diff --git a/test/validator/samples/binding-dimensions-svg/input.html b/test/validator/samples/binding-dimensions-svg/input.svelte similarity index 100% rename from test/validator/samples/binding-dimensions-svg/input.html rename to test/validator/samples/binding-dimensions-svg/input.svelte diff --git a/test/validator/samples/binding-dimensions-void/input.html b/test/validator/samples/binding-dimensions-void/input.svelte similarity index 100% rename from test/validator/samples/binding-dimensions-void/input.html rename to test/validator/samples/binding-dimensions-void/input.svelte diff --git a/test/validator/samples/binding-input-checked/input.html b/test/validator/samples/binding-input-checked/input.svelte similarity index 100% rename from test/validator/samples/binding-input-checked/input.html rename to test/validator/samples/binding-input-checked/input.svelte diff --git a/test/validator/samples/binding-input-type-boolean/input.html b/test/validator/samples/binding-input-type-boolean/input.svelte similarity index 100% rename from test/validator/samples/binding-input-type-boolean/input.html rename to test/validator/samples/binding-input-type-boolean/input.svelte diff --git a/test/validator/samples/binding-input-type-dynamic/input.html b/test/validator/samples/binding-input-type-dynamic/input.svelte similarity index 100% rename from test/validator/samples/binding-input-type-dynamic/input.html rename to test/validator/samples/binding-input-type-dynamic/input.svelte diff --git a/test/validator/samples/binding-invalid-on-element/input.html b/test/validator/samples/binding-invalid-on-element/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid-on-element/input.html rename to test/validator/samples/binding-invalid-on-element/input.svelte diff --git a/test/validator/samples/binding-invalid-value/input.html b/test/validator/samples/binding-invalid-value/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid-value/input.html rename to test/validator/samples/binding-invalid-value/input.svelte diff --git a/test/validator/samples/binding-invalid/input.html b/test/validator/samples/binding-invalid/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid/input.html rename to test/validator/samples/binding-invalid/input.svelte diff --git a/test/validator/samples/binding-select-multiple-dynamic/input.html b/test/validator/samples/binding-select-multiple-dynamic/input.svelte similarity index 100% rename from test/validator/samples/binding-select-multiple-dynamic/input.html rename to test/validator/samples/binding-select-multiple-dynamic/input.svelte diff --git a/test/validator/samples/component-slot-default-duplicate.skip/input.html b/test/validator/samples/component-slot-default-duplicate.skip/input.svelte similarity index 100% rename from test/validator/samples/component-slot-default-duplicate.skip/input.html rename to test/validator/samples/component-slot-default-duplicate.skip/input.svelte diff --git a/test/validator/samples/component-slot-default-reserved/input.html b/test/validator/samples/component-slot-default-reserved/input.svelte similarity index 100% rename from test/validator/samples/component-slot-default-reserved/input.html rename to test/validator/samples/component-slot-default-reserved/input.svelte diff --git a/test/validator/samples/component-slot-dynamic-attribute/input.html b/test/validator/samples/component-slot-dynamic-attribute/input.svelte similarity index 58% rename from test/validator/samples/component-slot-dynamic-attribute/input.html rename to test/validator/samples/component-slot-dynamic-attribute/input.svelte index 83e1df8aa2..1eb8b4f1f0 100644 --- a/test/validator/samples/component-slot-dynamic-attribute/input.html +++ b/test/validator/samples/component-slot-dynamic-attribute/input.svelte @@ -1,5 +1,5 @@ diff --git a/test/validator/samples/component-slot-dynamic/input.html b/test/validator/samples/component-slot-dynamic/input.svelte similarity index 100% rename from test/validator/samples/component-slot-dynamic/input.html rename to test/validator/samples/component-slot-dynamic/input.svelte diff --git a/test/validator/samples/component-slot-named-duplicate.skip/input.html b/test/validator/samples/component-slot-named-duplicate.skip/input.svelte similarity index 100% rename from test/validator/samples/component-slot-named-duplicate.skip/input.html rename to test/validator/samples/component-slot-named-duplicate.skip/input.svelte diff --git a/test/validator/samples/component-slotted-each-block/input.html b/test/validator/samples/component-slotted-each-block/input.svelte similarity index 66% rename from test/validator/samples/component-slotted-each-block/input.html rename to test/validator/samples/component-slotted-each-block/input.svelte index 2c053a1e6c..f000278a99 100644 --- a/test/validator/samples/component-slotted-each-block/input.html +++ b/test/validator/samples/component-slotted-each-block/input.svelte @@ -1,5 +1,5 @@ diff --git a/test/validator/samples/component-slotted-if-block/input.html b/test/validator/samples/component-slotted-if-block/input.svelte similarity index 62% rename from test/validator/samples/component-slotted-if-block/input.html rename to test/validator/samples/component-slotted-if-block/input.svelte index eda6bc2e13..d9159dfd60 100644 --- a/test/validator/samples/component-slotted-if-block/input.html +++ b/test/validator/samples/component-slotted-if-block/input.svelte @@ -1,5 +1,5 @@ diff --git a/test/validator/samples/css-invalid-global-placement/input.html b/test/validator/samples/css-invalid-global-placement/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-placement/input.html rename to test/validator/samples/css-invalid-global-placement/input.svelte diff --git a/test/validator/samples/css-invalid-global/input.html b/test/validator/samples/css-invalid-global/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global/input.html rename to test/validator/samples/css-invalid-global/input.svelte diff --git a/test/validator/samples/debug-invalid-args/input.html b/test/validator/samples/debug-invalid-args/input.svelte similarity index 100% rename from test/validator/samples/debug-invalid-args/input.html rename to test/validator/samples/debug-invalid-args/input.svelte diff --git a/test/validator/samples/default-export/input.html b/test/validator/samples/default-export/input.svelte similarity index 100% rename from test/validator/samples/default-export/input.html rename to test/validator/samples/default-export/input.svelte diff --git a/test/validator/samples/directive-non-expression/input.html b/test/validator/samples/directive-non-expression/input.svelte similarity index 100% rename from test/validator/samples/directive-non-expression/input.html rename to test/validator/samples/directive-non-expression/input.svelte diff --git a/test/validator/samples/each-block-invalid-context-destructured/input.html b/test/validator/samples/each-block-invalid-context-destructured/input.svelte similarity index 100% rename from test/validator/samples/each-block-invalid-context-destructured/input.html rename to test/validator/samples/each-block-invalid-context-destructured/input.svelte diff --git a/test/validator/samples/each-block-invalid-context/input.html b/test/validator/samples/each-block-invalid-context/input.svelte similarity index 100% rename from test/validator/samples/each-block-invalid-context/input.html rename to test/validator/samples/each-block-invalid-context/input.svelte diff --git a/test/validator/samples/each-block-multiple-children/input.html b/test/validator/samples/each-block-multiple-children/input.svelte similarity index 100% rename from test/validator/samples/each-block-multiple-children/input.html rename to test/validator/samples/each-block-multiple-children/input.svelte diff --git a/test/validator/samples/empty-block-dev/input.html b/test/validator/samples/empty-block-dev/input.svelte similarity index 100% rename from test/validator/samples/empty-block-dev/input.html rename to test/validator/samples/empty-block-dev/input.svelte diff --git a/test/validator/samples/empty-block-prod/input.html b/test/validator/samples/empty-block-prod/input.svelte similarity index 100% rename from test/validator/samples/empty-block-prod/input.html rename to test/validator/samples/empty-block-prod/input.svelte diff --git a/test/validator/samples/event-modifiers-invalid-passive/input.html b/test/validator/samples/event-modifiers-invalid-passive/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-invalid-passive/input.html rename to test/validator/samples/event-modifiers-invalid-passive/input.svelte diff --git a/test/validator/samples/event-modifiers-invalid/input.html b/test/validator/samples/event-modifiers-invalid/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-invalid/input.html rename to test/validator/samples/event-modifiers-invalid/input.svelte diff --git a/test/validator/samples/event-modifiers-legacy/input.html b/test/validator/samples/event-modifiers-legacy/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-legacy/input.html rename to test/validator/samples/event-modifiers-legacy/input.svelte diff --git a/test/validator/samples/event-modifiers-redundant/input.html b/test/validator/samples/event-modifiers-redundant/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-redundant/input.html rename to test/validator/samples/event-modifiers-redundant/input.svelte diff --git a/test/validator/samples/missing-component/input.html b/test/validator/samples/missing-component/input.svelte similarity index 100% rename from test/validator/samples/missing-component/input.html rename to test/validator/samples/missing-component/input.svelte diff --git a/test/validator/samples/multiple-script-default-context/input.html b/test/validator/samples/multiple-script-default-context/input.svelte similarity index 100% rename from test/validator/samples/multiple-script-default-context/input.html rename to test/validator/samples/multiple-script-default-context/input.svelte diff --git a/test/validator/samples/multiple-script-module-context/input.html b/test/validator/samples/multiple-script-module-context/input.svelte similarity index 100% rename from test/validator/samples/multiple-script-module-context/input.html rename to test/validator/samples/multiple-script-module-context/input.svelte diff --git a/test/validator/samples/namespace-invalid-unguessable/input.html b/test/validator/samples/namespace-invalid-unguessable/input.svelte similarity index 100% rename from test/validator/samples/namespace-invalid-unguessable/input.html rename to test/validator/samples/namespace-invalid-unguessable/input.svelte diff --git a/test/validator/samples/namespace-invalid/input.html b/test/validator/samples/namespace-invalid/input.svelte similarity index 100% rename from test/validator/samples/namespace-invalid/input.html rename to test/validator/samples/namespace-invalid/input.svelte diff --git a/test/validator/samples/namespace-non-literal/input.html b/test/validator/samples/namespace-non-literal/input.svelte similarity index 100% rename from test/validator/samples/namespace-non-literal/input.html rename to test/validator/samples/namespace-non-literal/input.svelte diff --git a/test/validator/samples/non-empty-block-dev/input.html b/test/validator/samples/non-empty-block-dev/input.svelte similarity index 100% rename from test/validator/samples/non-empty-block-dev/input.html rename to test/validator/samples/non-empty-block-dev/input.svelte diff --git a/test/validator/samples/prop-slot/input.html b/test/validator/samples/prop-slot/input.svelte similarity index 51% rename from test/validator/samples/prop-slot/input.html rename to test/validator/samples/prop-slot/input.svelte index 6ce1b6dcce..816c656aa0 100644 --- a/test/validator/samples/prop-slot/input.html +++ b/test/validator/samples/prop-slot/input.svelte @@ -1,5 +1,5 @@ diff --git a/test/validator/samples/reactive-declaration-cyclical/input.html b/test/validator/samples/reactive-declaration-cyclical/input.svelte similarity index 100% rename from test/validator/samples/reactive-declaration-cyclical/input.html rename to test/validator/samples/reactive-declaration-cyclical/input.svelte diff --git a/test/validator/samples/ref-not-supported-in-css/input.html b/test/validator/samples/ref-not-supported-in-css/input.svelte similarity index 100% rename from test/validator/samples/ref-not-supported-in-css/input.html rename to test/validator/samples/ref-not-supported-in-css/input.svelte diff --git a/test/validator/samples/ref-not-supported/input.html b/test/validator/samples/ref-not-supported/input.svelte similarity index 100% rename from test/validator/samples/ref-not-supported/input.html rename to test/validator/samples/ref-not-supported/input.svelte diff --git a/test/validator/samples/script-invalid-context/input.html b/test/validator/samples/script-invalid-context/input.svelte similarity index 100% rename from test/validator/samples/script-invalid-context/input.html rename to test/validator/samples/script-invalid-context/input.svelte diff --git a/test/validator/samples/select-multiple/input.html b/test/validator/samples/select-multiple/input.svelte similarity index 100% rename from test/validator/samples/select-multiple/input.html rename to test/validator/samples/select-multiple/input.svelte diff --git a/test/validator/samples/slot-attribute-invalid/input.html b/test/validator/samples/slot-attribute-invalid/input.svelte similarity index 100% rename from test/validator/samples/slot-attribute-invalid/input.html rename to test/validator/samples/slot-attribute-invalid/input.svelte diff --git a/test/validator/samples/svg-child-component-declared-namespace/input.html b/test/validator/samples/svg-child-component-declared-namespace/input.svelte similarity index 100% rename from test/validator/samples/svg-child-component-declared-namespace/input.html rename to test/validator/samples/svg-child-component-declared-namespace/input.svelte diff --git a/test/validator/samples/svg-child-component-undeclared-namespace/input.html b/test/validator/samples/svg-child-component-undeclared-namespace/input.svelte similarity index 100% rename from test/validator/samples/svg-child-component-undeclared-namespace/input.html rename to test/validator/samples/svg-child-component-undeclared-namespace/input.svelte diff --git a/test/validator/samples/tag-invalid/input.html b/test/validator/samples/tag-invalid/input.svelte similarity index 100% rename from test/validator/samples/tag-invalid/input.html rename to test/validator/samples/tag-invalid/input.svelte diff --git a/test/validator/samples/tag-non-string/input.html b/test/validator/samples/tag-non-string/input.svelte similarity index 100% rename from test/validator/samples/tag-non-string/input.html rename to test/validator/samples/tag-non-string/input.svelte diff --git a/test/validator/samples/textarea-value-children/input.html b/test/validator/samples/textarea-value-children/input.svelte similarity index 100% rename from test/validator/samples/textarea-value-children/input.html rename to test/validator/samples/textarea-value-children/input.svelte diff --git a/test/validator/samples/title-no-attributes/input.html b/test/validator/samples/title-no-attributes/input.svelte similarity index 100% rename from test/validator/samples/title-no-attributes/input.html rename to test/validator/samples/title-no-attributes/input.svelte diff --git a/test/validator/samples/title-no-children/input.html b/test/validator/samples/title-no-children/input.svelte similarity index 100% rename from test/validator/samples/title-no-children/input.html rename to test/validator/samples/title-no-children/input.svelte diff --git a/test/validator/samples/transition-duplicate-in-transition/input.html b/test/validator/samples/transition-duplicate-in-transition/input.svelte similarity index 100% rename from test/validator/samples/transition-duplicate-in-transition/input.html rename to test/validator/samples/transition-duplicate-in-transition/input.svelte diff --git a/test/validator/samples/transition-duplicate-in/input.html b/test/validator/samples/transition-duplicate-in/input.svelte similarity index 100% rename from test/validator/samples/transition-duplicate-in/input.html rename to test/validator/samples/transition-duplicate-in/input.svelte diff --git a/test/validator/samples/transition-duplicate-out-transition/input.html b/test/validator/samples/transition-duplicate-out-transition/input.svelte similarity index 100% rename from test/validator/samples/transition-duplicate-out-transition/input.html rename to test/validator/samples/transition-duplicate-out-transition/input.svelte diff --git a/test/validator/samples/transition-duplicate-out/input.html b/test/validator/samples/transition-duplicate-out/input.svelte similarity index 100% rename from test/validator/samples/transition-duplicate-out/input.html rename to test/validator/samples/transition-duplicate-out/input.svelte diff --git a/test/validator/samples/transition-duplicate-transition-in/input.html b/test/validator/samples/transition-duplicate-transition-in/input.svelte similarity index 100% rename from test/validator/samples/transition-duplicate-transition-in/input.html rename to test/validator/samples/transition-duplicate-transition-in/input.svelte diff --git a/test/validator/samples/transition-duplicate-transition-out/input.html b/test/validator/samples/transition-duplicate-transition-out/input.svelte similarity index 100% rename from test/validator/samples/transition-duplicate-transition-out/input.html rename to test/validator/samples/transition-duplicate-transition-out/input.svelte diff --git a/test/validator/samples/transition-duplicate-transition/input.html b/test/validator/samples/transition-duplicate-transition/input.svelte similarity index 100% rename from test/validator/samples/transition-duplicate-transition/input.html rename to test/validator/samples/transition-duplicate-transition/input.svelte diff --git a/test/validator/samples/transition-missing/input.html b/test/validator/samples/transition-missing/input.svelte similarity index 100% rename from test/validator/samples/transition-missing/input.html rename to test/validator/samples/transition-missing/input.svelte diff --git a/test/validator/samples/transition-on-component/input.html b/test/validator/samples/transition-on-component/input.html deleted file mode 100644 index 392f346424..0000000000 --- a/test/validator/samples/transition-on-component/input.html +++ /dev/null @@ -1,7 +0,0 @@ - - - \ No newline at end of file diff --git a/test/validator/samples/transition-on-component/input.svelte b/test/validator/samples/transition-on-component/input.svelte new file mode 100644 index 0000000000..12c3cd9bf8 --- /dev/null +++ b/test/validator/samples/transition-on-component/input.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/validator/samples/undefined-value/input.html b/test/validator/samples/undefined-value/input.svelte similarity index 100% rename from test/validator/samples/undefined-value/input.html rename to test/validator/samples/undefined-value/input.svelte diff --git a/test/validator/samples/window-binding-invalid-innerwidth/input.html b/test/validator/samples/window-binding-invalid-innerwidth/input.svelte similarity index 100% rename from test/validator/samples/window-binding-invalid-innerwidth/input.html rename to test/validator/samples/window-binding-invalid-innerwidth/input.svelte diff --git a/test/validator/samples/window-binding-invalid-value/input.html b/test/validator/samples/window-binding-invalid-value/input.svelte similarity index 100% rename from test/validator/samples/window-binding-invalid-value/input.html rename to test/validator/samples/window-binding-invalid-value/input.svelte diff --git a/test/validator/samples/window-binding-invalid-width/input.html b/test/validator/samples/window-binding-invalid-width/input.svelte similarity index 100% rename from test/validator/samples/window-binding-invalid-width/input.html rename to test/validator/samples/window-binding-invalid-width/input.svelte diff --git a/test/validator/samples/window-binding-invalid/input.html b/test/validator/samples/window-binding-invalid/input.svelte similarity index 100% rename from test/validator/samples/window-binding-invalid/input.html rename to test/validator/samples/window-binding-invalid/input.svelte diff --git a/test/validator/samples/window-binding-online/input.html b/test/validator/samples/window-binding-online/input.svelte similarity index 100% rename from test/validator/samples/window-binding-online/input.html rename to test/validator/samples/window-binding-online/input.svelte From 206a3d0131f8c01c762c68d75f4af413942289b1 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 8 Feb 2019 09:32:36 -0500 Subject: [PATCH 2/3] update tests --- register.js | 3 ++- test/cli/samples/basic/command.sh | 2 +- test/cli/samples/basic/expected/Main.js | 2 +- test/cli/samples/custom-element/command.sh | 2 +- test/cli/samples/custom-element/expected/Main.js | 2 +- test/cli/samples/dev/command.sh | 2 +- test/cli/samples/dev/expected/Main.js | 4 ++-- test/cli/samples/dir-sourcemap/expected/Main.js | 4 ++-- .../cli/samples/dir-sourcemap/expected/Main.js.map | 2 +- test/cli/samples/dir-sourcemap/expected/Widget.js | 2 +- .../samples/dir-sourcemap/expected/Widget.js.map | 2 +- test/cli/samples/dir-subdir/expected/Main.js | 4 ++-- .../samples/dir-subdir/expected/widget/Widget.js | 2 +- test/cli/samples/dir/expected/Main.js | 4 ++-- test/cli/samples/dir/expected/Widget.js | 2 +- test/cli/samples/globals/command.sh | 2 +- test/cli/samples/globals/expected/Main.js | 2 +- test/cli/samples/sourcemap-inline/command.sh | 2 +- test/cli/samples/sourcemap-inline/expected/Main.js | 2 +- test/cli/samples/sourcemap/command.sh | 2 +- test/cli/samples/sourcemap/expected/Main.js | 2 +- test/cli/samples/sourcemap/expected/Main.js.map | 2 +- test/cli/samples/ssr/command.sh | 2 +- test/cli/samples/ssr/expected/Main.js | 2 +- test/cli/samples/store/command.sh | 2 +- test/cli/samples/store/expected/Main.js | 2 +- test/css/index.js | 2 +- .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 test/css/samples/empty-class/_config.js | 2 +- .../nested/{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../{expected.svelte => expected.html} | 0 .../css/samples/unused-selector-leading/_config.js | 4 ++-- .../{expected.svelte => expected.html} | 0 .../css/samples/unused-selector-ternary/_config.js | 2 +- .../{expected.svelte => expected.html} | 0 test/css/samples/unused-selector/_config.js | 2 +- .../{expected.svelte => expected.html} | 0 test/custom-elements/index.js | 2 +- test/custom-elements/samples/custom-method/test.js | 2 +- test/custom-elements/samples/escaped-css/test.js | 2 +- test/custom-elements/samples/html-slots/test.js | 2 +- test/custom-elements/samples/html/test.js | 2 +- test/custom-elements/samples/nested.skip/test.js | 2 +- test/custom-elements/samples/new-styled/test.js | 2 +- test/custom-elements/samples/new/test.js | 2 +- .../samples/no-missing-prop-warnings/test.js | 2 +- test/custom-elements/samples/oncreate/test.js | 2 +- test/custom-elements/samples/props/test.js | 2 +- test/helpers.js | 2 +- test/hydration/index.js | 4 ++-- .../samples/basic/{_after.svelte => _after.html} | 0 .../samples/basic/{_before.svelte => _before.html} | 0 .../binding-input/{_after.svelte => _after.html} | 0 .../binding-input/{_before.svelte => _before.html} | 0 .../{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../component/{_after.svelte => _after.html} | 0 .../component/{_before.svelte => _before.html} | 0 .../{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../dynamic-text/{_after.svelte => _after.html} | 0 .../dynamic-text/{_before.svelte => _before.html} | 0 .../{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../each-block/{_after.svelte => _after.html} | 0 .../each-block/{_before.svelte => _before.html} | 0 .../{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../element-nested/{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../element-ref/{_after.svelte => _after.html} | 0 .../element-ref/{_before.svelte => _before.html} | 0 .../event-handler/{_after.svelte => _after.html} | 0 .../event-handler/{_before.svelte => _before.html} | 0 .../if-block-anchor/{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../if-block-false/{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../if-block-update/{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 .../if-block/{_after.svelte => _after.html} | 0 .../if-block/{_before.svelte => _before.html} | 0 .../samples/raw/{_after.svelte => _after.html} | 0 .../samples/raw/{_before.svelte => _before.html} | 0 .../top-level-text/{_after.svelte => _after.html} | 0 .../{_before.svelte => _before.html} | 0 test/js/index.js | 2 +- test/js/samples/dynamic-import/expected.js | 4 ++-- test/js/samples/non-imported-component/expected.js | 2 +- test/parser/index.js | 2 +- test/preprocess/index.js | 4 ++-- test/preprocess/samples/filename/_config.js | 2 +- test/preprocess/samples/filename/output.svelte | 4 ++-- test/runtime/index.js | 6 +++--- .../ComponentSelector.svelte | 2 +- .../samples/component-binding-deep-b/_config.js | 12 ++++++------ .../samples/element-source-location/_config.js | 6 +++--- test/server-side-rendering/index.js | 14 +++----------- .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../bindings/{_expected.svelte => _expected.html} | 0 .../comment/{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../component/{_expected.svelte => _expected.html} | 0 .../computed/{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../entities/{_expected.svelte => _expected.html} | 0 .../{_expected-head.svelte => _expected-head.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../helpers/{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../styles/{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../{_expected.svelte => _expected.html} | 0 .../triple/{_expected.svelte => _expected.html} | 0 test/sourcemaps/index.js | 6 +++--- test/sourcemaps/samples/basic/test.js | 4 ++-- .../samples/binding-shorthand.skip/test.js | 2 +- test/sourcemaps/samples/binding/test.js | 4 ++-- test/sourcemaps/samples/css/test.js | 2 +- test/sourcemaps/samples/each-block/test.js | 2 +- test/sourcemaps/samples/script/test.js | 2 +- test/sourcemaps/samples/static-no-script/test.js | 4 ++-- test/stats/index.js | 2 +- test/validator/index.js | 2 +- .../samples/a11y-not-on-components/warnings.json | 6 +++--- .../samples/action-on-component/errors.json | 6 +++--- .../component-slot-dynamic-attribute/errors.json | 6 +++--- .../component-slotted-each-block/errors.json | 6 +++--- .../samples/component-slotted-if-block/errors.json | 6 +++--- test/validator/samples/prop-slot/errors.json | 6 +++--- .../samples/transition-on-component/errors.json | 6 +++--- 183 files changed, 113 insertions(+), 120 deletions(-) rename test/css/samples/combinator-child/{expected.svelte => expected.html} (100%) rename test/css/samples/descendant-selector-non-top-level-outer/{expected.svelte => expected.html} (100%) rename test/css/samples/nested/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-contains/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-equals/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-prefix/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-suffix/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-attribute-selector/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-class-dynamic/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-class-static/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner-class/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-inner/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-descendant-global-outer/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-descendant/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-global/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-id/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-whitespace-multiple/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute-whitespace/{expected.svelte => expected.html} (100%) rename test/css/samples/omit-scoping-attribute/{expected.svelte => expected.html} (100%) rename test/css/samples/unused-selector-leading/{expected.svelte => expected.html} (100%) rename test/css/samples/unused-selector-ternary/{expected.svelte => expected.html} (100%) rename test/css/samples/unused-selector/{expected.svelte => expected.html} (100%) rename test/hydration/samples/basic/{_after.svelte => _after.html} (100%) rename test/hydration/samples/basic/{_before.svelte => _before.html} (100%) rename test/hydration/samples/binding-input/{_after.svelte => _after.html} (100%) rename test/hydration/samples/binding-input/{_before.svelte => _before.html} (100%) rename test/hydration/samples/component-in-element/{_after.svelte => _after.html} (100%) rename test/hydration/samples/component-in-element/{_before.svelte => _before.html} (100%) rename test/hydration/samples/component/{_after.svelte => _after.html} (100%) rename test/hydration/samples/component/{_before.svelte => _before.html} (100%) rename test/hydration/samples/dynamic-text-changed/{_after.svelte => _after.html} (100%) rename test/hydration/samples/dynamic-text-changed/{_before.svelte => _before.html} (100%) rename test/hydration/samples/dynamic-text/{_after.svelte => _after.html} (100%) rename test/hydration/samples/dynamic-text/{_before.svelte => _before.html} (100%) rename test/hydration/samples/each-block-arg-clash/{_after.svelte => _after.html} (100%) rename test/hydration/samples/each-block-arg-clash/{_before.svelte => _before.html} (100%) rename test/hydration/samples/each-block/{_after.svelte => _after.html} (100%) rename test/hydration/samples/each-block/{_before.svelte => _before.html} (100%) rename test/hydration/samples/element-attribute-added/{_after.svelte => _after.html} (100%) rename test/hydration/samples/element-attribute-added/{_before.svelte => _before.html} (100%) rename test/hydration/samples/element-attribute-changed/{_after.svelte => _after.html} (100%) rename test/hydration/samples/element-attribute-changed/{_before.svelte => _before.html} (100%) rename test/hydration/samples/element-attribute-removed/{_after.svelte => _after.html} (100%) rename test/hydration/samples/element-attribute-removed/{_before.svelte => _before.html} (100%) rename test/hydration/samples/element-attribute-unchanged/{_after.svelte => _after.html} (100%) rename test/hydration/samples/element-attribute-unchanged/{_before.svelte => _before.html} (100%) rename test/hydration/samples/element-nested/{_after.svelte => _after.html} (100%) rename test/hydration/samples/element-nested/{_before.svelte => _before.html} (100%) rename test/hydration/samples/element-ref/{_after.svelte => _after.html} (100%) rename test/hydration/samples/element-ref/{_before.svelte => _before.html} (100%) rename test/hydration/samples/event-handler/{_after.svelte => _after.html} (100%) rename test/hydration/samples/event-handler/{_before.svelte => _before.html} (100%) rename test/hydration/samples/if-block-anchor/{_after.svelte => _after.html} (100%) rename test/hydration/samples/if-block-anchor/{_before.svelte => _before.html} (100%) rename test/hydration/samples/if-block-false/{_after.svelte => _after.html} (100%) rename test/hydration/samples/if-block-false/{_before.svelte => _before.html} (100%) rename test/hydration/samples/if-block-update/{_after.svelte => _after.html} (100%) rename test/hydration/samples/if-block-update/{_before.svelte => _before.html} (100%) rename test/hydration/samples/if-block/{_after.svelte => _after.html} (100%) rename test/hydration/samples/if-block/{_before.svelte => _before.html} (100%) rename test/hydration/samples/raw/{_after.svelte => _after.html} (100%) rename test/hydration/samples/raw/{_before.svelte => _before.html} (100%) rename test/hydration/samples/top-level-text/{_after.svelte => _after.html} (100%) rename test/hydration/samples/top-level-text/{_before.svelte => _before.html} (100%) rename test/server-side-rendering/samples/attribute-boolean/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/attribute-dynamic/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/attribute-escaped-quotes-spread/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/attribute-escaped-quotes/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/attribute-static/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/bindings/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/comment/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-binding-renamed/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-binding/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-data-dynamic/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-data-empty/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-refs-and-attributes/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-refs/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-with-different-extension/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component-yield/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/component/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/computed/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/default-data-override/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/default-data/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/directives/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/dynamic-text-escaped/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/dynamic-text/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/each-block/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/empty-elements-closed/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/entities/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/head-title/{_expected-head.svelte => _expected-head.html} (100%) rename test/server-side-rendering/samples/head-title/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/helpers/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/if-block-false/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/if-block-true/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/import-non-component/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/raw-mustaches/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/sanitize-name/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/static-div/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/static-text/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/styles-nested/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/styles/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/textarea-children/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/textarea-value/{_expected.svelte => _expected.html} (100%) rename test/server-side-rendering/samples/triple/{_expected.svelte => _expected.html} (100%) diff --git a/register.js b/register.js index cbd4a387ac..4dee2a4b6a 100644 --- a/register.js +++ b/register.js @@ -3,7 +3,7 @@ const path = require('path'); const { compile } = require('./compiler.js'); let compileOptions = { - extensions: ['.html'] + extensions: ['.svelte', '.html'] }; function capitalise(name) { @@ -43,6 +43,7 @@ function registerExtension(extension) { }; } +registerExtension('.svelte'); registerExtension('.html'); module.exports = register; \ No newline at end of file diff --git a/test/cli/samples/basic/command.sh b/test/cli/samples/basic/command.sh index 0ae80e4c95..9e272a7d5b 100644 --- a/test/cli/samples/basic/command.sh +++ b/test/cli/samples/basic/command.sh @@ -1 +1 @@ -svelte compile src/Main.html > actual/Main.js +svelte compile src/Main.svelte > actual/Main.js diff --git a/test/cli/samples/basic/expected/Main.js b/test/cli/samples/basic/expected/Main.js index ba35a0c1e9..ecc2beb83c 100644 --- a/test/cli/samples/basic/expected/Main.js +++ b/test/cli/samples/basic/expected/Main.js @@ -1,4 +1,4 @@ -/* src/Main.html generated by Svelte vx.y.z */ +/* src/Main.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/custom-element/command.sh b/test/cli/samples/custom-element/command.sh index b93c2cb16a..ee9f854e9b 100644 --- a/test/cli/samples/custom-element/command.sh +++ b/test/cli/samples/custom-element/command.sh @@ -1 +1 @@ -svelte compile src/Main.html --customElement > actual/Main.js +svelte compile src/Main.svelte --customElement > actual/Main.js diff --git a/test/cli/samples/custom-element/expected/Main.js b/test/cli/samples/custom-element/expected/Main.js index 40865a2c81..f6befc4e3b 100644 --- a/test/cli/samples/custom-element/expected/Main.js +++ b/test/cli/samples/custom-element/expected/Main.js @@ -1,4 +1,4 @@ -/* src/Main.html generated by Svelte vx.y.z */ +/* src/Main.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/dev/command.sh b/test/cli/samples/dev/command.sh index 37d9b87fc0..b9dc99e7d1 100644 --- a/test/cli/samples/dev/command.sh +++ b/test/cli/samples/dev/command.sh @@ -1 +1 @@ -svelte compile src/Main.html -d > actual/Main.js \ No newline at end of file +svelte compile src/Main.svelte -d > actual/Main.js \ No newline at end of file diff --git a/test/cli/samples/dev/expected/Main.js b/test/cli/samples/dev/expected/Main.js index be11885fa0..db75c4a5c1 100644 --- a/test/cli/samples/dev/expected/Main.js +++ b/test/cli/samples/dev/expected/Main.js @@ -1,6 +1,6 @@ -/* src/Main.html generated by Svelte v2.13.4 */ +/* src/Main.svelte generated by Svelte v2.13.4 */ -const file = "src/Main.html"; +const file = "src/Main.svelte"; function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/dir-sourcemap/expected/Main.js b/test/cli/samples/dir-sourcemap/expected/Main.js index 0c0fab6094..e164569e1c 100644 --- a/test/cli/samples/dir-sourcemap/expected/Main.js +++ b/test/cli/samples/dir-sourcemap/expected/Main.js @@ -1,5 +1,5 @@ -/* src/Main.html generated by Svelte vx.y.z */ -import Widget from './Widget.html'; +/* src/Main.svelte generated by Svelte vx.y.z */ +import Widget from './Widget.svelte'; diff --git a/test/cli/samples/dir-sourcemap/expected/Main.js.map b/test/cli/samples/dir-sourcemap/expected/Main.js.map index 621cf85109..a0f4cf48c7 100644 --- a/test/cli/samples/dir-sourcemap/expected/Main.js.map +++ b/test/cli/samples/dir-sourcemap/expected/Main.js.map @@ -1 +1 @@ -{"version":3,"file":"Main.js","sources":["../src/Main.html"],"sourcesContent":["\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"Main.js","sources":["../src/Main.svelte"],"sourcesContent":["\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/test/cli/samples/dir-sourcemap/expected/Widget.js b/test/cli/samples/dir-sourcemap/expected/Widget.js index b6019a73fd..d55dcbda4c 100644 --- a/test/cli/samples/dir-sourcemap/expected/Widget.js +++ b/test/cli/samples/dir-sourcemap/expected/Widget.js @@ -1,4 +1,4 @@ -/* src/Widget.html generated by Svelte vx.y.z */ +/* src/Widget.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/dir-sourcemap/expected/Widget.js.map b/test/cli/samples/dir-sourcemap/expected/Widget.js.map index 57807d3fc0..37247333ed 100644 --- a/test/cli/samples/dir-sourcemap/expected/Widget.js.map +++ b/test/cli/samples/dir-sourcemap/expected/Widget.js.map @@ -1 +1 @@ -{"version":3,"file":"Widget.js","sources":["../src/Widget.html"],"sourcesContent":["

widget

"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"Widget.js","sources":["../src/Widget.svelte"],"sourcesContent":["

widget

"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/test/cli/samples/dir-subdir/expected/Main.js b/test/cli/samples/dir-subdir/expected/Main.js index 2778c8c868..3026a122e2 100644 --- a/test/cli/samples/dir-subdir/expected/Main.js +++ b/test/cli/samples/dir-subdir/expected/Main.js @@ -1,5 +1,5 @@ -/* src/Main.html generated by Svelte vx.y.z */ -import Widget from './widget/Widget.html'; +/* src/Main.svelte generated by Svelte vx.y.z */ +import Widget from './widget/Widget.svelte'; diff --git a/test/cli/samples/dir-subdir/expected/widget/Widget.js b/test/cli/samples/dir-subdir/expected/widget/Widget.js index 9282b7ddb4..e63ac2dad7 100644 --- a/test/cli/samples/dir-subdir/expected/widget/Widget.js +++ b/test/cli/samples/dir-subdir/expected/widget/Widget.js @@ -1,4 +1,4 @@ -/* src/widget/Widget.html generated by Svelte vx.y.z */ +/* src/widget/Widget.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/dir/expected/Main.js b/test/cli/samples/dir/expected/Main.js index bbc005da76..d87ac37939 100644 --- a/test/cli/samples/dir/expected/Main.js +++ b/test/cli/samples/dir/expected/Main.js @@ -1,5 +1,5 @@ -/* src/Main.html generated by Svelte vx.y.z */ -import Widget from './Widget.html'; +/* src/Main.svelte generated by Svelte vx.y.z */ +import Widget from './Widget.svelte'; diff --git a/test/cli/samples/dir/expected/Widget.js b/test/cli/samples/dir/expected/Widget.js index c5981a4c53..eeb37e3cfa 100644 --- a/test/cli/samples/dir/expected/Widget.js +++ b/test/cli/samples/dir/expected/Widget.js @@ -1,4 +1,4 @@ -/* src/Widget.html generated by Svelte vx.y.z */ +/* src/Widget.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/globals/command.sh b/test/cli/samples/globals/command.sh index 9ed0c2a844..9e1a2de74a 100644 --- a/test/cli/samples/globals/command.sh +++ b/test/cli/samples/globals/command.sh @@ -1 +1 @@ -svelte compile src/Main.html -f iife -g the-answer:theAnswer > actual/Main.js \ No newline at end of file +svelte compile src/Main.svelte -f iife -g the-answer:theAnswer > actual/Main.js \ No newline at end of file diff --git a/test/cli/samples/globals/expected/Main.js b/test/cli/samples/globals/expected/Main.js index 1c6e01cdb8..8e526b08bf 100644 --- a/test/cli/samples/globals/expected/Main.js +++ b/test/cli/samples/globals/expected/Main.js @@ -1,4 +1,4 @@ -/* src/Main.html generated by Svelte vx.y.z */ +/* src/Main.svelte generated by Svelte vx.y.z */ var Main = (function(answer) { "use strict"; answer = (answer && answer.__esModule) ? answer["default"] : answer; diff --git a/test/cli/samples/sourcemap-inline/command.sh b/test/cli/samples/sourcemap-inline/command.sh index 36b5b71b8d..073fa7d259 100644 --- a/test/cli/samples/sourcemap-inline/command.sh +++ b/test/cli/samples/sourcemap-inline/command.sh @@ -1 +1 @@ -svelte compile src/Main.html -m inline -o actual/Main.js \ No newline at end of file +svelte compile src/Main.svelte -m inline -o actual/Main.js \ No newline at end of file diff --git a/test/cli/samples/sourcemap-inline/expected/Main.js b/test/cli/samples/sourcemap-inline/expected/Main.js index 668ff8b1bf..534c6734f2 100644 --- a/test/cli/samples/sourcemap-inline/expected/Main.js +++ b/test/cli/samples/sourcemap-inline/expected/Main.js @@ -1,4 +1,4 @@ -/* src/Main.html generated by Svelte vx.y.z */ +/* src/Main.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/sourcemap/command.sh b/test/cli/samples/sourcemap/command.sh index 4309d50b89..9164b1760c 100644 --- a/test/cli/samples/sourcemap/command.sh +++ b/test/cli/samples/sourcemap/command.sh @@ -1 +1 @@ -svelte compile src/Main.html -m -o actual/Main.js \ No newline at end of file +svelte compile src/Main.svelte -m -o actual/Main.js \ No newline at end of file diff --git a/test/cli/samples/sourcemap/expected/Main.js b/test/cli/samples/sourcemap/expected/Main.js index 95e6718715..59059aadcb 100644 --- a/test/cli/samples/sourcemap/expected/Main.js +++ b/test/cli/samples/sourcemap/expected/Main.js @@ -1,4 +1,4 @@ -/* src/Main.html generated by Svelte vx.y.z */ +/* src/Main.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var p; diff --git a/test/cli/samples/sourcemap/expected/Main.js.map b/test/cli/samples/sourcemap/expected/Main.js.map index a3be94cb9a..a31dec16ab 100644 --- a/test/cli/samples/sourcemap/expected/Main.js.map +++ b/test/cli/samples/sourcemap/expected/Main.js.map @@ -1 +1 @@ -{"version":3,"file":"Main.js","sources":["../src/Main.html"],"sourcesContent":["

Hello world!

\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"Main.js","sources":["../src/Main.svelte"],"sourcesContent":["

Hello world!

\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/test/cli/samples/ssr/command.sh b/test/cli/samples/ssr/command.sh index 30e155691a..878f6038ab 100644 --- a/test/cli/samples/ssr/command.sh +++ b/test/cli/samples/ssr/command.sh @@ -1 +1 @@ -svelte compile --generate ssr src/Main.html > actual/Main.js +svelte compile --generate ssr src/Main.svelte > actual/Main.js diff --git a/test/cli/samples/ssr/expected/Main.js b/test/cli/samples/ssr/expected/Main.js index adf4e19fa0..b7a4f4addf 100644 --- a/test/cli/samples/ssr/expected/Main.js +++ b/test/cli/samples/ssr/expected/Main.js @@ -2,7 +2,7 @@ var Main = {}; -Main.filename = "src/Main.html"; +Main.filename = "src/Main.svelte"; Main.data = function() { return {}; diff --git a/test/cli/samples/store/command.sh b/test/cli/samples/store/command.sh index a734fdc772..dedeae05ef 100644 --- a/test/cli/samples/store/command.sh +++ b/test/cli/samples/store/command.sh @@ -1 +1 @@ -svelte compile src/Main.html --store > actual/Main.js +svelte compile src/Main.svelte --store > actual/Main.js diff --git a/test/cli/samples/store/expected/Main.js b/test/cli/samples/store/expected/Main.js index dbd365c15d..28bc62b786 100644 --- a/test/cli/samples/store/expected/Main.js +++ b/test/cli/samples/store/expected/Main.js @@ -1,4 +1,4 @@ -/* src/Main.html generated by Svelte vx.y.z */ +/* src/Main.svelte generated by Svelte vx.y.z */ function create_main_fragment(component, ctx) { var h1, text0, text1; diff --git a/test/css/index.js b/test/css/index.js index 913dcf4237..9e32b0ea5d 100644 --- a/test/css/index.js +++ b/test/css/index.js @@ -51,7 +51,7 @@ describe('css', () => { (solo ? it.only : skip ? it.skip : it)(dir, () => { const config = tryRequire(`./samples/${dir}/_config.js`) || {}; const input = fs - .readFileSync(`test/css/samples/${dir}/input.html`, 'utf-8') + .readFileSync(`test/css/samples/${dir}/input.svelte`, 'utf-8') .replace(/\s+$/, ''); const expectedWarnings = (config.warnings || []).map(normalizeWarning); diff --git a/test/css/samples/combinator-child/expected.svelte b/test/css/samples/combinator-child/expected.html similarity index 100% rename from test/css/samples/combinator-child/expected.svelte rename to test/css/samples/combinator-child/expected.html diff --git a/test/css/samples/descendant-selector-non-top-level-outer/expected.svelte b/test/css/samples/descendant-selector-non-top-level-outer/expected.html similarity index 100% rename from test/css/samples/descendant-selector-non-top-level-outer/expected.svelte rename to test/css/samples/descendant-selector-non-top-level-outer/expected.html diff --git a/test/css/samples/empty-class/_config.js b/test/css/samples/empty-class/_config.js index fb1565c7bc..cc766d9478 100644 --- a/test/css/samples/empty-class/_config.js +++ b/test/css/samples/empty-class/_config.js @@ -1,6 +1,6 @@ export default { warnings: [{ - filename: "SvelteComponent.html", + filename: "SvelteComponent.svelte", code: `css-unused-selector`, message: "Unused CSS selector", start: { diff --git a/test/css/samples/nested/expected.svelte b/test/css/samples/nested/expected.html similarity index 100% rename from test/css/samples/nested/expected.svelte rename to test/css/samples/nested/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector/expected.svelte b/test/css/samples/omit-scoping-attribute-attribute-selector/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector/expected.svelte rename to test/css/samples/omit-scoping-attribute-attribute-selector/expected.html diff --git a/test/css/samples/omit-scoping-attribute-class-dynamic/expected.svelte b/test/css/samples/omit-scoping-attribute-class-dynamic/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-dynamic/expected.svelte rename to test/css/samples/omit-scoping-attribute-class-dynamic/expected.html diff --git a/test/css/samples/omit-scoping-attribute-class-static/expected.svelte b/test/css/samples/omit-scoping-attribute-class-static/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-static/expected.svelte rename to test/css/samples/omit-scoping-attribute-class-static/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.svelte b/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.svelte rename to test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.svelte b/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.svelte rename to test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.svelte b/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.svelte rename to test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.svelte b/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.svelte rename to test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.svelte b/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.svelte rename to test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant/expected.svelte b/test/css/samples/omit-scoping-attribute-descendant/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant/expected.svelte rename to test/css/samples/omit-scoping-attribute-descendant/expected.html diff --git a/test/css/samples/omit-scoping-attribute-global/expected.svelte b/test/css/samples/omit-scoping-attribute-global/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-global/expected.svelte rename to test/css/samples/omit-scoping-attribute-global/expected.html diff --git a/test/css/samples/omit-scoping-attribute-id/expected.svelte b/test/css/samples/omit-scoping-attribute-id/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-id/expected.svelte rename to test/css/samples/omit-scoping-attribute-id/expected.html diff --git a/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.svelte b/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.svelte rename to test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html diff --git a/test/css/samples/omit-scoping-attribute-whitespace/expected.svelte b/test/css/samples/omit-scoping-attribute-whitespace/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace/expected.svelte rename to test/css/samples/omit-scoping-attribute-whitespace/expected.html diff --git a/test/css/samples/omit-scoping-attribute/expected.svelte b/test/css/samples/omit-scoping-attribute/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute/expected.svelte rename to test/css/samples/omit-scoping-attribute/expected.html diff --git a/test/css/samples/unused-selector-leading/_config.js b/test/css/samples/unused-selector-leading/_config.js index c01e978405..20310a5847 100644 --- a/test/css/samples/unused-selector-leading/_config.js +++ b/test/css/samples/unused-selector-leading/_config.js @@ -1,7 +1,7 @@ export default { warnings: [ { - filename: "SvelteComponent.html", + filename: "SvelteComponent.svelte", code: `css-unused-selector`, message: "Unused CSS selector", start: { @@ -25,7 +25,7 @@ export default { }, { - filename: "SvelteComponent.html", + filename: "SvelteComponent.svelte", code: `css-unused-selector`, message: "Unused CSS selector", start: { diff --git a/test/css/samples/unused-selector-leading/expected.svelte b/test/css/samples/unused-selector-leading/expected.html similarity index 100% rename from test/css/samples/unused-selector-leading/expected.svelte rename to test/css/samples/unused-selector-leading/expected.html diff --git a/test/css/samples/unused-selector-ternary/_config.js b/test/css/samples/unused-selector-ternary/_config.js index 043a7addf9..68254477d9 100644 --- a/test/css/samples/unused-selector-ternary/_config.js +++ b/test/css/samples/unused-selector-ternary/_config.js @@ -4,7 +4,7 @@ export default { }, warnings: [{ - filename: "SvelteComponent.html", + filename: "SvelteComponent.svelte", code: `css-unused-selector`, message: "Unused CSS selector", start: { diff --git a/test/css/samples/unused-selector-ternary/expected.svelte b/test/css/samples/unused-selector-ternary/expected.html similarity index 100% rename from test/css/samples/unused-selector-ternary/expected.svelte rename to test/css/samples/unused-selector-ternary/expected.html diff --git a/test/css/samples/unused-selector/_config.js b/test/css/samples/unused-selector/_config.js index 5f6abbc08b..49fb3a27e7 100644 --- a/test/css/samples/unused-selector/_config.js +++ b/test/css/samples/unused-selector/_config.js @@ -1,6 +1,6 @@ export default { warnings: [{ - filename: "SvelteComponent.html", + filename: "SvelteComponent.svelte", code: `css-unused-selector`, message: "Unused CSS selector", start: { diff --git a/test/css/samples/unused-selector/expected.svelte b/test/css/samples/unused-selector/expected.html similarity index 100% rename from test/css/samples/unused-selector/expected.svelte rename to test/css/samples/unused-selector/expected.html diff --git a/test/custom-elements/index.js b/test/custom-elements/index.js index e50434cc61..d2641cb5b0 100644 --- a/test/custom-elements/index.js +++ b/test/custom-elements/index.js @@ -72,7 +72,7 @@ describe('custom-elements', function() { }, transform(code, id) { - if (id.endsWith('.html')) { + if (id.endsWith('.svelte')) { const compiled = svelte.compile(code, { customElement: true, dev: config.dev diff --git a/test/custom-elements/samples/custom-method/test.js b/test/custom-elements/samples/custom-method/test.js index 2233f0b452..e274786079 100644 --- a/test/custom-elements/samples/custom-method/test.js +++ b/test/custom-elements/samples/custom-method/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import './main.html'; +import './main.svelte'; export default async function (target) { target.innerHTML = ''; diff --git a/test/custom-elements/samples/escaped-css/test.js b/test/custom-elements/samples/escaped-css/test.js index bd148ad5a7..3696ee8c1b 100644 --- a/test/custom-elements/samples/escaped-css/test.js +++ b/test/custom-elements/samples/escaped-css/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import CustomElement from './main.html'; +import CustomElement from './main.svelte'; export default function (target) { new CustomElement({ diff --git a/test/custom-elements/samples/html-slots/test.js b/test/custom-elements/samples/html-slots/test.js index 87cfd2029d..bb38a83eab 100644 --- a/test/custom-elements/samples/html-slots/test.js +++ b/test/custom-elements/samples/html-slots/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import './main.html'; +import './main.svelte'; export default function (target) { target.innerHTML = ` diff --git a/test/custom-elements/samples/html/test.js b/test/custom-elements/samples/html/test.js index 732d79f009..1638ead784 100644 --- a/test/custom-elements/samples/html/test.js +++ b/test/custom-elements/samples/html/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import './main.html'; +import './main.svelte'; export default function (target) { target.innerHTML = ''; diff --git a/test/custom-elements/samples/nested.skip/test.js b/test/custom-elements/samples/nested.skip/test.js index d6d52426af..85320297ea 100644 --- a/test/custom-elements/samples/nested.skip/test.js +++ b/test/custom-elements/samples/nested.skip/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import './main.html'; +import './main.svelte'; export default async function (target) { target.innerHTML = ''; diff --git a/test/custom-elements/samples/new-styled/test.js b/test/custom-elements/samples/new-styled/test.js index 6bb37d7a2a..f027121009 100644 --- a/test/custom-elements/samples/new-styled/test.js +++ b/test/custom-elements/samples/new-styled/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import CustomElement from './main.html'; +import CustomElement from './main.svelte'; export default function (target) { target.innerHTML = '

unstyled

'; diff --git a/test/custom-elements/samples/new/test.js b/test/custom-elements/samples/new/test.js index f37f4301fb..1137495e35 100644 --- a/test/custom-elements/samples/new/test.js +++ b/test/custom-elements/samples/new/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import CustomElement from './main.html'; +import CustomElement from './main.svelte'; export default function (target) { new CustomElement({ diff --git a/test/custom-elements/samples/no-missing-prop-warnings/test.js b/test/custom-elements/samples/no-missing-prop-warnings/test.js index 9430e97f3a..e7ced25e19 100644 --- a/test/custom-elements/samples/no-missing-prop-warnings/test.js +++ b/test/custom-elements/samples/no-missing-prop-warnings/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import './main.html'; +import './main.svelte'; export default function (target) { const warnings = []; diff --git a/test/custom-elements/samples/oncreate/test.js b/test/custom-elements/samples/oncreate/test.js index a64a8c9fec..11d76078f2 100644 --- a/test/custom-elements/samples/oncreate/test.js +++ b/test/custom-elements/samples/oncreate/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import './main.html'; +import './main.svelte'; export default function (target) { target.innerHTML = ''; diff --git a/test/custom-elements/samples/props/test.js b/test/custom-elements/samples/props/test.js index 1e95fe3ad2..9c7e44c3a3 100644 --- a/test/custom-elements/samples/props/test.js +++ b/test/custom-elements/samples/props/test.js @@ -1,5 +1,5 @@ import * as assert from 'assert'; -import CustomElement from './main.html'; +import CustomElement from './main.svelte'; export default function (target) { new CustomElement({ diff --git a/test/helpers.js b/test/helpers.js index f2e2004f09..b7064c99eb 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -171,7 +171,7 @@ export function addLineNumbers(code) { } export function showOutput(cwd, options = {}, compile = svelte.compile) { - glob('**/*.html', { cwd }).forEach(file => { + glob('**/*.svelte', { cwd }).forEach(file => { if (file[0] === '_') return; const { js } = compile( diff --git a/test/hydration/index.js b/test/hydration/index.js index 8b66937329..24c61fb56a 100644 --- a/test/hydration/index.js +++ b/test/hydration/index.js @@ -18,7 +18,7 @@ describe('hydration', () => { before(() => { const svelte = loadSvelte(); - require.extensions['.html'] = function(module, filename) { + require.extensions['.svelte'] = function(module, filename) { const options = Object.assign( { filename, @@ -62,7 +62,7 @@ describe('hydration', () => { let SvelteComponent; try { - SvelteComponent = require(`${cwd}/main.html`).default; + SvelteComponent = require(`${cwd}/main.svelte`).default; } catch (err) { throw err; } diff --git a/test/hydration/samples/basic/_after.svelte b/test/hydration/samples/basic/_after.html similarity index 100% rename from test/hydration/samples/basic/_after.svelte rename to test/hydration/samples/basic/_after.html diff --git a/test/hydration/samples/basic/_before.svelte b/test/hydration/samples/basic/_before.html similarity index 100% rename from test/hydration/samples/basic/_before.svelte rename to test/hydration/samples/basic/_before.html diff --git a/test/hydration/samples/binding-input/_after.svelte b/test/hydration/samples/binding-input/_after.html similarity index 100% rename from test/hydration/samples/binding-input/_after.svelte rename to test/hydration/samples/binding-input/_after.html diff --git a/test/hydration/samples/binding-input/_before.svelte b/test/hydration/samples/binding-input/_before.html similarity index 100% rename from test/hydration/samples/binding-input/_before.svelte rename to test/hydration/samples/binding-input/_before.html diff --git a/test/hydration/samples/component-in-element/_after.svelte b/test/hydration/samples/component-in-element/_after.html similarity index 100% rename from test/hydration/samples/component-in-element/_after.svelte rename to test/hydration/samples/component-in-element/_after.html diff --git a/test/hydration/samples/component-in-element/_before.svelte b/test/hydration/samples/component-in-element/_before.html similarity index 100% rename from test/hydration/samples/component-in-element/_before.svelte rename to test/hydration/samples/component-in-element/_before.html diff --git a/test/hydration/samples/component/_after.svelte b/test/hydration/samples/component/_after.html similarity index 100% rename from test/hydration/samples/component/_after.svelte rename to test/hydration/samples/component/_after.html diff --git a/test/hydration/samples/component/_before.svelte b/test/hydration/samples/component/_before.html similarity index 100% rename from test/hydration/samples/component/_before.svelte rename to test/hydration/samples/component/_before.html diff --git a/test/hydration/samples/dynamic-text-changed/_after.svelte b/test/hydration/samples/dynamic-text-changed/_after.html similarity index 100% rename from test/hydration/samples/dynamic-text-changed/_after.svelte rename to test/hydration/samples/dynamic-text-changed/_after.html diff --git a/test/hydration/samples/dynamic-text-changed/_before.svelte b/test/hydration/samples/dynamic-text-changed/_before.html similarity index 100% rename from test/hydration/samples/dynamic-text-changed/_before.svelte rename to test/hydration/samples/dynamic-text-changed/_before.html diff --git a/test/hydration/samples/dynamic-text/_after.svelte b/test/hydration/samples/dynamic-text/_after.html similarity index 100% rename from test/hydration/samples/dynamic-text/_after.svelte rename to test/hydration/samples/dynamic-text/_after.html diff --git a/test/hydration/samples/dynamic-text/_before.svelte b/test/hydration/samples/dynamic-text/_before.html similarity index 100% rename from test/hydration/samples/dynamic-text/_before.svelte rename to test/hydration/samples/dynamic-text/_before.html diff --git a/test/hydration/samples/each-block-arg-clash/_after.svelte b/test/hydration/samples/each-block-arg-clash/_after.html similarity index 100% rename from test/hydration/samples/each-block-arg-clash/_after.svelte rename to test/hydration/samples/each-block-arg-clash/_after.html diff --git a/test/hydration/samples/each-block-arg-clash/_before.svelte b/test/hydration/samples/each-block-arg-clash/_before.html similarity index 100% rename from test/hydration/samples/each-block-arg-clash/_before.svelte rename to test/hydration/samples/each-block-arg-clash/_before.html diff --git a/test/hydration/samples/each-block/_after.svelte b/test/hydration/samples/each-block/_after.html similarity index 100% rename from test/hydration/samples/each-block/_after.svelte rename to test/hydration/samples/each-block/_after.html diff --git a/test/hydration/samples/each-block/_before.svelte b/test/hydration/samples/each-block/_before.html similarity index 100% rename from test/hydration/samples/each-block/_before.svelte rename to test/hydration/samples/each-block/_before.html diff --git a/test/hydration/samples/element-attribute-added/_after.svelte b/test/hydration/samples/element-attribute-added/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-added/_after.svelte rename to test/hydration/samples/element-attribute-added/_after.html diff --git a/test/hydration/samples/element-attribute-added/_before.svelte b/test/hydration/samples/element-attribute-added/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-added/_before.svelte rename to test/hydration/samples/element-attribute-added/_before.html diff --git a/test/hydration/samples/element-attribute-changed/_after.svelte b/test/hydration/samples/element-attribute-changed/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-changed/_after.svelte rename to test/hydration/samples/element-attribute-changed/_after.html diff --git a/test/hydration/samples/element-attribute-changed/_before.svelte b/test/hydration/samples/element-attribute-changed/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-changed/_before.svelte rename to test/hydration/samples/element-attribute-changed/_before.html diff --git a/test/hydration/samples/element-attribute-removed/_after.svelte b/test/hydration/samples/element-attribute-removed/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-removed/_after.svelte rename to test/hydration/samples/element-attribute-removed/_after.html diff --git a/test/hydration/samples/element-attribute-removed/_before.svelte b/test/hydration/samples/element-attribute-removed/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-removed/_before.svelte rename to test/hydration/samples/element-attribute-removed/_before.html diff --git a/test/hydration/samples/element-attribute-unchanged/_after.svelte b/test/hydration/samples/element-attribute-unchanged/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/_after.svelte rename to test/hydration/samples/element-attribute-unchanged/_after.html diff --git a/test/hydration/samples/element-attribute-unchanged/_before.svelte b/test/hydration/samples/element-attribute-unchanged/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/_before.svelte rename to test/hydration/samples/element-attribute-unchanged/_before.html diff --git a/test/hydration/samples/element-nested/_after.svelte b/test/hydration/samples/element-nested/_after.html similarity index 100% rename from test/hydration/samples/element-nested/_after.svelte rename to test/hydration/samples/element-nested/_after.html diff --git a/test/hydration/samples/element-nested/_before.svelte b/test/hydration/samples/element-nested/_before.html similarity index 100% rename from test/hydration/samples/element-nested/_before.svelte rename to test/hydration/samples/element-nested/_before.html diff --git a/test/hydration/samples/element-ref/_after.svelte b/test/hydration/samples/element-ref/_after.html similarity index 100% rename from test/hydration/samples/element-ref/_after.svelte rename to test/hydration/samples/element-ref/_after.html diff --git a/test/hydration/samples/element-ref/_before.svelte b/test/hydration/samples/element-ref/_before.html similarity index 100% rename from test/hydration/samples/element-ref/_before.svelte rename to test/hydration/samples/element-ref/_before.html diff --git a/test/hydration/samples/event-handler/_after.svelte b/test/hydration/samples/event-handler/_after.html similarity index 100% rename from test/hydration/samples/event-handler/_after.svelte rename to test/hydration/samples/event-handler/_after.html diff --git a/test/hydration/samples/event-handler/_before.svelte b/test/hydration/samples/event-handler/_before.html similarity index 100% rename from test/hydration/samples/event-handler/_before.svelte rename to test/hydration/samples/event-handler/_before.html diff --git a/test/hydration/samples/if-block-anchor/_after.svelte b/test/hydration/samples/if-block-anchor/_after.html similarity index 100% rename from test/hydration/samples/if-block-anchor/_after.svelte rename to test/hydration/samples/if-block-anchor/_after.html diff --git a/test/hydration/samples/if-block-anchor/_before.svelte b/test/hydration/samples/if-block-anchor/_before.html similarity index 100% rename from test/hydration/samples/if-block-anchor/_before.svelte rename to test/hydration/samples/if-block-anchor/_before.html diff --git a/test/hydration/samples/if-block-false/_after.svelte b/test/hydration/samples/if-block-false/_after.html similarity index 100% rename from test/hydration/samples/if-block-false/_after.svelte rename to test/hydration/samples/if-block-false/_after.html diff --git a/test/hydration/samples/if-block-false/_before.svelte b/test/hydration/samples/if-block-false/_before.html similarity index 100% rename from test/hydration/samples/if-block-false/_before.svelte rename to test/hydration/samples/if-block-false/_before.html diff --git a/test/hydration/samples/if-block-update/_after.svelte b/test/hydration/samples/if-block-update/_after.html similarity index 100% rename from test/hydration/samples/if-block-update/_after.svelte rename to test/hydration/samples/if-block-update/_after.html diff --git a/test/hydration/samples/if-block-update/_before.svelte b/test/hydration/samples/if-block-update/_before.html similarity index 100% rename from test/hydration/samples/if-block-update/_before.svelte rename to test/hydration/samples/if-block-update/_before.html diff --git a/test/hydration/samples/if-block/_after.svelte b/test/hydration/samples/if-block/_after.html similarity index 100% rename from test/hydration/samples/if-block/_after.svelte rename to test/hydration/samples/if-block/_after.html diff --git a/test/hydration/samples/if-block/_before.svelte b/test/hydration/samples/if-block/_before.html similarity index 100% rename from test/hydration/samples/if-block/_before.svelte rename to test/hydration/samples/if-block/_before.html diff --git a/test/hydration/samples/raw/_after.svelte b/test/hydration/samples/raw/_after.html similarity index 100% rename from test/hydration/samples/raw/_after.svelte rename to test/hydration/samples/raw/_after.html diff --git a/test/hydration/samples/raw/_before.svelte b/test/hydration/samples/raw/_before.html similarity index 100% rename from test/hydration/samples/raw/_before.svelte rename to test/hydration/samples/raw/_before.html diff --git a/test/hydration/samples/top-level-text/_after.svelte b/test/hydration/samples/top-level-text/_after.html similarity index 100% rename from test/hydration/samples/top-level-text/_after.svelte rename to test/hydration/samples/top-level-text/_after.html diff --git a/test/hydration/samples/top-level-text/_before.svelte b/test/hydration/samples/top-level-text/_before.html similarity index 100% rename from test/hydration/samples/top-level-text/_before.svelte rename to test/hydration/samples/top-level-text/_before.html diff --git a/test/js/index.js b/test/js/index.js index d6cb71e416..77da160591 100644 --- a/test/js/index.js +++ b/test/js/index.js @@ -18,7 +18,7 @@ describe("js", () => { dir = path.resolve("test/js/samples", dir); const config = loadConfig(`${dir}/_config.js`); - const input = fs.readFileSync(`${dir}/input.html`, "utf-8").replace(/\s+$/, ""); + const input = fs.readFileSync(`${dir}/input.svelte`, "utf-8").replace(/\s+$/, ""); let actual; diff --git a/test/js/samples/dynamic-import/expected.js b/test/js/samples/dynamic-import/expected.js index f4304f53ef..c7a82698c2 100644 --- a/test/js/samples/dynamic-import/expected.js +++ b/test/js/samples/dynamic-import/expected.js @@ -1,6 +1,6 @@ /* generated by Svelte vX.Y.Z */ import { SvelteComponent as SvelteComponent_1, init, mount_component, noop, safe_not_equal } from "svelte/internal"; -import LazyLoad from "./LazyLoad.html"; +import LazyLoad from "./LazyLoad.svelte"; function create_fragment(ctx) { var current; @@ -38,7 +38,7 @@ function create_fragment(ctx) { } function func() { - return import('./Foo.html'); + return import('./Foo.svelte'); } class SvelteComponent extends SvelteComponent_1 { diff --git a/test/js/samples/non-imported-component/expected.js b/test/js/samples/non-imported-component/expected.js index b79dd60512..ee31f589ea 100644 --- a/test/js/samples/non-imported-component/expected.js +++ b/test/js/samples/non-imported-component/expected.js @@ -1,6 +1,6 @@ /* generated by Svelte vX.Y.Z */ import { SvelteComponent as SvelteComponent_1, createText, detachNode, init, insert, mount_component, noop, safe_not_equal } from "svelte/internal"; -import Imported from "Imported.html"; +import Imported from "Imported.svelte"; function create_fragment(ctx) { var text, current; diff --git a/test/parser/index.js b/test/parser/index.js index 900cc3ae05..990a8751ef 100644 --- a/test/parser/index.js +++ b/test/parser/index.js @@ -18,7 +18,7 @@ describe('parse', () => { (solo ? it.only : it)(dir, () => { const options = tryToLoadJson(`test/parser/samples/${dir}/options.json`) || {}; - const input = fs.readFileSync(`test/parser/samples/${dir}/input.html`, 'utf-8').replace(/\s+$/, ''); + const input = fs.readFileSync(`test/parser/samples/${dir}/input.svelte`, 'utf-8').replace(/\s+$/, ''); const expectedOutput = tryToLoadJson(`test/parser/samples/${dir}/output.json`); const expectedError = tryToLoadJson(`test/parser/samples/${dir}/error.json`); diff --git a/test/preprocess/index.js b/test/preprocess/index.js index fddc14ec94..8d114ab7b3 100644 --- a/test/preprocess/index.js +++ b/test/preprocess/index.js @@ -13,8 +13,8 @@ describe('preprocess', () => { } (config.skip ? it.skip : config.solo ? it.only : it)(dir, async () => { - const input = fs.readFileSync(`test/preprocess/samples/${dir}/input.html`, 'utf-8'); - const expected = fs.readFileSync(`test/preprocess/samples/${dir}/output.html`, 'utf-8'); + const input = fs.readFileSync(`test/preprocess/samples/${dir}/input.svelte`, 'utf-8'); + const expected = fs.readFileSync(`test/preprocess/samples/${dir}/output.svelte`, 'utf-8'); const result = await svelte.preprocess(input, config.preprocess); fs.writeFileSync(`test/preprocess/samples/${dir}/_actual.html`, result.code); diff --git a/test/preprocess/samples/filename/_config.js b/test/preprocess/samples/filename/_config.js index d7a3c19770..c71cdafcac 100644 --- a/test/preprocess/samples/filename/_config.js +++ b/test/preprocess/samples/filename/_config.js @@ -1,6 +1,6 @@ export default { preprocess: { - filename: 'file.html', + filename: 'file.svelte', markup: ({ content, filename }) => { return { code: content.replace('__MARKUP_FILENAME__', filename) diff --git a/test/preprocess/samples/filename/output.svelte b/test/preprocess/samples/filename/output.svelte index 1dcf67cc00..9eece2e222 100644 --- a/test/preprocess/samples/filename/output.svelte +++ b/test/preprocess/samples/filename/output.svelte @@ -1,3 +1,3 @@ -

Hello file.html!

- +

Hello file.svelte!

+ \ No newline at end of file diff --git a/test/runtime/index.js b/test/runtime/index.js index cd9a2a4946..002ca2605f 100644 --- a/test/runtime/index.js +++ b/test/runtime/index.js @@ -27,7 +27,7 @@ describe("runtime", () => { svelte = loadSvelte(false); svelte$ = loadSvelte(true); - require.extensions[".html"] = function(module, filename) { + require.extensions[".svelte"] = function(module, filename) { const options = Object.assign({ filename, format: 'cjs', @@ -74,7 +74,7 @@ describe("runtime", () => { compileOptions.immutable = config.immutable; Object.keys(require.cache) - .filter(x => x.endsWith(".html")) + .filter(x => x.endsWith(".svelte")) .forEach(file => { delete require.cache[file]; }); @@ -111,7 +111,7 @@ describe("runtime", () => { }; try { - mod = require(`./samples/${dir}/main.html`); + mod = require(`./samples/${dir}/main.svelte`); SvelteComponent = mod.default; } catch (err) { showOutput(cwd, compileOptions, svelte.compile); // eslint-disable-line no-console diff --git a/test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte b/test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte index 0edb702f10..9b55ab769d 100644 --- a/test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte +++ b/test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/test/runtime/samples/component-binding-deep-b/_config.js b/test/runtime/samples/component-binding-deep-b/_config.js index f701a36fac..5adee6eac1 100644 --- a/test/runtime/samples/component-binding-deep-b/_config.js +++ b/test/runtime/samples/component-binding-deep-b/_config.js @@ -21,8 +21,8 @@ export default { html: ` @@ -40,8 +40,8 @@ export default { assert.equal(component.compiled, 'ONE SOURCE CHANGED\nTWO SOURCE'); assert.htmlEqual(target.innerHTML, ` @@ -70,8 +70,8 @@ export default { assert.equal(component.compiled, 'ONE SOURCE CHANGED\nTWO SOURCE CHANGED'); assert.htmlEqual(target.innerHTML, ` diff --git a/test/runtime/samples/element-source-location/_config.js b/test/runtime/samples/element-source-location/_config.js index 7733688f23..61ae36d107 100644 --- a/test/runtime/samples/element-source-location/_config.js +++ b/test/runtime/samples/element-source-location/_config.js @@ -10,14 +10,14 @@ export default { const p = target.querySelector('p'); assert.deepEqual(h1.__svelte_meta.loc, { - file: path.relative(process.cwd(), path.resolve(__dirname, 'main.html')), + file: path.relative(process.cwd(), path.resolve(__dirname, 'main.svelte')), line: 4, column: 0, - char: 51 + char: 53 }); assert.deepEqual(p.__svelte_meta.loc, { - file: path.relative(process.cwd(), path.resolve(__dirname, 'Foo.html')), + file: path.relative(process.cwd(), path.resolve(__dirname, 'Foo.svelte')), line: 1, column: 1, char: 7 diff --git a/test/server-side-rendering/index.js b/test/server-side-rendering/index.js index a23936bba3..6a546b0b7b 100644 --- a/test/server-side-rendering/index.js +++ b/test/server-side-rendering/index.js @@ -46,15 +46,7 @@ describe("ssr", () => { (solo ? it.only : it)(dir, () => { dir = path.resolve("test/server-side-rendering/samples", dir); try { - let Component; - - const mainHtmlFile = `${dir}/main.html`; - const mainSvelteFile = `${dir}/main.svelte`; - if (fs.existsSync(mainHtmlFile)) { - Component = require(mainHtmlFile).default; - } else if (fs.existsSync(mainSvelteFile)) { - Component = require(mainSvelteFile).default; - } + const Component = require(`${dir}/main.svelte`).default; const expectedHtml = tryToReadFile(`${dir}/_expected.html`); const expectedCss = tryToReadFile(`${dir}/_expected.css`) || ""; @@ -104,7 +96,7 @@ describe("ssr", () => { (config.skip ? it.skip : config.solo ? it.only : it)(dir, () => { const cwd = path.resolve("test/runtime/samples", dir); - glob('**/*.html', { cwd: `test/runtime/samples/${dir}` }).forEach(file => { + glob('**/*.svelte', { cwd: `test/runtime/samples/${dir}` }).forEach(file => { const resolved = require.resolve(`../runtime/samples/${dir}/${file}`); delete require.cache[resolved]; }); @@ -118,7 +110,7 @@ describe("ssr", () => { try { if (config.before_test) config.before_test(); - const Component = require(`../runtime/samples/${dir}/main.html`).default; + const Component = require(`../runtime/samples/${dir}/main.svelte`).default; const { html } = Component.render(config.props, { store: (config.store !== true) && config.store }); diff --git a/test/server-side-rendering/samples/attribute-boolean/_expected.svelte b/test/server-side-rendering/samples/attribute-boolean/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-boolean/_expected.svelte rename to test/server-side-rendering/samples/attribute-boolean/_expected.html diff --git a/test/server-side-rendering/samples/attribute-dynamic/_expected.svelte b/test/server-side-rendering/samples/attribute-dynamic/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-dynamic/_expected.svelte rename to test/server-side-rendering/samples/attribute-dynamic/_expected.html diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.svelte b/test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.svelte rename to test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.html diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes/_expected.svelte b/test/server-side-rendering/samples/attribute-escaped-quotes/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes/_expected.svelte rename to test/server-side-rendering/samples/attribute-escaped-quotes/_expected.html diff --git a/test/server-side-rendering/samples/attribute-static/_expected.svelte b/test/server-side-rendering/samples/attribute-static/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-static/_expected.svelte rename to test/server-side-rendering/samples/attribute-static/_expected.html diff --git a/test/server-side-rendering/samples/bindings/_expected.svelte b/test/server-side-rendering/samples/bindings/_expected.html similarity index 100% rename from test/server-side-rendering/samples/bindings/_expected.svelte rename to test/server-side-rendering/samples/bindings/_expected.html diff --git a/test/server-side-rendering/samples/comment/_expected.svelte b/test/server-side-rendering/samples/comment/_expected.html similarity index 100% rename from test/server-side-rendering/samples/comment/_expected.svelte rename to test/server-side-rendering/samples/comment/_expected.html diff --git a/test/server-side-rendering/samples/component-binding-renamed/_expected.svelte b/test/server-side-rendering/samples/component-binding-renamed/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-binding-renamed/_expected.svelte rename to test/server-side-rendering/samples/component-binding-renamed/_expected.html diff --git a/test/server-side-rendering/samples/component-binding/_expected.svelte b/test/server-side-rendering/samples/component-binding/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-binding/_expected.svelte rename to test/server-side-rendering/samples/component-binding/_expected.html diff --git a/test/server-side-rendering/samples/component-data-dynamic/_expected.svelte b/test/server-side-rendering/samples/component-data-dynamic/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-data-dynamic/_expected.svelte rename to test/server-side-rendering/samples/component-data-dynamic/_expected.html diff --git a/test/server-side-rendering/samples/component-data-empty/_expected.svelte b/test/server-side-rendering/samples/component-data-empty/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-data-empty/_expected.svelte rename to test/server-side-rendering/samples/component-data-empty/_expected.html diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/_expected.svelte b/test/server-side-rendering/samples/component-refs-and-attributes/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-refs-and-attributes/_expected.svelte rename to test/server-side-rendering/samples/component-refs-and-attributes/_expected.html diff --git a/test/server-side-rendering/samples/component-refs/_expected.svelte b/test/server-side-rendering/samples/component-refs/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-refs/_expected.svelte rename to test/server-side-rendering/samples/component-refs/_expected.html diff --git a/test/server-side-rendering/samples/component-with-different-extension/_expected.svelte b/test/server-side-rendering/samples/component-with-different-extension/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-with-different-extension/_expected.svelte rename to test/server-side-rendering/samples/component-with-different-extension/_expected.html diff --git a/test/server-side-rendering/samples/component-yield/_expected.svelte b/test/server-side-rendering/samples/component-yield/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-yield/_expected.svelte rename to test/server-side-rendering/samples/component-yield/_expected.html diff --git a/test/server-side-rendering/samples/component/_expected.svelte b/test/server-side-rendering/samples/component/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component/_expected.svelte rename to test/server-side-rendering/samples/component/_expected.html diff --git a/test/server-side-rendering/samples/computed/_expected.svelte b/test/server-side-rendering/samples/computed/_expected.html similarity index 100% rename from test/server-side-rendering/samples/computed/_expected.svelte rename to test/server-side-rendering/samples/computed/_expected.html diff --git a/test/server-side-rendering/samples/default-data-override/_expected.svelte b/test/server-side-rendering/samples/default-data-override/_expected.html similarity index 100% rename from test/server-side-rendering/samples/default-data-override/_expected.svelte rename to test/server-side-rendering/samples/default-data-override/_expected.html diff --git a/test/server-side-rendering/samples/default-data/_expected.svelte b/test/server-side-rendering/samples/default-data/_expected.html similarity index 100% rename from test/server-side-rendering/samples/default-data/_expected.svelte rename to test/server-side-rendering/samples/default-data/_expected.html diff --git a/test/server-side-rendering/samples/directives/_expected.svelte b/test/server-side-rendering/samples/directives/_expected.html similarity index 100% rename from test/server-side-rendering/samples/directives/_expected.svelte rename to test/server-side-rendering/samples/directives/_expected.html diff --git a/test/server-side-rendering/samples/dynamic-text-escaped/_expected.svelte b/test/server-side-rendering/samples/dynamic-text-escaped/_expected.html similarity index 100% rename from test/server-side-rendering/samples/dynamic-text-escaped/_expected.svelte rename to test/server-side-rendering/samples/dynamic-text-escaped/_expected.html diff --git a/test/server-side-rendering/samples/dynamic-text/_expected.svelte b/test/server-side-rendering/samples/dynamic-text/_expected.html similarity index 100% rename from test/server-side-rendering/samples/dynamic-text/_expected.svelte rename to test/server-side-rendering/samples/dynamic-text/_expected.html diff --git a/test/server-side-rendering/samples/each-block/_expected.svelte b/test/server-side-rendering/samples/each-block/_expected.html similarity index 100% rename from test/server-side-rendering/samples/each-block/_expected.svelte rename to test/server-side-rendering/samples/each-block/_expected.html diff --git a/test/server-side-rendering/samples/empty-elements-closed/_expected.svelte b/test/server-side-rendering/samples/empty-elements-closed/_expected.html similarity index 100% rename from test/server-side-rendering/samples/empty-elements-closed/_expected.svelte rename to test/server-side-rendering/samples/empty-elements-closed/_expected.html diff --git a/test/server-side-rendering/samples/entities/_expected.svelte b/test/server-side-rendering/samples/entities/_expected.html similarity index 100% rename from test/server-side-rendering/samples/entities/_expected.svelte rename to test/server-side-rendering/samples/entities/_expected.html diff --git a/test/server-side-rendering/samples/head-title/_expected-head.svelte b/test/server-side-rendering/samples/head-title/_expected-head.html similarity index 100% rename from test/server-side-rendering/samples/head-title/_expected-head.svelte rename to test/server-side-rendering/samples/head-title/_expected-head.html diff --git a/test/server-side-rendering/samples/head-title/_expected.svelte b/test/server-side-rendering/samples/head-title/_expected.html similarity index 100% rename from test/server-side-rendering/samples/head-title/_expected.svelte rename to test/server-side-rendering/samples/head-title/_expected.html diff --git a/test/server-side-rendering/samples/helpers/_expected.svelte b/test/server-side-rendering/samples/helpers/_expected.html similarity index 100% rename from test/server-side-rendering/samples/helpers/_expected.svelte rename to test/server-side-rendering/samples/helpers/_expected.html diff --git a/test/server-side-rendering/samples/if-block-false/_expected.svelte b/test/server-side-rendering/samples/if-block-false/_expected.html similarity index 100% rename from test/server-side-rendering/samples/if-block-false/_expected.svelte rename to test/server-side-rendering/samples/if-block-false/_expected.html diff --git a/test/server-side-rendering/samples/if-block-true/_expected.svelte b/test/server-side-rendering/samples/if-block-true/_expected.html similarity index 100% rename from test/server-side-rendering/samples/if-block-true/_expected.svelte rename to test/server-side-rendering/samples/if-block-true/_expected.html diff --git a/test/server-side-rendering/samples/import-non-component/_expected.svelte b/test/server-side-rendering/samples/import-non-component/_expected.html similarity index 100% rename from test/server-side-rendering/samples/import-non-component/_expected.svelte rename to test/server-side-rendering/samples/import-non-component/_expected.html diff --git a/test/server-side-rendering/samples/raw-mustaches/_expected.svelte b/test/server-side-rendering/samples/raw-mustaches/_expected.html similarity index 100% rename from test/server-side-rendering/samples/raw-mustaches/_expected.svelte rename to test/server-side-rendering/samples/raw-mustaches/_expected.html diff --git a/test/server-side-rendering/samples/sanitize-name/_expected.svelte b/test/server-side-rendering/samples/sanitize-name/_expected.html similarity index 100% rename from test/server-side-rendering/samples/sanitize-name/_expected.svelte rename to test/server-side-rendering/samples/sanitize-name/_expected.html diff --git a/test/server-side-rendering/samples/static-div/_expected.svelte b/test/server-side-rendering/samples/static-div/_expected.html similarity index 100% rename from test/server-side-rendering/samples/static-div/_expected.svelte rename to test/server-side-rendering/samples/static-div/_expected.html diff --git a/test/server-side-rendering/samples/static-text/_expected.svelte b/test/server-side-rendering/samples/static-text/_expected.html similarity index 100% rename from test/server-side-rendering/samples/static-text/_expected.svelte rename to test/server-side-rendering/samples/static-text/_expected.html diff --git a/test/server-side-rendering/samples/styles-nested/_expected.svelte b/test/server-side-rendering/samples/styles-nested/_expected.html similarity index 100% rename from test/server-side-rendering/samples/styles-nested/_expected.svelte rename to test/server-side-rendering/samples/styles-nested/_expected.html diff --git a/test/server-side-rendering/samples/styles/_expected.svelte b/test/server-side-rendering/samples/styles/_expected.html similarity index 100% rename from test/server-side-rendering/samples/styles/_expected.svelte rename to test/server-side-rendering/samples/styles/_expected.html diff --git a/test/server-side-rendering/samples/textarea-children/_expected.svelte b/test/server-side-rendering/samples/textarea-children/_expected.html similarity index 100% rename from test/server-side-rendering/samples/textarea-children/_expected.svelte rename to test/server-side-rendering/samples/textarea-children/_expected.html diff --git a/test/server-side-rendering/samples/textarea-value/_expected.svelte b/test/server-side-rendering/samples/textarea-value/_expected.html similarity index 100% rename from test/server-side-rendering/samples/textarea-value/_expected.svelte rename to test/server-side-rendering/samples/textarea-value/_expected.html diff --git a/test/server-side-rendering/samples/triple/_expected.svelte b/test/server-side-rendering/samples/triple/_expected.html similarity index 100% rename from test/server-side-rendering/samples/triple/_expected.svelte rename to test/server-side-rendering/samples/triple/_expected.html diff --git a/test/sourcemaps/index.js b/test/sourcemaps/index.js index 7bdcaa7f41..79028719b9 100644 --- a/test/sourcemaps/index.js +++ b/test/sourcemaps/index.js @@ -21,7 +21,7 @@ describe("sourcemaps", () => { const config = loadConfig(`./sourcemaps/samples/${dir}/_config.js`); const filename = path.resolve( - `test/sourcemaps/samples/${dir}/input.html` + `test/sourcemaps/samples/${dir}/input.svelte` ); const outputFilename = path.resolve( `test/sourcemaps/samples/${dir}/output` @@ -56,8 +56,8 @@ describe("sourcemaps", () => { ); } - assert.deepEqual(js.map.sources, ["input.html"]); - if (css.map) assert.deepEqual(css.map.sources, ["input.html"]); + assert.deepEqual(js.map.sources, ["input.svelte"]); + if (css.map) assert.deepEqual(css.map.sources, ["input.svelte"]); const { test } = require(`./samples/${dir}/test.js`); diff --git a/test/sourcemaps/samples/basic/test.js b/test/sourcemaps/samples/basic/test.js index f0680b7351..f13ff5d0e1 100644 --- a/test/sourcemaps/samples/basic/test.js +++ b/test/sourcemaps/samples/basic/test.js @@ -12,7 +12,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) { }); assert.deepEqual( actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column @@ -26,7 +26,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) { }); assert.deepEqual( actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column diff --git a/test/sourcemaps/samples/binding-shorthand.skip/test.js b/test/sourcemaps/samples/binding-shorthand.skip/test.js index 8c2216ead5..cdfbbdc091 100644 --- a/test/sourcemaps/samples/binding-shorthand.skip/test.js +++ b/test/sourcemaps/samples/binding-shorthand.skip/test.js @@ -13,7 +13,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) { }); assert.deepEqual(actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column diff --git a/test/sourcemaps/samples/binding/test.js b/test/sourcemaps/samples/binding/test.js index a0750d89a1..31c0e98442 100644 --- a/test/sourcemaps/samples/binding/test.js +++ b/test/sourcemaps/samples/binding/test.js @@ -12,7 +12,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) { }); assert.deepEqual(actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column @@ -26,7 +26,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) { }); assert.deepEqual(actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column diff --git a/test/sourcemaps/samples/css/test.js b/test/sourcemaps/samples/css/test.js index c1f55612eb..54082bd4ee 100644 --- a/test/sourcemaps/samples/css/test.js +++ b/test/sourcemaps/samples/css/test.js @@ -9,7 +9,7 @@ export function test({ assert, smcCss, locateInSource, locateInGeneratedCss }) { }); assert.deepEqual( actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column diff --git a/test/sourcemaps/samples/each-block/test.js b/test/sourcemaps/samples/each-block/test.js index b0c1eb9583..6e9d2d70b0 100644 --- a/test/sourcemaps/samples/each-block/test.js +++ b/test/sourcemaps/samples/each-block/test.js @@ -10,7 +10,7 @@ export function test({ assert, code, smc, locateInSource, locateInGenerated }) { }); assert.deepEqual( actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column diff --git a/test/sourcemaps/samples/script/test.js b/test/sourcemaps/samples/script/test.js index 87818fef09..73971ef487 100644 --- a/test/sourcemaps/samples/script/test.js +++ b/test/sourcemaps/samples/script/test.js @@ -8,7 +8,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) { }); assert.deepEqual( actual, { - source: 'input.html', + source: 'input.svelte', name: null, line: expected.line + 1, column: expected.column diff --git a/test/sourcemaps/samples/static-no-script/test.js b/test/sourcemaps/samples/static-no-script/test.js index d4b66d9abc..a8f4d89ab8 100644 --- a/test/sourcemaps/samples/static-no-script/test.js +++ b/test/sourcemaps/samples/static-no-script/test.js @@ -2,8 +2,8 @@ const fs = require( 'fs' ); const path = require( 'path' ); export function test({ assert, map }) { - assert.deepEqual( map.sources, [ 'input.html' ]); + assert.deepEqual( map.sources, [ 'input.svelte' ]); assert.deepEqual( map.sourcesContent, [ - fs.readFileSync( path.join( __dirname, 'input.html' ), 'utf-8' ) + fs.readFileSync( path.join( __dirname, 'input.svelte' ), 'utf-8' ) ]); } diff --git a/test/stats/index.js b/test/stats/index.js index e0b114dd9a..fe4c2ac55b 100644 --- a/test/stats/index.js +++ b/test/stats/index.js @@ -16,7 +16,7 @@ describe('stats', () => { (solo ? it.only : skip ? it.skip : it)(dir, () => { const config = loadConfig(`./stats/samples/${dir}/_config.js`); - const filename = `test/stats/samples/${dir}/input.html`; + const filename = `test/stats/samples/${dir}/input.svelte`; const input = fs.readFileSync(filename, 'utf-8').replace(/\s+$/, ''); const expectedWarnings = diff --git a/test/validator/index.js b/test/validator/index.js index 517427e817..f10024b86c 100644 --- a/test/validator/index.js +++ b/test/validator/index.js @@ -17,7 +17,7 @@ describe("validate", () => { (solo ? it.only : skip ? it.skip : it)(dir, () => { const config = loadConfig(`./validator/samples/${dir}/_config.js`); - const input = fs.readFileSync(`test/validator/samples/${dir}/input.html`, "utf-8").replace(/\s+$/, ""); + const input = fs.readFileSync(`test/validator/samples/${dir}/input.svelte`, "utf-8").replace(/\s+$/, ""); const expectedWarnings = tryToLoadJson(`test/validator/samples/${dir}/warnings.json`) || []; const expectedErrors = tryToLoadJson(`test/validator/samples/${dir}/errors.json`); diff --git a/test/validator/samples/a11y-not-on-components/warnings.json b/test/validator/samples/a11y-not-on-components/warnings.json index 7e17fda95a..4d8fb62182 100644 --- a/test/validator/samples/a11y-not-on-components/warnings.json +++ b/test/validator/samples/a11y-not-on-components/warnings.json @@ -5,13 +5,13 @@ "start": { "column": 8, "line": 6, - "character": 86 + "character": 88 }, "end": { "line": 6, "column": 17, - "character": 95 + "character": 97 }, - "pos": 86 + "pos": 88 } ] diff --git a/test/validator/samples/action-on-component/errors.json b/test/validator/samples/action-on-component/errors.json index 596ef16482..7ffaeb45fd 100644 --- a/test/validator/samples/action-on-component/errors.json +++ b/test/validator/samples/action-on-component/errors.json @@ -1,15 +1,15 @@ [{ "code": "invalid-action", "message": "Actions can only be applied to DOM elements, not components", - "pos": 84, + "pos": 86, "start": { "line": 7, "column": 8, - "character": 84 + "character": 86 }, "end": { "line": 7, "column": 15, - "character": 91 + "character": 93 } }] \ No newline at end of file diff --git a/test/validator/samples/component-slot-dynamic-attribute/errors.json b/test/validator/samples/component-slot-dynamic-attribute/errors.json index 6108b89bfb..8944f9cd3e 100644 --- a/test/validator/samples/component-slot-dynamic-attribute/errors.json +++ b/test/validator/samples/component-slot-dynamic-attribute/errors.json @@ -4,12 +4,12 @@ "start": { "line": 6, "column": 9, - "character": 75 + "character": 77 }, "end": { "line": 6, "column": 19, - "character": 85 + "character": 87 }, - "pos": 75 + "pos": 77 }] \ No newline at end of file diff --git a/test/validator/samples/component-slotted-each-block/errors.json b/test/validator/samples/component-slotted-each-block/errors.json index b2ae858fb6..89f394bca4 100644 --- a/test/validator/samples/component-slotted-each-block/errors.json +++ b/test/validator/samples/component-slotted-each-block/errors.json @@ -4,12 +4,12 @@ "start": { "line": 7, "column": 7, - "character": 98 + "character": 100 }, "end": { "line": 7, "column": 17, - "character": 108 + "character": 110 }, - "pos": 98 + "pos": 100 }] \ No newline at end of file diff --git a/test/validator/samples/component-slotted-if-block/errors.json b/test/validator/samples/component-slotted-if-block/errors.json index bd3ef87fad..ab35a77fce 100644 --- a/test/validator/samples/component-slotted-if-block/errors.json +++ b/test/validator/samples/component-slotted-if-block/errors.json @@ -4,12 +4,12 @@ "start": { "line": 7, "column": 7, - "character": 86 + "character": 88 }, "end": { "line": 7, "column": 17, - "character": 96 + "character": 98 }, - "pos": 86 + "pos": 88 }] \ No newline at end of file diff --git a/test/validator/samples/prop-slot/errors.json b/test/validator/samples/prop-slot/errors.json index 01e864b542..4fbfa3935c 100644 --- a/test/validator/samples/prop-slot/errors.json +++ b/test/validator/samples/prop-slot/errors.json @@ -4,12 +4,12 @@ "start": { "line": 5, "column": 8, - "character": 65 + "character": 67 }, "end": { "line": 5, "column": 18, - "character": 75 + "character": 77 }, - "pos": 65 + "pos": 67 }] diff --git a/test/validator/samples/transition-on-component/errors.json b/test/validator/samples/transition-on-component/errors.json index bee8bf7539..400539f8e6 100644 --- a/test/validator/samples/transition-on-component/errors.json +++ b/test/validator/samples/transition-on-component/errors.json @@ -4,12 +4,12 @@ "start": { "line": 7, "column": 8, - "character": 85 + "character": 87 }, "end": { "line": 7, "column": 14, - "character": 91 + "character": 93 }, - "pos": 85 + "pos": 87 }] \ No newline at end of file From e6ed8ef49fcc6e48e7a07a42cd502801b6c5845a Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 8 Feb 2019 20:58:18 -0500 Subject: [PATCH 3/3] update site, including REPL, to use .svelte --- .../7guis-circles/{App.html => App.svelte} | 0 .../7guis-counter/{App.html => App.svelte} | 0 .../7guis-crud/{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../7guis-temperature/{App.html => App.svelte} | 0 .../7guis-timer/{App.html => App.svelte} | 0 .../await-block/{App.html => App.svelte} | 0 .../bar-chart/{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../binding-textarea/{App.html => App.svelte} | 0 .../each-blocks/{App.html => App.svelte} | 0 .../hacker-news/{App.html => App.svelte} | 4 ++-- .../{Comment.html => Comment.svelte} | 0 .../hacker-news/{Item.html => Item.svelte} | 0 .../hacker-news/{List.html => List.svelte} | 0 .../{Summary.html => Summary.svelte} | 0 .../hello-world/{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 2 +- .../{Foo.html => Foo.svelte} | 0 .../{App.html => App.svelte} | 0 .../if-blocks/{App.html => App.svelte} | 0 .../immutable/{App.html => App.svelte} | 4 ++-- ...ImmutableTodo.html => ImmutableTodo.svelte} | 0 .../{MutableTodo.html => MutableTodo.svelte} | 0 .../line-chart/{App.html => App.svelte} | 0 .../modal-with-slot/{App.html => App.svelte} | 2 +- .../{Modal.html => Modal.svelte} | 0 .../motion-spring/{App.html => App.svelte} | 0 .../nested-components/{App.html => App.svelte} | 2 +- .../{Nested.html => Nested.svelte} | 0 .../examples/parallax/{App.html => App.svelte} | 0 .../scatterplot/{App.html => App.svelte} | 2 +- .../{Scatterplot.html => Scatterplot.svelte} | 0 .../scoped-styles/{App.html => App.svelte} | 0 .../self-references/{App.html => App.svelte} | 0 .../svg-clock/{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 .../transitions-fade/{App.html => App.svelte} | 0 .../transitions-fly/{App.html => App.svelte} | 0 .../{App.html => App.svelte} | 0 site/package-lock.json | 6 +++--- site/package.json | 2 +- site/src/components/{Icon.html => Icon.svelte} | 0 .../{InlineSvg.html => InlineSvg.svelte} | 0 site/src/components/{Logo.html => Logo.svelte} | 0 .../components/{TopNav.html => TopNav.svelte} | 4 ++-- site/src/routes/{_error.html => _error.svelte} | 0 .../routes/{_layout.html => _layout.svelte} | 4 ++-- site/src/routes/{about.html => about.svelte} | 0 site/src/routes/api/examples/[slug].js | 8 ++++---- .../routes/blog/{[slug].html => [slug].svelte} | 0 .../routes/blog/{index.html => index.svelte} | 0 site/src/routes/gist/[id].js | 4 ++-- ...uideContents.html => _GuideContents.svelte} | 2 +- site/src/routes/guide/_sections.js | 2 +- .../routes/guide/{index.html => index.svelte} | 4 ++-- site/src/routes/{index.html => index.svelte} | 4 ++-- .../{UserMenu.html => UserMenu.svelte} | 0 .../AppControls/{index.html => index.svelte} | 10 +++++----- .../{CodeMirror.html => CodeMirror.svelte} | 0 ...tSelector.html => ComponentSelector.svelte} | 8 ++++---- .../{ModuleEditor.html => ModuleEditor.svelte} | 2 +- .../Input/{index.html => index.svelte} | 4 ++-- ...putToggle.html => InputOutputToggle.svelte} | 0 ...ilerOptions.html => CompilerOptions.svelte} | 0 .../{PropEditor.html => PropEditor.svelte} | 2 +- .../Output/{Viewer.html => Viewer.svelte} | 0 .../Output/{index.html => index.svelte} | 10 +++++----- .../_components/{Repl.html => Repl.svelte} | 18 +++++++++--------- .../{SplitPane.html => SplitPane.svelte} | 0 .../routes/repl/{embed.html => embed.svelte} | 10 +++++----- .../routes/repl/{index.html => index.svelte} | 17 ++++++++++------- site/static/workers/bundler.js | 10 ++++++---- 80 files changed, 76 insertions(+), 71 deletions(-) rename site/content/examples/7guis-circles/{App.html => App.svelte} (100%) rename site/content/examples/7guis-counter/{App.html => App.svelte} (100%) rename site/content/examples/7guis-crud/{App.html => App.svelte} (100%) rename site/content/examples/7guis-flight-booker/{App.html => App.svelte} (100%) rename site/content/examples/7guis-temperature/{App.html => App.svelte} (100%) rename site/content/examples/7guis-timer/{App.html => App.svelte} (100%) rename site/content/examples/await-block/{App.html => App.svelte} (100%) rename site/content/examples/bar-chart/{App.html => App.svelte} (100%) rename site/content/examples/binding-input-checkbox-group/{App.html => App.svelte} (100%) rename site/content/examples/binding-input-checkbox/{App.html => App.svelte} (100%) rename site/content/examples/binding-input-numeric/{App.html => App.svelte} (100%) rename site/content/examples/binding-input-radio/{App.html => App.svelte} (100%) rename site/content/examples/binding-input-text/{App.html => App.svelte} (100%) rename site/content/examples/binding-media-elements/{App.html => App.svelte} (100%) rename site/content/examples/binding-textarea/{App.html => App.svelte} (100%) rename site/content/examples/each-blocks/{App.html => App.svelte} (100%) rename site/content/examples/hacker-news/{App.html => App.svelte} (92%) rename site/content/examples/hacker-news/{Comment.html => Comment.svelte} (100%) rename site/content/examples/hacker-news/{Item.html => Item.svelte} (100%) rename site/content/examples/hacker-news/{List.html => List.svelte} (100%) rename site/content/examples/hacker-news/{Summary.html => Summary.svelte} (100%) rename site/content/examples/hello-world/{App.html => App.svelte} (100%) rename site/content/examples/homepage-demo-hello-world/{App.html => App.svelte} (100%) rename site/content/examples/homepage-demo-reactivity/{App.html => App.svelte} (100%) rename site/content/examples/homepage-demo-scoped-styles/{App.html => App.svelte} (73%) rename site/content/examples/homepage-demo-scoped-styles/{Foo.html => Foo.svelte} (100%) rename site/content/examples/homepage-demo-transitions/{App.html => App.svelte} (100%) rename site/content/examples/if-blocks/{App.html => App.svelte} (100%) rename site/content/examples/immutable/{App.html => App.svelte} (86%) rename site/content/examples/immutable/{ImmutableTodo.html => ImmutableTodo.svelte} (100%) rename site/content/examples/immutable/{MutableTodo.html => MutableTodo.svelte} (100%) rename site/content/examples/line-chart/{App.html => App.svelte} (100%) rename site/content/examples/modal-with-slot/{App.html => App.svelte} (95%) rename site/content/examples/modal-with-slot/{Modal.html => Modal.svelte} (100%) rename site/content/examples/motion-spring/{App.html => App.svelte} (100%) rename site/content/examples/nested-components/{App.html => App.svelte} (53%) rename site/content/examples/nested-components/{Nested.html => Nested.svelte} (100%) rename site/content/examples/parallax/{App.html => App.svelte} (100%) rename site/content/examples/scatterplot/{App.html => App.svelte} (87%) rename site/content/examples/scatterplot/{Scatterplot.html => Scatterplot.svelte} (100%) rename site/content/examples/scoped-styles/{App.html => App.svelte} (100%) rename site/content/examples/self-references/{App.html => App.svelte} (100%) rename site/content/examples/svg-clock/{App.html => App.svelte} (100%) rename site/content/examples/transitions-custom/{App.html => App.svelte} (100%) rename site/content/examples/transitions-fade/{App.html => App.svelte} (100%) rename site/content/examples/transitions-fly/{App.html => App.svelte} (100%) rename site/content/examples/transitions-in-out/{App.html => App.svelte} (100%) rename site/src/components/{Icon.html => Icon.svelte} (100%) rename site/src/components/{InlineSvg.html => InlineSvg.svelte} (100%) rename site/src/components/{Logo.html => Logo.svelte} (100%) rename site/src/components/{TopNav.html => TopNav.svelte} (98%) rename site/src/routes/{_error.html => _error.svelte} (100%) rename site/src/routes/{_layout.html => _layout.svelte} (76%) rename site/src/routes/{about.html => about.svelte} (100%) rename site/src/routes/blog/{[slug].html => [slug].svelte} (100%) rename site/src/routes/blog/{index.html => index.svelte} (100%) rename site/src/routes/guide/{_GuideContents.html => _GuideContents.svelte} (98%) rename site/src/routes/guide/{index.html => index.svelte} (98%) rename site/src/routes/{index.html => index.svelte} (98%) rename site/src/routes/repl/_components/AppControls/{UserMenu.html => UserMenu.svelte} (100%) rename site/src/routes/repl/_components/AppControls/{index.html => index.svelte} (96%) rename site/src/routes/repl/_components/{CodeMirror.html => CodeMirror.svelte} (100%) rename site/src/routes/repl/_components/Input/{ComponentSelector.html => ComponentSelector.svelte} (96%) rename site/src/routes/repl/_components/Input/{ModuleEditor.html => ModuleEditor.svelte} (91%) rename site/src/routes/repl/_components/Input/{index.html => index.svelte} (77%) rename site/src/routes/repl/_components/{InputOutputToggle.html => InputOutputToggle.svelte} (100%) rename site/src/routes/repl/_components/Output/{CompilerOptions.html => CompilerOptions.svelte} (100%) rename site/src/routes/repl/_components/Output/{PropEditor.html => PropEditor.svelte} (95%) rename site/src/routes/repl/_components/Output/{Viewer.html => Viewer.svelte} (100%) rename site/src/routes/repl/_components/Output/{index.html => index.svelte} (94%) rename site/src/routes/repl/_components/{Repl.html => Repl.svelte} (94%) rename site/src/routes/repl/_components/{SplitPane.html => SplitPane.svelte} (100%) rename site/src/routes/repl/{embed.html => embed.svelte} (87%) rename site/src/routes/repl/{index.html => index.svelte} (89%) diff --git a/site/content/examples/7guis-circles/App.html b/site/content/examples/7guis-circles/App.svelte similarity index 100% rename from site/content/examples/7guis-circles/App.html rename to site/content/examples/7guis-circles/App.svelte diff --git a/site/content/examples/7guis-counter/App.html b/site/content/examples/7guis-counter/App.svelte similarity index 100% rename from site/content/examples/7guis-counter/App.html rename to site/content/examples/7guis-counter/App.svelte diff --git a/site/content/examples/7guis-crud/App.html b/site/content/examples/7guis-crud/App.svelte similarity index 100% rename from site/content/examples/7guis-crud/App.html rename to site/content/examples/7guis-crud/App.svelte diff --git a/site/content/examples/7guis-flight-booker/App.html b/site/content/examples/7guis-flight-booker/App.svelte similarity index 100% rename from site/content/examples/7guis-flight-booker/App.html rename to site/content/examples/7guis-flight-booker/App.svelte diff --git a/site/content/examples/7guis-temperature/App.html b/site/content/examples/7guis-temperature/App.svelte similarity index 100% rename from site/content/examples/7guis-temperature/App.html rename to site/content/examples/7guis-temperature/App.svelte diff --git a/site/content/examples/7guis-timer/App.html b/site/content/examples/7guis-timer/App.svelte similarity index 100% rename from site/content/examples/7guis-timer/App.html rename to site/content/examples/7guis-timer/App.svelte diff --git a/site/content/examples/await-block/App.html b/site/content/examples/await-block/App.svelte similarity index 100% rename from site/content/examples/await-block/App.html rename to site/content/examples/await-block/App.svelte diff --git a/site/content/examples/bar-chart/App.html b/site/content/examples/bar-chart/App.svelte similarity index 100% rename from site/content/examples/bar-chart/App.html rename to site/content/examples/bar-chart/App.svelte diff --git a/site/content/examples/binding-input-checkbox-group/App.html b/site/content/examples/binding-input-checkbox-group/App.svelte similarity index 100% rename from site/content/examples/binding-input-checkbox-group/App.html rename to site/content/examples/binding-input-checkbox-group/App.svelte diff --git a/site/content/examples/binding-input-checkbox/App.html b/site/content/examples/binding-input-checkbox/App.svelte similarity index 100% rename from site/content/examples/binding-input-checkbox/App.html rename to site/content/examples/binding-input-checkbox/App.svelte diff --git a/site/content/examples/binding-input-numeric/App.html b/site/content/examples/binding-input-numeric/App.svelte similarity index 100% rename from site/content/examples/binding-input-numeric/App.html rename to site/content/examples/binding-input-numeric/App.svelte diff --git a/site/content/examples/binding-input-radio/App.html b/site/content/examples/binding-input-radio/App.svelte similarity index 100% rename from site/content/examples/binding-input-radio/App.html rename to site/content/examples/binding-input-radio/App.svelte diff --git a/site/content/examples/binding-input-text/App.html b/site/content/examples/binding-input-text/App.svelte similarity index 100% rename from site/content/examples/binding-input-text/App.html rename to site/content/examples/binding-input-text/App.svelte diff --git a/site/content/examples/binding-media-elements/App.html b/site/content/examples/binding-media-elements/App.svelte similarity index 100% rename from site/content/examples/binding-media-elements/App.html rename to site/content/examples/binding-media-elements/App.svelte diff --git a/site/content/examples/binding-textarea/App.html b/site/content/examples/binding-textarea/App.svelte similarity index 100% rename from site/content/examples/binding-textarea/App.html rename to site/content/examples/binding-textarea/App.svelte diff --git a/site/content/examples/each-blocks/App.html b/site/content/examples/each-blocks/App.svelte similarity index 100% rename from site/content/examples/each-blocks/App.html rename to site/content/examples/each-blocks/App.svelte diff --git a/site/content/examples/hacker-news/App.html b/site/content/examples/hacker-news/App.svelte similarity index 92% rename from site/content/examples/hacker-news/App.html rename to site/content/examples/hacker-news/App.svelte index 2f8283fdf2..68ba61d6dc 100644 --- a/site/content/examples/hacker-news/App.html +++ b/site/content/examples/hacker-news/App.svelte @@ -1,7 +1,7 @@