diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b8f5a05a2..c92e8a5355 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,4 +49,4 @@ jobs: with: node-version: 16 cache: pnpm - - run: 'pnpm i && pnpm format:check && pnpm lint' + - run: 'pnpm i && pnpm check && pnpm lint' diff --git a/.gitignore b/.gitignore index c2cac230a3..8a4d1d070e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,24 +2,4 @@ .DS_Store .vscode node_modules -*.map -/src/compiler/compile/internal_exports.js -/src/shared/version.js -/compiler.d.ts -/compiler.cjs -/index.d.ts -/action.d.ts -/internal.d.ts -/store.d.ts -/easing.d.ts -/motion.d.ts -/transition.d.ts -/animate.d.ts -/scratch/ -/test/*/samples/_ -/test/runtime/shards -/yarn-error.log -_actual*.* -_output -/types .eslintcache diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 663cfedc76..8dc01ef93c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ There are many ways to contribute to Svelte, and many of them do not involve wri - Simply start using Svelte. Go through the [Getting Started](https://svelte.dev/docs#getting-started) guide. Does everything work as expected? If not, we're always looking for improvements. Let us know by [opening an issue](#reporting-new-issues). - Look through the [open issues](https://github.com/sveltejs/svelte/issues). A good starting point would be issues tagged [good first issue](https://github.com/sveltejs/svelte/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). Provide workarounds, ask for clarification, or suggest labels. Help [triage issues](#triaging-issues-and-pull-requests). - If you find an issue you would like to fix, [open a pull request](#pull-requests). -- Read through our [tutorials](https://svelte.dev/tutorial/basics). If you find anything that is confusing or can be improved, you can make edits by clicking "Edit this chapter" at the bottom left of the tutorial page. +- Read through our [tutorials](https://learn.svelte.dev/). If you find anything that is confusing or can be improved, you can make edits by clicking "Edit this page" at the bottom left of the tutorial page. - Take a look at the [features requested](https://github.com/sveltejs/svelte/labels/feature%20request) by others in the community and consider opening a pull request if you see something you want to work on. Contributions are very welcome. If you think you need help planning your contribution, please ping us on Discord at [svelte.dev/chat](https://svelte.dev/chat) and let us know you are looking for a bit of help. @@ -74,9 +74,10 @@ Small pull requests are much easier to review and more likely to get merged. ### Installation -1. Ensure you have [pnpm](https://pnpm.io/installation) installed. -1. After cloning the repository, run `pnpm install` in the root of the repository. -1. To compile in watch mode, run `pnpm dev`. +1. Ensure you have [pnpm](https://pnpm.io/installation) installed +1. After cloning the repository, run `pnpm install`. You can do this in the root directory or in the `svelte` project +1. Move into the `svelte` directory with `cd packages/svelte` +1. To compile in watch mode, run `pnpm dev` ### Creating a branch diff --git a/README.md b/README.md index 05bfac07c5..30536a72de 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Cybernetically enhanced web apps: Svelte](https://sveltejs.github.io/assets/banner.png)](https://svelte.dev) -[![npm version](https://img.shields.io/npm/v/svelte.svg)](https://www.npmjs.com/package/svelte) [![license](https://img.shields.io/npm/l/svelte.svg)](LICENSE.md) [![Chat](https://img.shields.io/discord/457912077277855764?label=chat&logo=discord)](https://svelte.dev/chat) +[![license](https://img.shields.io/npm/l/svelte.svg)](LICENSE.md) [![Chat](https://img.shields.io/discord/457912077277855764?label=chat&logo=discord)](https://svelte.dev/chat) ## What is Svelte? @@ -20,7 +20,11 @@ Funds donated via Open Collective will be used for compensating expenses related You may view [our roadmap](https://svelte.dev/roadmap) if you'd like to see what we're currently working on. -## Development +## Contributing + +Please see the [Contributing Guide](CONTRIBUTING.md) and [svelte package](packages/svelte) for contributing to Svelte. + +### Development Pull requests are encouraged and always welcome. [Pick an issue](https://github.com/sveltejs/svelte/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and help us out! @@ -32,7 +36,7 @@ cd svelte pnpm install ``` -> Do not use Yarn to install the dependencies, as the specific package versions in `package-lock.json` are used to build and test Svelte. +> Do not use Yarn to install the dependencies, as the specific package versions in `pnpm-lock.json` are used to build and test Svelte. To build the compiler and all the other modules included in the package: @@ -60,11 +64,11 @@ To filter tests, use `-g` (aka `--grep`). For example, to only run tests involvi pnpm test -- -g transition ``` -## svelte.dev +### svelte.dev The source code for https://svelte.dev lives in the [sites](https://github.com/sveltejs/sites) repository, with all the documentation in the [site/content](site/content) directory. The site is built with [SvelteKit](https://kit.svelte.dev). -### Is svelte.dev down? +## Is svelte.dev down? Probably not, but it's possible. If you can't seem to access any `.dev` sites, check out [this SuperUser question and answer](https://superuser.com/q/1413402). diff --git a/documentation/docs/02-template-syntax/03-logic-blocks.md b/documentation/docs/02-template-syntax/03-logic-blocks.md index a5b7b83f61..06563afcae 100644 --- a/documentation/docs/02-template-syntax/03-logic-blocks.md +++ b/documentation/docs/02-template-syntax/03-logic-blocks.md @@ -120,6 +120,8 @@ An each block can also have an `{:else}` clause, which is rendered if the list i {/each} ``` +It is possible to iterate over iterables like `Map` or `Set`. Iterables need to be finite and static (they shouldn't change while being iterated over). Under the hood, they are transformed to an array using `Array.from` before being passed off to rendering. If you're writing performance-sensitive code, try to avoid iterables and use regular arrays as they are more performant. + ## {#await ...} ```svelte diff --git a/documentation/docs/02-template-syntax/05-element-directives.md b/documentation/docs/02-template-syntax/05-element-directives.md index e0ac44fe35..3f64af64a8 100644 --- a/documentation/docs/02-template-syntax/05-element-directives.md +++ b/documentation/docs/02-template-syntax/05-element-directives.md @@ -467,6 +467,14 @@ transition:fn transition:fn={params} ``` +```svelte +transition:fn|global +``` + +```svelte +transition:fn|global={params} +``` + ```svelte transition:fn|local ``` @@ -498,7 +506,21 @@ The `transition:` directive indicates a _bidirectional_ transition, which means {/if} ``` -> By default intro transitions will not play on first render. You can modify this behaviour by setting `intro: true` when you [create a component](/docs/client-side-component-api). +Transitions are local by default (in Svelte 3, they were global by default). Local transitions only play when the block they belong to is created or destroyed, _not_ when parent blocks are created or destroyed. + +```svelte +{#if x} + {#if y} + +

fades in and out only when y changes

+ + +

fades in and out when x or y change

+ {/if} +{/if} +``` + +> By default intro transitions will not play on first render. You can modify this behaviour by setting `intro: true` when you [create a component](/docs#run-time-client-side-component-api) and marking the transition as `global`. ## Transition parameters @@ -618,26 +640,22 @@ An element with transitions will dispatch the following events in addition to an {/if} ``` -Local transitions only play when the block they belong to is created or destroyed, _not_ when parent blocks are created or destroyed. +## in:_fn_/out:_fn_ ```svelte -{#if x} - {#if y} -

fades in and out when x or y change

- -

fades in and out only when y changes

- {/if} -{/if} +in:fn ``` -## in:_fn_/out:_fn_ +```svelte +in:fn={params} +``` ```svelte -in:fn +in:fn|global ``` ```svelte -in:fn={params} +in:fn|global={params} ``` ```svelte @@ -656,6 +674,14 @@ out:fn out:fn={params} ``` +```svelte +out:fn|global +``` + +```svelte +out:fn|global={params} +``` + ```svelte out:fn|local ``` diff --git a/package.json b/package.json index 62392f1fd0..e2e60ef732 100644 --- a/package.json +++ b/package.json @@ -1,145 +1,31 @@ { - "name": "svelte", - "version": "4.0.0-next.0", - "description": "Cybernetically enhanced web apps", + "name": "svelte-monorepo", + "version": "0.0.1", + "description": "monorepo for svelte and friends", + "private": true, "type": "module", - "module": "src/runtime/index.js", - "main": "src/runtime/index.js", - "files": [ - "src", - "types", - "compiler.*", - "register.js", - "index.d.ts", - "internal.d.ts", - "store.d.ts", - "animate.d.ts", - "transition.d.ts", - "easing.d.ts", - "motion.d.ts", - "action.d.ts", - "elements.d.ts", - "README.md" - ], - "exports": { - "./package.json": "./package.json", - ".": { - "types": "./types/runtime/index.d.ts", - "browser": { - "import": "./src/runtime/index.js" - }, - "import": "./src/runtime/ssr.js" - }, - "./compiler": { - "types": "./types/compiler/index.d.ts", - "import": "./src/compiler/index.js", - "require": "./compiler.cjs" - }, - "./action": { - "types": "./types/runtime/action/index.d.ts" - }, - "./animate": { - "types": "./types/runtime/animate/index.d.ts", - "import": "./src/runtime/animate/index.js" - }, - "./easing": { - "types": "./types/runtime/easing/index.d.ts", - "import": "./src/runtime/easing/index.js" - }, - "./internal": { - "types": "./types/runtime/internal/index.d.ts", - "import": "./src/runtime/internal/index.js" - }, - "./motion": { - "types": "./types/runtime/motion/index.d.ts", - "import": "./src/runtime/motion/index.js" - }, - "./store": { - "types": "./types/runtime/store/index.d.ts", - "import": "./src/runtime/store/index.js" - }, - "./transition": { - "types": "./types/runtime/transition/index.d.ts", - "import": "./src/runtime/transition/index.js" - }, - "./elements": { - "types": "./elements.d.ts" - } - }, - "engines": { - "node": ">=16" - }, - "types": "types/runtime/index.d.ts", "scripts": { - "format:fix": "prettier . --cache --plugin-search-dir=. --write", - "format:check": "prettier . --cache --plugin-search-dir=. --check", - "test": "vitest run && echo \"manually check that there are no type errors in test/types by opening the files in there\"", - "build": "rollup -c && npm run tsd", - "prepare": "npm run build", - "dev": "rollup -cw", - "posttest": "agadoo src/internal/index.js", - "prepublishOnly": "npm run lint && npm run build && npm test", - "tsd": "node ./generate-types.js", - "lint": "eslint \"{src,test}/**/*.{ts,js}\" --cache" + "test": "pnpm test -r --filter=./packages/*", + "build": "pnpm -r build", + "check": "pnpm -r check", + "lint": "pnpm -r lint", + "format": "pnpm -r format" }, "repository": { "type": "git", - "url": "https://github.com/sveltejs/svelte.git" + "url": "git+https://github.com/sveltejs/svelte.git" }, - "keywords": [ - "UI", - "framework", - "templates", - "templating" - ], - "author": "Rich Harris", "license": "MIT", - "bugs": { - "url": "https://github.com/sveltejs/svelte/issues" - }, - "homepage": "https://svelte.dev", - "dependencies": { - "@ampproject/remapping": "^2.2.1", - "@jridgewell/sourcemap-codec": "^1.4.15", - "acorn": "^8.8.2", - "aria-query": "^5.1.3", - "axobject-query": "^3.1.1", - "code-red": "^1.0.0", - "css-tree": "^2.3.1", - "estree-walker": "^3.0.3", - "is-reference": "^3.0.1", - "locate-character": "^2.0.5", - "magic-string": "^0.30.0", - "periscopic": "^3.1.0" - }, "devDependencies": { - "@playwright/test": "^1.33.0", - "@rollup/plugin-commonjs": "^24.1.0", - "@rollup/plugin-json": "^6.0.0", - "@rollup/plugin-node-resolve": "^15.0.2", - "@rollup/plugin-replace": "^5.0.2", - "@sveltejs/eslint-config": "^6.0.1", - "@types/aria-query": "^5.0.1", - "@types/estree": "^1.0.0", - "@types/node": "^14.14.31", - "@typescript-eslint/eslint-plugin": "^5.58.0", - "agadoo": "^3.0.0", - "esbuild": "^0.17.19", + "@changesets/cli": "^2.26.0", + "@svitejs/changesets-changelog-github-compact": "^1.1.0", "eslint": "^8.40.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-svelte": "^2.28.0", "eslint-plugin-unicorn": "^47.0.0", - "happy-dom": "^9.18.3", - "jsdom": "^21.1.1", - "kleur": "^4.1.5", + "playwright": "^1.34.3", "prettier": "^2.8.8", - "prettier-plugin-svelte": "^2.10.0", - "rollup": "^3.20.2", - "source-map": "^0.7.4", - "tiny-glob": "^0.2.9", - "typescript": "^5.0.4", - "util": "^0.12.5", - "vitest": "^0.31.1" + "prettier-plugin-svelte": "^2.10.0" }, "packageManager": "pnpm@8.4.0" } diff --git a/.eslintignore b/packages/svelte/.eslintignore similarity index 100% rename from .eslintignore rename to packages/svelte/.eslintignore diff --git a/.eslintrc.cjs b/packages/svelte/.eslintrc.cjs similarity index 100% rename from .eslintrc.cjs rename to packages/svelte/.eslintrc.cjs diff --git a/packages/svelte/.gitignore b/packages/svelte/.gitignore new file mode 100644 index 0000000000..f09b147927 --- /dev/null +++ b/packages/svelte/.gitignore @@ -0,0 +1,19 @@ +*.map +/src/compiler/compile/internal_exports.js +/src/shared/version.js +/compiler.d.ts +/compiler.cjs +/index.d.ts +/action.d.ts +/internal.d.ts +/store.d.ts +/easing.d.ts +/motion.d.ts +/transition.d.ts +/animate.d.ts +/scratch/ +/test/*/samples/_ +/test/runtime/shards +_actual*.* +_output +/types diff --git a/.prettierignore b/packages/svelte/.prettierignore similarity index 100% rename from .prettierignore rename to packages/svelte/.prettierignore diff --git a/CHANGELOG.md b/packages/svelte/CHANGELOG.md similarity index 99% rename from CHANGELOG.md rename to packages/svelte/CHANGELOG.md index 299e4d7dce..3bb5d016ed 100644 --- a/CHANGELOG.md +++ b/packages/svelte/CHANGELOG.md @@ -13,9 +13,13 @@ * **breaking** Stricter types for `onMount` - now throws a type error when returning a function asynchronously to catch potential mistakes around callback functions (see PR for migration instructions) ([#8136](https://github.com/sveltejs/svelte/pull/8136)) * **breaking** Overhaul and drastically improve creating custom elements with Svelte (see PR for list of changes and migration instructions) ([#8457](https://github.com/sveltejs/svelte/pull/8457)) * **breaking** Deprecate `SvelteComponentTyped`, use `SvelteComponent` instead ([#8512](https://github.com/sveltejs/svelte/pull/8512)) +* **breaking** Make transitions local by default to prevent confusion around page navigations ([#6686](https://github.com/sveltejs/svelte/issues/6686)) * **breaking** Error on falsy values instead of stores passed to `derived` ([#7947](https://github.com/sveltejs/svelte/pull/7947)) * **breaking** Custom store implementers now need to pass an `update` function additionally to the `set` function ([#6750](https://github.com/sveltejs/svelte/pull/6750)) +* **breaking** Do not expose default slot bindings to named slots and vice versa ([#6049](https://github.com/sveltejs/svelte/pull/6049)) * **breaking** Change order in which preprocessors are applied ([#8618](https://github.com/sveltejs/svelte/pull/8618)) +* **breaking** The runtime now makes use of `classList.toggle(name, boolean)` which does not work in very old browsers ([#8629](https://github.com/sveltejs/svelte/pull/8629)) +* **breaking** apply `inert` to outroing elements ([#8627](https://github.com/sveltejs/svelte/pull/8627)) * Add a way to modify attributes for script/style preprocessors ([#8618](https://github.com/sveltejs/svelte/pull/8618)) * Improve hydration speed by adding `data-svelte-h` attribute to detect unchanged HTML elements ([#7426](https://github.com/sveltejs/svelte/pull/7426)) * Add `a11y no-noninteractive-element-interactions` rule ([#8391](https://github.com/sveltejs/svelte/pull/8391)) @@ -27,6 +31,9 @@ * Treat slots as if they don't exist when using CSS adjacent and general sibling combinators ([#8284](https://github.com/sveltejs/svelte/issues/8284)) * Fix transitions so that they don't require a `style-src 'unsafe-inline'` Content Security Policy (CSP) ([#6662](https://github.com/sveltejs/svelte/issues/6662)). * Explicitly disallow `var` declarations extending the reactive statement scope ([#6800](https://github.com/sveltejs/svelte/pull/6800)) +* Allow `#each` to iterate over iterables like `Set`, `Map` etc ([#7425](https://github.com/sveltejs/svelte/issues/7425)) +* Warn about `:` in attributes and props to prevent ambiguity with Svelte directives ([#6823](https://github.com/sveltejs/svelte/issues/6823)) +* Improve error message when trying to use `animate:` directives on inline components ([#8641](https://github.com/sveltejs/svelte/issues/8641)) ## 3.59.1 diff --git a/packages/svelte/README.md b/packages/svelte/README.md new file mode 100644 index 0000000000..5c75e284cd --- /dev/null +++ b/packages/svelte/README.md @@ -0,0 +1,38 @@ +[![Cybernetically enhanced web apps: Svelte](https://sveltejs.github.io/assets/banner.png)](https://svelte.dev) + + +[![npm version](https://img.shields.io/npm/v/svelte.svg)](https://www.npmjs.com/package/svelte) [![license](https://img.shields.io/npm/l/svelte.svg)](LICENSE.md) [![Chat](https://img.shields.io/discord/457912077277855764?label=chat&logo=discord)](https://svelte.dev/chat) + + +## What is Svelte? + +Svelte is a new way to build web applications. It's a compiler that takes your declarative components and converts them into efficient JavaScript that surgically updates the DOM. + +Learn more at the [Svelte website](https://svelte.dev), or stop by the [Discord chatroom](https://svelte.dev/chat). + +## Getting started + +You can play around with Svelte in the [tutorial](https://learn.svelte.dev/), [examples](https://svelte.dev/examples), and [REPL](https://svelte.dev/repl). + +When you're ready to build a full-fledge application, we recommend using [SvelteKit](https://kit.svelte.dev): + +```bash +npm create svelte@latest my-app +cd my-app +npm install +npm run dev +``` + +See [the SvelteKit documentation](https://kit.svelte.dev/docs) to learn more. + +## Changelog + +[The Changelog for this package is available on GitHub](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md). + +## Supporting Svelte + +Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider: + +- [Becoming a backer on Open Collective](https://opencollective.com/svelte). + +Funds donated via Open Collective will be used for compensating expenses related to Svelte's development. diff --git a/elements.d.ts b/packages/svelte/elements.d.ts similarity index 100% rename from elements.d.ts rename to packages/svelte/elements.d.ts diff --git a/generate-types.js b/packages/svelte/generate-types.js similarity index 100% rename from generate-types.js rename to packages/svelte/generate-types.js diff --git a/packages/svelte/package.json b/packages/svelte/package.json new file mode 100644 index 0000000000..323d672fa8 --- /dev/null +++ b/packages/svelte/package.json @@ -0,0 +1,139 @@ +{ + "name": "svelte", + "version": "4.0.0-next.0", + "description": "Cybernetically enhanced web apps", + "type": "module", + "module": "src/runtime/index.js", + "main": "src/runtime/index.js", + "files": [ + "src", + "types", + "compiler.*", + "register.js", + "index.d.ts", + "internal.d.ts", + "store.d.ts", + "animate.d.ts", + "transition.d.ts", + "easing.d.ts", + "motion.d.ts", + "action.d.ts", + "elements.d.ts", + "README.md" + ], + "exports": { + "./package.json": "./package.json", + ".": { + "types": "./types/runtime/index.d.ts", + "browser": { + "import": "./src/runtime/index.js" + }, + "import": "./src/runtime/ssr.js" + }, + "./compiler": { + "types": "./types/compiler/index.d.ts", + "import": "./src/compiler/index.js", + "require": "./compiler.cjs" + }, + "./action": { + "types": "./types/runtime/action/index.d.ts" + }, + "./animate": { + "types": "./types/runtime/animate/index.d.ts", + "import": "./src/runtime/animate/index.js" + }, + "./easing": { + "types": "./types/runtime/easing/index.d.ts", + "import": "./src/runtime/easing/index.js" + }, + "./internal": { + "types": "./types/runtime/internal/index.d.ts", + "import": "./src/runtime/internal/index.js" + }, + "./motion": { + "types": "./types/runtime/motion/index.d.ts", + "import": "./src/runtime/motion/index.js" + }, + "./store": { + "types": "./types/runtime/store/index.d.ts", + "import": "./src/runtime/store/index.js" + }, + "./transition": { + "types": "./types/runtime/transition/index.d.ts", + "import": "./src/runtime/transition/index.js" + }, + "./elements": { + "types": "./elements.d.ts" + } + }, + "engines": { + "node": ">=16" + }, + "types": "types/runtime/index.d.ts", + "scripts": { + "format": "prettier . --cache --plugin-search-dir=. --write", + "check": "prettier . --cache --plugin-search-dir=. --check", + "test": "vitest run && echo \"manually check that there are no type errors in test/types by opening the files in there\"", + "build": "rollup -c && npm run tsd", + "prepare": "npm run build", + "dev": "rollup -cw", + "posttest": "agadoo src/internal/index.js", + "prepublishOnly": "npm run lint && npm run build && npm test", + "tsd": "node ./generate-types.js", + "lint": "eslint \"{src,test}/**/*.{ts,js}\" --cache" + }, + "repository": { + "type": "git", + "url": "https://github.com/sveltejs/svelte.git", + "directory":"packages/svelte" + }, + "keywords": [ + "UI", + "framework", + "templates", + "templating" + ], + "author": "Rich Harris", + "license": "MIT", + "bugs": { + "url": "https://github.com/sveltejs/svelte/issues" + }, + "homepage": "https://svelte.dev", + "dependencies": { + "@ampproject/remapping": "^2.2.1", + "@jridgewell/sourcemap-codec": "^1.4.15", + "acorn": "^8.8.2", + "aria-query": "^5.1.3", + "axobject-query": "^3.1.1", + "code-red": "^1.0.0", + "css-tree": "^2.3.1", + "estree-walker": "^3.0.3", + "is-reference": "^3.0.1", + "locate-character": "^2.0.5", + "magic-string": "^0.30.0", + "periscopic": "^3.1.0" + }, + "devDependencies": { + "@playwright/test": "^1.34.3", + "@rollup/plugin-commonjs": "^24.1.0", + "@rollup/plugin-json": "^6.0.0", + "@rollup/plugin-node-resolve": "^15.0.2", + "@rollup/plugin-replace": "^5.0.2", + "@sveltejs/eslint-config": "^6.0.1", + "@types/aria-query": "^5.0.1", + "@types/estree": "^1.0.1", + "@types/node": "^14.14.31", + "@typescript-eslint/eslint-plugin": "^5.58.0", + "agadoo": "^3.0.0", + "esbuild": "^0.17.19", + "happy-dom": "^9.18.3", + "jsdom": "^21.1.1", + "kleur": "^4.1.5", + "rollup": "^3.20.2", + "source-map": "^0.7.4", + "tiny-glob": "^0.2.9", + "typescript": "^5.0.4", + "util": "^0.12.5", + "vitest": "^0.31.1" + } +} diff --git a/rollup.config.js b/packages/svelte/rollup.config.js similarity index 97% rename from rollup.config.js rename to packages/svelte/rollup.config.js index 05bd887298..ec1eddca82 100644 --- a/rollup.config.js +++ b/packages/svelte/rollup.config.js @@ -67,7 +67,7 @@ export default [ }, resolve(), commonjs({ - include: ['node_modules/**'] + include: ['../../node_modules/**', 'node_modules/**'] }), json() ], diff --git a/packages/svelte/scripts/compile-test.js b/packages/svelte/scripts/compile-test.js new file mode 100644 index 0000000000..9a83708b38 --- /dev/null +++ b/packages/svelte/scripts/compile-test.js @@ -0,0 +1,40 @@ +// Compile all Svelte files in a directory to JS and CSS files +// Usage: node scripts/compile-test.js + +import { mkdirSync, readFileSync, writeFileSync } from 'fs'; +import path from 'path'; +import glob from 'tiny-glob/sync.js'; +import { compile } from '../src/compiler/index.js'; + +const cwd = path.resolve(process.argv[2]); + +const options = [ + ['normal', {}], + ['hydrate', { hydratable: true }], + ['ssr', { generate: 'ssr' }] +]; +for (const file of glob('**/*.svelte', { cwd })) { + const contents = readFileSync(`${cwd}/${file}`, 'utf-8').replace(/\r/g, ''); + let w; + for (const [name, opts] of options) { + const dir = `${cwd}/_output/${name}`; + + const { js, css, warnings } = compile(contents, { + ...opts, + filename: file + }); + + if (warnings.length) { + w = warnings; + } + + mkdirSync(dir, { recursive: true }); + js.code && writeFileSync(`${dir}/${file.replace(/\.svelte$/, '.js')}`, js.code); + css.code && writeFileSync(`${dir}/${file.replace(/\.svelte$/, '.css')}`, css.code); + } + + if (w) { + console.log(`Warnings for ${file}:`); + console.log(w); + } +} diff --git a/scripts/globals-extractor.js b/packages/svelte/scripts/globals-extractor.js similarity index 100% rename from scripts/globals-extractor.js rename to packages/svelte/scripts/globals-extractor.js diff --git a/src/compiler/Stats.js b/packages/svelte/src/compiler/Stats.js similarity index 100% rename from src/compiler/Stats.js rename to packages/svelte/src/compiler/Stats.js diff --git a/src/compiler/compile/Component.js b/packages/svelte/src/compiler/compile/Component.js similarity index 98% rename from src/compiler/compile/Component.js rename to packages/svelte/src/compiler/compile/Component.js index 7d3615bb82..894cb9b787 100644 --- a/src/compiler/compile/Component.js +++ b/packages/svelte/src/compiler/compile/Component.js @@ -1643,8 +1643,9 @@ export default class Component { * @param {string} name * @param {any} node * @param {import('./nodes/shared/TemplateScope.js').default} template_scope + * @param {import("./nodes/shared/Node.js").default} [owner] */ - warn_if_undefined(name, node, template_scope) { + warn_if_undefined(name, node, template_scope, owner) { if (name[0] === '$') { if (name === '$' || (name[1] === '$' && !is_reserved_keyword(name))) { return this.error(node, compiler_errors.illegal_global(name)); @@ -1656,6 +1657,34 @@ export default class Component { if (this.var_lookup.has(name) && !this.var_lookup.get(name).global) return; if (template_scope && template_scope.names.has(name)) return; if (globals.has(name) && node.type !== 'InlineComponent') return; + + function has_out_of_scope_let() { + for (let parent = owner.parent; parent; parent = parent.parent) { + if (parent.type === 'InlineComponent') { + const { let_attributes } = parent; + + for (const attr of let_attributes) { + if ( + // @ts-expect-error + // TODO extract_names only considers patterns but let attributes return expressions + (attr.expression && extract_names(attr.expression).includes(name)) || + attr.name === name + ) + return true; + } + } + } + + return false; + } + + if (owner && has_out_of_scope_let()) { + return this.warn(node, { + code: 'missing-declaration', + message: `let:${name} declared on parent component cannot be used inside named slot` + }); + } + this.warn(node, compiler_warnings.missing_declaration(name, !!this.ast.instance)); } diff --git a/src/compiler/compile/compiler_errors.js b/packages/svelte/src/compiler/compile/compiler_errors.js similarity index 98% rename from src/compiler/compile/compiler_errors.js rename to packages/svelte/src/compiler/compile/compiler_errors.js index 02b0f7120a..b3b2f1c4bd 100644 --- a/src/compiler/compile/compiler_errors.js +++ b/packages/svelte/src/compiler/compile/compiler_errors.js @@ -138,6 +138,10 @@ export default { code: 'invalid-action', message: 'Actions can only be applied to DOM elements, not components' }, + invalid_animation: { + code: 'invalid-animation', + message: 'Animations can only be applied to DOM elements, not components' + }, invalid_class: { code: 'invalid-class', message: 'Classes can only be applied to DOM elements, not components' diff --git a/src/compiler/compile/compiler_warnings.js b/packages/svelte/src/compiler/compile/compiler_warnings.js similarity index 98% rename from src/compiler/compile/compiler_warnings.js rename to packages/svelte/src/compiler/compile/compiler_warnings.js index c20d2e5677..96b68a4228 100644 --- a/src/compiler/compile/compiler_warnings.js +++ b/packages/svelte/src/compiler/compile/compiler_warnings.js @@ -301,5 +301,10 @@ export default { code: 'avoid-mouse-events-on-document', message: 'Mouse enter/leave events on the document are not supported in all browsers and should be avoided' + }, + illegal_attribute_character: { + code: 'illegal-attribute-character', + message: + "Attributes should not contain ':' characters to prevent ambiguity with Svelte directives" } }; diff --git a/src/compiler/compile/create_module.js b/packages/svelte/src/compiler/compile/create_module.js similarity index 100% rename from src/compiler/compile/create_module.js rename to packages/svelte/src/compiler/compile/create_module.js diff --git a/src/compiler/compile/css/Selector.js b/packages/svelte/src/compiler/compile/css/Selector.js similarity index 100% rename from src/compiler/compile/css/Selector.js rename to packages/svelte/src/compiler/compile/css/Selector.js diff --git a/src/compiler/compile/css/Stylesheet.js b/packages/svelte/src/compiler/compile/css/Stylesheet.js similarity index 100% rename from src/compiler/compile/css/Stylesheet.js rename to packages/svelte/src/compiler/compile/css/Stylesheet.js diff --git a/src/compiler/compile/css/gather_possible_values.js b/packages/svelte/src/compiler/compile/css/gather_possible_values.js similarity index 100% rename from src/compiler/compile/css/gather_possible_values.js rename to packages/svelte/src/compiler/compile/css/gather_possible_values.js diff --git a/src/compiler/compile/css/private.d.ts b/packages/svelte/src/compiler/compile/css/private.d.ts similarity index 100% rename from src/compiler/compile/css/private.d.ts rename to packages/svelte/src/compiler/compile/css/private.d.ts diff --git a/src/compiler/compile/index.js b/packages/svelte/src/compiler/compile/index.js similarity index 88% rename from src/compiler/compile/index.js rename to packages/svelte/src/compiler/compile/index.js index 51b01b6b71..39f14b702a 100644 --- a/src/compiler/compile/index.js +++ b/packages/svelte/src/compiler/compile/index.js @@ -8,7 +8,6 @@ import get_name_from_filename from './utils/get_name_from_filename.js'; import { valid_namespaces } from '../utils/namespaces.js'; const valid_options = [ - 'format', 'name', 'filename', 'sourcemap', @@ -37,11 +36,24 @@ const valid_css_values = [true, false, 'injected', 'external', 'none']; const regex_valid_identifier = /^[a-zA-Z_$][a-zA-Z_$0-9]*$/; const regex_starts_with_lowercase_character = /^[a-z]/; +let warned_of_format = false; + /** * @param {import('../interfaces.js').CompileOptions} options * @param {import('../interfaces.js').Warning[]} warnings */ function validate_options(options, warnings) { + if (/** @type {any} */ (options).format) { + if (!warned_of_format) { + warned_of_format = true; + console.warn( + 'The format option has been removed in Svelte 4, the compiler only outputs ESM now. Remove "format" from your compiler options. ' + + 'If you did not set this yourself, bump the version of your bundler plugin (vite-plugin-svelte/rollup-plugin-svelte/svelte-loader)' + ); + } + delete (/** @type {any} */ (options).format); + } + const { name, filename, loopGuardTimeout, dev, namespace, css } = options; Object.keys(options).forEach( /** @param {any} key */ (key) => { diff --git a/src/compiler/compile/internal_exports.ts b/packages/svelte/src/compiler/compile/internal_exports.ts similarity index 100% rename from src/compiler/compile/internal_exports.ts rename to packages/svelte/src/compiler/compile/internal_exports.ts diff --git a/src/compiler/compile/nodes/Action.js b/packages/svelte/src/compiler/compile/nodes/Action.js similarity index 100% rename from src/compiler/compile/nodes/Action.js rename to packages/svelte/src/compiler/compile/nodes/Action.js diff --git a/src/compiler/compile/nodes/Animation.js b/packages/svelte/src/compiler/compile/nodes/Animation.js similarity index 100% rename from src/compiler/compile/nodes/Animation.js rename to packages/svelte/src/compiler/compile/nodes/Animation.js diff --git a/src/compiler/compile/nodes/Attribute.js b/packages/svelte/src/compiler/compile/nodes/Attribute.js similarity index 90% rename from src/compiler/compile/nodes/Attribute.js rename to packages/svelte/src/compiler/compile/nodes/Attribute.js index 19efa25dbb..1cfb96dc25 100644 --- a/src/compiler/compile/nodes/Attribute.js +++ b/packages/svelte/src/compiler/compile/nodes/Attribute.js @@ -3,6 +3,7 @@ import add_to_set from '../utils/add_to_set.js'; import Node from './shared/Node.js'; import Expression from './shared/Expression.js'; import { x } from 'code-red'; +import compiler_warnings from '../compiler_warnings.js'; /** @extends Node<'Attribute' | 'Spread', import('./Element.js').default> */ export default class Attribute extends Node { @@ -39,6 +40,7 @@ export default class Attribute extends Node { constructor(component, parent, scope, info) { super(component, parent, scope, info); this.scope = scope; + if (info.type === 'Spread') { this.name = null; this.is_spread = true; @@ -64,10 +66,22 @@ export default class Attribute extends Node { } ); } + if (this.dependencies.size > 0) { parent.cannot_use_innerhtml(); parent.not_static_content(); } + + // TODO Svelte 5: Think about moving this into the parser and make it an error + if ( + this.name && + this.name.includes(':') && + !this.name.startsWith('xmlns:') && + !this.name.startsWith('xlink:') && + !this.name.startsWith('xml:') + ) { + component.warn(this, compiler_warnings.illegal_attribute_character); + } } get_dependencies() { if (this.is_spread) return this.expression.dynamic_dependencies(); diff --git a/src/compiler/compile/nodes/AwaitBlock.js b/packages/svelte/src/compiler/compile/nodes/AwaitBlock.js similarity index 100% rename from src/compiler/compile/nodes/AwaitBlock.js rename to packages/svelte/src/compiler/compile/nodes/AwaitBlock.js diff --git a/src/compiler/compile/nodes/Binding.js b/packages/svelte/src/compiler/compile/nodes/Binding.js similarity index 100% rename from src/compiler/compile/nodes/Binding.js rename to packages/svelte/src/compiler/compile/nodes/Binding.js diff --git a/src/compiler/compile/nodes/Body.js b/packages/svelte/src/compiler/compile/nodes/Body.js similarity index 100% rename from src/compiler/compile/nodes/Body.js rename to packages/svelte/src/compiler/compile/nodes/Body.js diff --git a/src/compiler/compile/nodes/CatchBlock.js b/packages/svelte/src/compiler/compile/nodes/CatchBlock.js similarity index 100% rename from src/compiler/compile/nodes/CatchBlock.js rename to packages/svelte/src/compiler/compile/nodes/CatchBlock.js diff --git a/src/compiler/compile/nodes/Class.js b/packages/svelte/src/compiler/compile/nodes/Class.js similarity index 100% rename from src/compiler/compile/nodes/Class.js rename to packages/svelte/src/compiler/compile/nodes/Class.js diff --git a/src/compiler/compile/nodes/Comment.js b/packages/svelte/src/compiler/compile/nodes/Comment.js similarity index 100% rename from src/compiler/compile/nodes/Comment.js rename to packages/svelte/src/compiler/compile/nodes/Comment.js diff --git a/src/compiler/compile/nodes/ConstTag.js b/packages/svelte/src/compiler/compile/nodes/ConstTag.js similarity index 100% rename from src/compiler/compile/nodes/ConstTag.js rename to packages/svelte/src/compiler/compile/nodes/ConstTag.js diff --git a/src/compiler/compile/nodes/DebugTag.js b/packages/svelte/src/compiler/compile/nodes/DebugTag.js similarity index 100% rename from src/compiler/compile/nodes/DebugTag.js rename to packages/svelte/src/compiler/compile/nodes/DebugTag.js diff --git a/src/compiler/compile/nodes/Document.js b/packages/svelte/src/compiler/compile/nodes/Document.js similarity index 100% rename from src/compiler/compile/nodes/Document.js rename to packages/svelte/src/compiler/compile/nodes/Document.js diff --git a/src/compiler/compile/nodes/EachBlock.js b/packages/svelte/src/compiler/compile/nodes/EachBlock.js similarity index 100% rename from src/compiler/compile/nodes/EachBlock.js rename to packages/svelte/src/compiler/compile/nodes/EachBlock.js diff --git a/src/compiler/compile/nodes/Element.js b/packages/svelte/src/compiler/compile/nodes/Element.js similarity index 100% rename from src/compiler/compile/nodes/Element.js rename to packages/svelte/src/compiler/compile/nodes/Element.js diff --git a/src/compiler/compile/nodes/ElseBlock.js b/packages/svelte/src/compiler/compile/nodes/ElseBlock.js similarity index 100% rename from src/compiler/compile/nodes/ElseBlock.js rename to packages/svelte/src/compiler/compile/nodes/ElseBlock.js diff --git a/src/compiler/compile/nodes/EventHandler.js b/packages/svelte/src/compiler/compile/nodes/EventHandler.js similarity index 100% rename from src/compiler/compile/nodes/EventHandler.js rename to packages/svelte/src/compiler/compile/nodes/EventHandler.js diff --git a/src/compiler/compile/nodes/Fragment.js b/packages/svelte/src/compiler/compile/nodes/Fragment.js similarity index 100% rename from src/compiler/compile/nodes/Fragment.js rename to packages/svelte/src/compiler/compile/nodes/Fragment.js diff --git a/src/compiler/compile/nodes/Head.js b/packages/svelte/src/compiler/compile/nodes/Head.js similarity index 100% rename from src/compiler/compile/nodes/Head.js rename to packages/svelte/src/compiler/compile/nodes/Head.js diff --git a/src/compiler/compile/nodes/IfBlock.js b/packages/svelte/src/compiler/compile/nodes/IfBlock.js similarity index 100% rename from src/compiler/compile/nodes/IfBlock.js rename to packages/svelte/src/compiler/compile/nodes/IfBlock.js diff --git a/src/compiler/compile/nodes/InlineComponent.js b/packages/svelte/src/compiler/compile/nodes/InlineComponent.js similarity index 87% rename from src/compiler/compile/nodes/InlineComponent.js rename to packages/svelte/src/compiler/compile/nodes/InlineComponent.js index 558ab1e78e..54b0dfb989 100644 --- a/src/compiler/compile/nodes/InlineComponent.js +++ b/packages/svelte/src/compiler/compile/nodes/InlineComponent.js @@ -4,7 +4,6 @@ import map_children from './shared/map_children.js'; import Binding from './Binding.js'; import EventHandler from './EventHandler.js'; import Expression from './shared/Expression.js'; -import Let from './Let.js'; import compiler_errors from '../compiler_errors.js'; import { regex_only_whitespaces } from '../../utils/patterns.js'; @@ -22,9 +21,6 @@ export default class InlineComponent extends Node { /** @type {import('./EventHandler.js').default[]} */ handlers = []; - /** @type {import('./Let.js').default[]} */ - lets = []; - /** @type {import('./Attribute.js').default[]} */ css_custom_properties = []; @@ -37,6 +33,8 @@ export default class InlineComponent extends Node { /** @type {string} */ namespace; + /** @type {Attribute[]} */ + let_attributes; /** * @param {import('../Component.js').default} component * @param {import('./shared/Node.js').default} parent @@ -58,8 +56,12 @@ export default class InlineComponent extends Node { this.name === 'svelte:component' ? new Expression(component, this, scope, info.expression) : null; + + const let_attributes = (this.let_attributes = []); info.attributes.forEach( - /** @param {any} node */ (node) => { + /** @param {import('../../interfaces.js').BaseDirective | import('../../interfaces.js').Attribute | import('../../interfaces.js').SpreadAttribute} node */ ( + node + ) => { /* eslint-disable no-fallthrough */ switch (node.type) { case 'Action': @@ -82,33 +84,23 @@ export default class InlineComponent extends Node { this.handlers.push(new EventHandler(component, this, scope, node)); break; case 'Let': - this.lets.push(new Let(component, this, scope, node)); + let_attributes.push(node); break; case 'Transition': return component.error(node, compiler_errors.invalid_transition); case 'StyleDirective': return component.error(node, compiler_errors.invalid_component_style_directive); + case 'Animation': + return component.error(node, compiler_errors.invalid_animation); default: throw new Error(`Not implemented: ${node.type}`); } /* eslint-enable no-fallthrough */ } ); - if (this.lets.length > 0) { - this.scope = scope.child(); - this.lets.forEach( - /** @param {any} l */ (l) => { - const dependencies = new Set([l.name.name]); - l.names.forEach( - /** @param {any} name */ (name) => { - this.scope.add(name, dependencies, this); - } - ); - } - ); - } else { - this.scope = scope; - } + + this.scope = scope; + this.handlers.forEach( /** @param {any} handler */ (handler) => { handler.modifiers.forEach( @@ -174,6 +166,18 @@ export default class InlineComponent extends Node { children: info.children }); } + + if (let_attributes.length) { + // copy let: attribute from to + // as they are for `slot="default"` only + children.forEach((child) => { + const slot = child.attributes.find((attribute) => attribute.name === 'slot'); + if (!slot || slot.value[0].data === 'default') { + child.attributes.push(...let_attributes); + } + }); + } + this.children = map_children(component, this, this.scope, children); } get slot_template_name() { diff --git a/src/compiler/compile/nodes/KeyBlock.js b/packages/svelte/src/compiler/compile/nodes/KeyBlock.js similarity index 100% rename from src/compiler/compile/nodes/KeyBlock.js rename to packages/svelte/src/compiler/compile/nodes/KeyBlock.js diff --git a/src/compiler/compile/nodes/Let.js b/packages/svelte/src/compiler/compile/nodes/Let.js similarity index 100% rename from src/compiler/compile/nodes/Let.js rename to packages/svelte/src/compiler/compile/nodes/Let.js diff --git a/src/compiler/compile/nodes/MustacheTag.js b/packages/svelte/src/compiler/compile/nodes/MustacheTag.js similarity index 100% rename from src/compiler/compile/nodes/MustacheTag.js rename to packages/svelte/src/compiler/compile/nodes/MustacheTag.js diff --git a/src/compiler/compile/nodes/Options.js b/packages/svelte/src/compiler/compile/nodes/Options.js similarity index 100% rename from src/compiler/compile/nodes/Options.js rename to packages/svelte/src/compiler/compile/nodes/Options.js diff --git a/src/compiler/compile/nodes/PendingBlock.js b/packages/svelte/src/compiler/compile/nodes/PendingBlock.js similarity index 100% rename from src/compiler/compile/nodes/PendingBlock.js rename to packages/svelte/src/compiler/compile/nodes/PendingBlock.js diff --git a/src/compiler/compile/nodes/RawMustacheTag.js b/packages/svelte/src/compiler/compile/nodes/RawMustacheTag.js similarity index 100% rename from src/compiler/compile/nodes/RawMustacheTag.js rename to packages/svelte/src/compiler/compile/nodes/RawMustacheTag.js diff --git a/src/compiler/compile/nodes/Slot.js b/packages/svelte/src/compiler/compile/nodes/Slot.js similarity index 63% rename from src/compiler/compile/nodes/Slot.js rename to packages/svelte/src/compiler/compile/nodes/Slot.js index fc601943ab..bdfb44a8f9 100644 --- a/src/compiler/compile/nodes/Slot.js +++ b/packages/svelte/src/compiler/compile/nodes/Slot.js @@ -40,39 +40,7 @@ export default class Slot extends Element { } ); if (!this.slot_name) this.slot_name = 'default'; - if (this.slot_name === 'default') { - // if this is the default slot, add our dependencies to any - // other slots (which inherit our slot values) that were - // previously encountered - component.slots.forEach( - /** @param {any} slot */ (slot) => { - this.values.forEach( - /** - * @param {any} attribute - * @param {any} name - */ (attribute, name) => { - if (!slot.values.has(name)) { - slot.values.set(name, attribute); - } - } - ); - } - ); - } else if (component.slots.has('default')) { - // otherwise, go the other way — inherit values from - // a previously encountered default slot - const default_slot = component.slots.get('default'); - default_slot.values.forEach( - /** - * @param {any} attribute - * @param {any} name - */ (attribute, name) => { - if (!this.values.has(name)) { - this.values.set(name, attribute); - } - } - ); - } + component.slots.set(this.slot_name, this); this.cannot_use_innerhtml(); this.not_static_content(); diff --git a/src/compiler/compile/nodes/SlotTemplate.js b/packages/svelte/src/compiler/compile/nodes/SlotTemplate.js similarity index 100% rename from src/compiler/compile/nodes/SlotTemplate.js rename to packages/svelte/src/compiler/compile/nodes/SlotTemplate.js diff --git a/src/compiler/compile/nodes/StyleDirective.js b/packages/svelte/src/compiler/compile/nodes/StyleDirective.js similarity index 100% rename from src/compiler/compile/nodes/StyleDirective.js rename to packages/svelte/src/compiler/compile/nodes/StyleDirective.js diff --git a/src/compiler/compile/nodes/Text.js b/packages/svelte/src/compiler/compile/nodes/Text.js similarity index 100% rename from src/compiler/compile/nodes/Text.js rename to packages/svelte/src/compiler/compile/nodes/Text.js diff --git a/src/compiler/compile/nodes/ThenBlock.js b/packages/svelte/src/compiler/compile/nodes/ThenBlock.js similarity index 100% rename from src/compiler/compile/nodes/ThenBlock.js rename to packages/svelte/src/compiler/compile/nodes/ThenBlock.js diff --git a/src/compiler/compile/nodes/Title.js b/packages/svelte/src/compiler/compile/nodes/Title.js similarity index 100% rename from src/compiler/compile/nodes/Title.js rename to packages/svelte/src/compiler/compile/nodes/Title.js diff --git a/src/compiler/compile/nodes/Transition.js b/packages/svelte/src/compiler/compile/nodes/Transition.js similarity index 96% rename from src/compiler/compile/nodes/Transition.js rename to packages/svelte/src/compiler/compile/nodes/Transition.js index 8b8e68682a..1da4d6a7d5 100644 --- a/src/compiler/compile/nodes/Transition.js +++ b/packages/svelte/src/compiler/compile/nodes/Transition.js @@ -28,7 +28,7 @@ export default class Transition extends Node { this.name = info.name; component.add_reference(/** @type {any} */ (this), info.name.split('.')[0]); this.directive = info.intro && info.outro ? 'transition' : info.intro ? 'in' : 'out'; - this.is_local = info.modifiers.includes('local'); + this.is_local = !info.modifiers.includes('global'); if ((info.intro && parent.intro) || (info.outro && parent.outro)) { const parent_transition = parent.intro || parent.outro; component.error( diff --git a/src/compiler/compile/nodes/Window.js b/packages/svelte/src/compiler/compile/nodes/Window.js similarity index 100% rename from src/compiler/compile/nodes/Window.js rename to packages/svelte/src/compiler/compile/nodes/Window.js diff --git a/src/compiler/compile/nodes/interfaces.d.ts b/packages/svelte/src/compiler/compile/nodes/interfaces.d.ts similarity index 100% rename from src/compiler/compile/nodes/interfaces.d.ts rename to packages/svelte/src/compiler/compile/nodes/interfaces.d.ts diff --git a/src/compiler/compile/nodes/shared/AbstractBlock.js b/packages/svelte/src/compiler/compile/nodes/shared/AbstractBlock.js similarity index 100% rename from src/compiler/compile/nodes/shared/AbstractBlock.js rename to packages/svelte/src/compiler/compile/nodes/shared/AbstractBlock.js diff --git a/src/compiler/compile/nodes/shared/Context.js b/packages/svelte/src/compiler/compile/nodes/shared/Context.js similarity index 100% rename from src/compiler/compile/nodes/shared/Context.js rename to packages/svelte/src/compiler/compile/nodes/shared/Context.js diff --git a/src/compiler/compile/nodes/shared/Expression.js b/packages/svelte/src/compiler/compile/nodes/shared/Expression.js similarity index 99% rename from src/compiler/compile/nodes/shared/Expression.js rename to packages/svelte/src/compiler/compile/nodes/shared/Expression.js index d617b0b1a7..c4877f7c84 100644 --- a/src/compiler/compile/nodes/shared/Expression.js +++ b/packages/svelte/src/compiler/compile/nodes/shared/Expression.js @@ -77,6 +77,7 @@ export default class Expression { this.scope_map = map; const expression = this; let function_expression; + // discover dependencies, but don't change the code yet walk(info, { /** @@ -125,7 +126,7 @@ export default class Expression { dependencies.add(name); } component.add_reference(node, name); - component.warn_if_undefined(name, nodes[0], template_scope); + component.warn_if_undefined(name, nodes[0], template_scope, owner); } this.skip(); } @@ -376,8 +377,9 @@ export default class Expression { node = node.parent; } const func_expression = func_declaration[0]; - if (node.type === 'InlineComponent' || node.type === 'SlotTemplate') { - // + + if (node.type === 'SlotTemplate') { + // this.replace(func_expression); } else { // {#each}, {#await} @@ -458,6 +460,7 @@ export default class Expression { } } }); + if (declarations.length > 0) { block.maintain_context = true; declarations.forEach( diff --git a/src/compiler/compile/nodes/shared/Node.js b/packages/svelte/src/compiler/compile/nodes/shared/Node.js similarity index 100% rename from src/compiler/compile/nodes/shared/Node.js rename to packages/svelte/src/compiler/compile/nodes/shared/Node.js diff --git a/src/compiler/compile/nodes/shared/Tag.js b/packages/svelte/src/compiler/compile/nodes/shared/Tag.js similarity index 100% rename from src/compiler/compile/nodes/shared/Tag.js rename to packages/svelte/src/compiler/compile/nodes/shared/Tag.js diff --git a/src/compiler/compile/nodes/shared/TemplateScope.js b/packages/svelte/src/compiler/compile/nodes/shared/TemplateScope.js similarity index 100% rename from src/compiler/compile/nodes/shared/TemplateScope.js rename to packages/svelte/src/compiler/compile/nodes/shared/TemplateScope.js diff --git a/src/compiler/compile/nodes/shared/get_const_tags.js b/packages/svelte/src/compiler/compile/nodes/shared/get_const_tags.js similarity index 100% rename from src/compiler/compile/nodes/shared/get_const_tags.js rename to packages/svelte/src/compiler/compile/nodes/shared/get_const_tags.js diff --git a/src/compiler/compile/nodes/shared/is_contextual.js b/packages/svelte/src/compiler/compile/nodes/shared/is_contextual.js similarity index 100% rename from src/compiler/compile/nodes/shared/is_contextual.js rename to packages/svelte/src/compiler/compile/nodes/shared/is_contextual.js diff --git a/src/compiler/compile/nodes/shared/map_children.js b/packages/svelte/src/compiler/compile/nodes/shared/map_children.js similarity index 100% rename from src/compiler/compile/nodes/shared/map_children.js rename to packages/svelte/src/compiler/compile/nodes/shared/map_children.js diff --git a/src/compiler/compile/render_dom/Block.js b/packages/svelte/src/compiler/compile/render_dom/Block.js similarity index 100% rename from src/compiler/compile/render_dom/Block.js rename to packages/svelte/src/compiler/compile/render_dom/Block.js diff --git a/src/compiler/compile/render_dom/Renderer.js b/packages/svelte/src/compiler/compile/render_dom/Renderer.js similarity index 100% rename from src/compiler/compile/render_dom/Renderer.js rename to packages/svelte/src/compiler/compile/render_dom/Renderer.js diff --git a/src/compiler/compile/render_dom/index.js b/packages/svelte/src/compiler/compile/render_dom/index.js similarity index 100% rename from src/compiler/compile/render_dom/index.js rename to packages/svelte/src/compiler/compile/render_dom/index.js diff --git a/src/compiler/compile/render_dom/invalidate.js b/packages/svelte/src/compiler/compile/render_dom/invalidate.js similarity index 100% rename from src/compiler/compile/render_dom/invalidate.js rename to packages/svelte/src/compiler/compile/render_dom/invalidate.js diff --git a/src/compiler/compile/render_dom/wrappers/AwaitBlock.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/AwaitBlock.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/AwaitBlock.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/AwaitBlock.js diff --git a/src/compiler/compile/render_dom/wrappers/Body.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Body.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Body.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Body.js diff --git a/src/compiler/compile/render_dom/wrappers/Comment.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Comment.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Comment.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Comment.js diff --git a/src/compiler/compile/render_dom/wrappers/DebugTag.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/DebugTag.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/DebugTag.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/DebugTag.js diff --git a/src/compiler/compile/render_dom/wrappers/Document.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Document.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Document.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Document.js diff --git a/src/compiler/compile/render_dom/wrappers/EachBlock.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/EachBlock.js similarity index 98% rename from src/compiler/compile/render_dom/wrappers/EachBlock.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/EachBlock.js index 34fbbac16e..7e1d139362 100644 --- a/src/compiler/compile/render_dom/wrappers/EachBlock.js +++ b/packages/svelte/src/compiler/compile/render_dom/wrappers/EachBlock.js @@ -206,11 +206,8 @@ export default class EachBlockWrapper extends Wrapper { const needs_anchor = this.next ? !this.next.is_dom_node() : !parent_node || !this.parent.is_dom_node(); - const snippet = this.node.expression.manipulate(block); + const snippet = x`@ensure_array_like(${this.node.expression.manipulate(block)})`; block.chunks.init.push(b`let ${this.vars.each_block_value} = ${snippet};`); - if (this.renderer.options.dev) { - block.chunks.init.push(b`@validate_each_argument(${this.vars.each_block_value});`); - } /** @type {import('estree').Identifier} */ const initial_anchor_node = { @@ -480,7 +477,6 @@ export default class EachBlockWrapper extends Wrapper { this.block.maintain_context = true; this.updates.push(b` ${this.vars.each_block_value} = ${snippet}; - ${this.renderer.options.dev && b`@validate_each_argument(${this.vars.each_block_value});`} ${this.block.has_outros && b`@group_outros();`} ${ @@ -628,7 +624,6 @@ export default class EachBlockWrapper extends Wrapper { const update = b` ${!this.block.has_update_method && b`const #old_length = ${this.vars.each_block_value}.length;`} ${this.vars.each_block_value} = ${snippet}; - ${this.renderer.options.dev && b`@validate_each_argument(${this.vars.each_block_value});`} let #i; for (#i = ${start}; #i < ${data_length}; #i += 1) { diff --git a/src/compiler/compile/render_dom/wrappers/Element/Attribute.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/Attribute.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Element/Attribute.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/Attribute.js diff --git a/src/compiler/compile/render_dom/wrappers/Element/Binding.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/Binding.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Element/Binding.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/Binding.js diff --git a/src/compiler/compile/render_dom/wrappers/Element/EventHandler.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/EventHandler.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Element/EventHandler.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/EventHandler.js diff --git a/src/compiler/compile/render_dom/wrappers/Element/SpreadAttribute.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/SpreadAttribute.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Element/SpreadAttribute.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/SpreadAttribute.js diff --git a/src/compiler/compile/render_dom/wrappers/Element/StyleAttribute.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/StyleAttribute.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Element/StyleAttribute.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/StyleAttribute.js diff --git a/src/compiler/compile/render_dom/wrappers/Element/fix_attribute_casing.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/fix_attribute_casing.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Element/fix_attribute_casing.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/fix_attribute_casing.js diff --git a/src/compiler/compile/render_dom/wrappers/Element/handle_select_value_binding.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/handle_select_value_binding.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Element/handle_select_value_binding.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/handle_select_value_binding.js diff --git a/src/compiler/compile/render_dom/wrappers/Element/index.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/index.js similarity index 99% rename from src/compiler/compile/render_dom/wrappers/Element/index.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Element/index.js index 6af5ed0c74..687741d21a 100644 --- a/src/compiler/compile/render_dom/wrappers/Element/index.js +++ b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/index.js @@ -422,10 +422,10 @@ export default class ElementWrapper extends Wrapper { `); } if (this.child_dynamic_element_block.has_intros) { - block.chunks.intro.push(b`@transition_in(${this.var});`); + block.chunks.intro.push(b`@transition_in(${this.var}, #local);`); } if (this.child_dynamic_element_block.has_outros) { - block.chunks.outro.push(b`@transition_out(${this.var});`); + block.chunks.outro.push(b`@transition_out(${this.var}, #local);`); } block.chunks.destroy.push(b`if (${this.var}) ${this.var}.d(detaching)`); if (this.node.animation) { diff --git a/src/compiler/compile/render_dom/wrappers/Fragment.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Fragment.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Fragment.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Fragment.js diff --git a/src/compiler/compile/render_dom/wrappers/Head.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Head.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Head.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Head.js diff --git a/src/compiler/compile/render_dom/wrappers/IfBlock.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/IfBlock.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/IfBlock.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/IfBlock.js diff --git a/src/compiler/compile/render_dom/wrappers/InlineComponent/index.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/InlineComponent/index.js similarity index 98% rename from src/compiler/compile/render_dom/wrappers/InlineComponent/index.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/InlineComponent/index.js index 0aab7fc01b..3544a759dd 100644 --- a/src/compiler/compile/render_dom/wrappers/InlineComponent/index.js +++ b/packages/svelte/src/compiler/compile/render_dom/wrappers/InlineComponent/index.js @@ -1,19 +1,18 @@ -import Wrapper from '../shared/Wrapper.js'; -import BindingWrapper from '../Element/Binding.js'; -import SlotTemplateWrapper from '../SlotTemplate.js'; +import { b, p, x } from 'code-red'; +import { extract_ignores_above_node } from '../../../../utils/extract_svelte_ignore.js'; import { sanitize } from '../../../../utils/names.js'; +import { namespaces } from '../../../../utils/namespaces.js'; +import compiler_warnings from '../../../compiler_warnings.js'; import add_to_set from '../../../utils/add_to_set.js'; -import { b, x, p } from 'code-red'; -import is_dynamic from '../shared/is_dynamic.js'; -import bind_this from '../shared/bind_this.js'; -import EventHandler from '../Element/EventHandler.js'; -import { extract_names } from 'periscopic'; -import mark_each_block_bindings from '../shared/mark_each_block_bindings.js'; import { string_to_member_expression } from '../../../utils/string_to_member_expression.js'; +import BindingWrapper from '../Element/Binding.js'; +import EventHandler from '../Element/EventHandler.js'; +import SlotTemplateWrapper from '../SlotTemplate.js'; +import Wrapper from '../shared/Wrapper.js'; +import bind_this from '../shared/bind_this.js'; +import is_dynamic from '../shared/is_dynamic.js'; import { is_head } from '../shared/is_head.js'; -import compiler_warnings from '../../../compiler_warnings.js'; -import { namespaces } from '../../../../utils/namespaces.js'; -import { extract_ignores_above_node } from '../../../../utils/extract_svelte_ignore.js'; +import mark_each_block_bindings from '../shared/mark_each_block_bindings.js'; const regex_invalid_variable_identifier_characters = /[^a-zA-Z_$]/g; @@ -77,11 +76,6 @@ export default class InlineComponentWrapper extends Wrapper { ).toLowerCase() }; if (this.node.children.length) { - this.node.lets.forEach((l) => { - extract_names(l.value || l.name).forEach((name) => { - renderer.add_to_context(name, true); - }); - }); this.children = this.node.children.map( (child) => new SlotTemplateWrapper( diff --git a/src/compiler/compile/render_dom/wrappers/KeyBlock.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/KeyBlock.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/KeyBlock.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/KeyBlock.js diff --git a/src/compiler/compile/render_dom/wrappers/MustacheTag.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/MustacheTag.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/MustacheTag.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/MustacheTag.js diff --git a/src/compiler/compile/render_dom/wrappers/RawMustacheTag.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/RawMustacheTag.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/RawMustacheTag.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/RawMustacheTag.js diff --git a/src/compiler/compile/render_dom/wrappers/Slot.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Slot.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Slot.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Slot.js diff --git a/src/compiler/compile/render_dom/wrappers/SlotTemplate.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/SlotTemplate.js similarity index 94% rename from src/compiler/compile/render_dom/wrappers/SlotTemplate.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/SlotTemplate.js index 0d8b5f6b9c..855abfb8c8 100644 --- a/src/compiler/compile/render_dom/wrappers/SlotTemplate.js +++ b/packages/svelte/src/compiler/compile/render_dom/wrappers/SlotTemplate.js @@ -38,10 +38,7 @@ export default class SlotTemplateWrapper extends Wrapper { type: 'slot' }); this.renderer.blocks.push(this.block); - const seen = new Set(lets.map((l) => l.name.name)); - this.parent.node.lets.forEach((l) => { - if (!seen.has(l.name.name)) lets.push(l); - }); + /** @type {import('./InlineComponent/index.js').default} */ (this.parent).set_slot( slot_template_name, get_slot_definition(this.block, scope, lets) diff --git a/src/compiler/compile/render_dom/wrappers/Text.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Text.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Text.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Text.js diff --git a/src/compiler/compile/render_dom/wrappers/Title.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Title.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Title.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Title.js diff --git a/src/compiler/compile/render_dom/wrappers/Window.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Window.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/Window.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/Window.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/Tag.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/Tag.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/Tag.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/Tag.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/Wrapper.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/Wrapper.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/Wrapper.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/Wrapper.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/add_actions.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/add_actions.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/add_actions.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/add_actions.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/add_const_tags.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/add_const_tags.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/add_const_tags.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/add_const_tags.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/add_event_handlers.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/add_event_handlers.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/add_event_handlers.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/add_event_handlers.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/bind_this.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/bind_this.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/bind_this.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/bind_this.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/create_debugging_comment.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/create_debugging_comment.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/create_debugging_comment.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/create_debugging_comment.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/get_slot_definition.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/is_dynamic.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/is_dynamic.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/is_dynamic.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/is_dynamic.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/is_head.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/is_head.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/is_head.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/is_head.js diff --git a/src/compiler/compile/render_dom/wrappers/shared/mark_each_block_bindings.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/shared/mark_each_block_bindings.js similarity index 100% rename from src/compiler/compile/render_dom/wrappers/shared/mark_each_block_bindings.js rename to packages/svelte/src/compiler/compile/render_dom/wrappers/shared/mark_each_block_bindings.js diff --git a/src/compiler/compile/render_ssr/Renderer.js b/packages/svelte/src/compiler/compile/render_ssr/Renderer.js similarity index 100% rename from src/compiler/compile/render_ssr/Renderer.js rename to packages/svelte/src/compiler/compile/render_ssr/Renderer.js diff --git a/src/compiler/compile/render_ssr/handlers/AwaitBlock.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/AwaitBlock.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/AwaitBlock.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/AwaitBlock.js diff --git a/src/compiler/compile/render_ssr/handlers/Comment.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/Comment.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/Comment.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/Comment.js diff --git a/src/compiler/compile/render_ssr/handlers/DebugTag.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/DebugTag.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/DebugTag.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/DebugTag.js diff --git a/src/compiler/compile/render_ssr/handlers/EachBlock.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/EachBlock.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/EachBlock.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/EachBlock.js diff --git a/src/compiler/compile/render_ssr/handlers/Element.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/Element.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/Element.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/Element.js diff --git a/src/compiler/compile/render_ssr/handlers/Head.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/Head.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/Head.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/Head.js diff --git a/src/compiler/compile/render_ssr/handlers/HtmlTag.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/HtmlTag.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/HtmlTag.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/HtmlTag.js diff --git a/src/compiler/compile/render_ssr/handlers/IfBlock.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/IfBlock.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/IfBlock.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/IfBlock.js diff --git a/src/compiler/compile/render_ssr/handlers/InlineComponent.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/InlineComponent.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/InlineComponent.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/InlineComponent.js diff --git a/src/compiler/compile/render_ssr/handlers/KeyBlock.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/KeyBlock.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/KeyBlock.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/KeyBlock.js diff --git a/src/compiler/compile/render_ssr/handlers/Slot.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/Slot.js similarity index 84% rename from src/compiler/compile/render_ssr/handlers/Slot.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/Slot.js index 4d1c38dc28..266bf006af 100644 --- a/src/compiler/compile/render_ssr/handlers/Slot.js +++ b/packages/svelte/src/compiler/compile/render_ssr/handlers/Slot.js @@ -25,11 +25,6 @@ export default function (node, renderer, options) { : ${result} `); if (slot && nearest_inline_component) { - const lets = node.lets; - const seen = new Set(lets.map((l) => l.name.name)); - nearest_inline_component.lets.forEach((l) => { - if (!seen.has(l.name.name)) lets.push(l); - }); options.slot_scopes.set(slot, { input: get_slot_scope(node.lets), output: renderer.pop() diff --git a/src/compiler/compile/render_ssr/handlers/SlotTemplate.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/SlotTemplate.js similarity index 90% rename from src/compiler/compile/render_ssr/handlers/SlotTemplate.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/SlotTemplate.js index 8dd12a8004..14970eff02 100644 --- a/src/compiler/compile/render_ssr/handlers/SlotTemplate.js +++ b/packages/svelte/src/compiler/compile/render_ssr/handlers/SlotTemplate.js @@ -20,11 +20,7 @@ export default function (node, renderer, options) { ); renderer.push(); renderer.render(children, options); - const lets = node.lets; - const seen = new Set(lets.map((l) => l.name.name)); - parent_inline_component.lets.forEach((l) => { - if (!seen.has(l.name.name)) lets.push(l); - }); + const slot_fragment_content = renderer.pop(); if (!is_empty_template_literal(slot_fragment_content)) { if (options.slot_scopes.has(node.slot_template_name)) { diff --git a/src/compiler/compile/render_ssr/handlers/Tag.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/Tag.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/Tag.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/Tag.js diff --git a/src/compiler/compile/render_ssr/handlers/Text.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/Text.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/Text.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/Text.js diff --git a/src/compiler/compile/render_ssr/handlers/Title.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/Title.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/Title.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/Title.js diff --git a/src/compiler/compile/render_ssr/handlers/shared/get_attribute_value.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/shared/get_attribute_value.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/shared/get_attribute_value.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/shared/get_attribute_value.js diff --git a/src/compiler/compile/render_ssr/handlers/shared/get_const_tags.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/shared/get_const_tags.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/shared/get_const_tags.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/shared/get_const_tags.js diff --git a/src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/shared/get_slot_scope.js diff --git a/src/compiler/compile/render_ssr/handlers/utils/remove_whitespace_children.js b/packages/svelte/src/compiler/compile/render_ssr/handlers/utils/remove_whitespace_children.js similarity index 100% rename from src/compiler/compile/render_ssr/handlers/utils/remove_whitespace_children.js rename to packages/svelte/src/compiler/compile/render_ssr/handlers/utils/remove_whitespace_children.js diff --git a/src/compiler/compile/render_ssr/index.js b/packages/svelte/src/compiler/compile/render_ssr/index.js similarity index 100% rename from src/compiler/compile/render_ssr/index.js rename to packages/svelte/src/compiler/compile/render_ssr/index.js diff --git a/src/compiler/compile/render_ssr/private.d.ts b/packages/svelte/src/compiler/compile/render_ssr/private.d.ts similarity index 100% rename from src/compiler/compile/render_ssr/private.d.ts rename to packages/svelte/src/compiler/compile/render_ssr/private.d.ts diff --git a/src/compiler/compile/utils/a11y.js b/packages/svelte/src/compiler/compile/utils/a11y.js similarity index 100% rename from src/compiler/compile/utils/a11y.js rename to packages/svelte/src/compiler/compile/utils/a11y.js diff --git a/src/compiler/compile/utils/add_to_set.js b/packages/svelte/src/compiler/compile/utils/add_to_set.js similarity index 100% rename from src/compiler/compile/utils/add_to_set.js rename to packages/svelte/src/compiler/compile/utils/add_to_set.js diff --git a/src/compiler/compile/utils/check_enable_sourcemap.js b/packages/svelte/src/compiler/compile/utils/check_enable_sourcemap.js similarity index 100% rename from src/compiler/compile/utils/check_enable_sourcemap.js rename to packages/svelte/src/compiler/compile/utils/check_enable_sourcemap.js diff --git a/src/compiler/compile/utils/check_graph_for_cycles.js b/packages/svelte/src/compiler/compile/utils/check_graph_for_cycles.js similarity index 100% rename from src/compiler/compile/utils/check_graph_for_cycles.js rename to packages/svelte/src/compiler/compile/utils/check_graph_for_cycles.js diff --git a/src/compiler/compile/utils/collapse_template_literal.js b/packages/svelte/src/compiler/compile/utils/collapse_template_literal.js similarity index 100% rename from src/compiler/compile/utils/collapse_template_literal.js rename to packages/svelte/src/compiler/compile/utils/collapse_template_literal.js diff --git a/src/compiler/compile/utils/compare_node.js b/packages/svelte/src/compiler/compile/utils/compare_node.js similarity index 100% rename from src/compiler/compile/utils/compare_node.js rename to packages/svelte/src/compiler/compile/utils/compare_node.js diff --git a/src/compiler/compile/utils/contenteditable.js b/packages/svelte/src/compiler/compile/utils/contenteditable.js similarity index 100% rename from src/compiler/compile/utils/contenteditable.js rename to packages/svelte/src/compiler/compile/utils/contenteditable.js diff --git a/src/compiler/compile/utils/flatten_reference.js b/packages/svelte/src/compiler/compile/utils/flatten_reference.js similarity index 100% rename from src/compiler/compile/utils/flatten_reference.js rename to packages/svelte/src/compiler/compile/utils/flatten_reference.js diff --git a/src/compiler/compile/utils/get_name_from_filename.js b/packages/svelte/src/compiler/compile/utils/get_name_from_filename.js similarity index 100% rename from src/compiler/compile/utils/get_name_from_filename.js rename to packages/svelte/src/compiler/compile/utils/get_name_from_filename.js diff --git a/src/compiler/compile/utils/get_object.js b/packages/svelte/src/compiler/compile/utils/get_object.js similarity index 100% rename from src/compiler/compile/utils/get_object.js rename to packages/svelte/src/compiler/compile/utils/get_object.js diff --git a/src/compiler/compile/utils/get_slot_data.js b/packages/svelte/src/compiler/compile/utils/get_slot_data.js similarity index 100% rename from src/compiler/compile/utils/get_slot_data.js rename to packages/svelte/src/compiler/compile/utils/get_slot_data.js diff --git a/src/compiler/compile/utils/hash.js b/packages/svelte/src/compiler/compile/utils/hash.js similarity index 100% rename from src/compiler/compile/utils/hash.js rename to packages/svelte/src/compiler/compile/utils/hash.js diff --git a/src/compiler/compile/utils/is_used_as_reference.js b/packages/svelte/src/compiler/compile/utils/is_used_as_reference.js similarity index 100% rename from src/compiler/compile/utils/is_used_as_reference.js rename to packages/svelte/src/compiler/compile/utils/is_used_as_reference.js diff --git a/src/compiler/compile/utils/nodes_to_template_literal.js b/packages/svelte/src/compiler/compile/utils/nodes_to_template_literal.js similarity index 100% rename from src/compiler/compile/utils/nodes_to_template_literal.js rename to packages/svelte/src/compiler/compile/utils/nodes_to_template_literal.js diff --git a/src/compiler/compile/utils/replace_object.js b/packages/svelte/src/compiler/compile/utils/replace_object.js similarity index 100% rename from src/compiler/compile/utils/replace_object.js rename to packages/svelte/src/compiler/compile/utils/replace_object.js diff --git a/src/compiler/compile/utils/reserved_keywords.js b/packages/svelte/src/compiler/compile/utils/reserved_keywords.js similarity index 100% rename from src/compiler/compile/utils/reserved_keywords.js rename to packages/svelte/src/compiler/compile/utils/reserved_keywords.js diff --git a/src/compiler/compile/utils/scope.js b/packages/svelte/src/compiler/compile/utils/scope.js similarity index 100% rename from src/compiler/compile/utils/scope.js rename to packages/svelte/src/compiler/compile/utils/scope.js diff --git a/src/compiler/compile/utils/string_to_member_expression.js b/packages/svelte/src/compiler/compile/utils/string_to_member_expression.js similarity index 100% rename from src/compiler/compile/utils/string_to_member_expression.js rename to packages/svelte/src/compiler/compile/utils/string_to_member_expression.js diff --git a/src/compiler/compile/utils/stringify.js b/packages/svelte/src/compiler/compile/utils/stringify.js similarity index 100% rename from src/compiler/compile/utils/stringify.js rename to packages/svelte/src/compiler/compile/utils/stringify.js diff --git a/src/compiler/index.js b/packages/svelte/src/compiler/index.js similarity index 100% rename from src/compiler/index.js rename to packages/svelte/src/compiler/index.js diff --git a/src/compiler/interfaces.d.ts b/packages/svelte/src/compiler/interfaces.d.ts similarity index 98% rename from src/compiler/interfaces.d.ts rename to packages/svelte/src/compiler/interfaces.d.ts index 52fd723170..43e5ece4fd 100644 --- a/src/compiler/interfaces.d.ts +++ b/packages/svelte/src/compiler/interfaces.d.ts @@ -51,7 +51,7 @@ export type DirectiveType = | 'Ref' | 'Transition'; -interface BaseDirective extends BaseNode { +export interface BaseDirective extends BaseNode { type: DirectiveType; name: string; } diff --git a/src/compiler/parse/acorn.js b/packages/svelte/src/compiler/parse/acorn.js similarity index 100% rename from src/compiler/parse/acorn.js rename to packages/svelte/src/compiler/parse/acorn.js diff --git a/src/compiler/parse/errors.js b/packages/svelte/src/compiler/parse/errors.js similarity index 100% rename from src/compiler/parse/errors.js rename to packages/svelte/src/compiler/parse/errors.js diff --git a/src/compiler/parse/index.js b/packages/svelte/src/compiler/parse/index.js similarity index 100% rename from src/compiler/parse/index.js rename to packages/svelte/src/compiler/parse/index.js diff --git a/src/compiler/parse/read/context.js b/packages/svelte/src/compiler/parse/read/context.js similarity index 100% rename from src/compiler/parse/read/context.js rename to packages/svelte/src/compiler/parse/read/context.js diff --git a/src/compiler/parse/read/css-tree-cq/css_tree_parse.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/css_tree_parse.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/css_tree_parse.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/css_tree_parse.js diff --git a/src/compiler/parse/read/css-tree-cq/node/comparison.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/comparison.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/comparison.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/comparison.js diff --git a/src/compiler/parse/read/css-tree-cq/node/container_feature_style.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/container_feature_style.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/container_feature_style.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/container_feature_style.js diff --git a/src/compiler/parse/read/css-tree-cq/node/container_query.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/container_query.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/container_query.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/container_query.js diff --git a/src/compiler/parse/read/css-tree-cq/node/index.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/index.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/index.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/index.js diff --git a/src/compiler/parse/read/css-tree-cq/node/lookahead_is_range.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/lookahead_is_range.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/lookahead_is_range.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/lookahead_is_range.js diff --git a/src/compiler/parse/read/css-tree-cq/node/media_query.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/media_query.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/media_query.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/media_query.js diff --git a/src/compiler/parse/read/css-tree-cq/node/query_css_function.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/query_css_function.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/query_css_function.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/query_css_function.js diff --git a/src/compiler/parse/read/css-tree-cq/node/query_feature.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/query_feature.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/query_feature.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/query_feature.js diff --git a/src/compiler/parse/read/css-tree-cq/node/query_feature_range.js b/packages/svelte/src/compiler/parse/read/css-tree-cq/node/query_feature_range.js similarity index 100% rename from src/compiler/parse/read/css-tree-cq/node/query_feature_range.js rename to packages/svelte/src/compiler/parse/read/css-tree-cq/node/query_feature_range.js diff --git a/src/compiler/parse/read/expression.js b/packages/svelte/src/compiler/parse/read/expression.js similarity index 100% rename from src/compiler/parse/read/expression.js rename to packages/svelte/src/compiler/parse/read/expression.js diff --git a/src/compiler/parse/read/script.js b/packages/svelte/src/compiler/parse/read/script.js similarity index 100% rename from src/compiler/parse/read/script.js rename to packages/svelte/src/compiler/parse/read/script.js diff --git a/src/compiler/parse/read/style.js b/packages/svelte/src/compiler/parse/read/style.js similarity index 100% rename from src/compiler/parse/read/style.js rename to packages/svelte/src/compiler/parse/read/style.js diff --git a/src/compiler/parse/state/fragment.js b/packages/svelte/src/compiler/parse/state/fragment.js similarity index 100% rename from src/compiler/parse/state/fragment.js rename to packages/svelte/src/compiler/parse/state/fragment.js diff --git a/src/compiler/parse/state/mustache.js b/packages/svelte/src/compiler/parse/state/mustache.js similarity index 100% rename from src/compiler/parse/state/mustache.js rename to packages/svelte/src/compiler/parse/state/mustache.js diff --git a/src/compiler/parse/state/tag.js b/packages/svelte/src/compiler/parse/state/tag.js similarity index 99% rename from src/compiler/parse/state/tag.js rename to packages/svelte/src/compiler/parse/state/tag.js index 603031c08c..c0df00df92 100644 --- a/src/compiler/parse/state/tag.js +++ b/packages/svelte/src/compiler/parse/state/tag.js @@ -433,7 +433,6 @@ function get_directive_type(name) { if (name === 'style') return 'StyleDirective'; if (name === 'on') return 'EventHandler'; if (name === 'let') return 'Let'; - if (name === 'ref') return 'Ref'; if (name === 'in' || name === 'out' || name === 'transition') return 'Transition'; } diff --git a/src/compiler/parse/state/text.js b/packages/svelte/src/compiler/parse/state/text.js similarity index 100% rename from src/compiler/parse/state/text.js rename to packages/svelte/src/compiler/parse/state/text.js diff --git a/src/compiler/parse/utils/bracket.js b/packages/svelte/src/compiler/parse/utils/bracket.js similarity index 100% rename from src/compiler/parse/utils/bracket.js rename to packages/svelte/src/compiler/parse/utils/bracket.js diff --git a/src/compiler/parse/utils/entities.js b/packages/svelte/src/compiler/parse/utils/entities.js similarity index 100% rename from src/compiler/parse/utils/entities.js rename to packages/svelte/src/compiler/parse/utils/entities.js diff --git a/src/compiler/parse/utils/html.js b/packages/svelte/src/compiler/parse/utils/html.js similarity index 100% rename from src/compiler/parse/utils/html.js rename to packages/svelte/src/compiler/parse/utils/html.js diff --git a/src/compiler/parse/utils/node.js b/packages/svelte/src/compiler/parse/utils/node.js similarity index 100% rename from src/compiler/parse/utils/node.js rename to packages/svelte/src/compiler/parse/utils/node.js diff --git a/src/compiler/preprocess/decode_sourcemap.js b/packages/svelte/src/compiler/preprocess/decode_sourcemap.js similarity index 100% rename from src/compiler/preprocess/decode_sourcemap.js rename to packages/svelte/src/compiler/preprocess/decode_sourcemap.js diff --git a/src/compiler/preprocess/index.js b/packages/svelte/src/compiler/preprocess/index.js similarity index 100% rename from src/compiler/preprocess/index.js rename to packages/svelte/src/compiler/preprocess/index.js diff --git a/src/compiler/preprocess/private.d.ts b/packages/svelte/src/compiler/preprocess/private.d.ts similarity index 100% rename from src/compiler/preprocess/private.d.ts rename to packages/svelte/src/compiler/preprocess/private.d.ts diff --git a/src/compiler/preprocess/public.d.ts b/packages/svelte/src/compiler/preprocess/public.d.ts similarity index 100% rename from src/compiler/preprocess/public.d.ts rename to packages/svelte/src/compiler/preprocess/public.d.ts diff --git a/src/compiler/preprocess/replace_in_code.js b/packages/svelte/src/compiler/preprocess/replace_in_code.js similarity index 100% rename from src/compiler/preprocess/replace_in_code.js rename to packages/svelte/src/compiler/preprocess/replace_in_code.js diff --git a/src/compiler/public.d.ts b/packages/svelte/src/compiler/public.d.ts similarity index 100% rename from src/compiler/public.d.ts rename to packages/svelte/src/compiler/public.d.ts diff --git a/src/compiler/tsconfig.json b/packages/svelte/src/compiler/tsconfig.json similarity index 100% rename from src/compiler/tsconfig.json rename to packages/svelte/src/compiler/tsconfig.json diff --git a/src/compiler/utils/clone.js b/packages/svelte/src/compiler/utils/clone.js similarity index 100% rename from src/compiler/utils/clone.js rename to packages/svelte/src/compiler/utils/clone.js diff --git a/src/compiler/utils/error.js b/packages/svelte/src/compiler/utils/error.js similarity index 100% rename from src/compiler/utils/error.js rename to packages/svelte/src/compiler/utils/error.js diff --git a/src/compiler/utils/extract_svelte_ignore.js b/packages/svelte/src/compiler/utils/extract_svelte_ignore.js similarity index 100% rename from src/compiler/utils/extract_svelte_ignore.js rename to packages/svelte/src/compiler/utils/extract_svelte_ignore.js diff --git a/src/compiler/utils/flatten.js b/packages/svelte/src/compiler/utils/flatten.js similarity index 100% rename from src/compiler/utils/flatten.js rename to packages/svelte/src/compiler/utils/flatten.js diff --git a/src/compiler/utils/full_char_code_at.js b/packages/svelte/src/compiler/utils/full_char_code_at.js similarity index 100% rename from src/compiler/utils/full_char_code_at.js rename to packages/svelte/src/compiler/utils/full_char_code_at.js diff --git a/src/compiler/utils/fuzzymatch.js b/packages/svelte/src/compiler/utils/fuzzymatch.js similarity index 100% rename from src/compiler/utils/fuzzymatch.js rename to packages/svelte/src/compiler/utils/fuzzymatch.js diff --git a/src/compiler/utils/get_code_frame.js b/packages/svelte/src/compiler/utils/get_code_frame.js similarity index 100% rename from src/compiler/utils/get_code_frame.js rename to packages/svelte/src/compiler/utils/get_code_frame.js diff --git a/src/compiler/utils/globals.js b/packages/svelte/src/compiler/utils/globals.js similarity index 100% rename from src/compiler/utils/globals.js rename to packages/svelte/src/compiler/utils/globals.js diff --git a/src/compiler/utils/link.js b/packages/svelte/src/compiler/utils/link.js similarity index 100% rename from src/compiler/utils/link.js rename to packages/svelte/src/compiler/utils/link.js diff --git a/src/compiler/utils/list.js b/packages/svelte/src/compiler/utils/list.js similarity index 100% rename from src/compiler/utils/list.js rename to packages/svelte/src/compiler/utils/list.js diff --git a/src/compiler/utils/mapped_code.js b/packages/svelte/src/compiler/utils/mapped_code.js similarity index 100% rename from src/compiler/utils/mapped_code.js rename to packages/svelte/src/compiler/utils/mapped_code.js diff --git a/src/compiler/utils/names.js b/packages/svelte/src/compiler/utils/names.js similarity index 100% rename from src/compiler/utils/names.js rename to packages/svelte/src/compiler/utils/names.js diff --git a/src/compiler/utils/namespaces.js b/packages/svelte/src/compiler/utils/namespaces.js similarity index 100% rename from src/compiler/utils/namespaces.js rename to packages/svelte/src/compiler/utils/namespaces.js diff --git a/src/compiler/utils/nodes_match.js b/packages/svelte/src/compiler/utils/nodes_match.js similarity index 100% rename from src/compiler/utils/nodes_match.js rename to packages/svelte/src/compiler/utils/nodes_match.js diff --git a/src/compiler/utils/patterns.js b/packages/svelte/src/compiler/utils/patterns.js similarity index 100% rename from src/compiler/utils/patterns.js rename to packages/svelte/src/compiler/utils/patterns.js diff --git a/src/compiler/utils/push_array.js b/packages/svelte/src/compiler/utils/push_array.js similarity index 100% rename from src/compiler/utils/push_array.js rename to packages/svelte/src/compiler/utils/push_array.js diff --git a/src/compiler/utils/trim.js b/packages/svelte/src/compiler/utils/trim.js similarity index 100% rename from src/compiler/utils/trim.js rename to packages/svelte/src/compiler/utils/trim.js diff --git a/src/runtime/action/index.js b/packages/svelte/src/runtime/action/index.js similarity index 100% rename from src/runtime/action/index.js rename to packages/svelte/src/runtime/action/index.js diff --git a/src/runtime/action/public.d.ts b/packages/svelte/src/runtime/action/public.d.ts similarity index 100% rename from src/runtime/action/public.d.ts rename to packages/svelte/src/runtime/action/public.d.ts diff --git a/src/runtime/ambient.d.ts b/packages/svelte/src/runtime/ambient.d.ts similarity index 100% rename from src/runtime/ambient.d.ts rename to packages/svelte/src/runtime/ambient.d.ts diff --git a/src/runtime/animate/index.js b/packages/svelte/src/runtime/animate/index.js similarity index 100% rename from src/runtime/animate/index.js rename to packages/svelte/src/runtime/animate/index.js diff --git a/src/runtime/animate/public.d.ts b/packages/svelte/src/runtime/animate/public.d.ts similarity index 100% rename from src/runtime/animate/public.d.ts rename to packages/svelte/src/runtime/animate/public.d.ts diff --git a/src/runtime/easing/index.js b/packages/svelte/src/runtime/easing/index.js similarity index 100% rename from src/runtime/easing/index.js rename to packages/svelte/src/runtime/easing/index.js diff --git a/src/runtime/index.js b/packages/svelte/src/runtime/index.js similarity index 100% rename from src/runtime/index.js rename to packages/svelte/src/runtime/index.js diff --git a/src/runtime/internal/Component.js b/packages/svelte/src/runtime/internal/Component.js similarity index 100% rename from src/runtime/internal/Component.js rename to packages/svelte/src/runtime/internal/Component.js diff --git a/src/runtime/internal/ResizeObserverSingleton.js b/packages/svelte/src/runtime/internal/ResizeObserverSingleton.js similarity index 100% rename from src/runtime/internal/ResizeObserverSingleton.js rename to packages/svelte/src/runtime/internal/ResizeObserverSingleton.js diff --git a/src/runtime/internal/animations.js b/packages/svelte/src/runtime/internal/animations.js similarity index 100% rename from src/runtime/internal/animations.js rename to packages/svelte/src/runtime/internal/animations.js diff --git a/src/runtime/internal/await_block.js b/packages/svelte/src/runtime/internal/await_block.js similarity index 100% rename from src/runtime/internal/await_block.js rename to packages/svelte/src/runtime/internal/await_block.js diff --git a/src/runtime/internal/dev.js b/packages/svelte/src/runtime/internal/dev.js similarity index 95% rename from src/runtime/internal/dev.js rename to packages/svelte/src/runtime/internal/dev.js index 0a7d1eeb2b..494c276260 100644 --- a/src/runtime/internal/dev.js +++ b/packages/svelte/src/runtime/internal/dev.js @@ -12,6 +12,7 @@ import { SvelteComponent } from './Component.js'; import { is_void } from '../../shared/utils/names.js'; import { VERSION } from '../../shared/version.js'; import { contenteditable_truthy_values } from './utils.js'; +import { ensure_array_like } from './each.js'; /** * @template T @@ -208,16 +209,15 @@ export function set_data_maybe_contenteditable_dev(text, data, attr_value) { } } -/** - * @returns {void} */ -export function validate_each_argument(arg) { - if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) { - let msg = '{#each} only iterates over array-like objects.'; - if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) { - msg += ' You can use a spread to convert this iterable into an array.'; - } - throw new Error(msg); +export function ensure_array_like_dev(arg) { + if ( + typeof arg !== 'string' && + !(arg && typeof arg === 'object' && 'length' in arg) && + !(typeof Symbol === 'function' && arg && Symbol.iterator in arg) + ) { + throw new Error('{#each} only works with iterable values.'); } + return ensure_array_like(arg); } /** diff --git a/src/runtime/internal/dom.js b/packages/svelte/src/runtime/internal/dom.js similarity index 99% rename from src/runtime/internal/dom.js rename to packages/svelte/src/runtime/internal/dom.js index 935950c36d..aced965a67 100644 --- a/src/runtime/internal/dom.js +++ b/packages/svelte/src/runtime/internal/dom.js @@ -993,7 +993,8 @@ export { ResizeObserverSingleton }; /** * @returns {void} */ export function toggle_class(element, name, toggle) { - element.classList[toggle ? 'add' : 'remove'](name); + // The `!!` is required because an `undefined` flag means flipping the current state. + element.classList.toggle(name, !!toggle); } /** diff --git a/src/runtime/internal/keyed_each.js b/packages/svelte/src/runtime/internal/each.js similarity index 92% rename from src/runtime/internal/keyed_each.js rename to packages/svelte/src/runtime/internal/each.js index 3bbc042149..2641658658 100644 --- a/src/runtime/internal/keyed_each.js +++ b/packages/svelte/src/runtime/internal/each.js @@ -1,6 +1,16 @@ import { transition_in, transition_out } from './transitions.js'; import { run_all } from './utils.js'; +// general each functions: + +export function ensure_array_like(array_like_or_iterator) { + return array_like_or_iterator?.length !== undefined + ? array_like_or_iterator + : Array.from(array_like_or_iterator); +} + +// keyed each functions: + /** @returns {void} */ export function destroy_block(block, lookup) { block.d(1); diff --git a/src/runtime/internal/environment.js b/packages/svelte/src/runtime/internal/environment.js similarity index 100% rename from src/runtime/internal/environment.js rename to packages/svelte/src/runtime/internal/environment.js diff --git a/src/runtime/internal/globals.js b/packages/svelte/src/runtime/internal/globals.js similarity index 100% rename from src/runtime/internal/globals.js rename to packages/svelte/src/runtime/internal/globals.js diff --git a/src/runtime/internal/index.js b/packages/svelte/src/runtime/internal/index.js similarity index 92% rename from src/runtime/internal/index.js rename to packages/svelte/src/runtime/internal/index.js index dcf925a542..ca57ae1414 100644 --- a/src/runtime/internal/index.js +++ b/packages/svelte/src/runtime/internal/index.js @@ -3,7 +3,7 @@ export * from './await_block.js'; export * from './dom.js'; export * from './environment.js'; export * from './globals.js'; -export * from './keyed_each.js'; +export * from './each.js'; export * from './lifecycle.js'; export * from './loop.js'; export * from './scheduler.js'; diff --git a/src/runtime/internal/lifecycle.js b/packages/svelte/src/runtime/internal/lifecycle.js similarity index 100% rename from src/runtime/internal/lifecycle.js rename to packages/svelte/src/runtime/internal/lifecycle.js diff --git a/src/runtime/internal/loop.js b/packages/svelte/src/runtime/internal/loop.js similarity index 100% rename from src/runtime/internal/loop.js rename to packages/svelte/src/runtime/internal/loop.js diff --git a/src/runtime/internal/private.d.ts b/packages/svelte/src/runtime/internal/private.d.ts similarity index 100% rename from src/runtime/internal/private.d.ts rename to packages/svelte/src/runtime/internal/private.d.ts diff --git a/src/runtime/internal/public.d.ts b/packages/svelte/src/runtime/internal/public.d.ts similarity index 100% rename from src/runtime/internal/public.d.ts rename to packages/svelte/src/runtime/internal/public.d.ts diff --git a/src/runtime/internal/scheduler.js b/packages/svelte/src/runtime/internal/scheduler.js similarity index 100% rename from src/runtime/internal/scheduler.js rename to packages/svelte/src/runtime/internal/scheduler.js diff --git a/src/runtime/internal/spread.js b/packages/svelte/src/runtime/internal/spread.js similarity index 100% rename from src/runtime/internal/spread.js rename to packages/svelte/src/runtime/internal/spread.js diff --git a/src/runtime/internal/ssr.js b/packages/svelte/src/runtime/internal/ssr.js similarity index 98% rename from src/runtime/internal/ssr.js rename to packages/svelte/src/runtime/internal/ssr.js index 0bba8adfee..85d6f443df 100644 --- a/src/runtime/internal/ssr.js +++ b/packages/svelte/src/runtime/internal/ssr.js @@ -1,6 +1,7 @@ import { set_current_component, current_component } from './lifecycle.js'; import { run_all, blank_object } from './utils.js'; import { boolean_attributes } from '../../shared/boolean_attributes.js'; +import { ensure_array_like } from './each.js'; export { is_void } from '../../shared/utils/names.js'; export const invalid_attribute_name_character = @@ -107,6 +108,7 @@ export function escape_object(obj) { /** @returns {string} */ export function each(items, fn) { + items = ensure_array_like(items); let str = ''; for (let i = 0; i < items.length; i += 1) { str += fn(items[i], i); diff --git a/src/runtime/internal/style_manager.js b/packages/svelte/src/runtime/internal/style_manager.js similarity index 100% rename from src/runtime/internal/style_manager.js rename to packages/svelte/src/runtime/internal/style_manager.js diff --git a/src/runtime/internal/transitions.js b/packages/svelte/src/runtime/internal/transitions.js similarity index 93% rename from src/runtime/internal/transitions.js rename to packages/svelte/src/runtime/internal/transitions.js index 1c0711fc50..925316d75e 100644 --- a/src/runtime/internal/transitions.js +++ b/packages/svelte/src/runtime/internal/transitions.js @@ -186,14 +186,15 @@ export function create_in_transition(node, fn, params) { * @returns {{ end(reset: any): void; }} */ export function create_out_transition(node, fn, params) { - /** - * @type {TransitionOptions} */ + /** @type {TransitionOptions} */ const options = { direction: 'out' }; let config = fn(node, params, options); let running = true; let animation_name; const group = outros; group.r += 1; + /** @type {boolean} */ + let original_inert_value; /** * @returns {void} */ @@ -205,10 +206,18 @@ export function create_out_transition(node, fn, params) { tick = noop, css } = config || null_transition; + if (css) animation_name = create_rule(node, 1, 0, duration, delay, easing, css); + const start_time = now() + delay; const end_time = start_time + duration; add_render_callback(() => dispatch(node, false, 'start')); + + if ('inert' in node) { + original_inert_value = /** @type {HTMLElement} */ (node).inert; + node.inert = true; + } + loop((now) => { if (running) { if (now >= end_time) { @@ -229,6 +238,7 @@ export function create_out_transition(node, fn, params) { return running; }); } + if (is_function(config)) { wait().then(() => { // @ts-ignore @@ -238,8 +248,12 @@ export function create_out_transition(node, fn, params) { } else { go(); } + return { end(reset) { + if (reset && 'inert' in node) { + node.inert = original_inert_value; + } if (reset && config.tick) { config.tick(1, 0); } @@ -274,6 +288,9 @@ export function create_bidirectional_transition(node, fn, params, intro) { let pending_program = null; let animation_name = null; + /** @type {boolean} */ + let original_inert_value; + /** * @returns {void} */ function clear_animation() { @@ -318,11 +335,25 @@ export function create_bidirectional_transition(node, fn, params, intro) { start: now() + delay, b }; + if (!b) { // @ts-ignore todo: improve typings program.group = outros; outros.r += 1; } + + if ('inert' in node) { + if (b) { + if (original_inert_value !== undefined) { + // aborted/reversed outro — restore previous inert value + node.inert = original_inert_value; + } + } else { + original_inert_value = /** @type {HTMLElement} */ (node).inert; + node.inert = true; + } + } + if (running_program || pending_program) { pending_program = program; } else { diff --git a/src/runtime/internal/utils.js b/packages/svelte/src/runtime/internal/utils.js similarity index 98% rename from src/runtime/internal/utils.js rename to packages/svelte/src/runtime/internal/utils.js index e889b51511..c279b8d4bf 100644 --- a/src/runtime/internal/utils.js +++ b/packages/svelte/src/runtime/internal/utils.js @@ -19,9 +19,8 @@ export function assign(tar, src) { // Adapted from https://github.com/then/is-promise/blob/master/index.js // Distributed under MIT License https://github.com/then/is-promise/blob/master/LICENSE /** - * @template T - * @param {T} value - * @returns {value is PromiseLike} + * @param {any} value + * @returns {value is PromiseLike} */ export function is_promise(value) { return ( diff --git a/src/runtime/motion/index.js b/packages/svelte/src/runtime/motion/index.js similarity index 100% rename from src/runtime/motion/index.js rename to packages/svelte/src/runtime/motion/index.js diff --git a/src/runtime/motion/private.d.ts b/packages/svelte/src/runtime/motion/private.d.ts similarity index 100% rename from src/runtime/motion/private.d.ts rename to packages/svelte/src/runtime/motion/private.d.ts diff --git a/src/runtime/motion/public.d.ts b/packages/svelte/src/runtime/motion/public.d.ts similarity index 100% rename from src/runtime/motion/public.d.ts rename to packages/svelte/src/runtime/motion/public.d.ts diff --git a/src/runtime/motion/spring.js b/packages/svelte/src/runtime/motion/spring.js similarity index 100% rename from src/runtime/motion/spring.js rename to packages/svelte/src/runtime/motion/spring.js diff --git a/src/runtime/motion/tweened.js b/packages/svelte/src/runtime/motion/tweened.js similarity index 100% rename from src/runtime/motion/tweened.js rename to packages/svelte/src/runtime/motion/tweened.js diff --git a/src/runtime/motion/utils.js b/packages/svelte/src/runtime/motion/utils.js similarity index 100% rename from src/runtime/motion/utils.js rename to packages/svelte/src/runtime/motion/utils.js diff --git a/src/runtime/public.d.ts b/packages/svelte/src/runtime/public.d.ts similarity index 100% rename from src/runtime/public.d.ts rename to packages/svelte/src/runtime/public.d.ts diff --git a/src/runtime/ssr.js b/packages/svelte/src/runtime/ssr.js similarity index 100% rename from src/runtime/ssr.js rename to packages/svelte/src/runtime/ssr.js diff --git a/src/runtime/store/index.js b/packages/svelte/src/runtime/store/index.js similarity index 100% rename from src/runtime/store/index.js rename to packages/svelte/src/runtime/store/index.js diff --git a/src/runtime/store/private.d.ts b/packages/svelte/src/runtime/store/private.d.ts similarity index 100% rename from src/runtime/store/private.d.ts rename to packages/svelte/src/runtime/store/private.d.ts diff --git a/src/runtime/store/public.d.ts b/packages/svelte/src/runtime/store/public.d.ts similarity index 100% rename from src/runtime/store/public.d.ts rename to packages/svelte/src/runtime/store/public.d.ts diff --git a/src/runtime/transition/index.js b/packages/svelte/src/runtime/transition/index.js similarity index 100% rename from src/runtime/transition/index.js rename to packages/svelte/src/runtime/transition/index.js diff --git a/src/runtime/transition/public.d.ts b/packages/svelte/src/runtime/transition/public.d.ts similarity index 100% rename from src/runtime/transition/public.d.ts rename to packages/svelte/src/runtime/transition/public.d.ts diff --git a/src/runtime/tsconfig.json b/packages/svelte/src/runtime/tsconfig.json similarity index 100% rename from src/runtime/tsconfig.json rename to packages/svelte/src/runtime/tsconfig.json diff --git a/src/shared/boolean_attributes.js b/packages/svelte/src/shared/boolean_attributes.js similarity index 100% rename from src/shared/boolean_attributes.js rename to packages/svelte/src/shared/boolean_attributes.js diff --git a/src/shared/utils/names.js b/packages/svelte/src/shared/utils/names.js similarity index 100% rename from src/shared/utils/names.js rename to packages/svelte/src/shared/utils/names.js diff --git a/test/.eslintrc.json b/packages/svelte/test/.eslintrc.json similarity index 100% rename from test/.eslintrc.json rename to packages/svelte/test/.eslintrc.json diff --git a/test/compiler-errors/compiler-errors.test.js b/packages/svelte/test/compiler-errors/compiler-errors.test.js similarity index 100% rename from test/compiler-errors/compiler-errors.test.js rename to packages/svelte/test/compiler-errors/compiler-errors.test.js diff --git a/test/compiler-errors/samples/component-slot-duplicate-error-2/_config.js b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-2/_config.js similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error-2/_config.js rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-2/_config.js diff --git a/test/compiler-errors/samples/component-slot-duplicate-error-2/main.svelte b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-2/main.svelte similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error-2/main.svelte rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-2/main.svelte diff --git a/test/compiler-errors/samples/component-slot-duplicate-error-3/_config.js b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-3/_config.js similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error-3/_config.js rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-3/_config.js diff --git a/test/compiler-errors/samples/component-slot-duplicate-error-3/main.svelte b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-3/main.svelte similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error-3/main.svelte rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-3/main.svelte diff --git a/test/compiler-errors/samples/component-slot-duplicate-error-4/_config.js b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-4/_config.js similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error-4/_config.js rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-4/_config.js diff --git a/test/compiler-errors/samples/component-slot-duplicate-error-4/main.svelte b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-4/main.svelte similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error-4/main.svelte rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error-4/main.svelte diff --git a/test/compiler-errors/samples/component-slot-duplicate-error/_config.js b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error/_config.js similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error/_config.js rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error/_config.js diff --git a/test/compiler-errors/samples/component-slot-duplicate-error/main.svelte b/packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error/main.svelte similarity index 100% rename from test/compiler-errors/samples/component-slot-duplicate-error/main.svelte rename to packages/svelte/test/compiler-errors/samples/component-slot-duplicate-error/main.svelte diff --git a/test/compiler-errors/samples/component-slot-nested-error-2/_config.js b/packages/svelte/test/compiler-errors/samples/component-slot-nested-error-2/_config.js similarity index 100% rename from test/compiler-errors/samples/component-slot-nested-error-2/_config.js rename to packages/svelte/test/compiler-errors/samples/component-slot-nested-error-2/_config.js diff --git a/test/compiler-errors/samples/component-slot-nested-error-2/main.svelte b/packages/svelte/test/compiler-errors/samples/component-slot-nested-error-2/main.svelte similarity index 100% rename from test/compiler-errors/samples/component-slot-nested-error-2/main.svelte rename to packages/svelte/test/compiler-errors/samples/component-slot-nested-error-2/main.svelte diff --git a/test/compiler-errors/samples/component-slot-nested-error-3/_config.js b/packages/svelte/test/compiler-errors/samples/component-slot-nested-error-3/_config.js similarity index 100% rename from test/compiler-errors/samples/component-slot-nested-error-3/_config.js rename to packages/svelte/test/compiler-errors/samples/component-slot-nested-error-3/_config.js diff --git a/test/compiler-errors/samples/component-slot-nested-error-3/main.svelte b/packages/svelte/test/compiler-errors/samples/component-slot-nested-error-3/main.svelte similarity index 100% rename from test/compiler-errors/samples/component-slot-nested-error-3/main.svelte rename to packages/svelte/test/compiler-errors/samples/component-slot-nested-error-3/main.svelte diff --git a/test/compiler-errors/samples/component-slot-nested-error/_config.js b/packages/svelte/test/compiler-errors/samples/component-slot-nested-error/_config.js similarity index 100% rename from test/compiler-errors/samples/component-slot-nested-error/_config.js rename to packages/svelte/test/compiler-errors/samples/component-slot-nested-error/_config.js diff --git a/test/compiler-errors/samples/component-slot-nested-error/main.svelte b/packages/svelte/test/compiler-errors/samples/component-slot-nested-error/main.svelte similarity index 100% rename from test/compiler-errors/samples/component-slot-nested-error/main.svelte rename to packages/svelte/test/compiler-errors/samples/component-slot-nested-error/main.svelte diff --git a/test/compiler-errors/samples/dynamic-element-binding-invalid/_config.js b/packages/svelte/test/compiler-errors/samples/dynamic-element-binding-invalid/_config.js similarity index 100% rename from test/compiler-errors/samples/dynamic-element-binding-invalid/_config.js rename to packages/svelte/test/compiler-errors/samples/dynamic-element-binding-invalid/_config.js diff --git a/test/compiler-errors/samples/dynamic-element-binding-invalid/main.svelte b/packages/svelte/test/compiler-errors/samples/dynamic-element-binding-invalid/main.svelte similarity index 100% rename from test/compiler-errors/samples/dynamic-element-binding-invalid/main.svelte rename to packages/svelte/test/compiler-errors/samples/dynamic-element-binding-invalid/main.svelte diff --git a/test/compiler-errors/samples/each-block-destructured-default-before-initialised/_config.js b/packages/svelte/test/compiler-errors/samples/each-block-destructured-default-before-initialised/_config.js similarity index 100% rename from test/compiler-errors/samples/each-block-destructured-default-before-initialised/_config.js rename to packages/svelte/test/compiler-errors/samples/each-block-destructured-default-before-initialised/_config.js diff --git a/test/compiler-errors/samples/each-block-destructured-default-before-initialised/main.svelte b/packages/svelte/test/compiler-errors/samples/each-block-destructured-default-before-initialised/main.svelte similarity index 100% rename from test/compiler-errors/samples/each-block-destructured-default-before-initialised/main.svelte rename to packages/svelte/test/compiler-errors/samples/each-block-destructured-default-before-initialised/main.svelte diff --git a/test/compiler-errors/samples/store-autosub-context-module/_config.js b/packages/svelte/test/compiler-errors/samples/store-autosub-context-module/_config.js similarity index 100% rename from test/compiler-errors/samples/store-autosub-context-module/_config.js rename to packages/svelte/test/compiler-errors/samples/store-autosub-context-module/_config.js diff --git a/test/compiler-errors/samples/store-autosub-context-module/main.svelte b/packages/svelte/test/compiler-errors/samples/store-autosub-context-module/main.svelte similarity index 100% rename from test/compiler-errors/samples/store-autosub-context-module/main.svelte rename to packages/svelte/test/compiler-errors/samples/store-autosub-context-module/main.svelte diff --git a/test/compiler-errors/samples/store-contextual/_config.js b/packages/svelte/test/compiler-errors/samples/store-contextual/_config.js similarity index 100% rename from test/compiler-errors/samples/store-contextual/_config.js rename to packages/svelte/test/compiler-errors/samples/store-contextual/_config.js diff --git a/test/compiler-errors/samples/store-contextual/main.svelte b/packages/svelte/test/compiler-errors/samples/store-contextual/main.svelte similarity index 100% rename from test/compiler-errors/samples/store-contextual/main.svelte rename to packages/svelte/test/compiler-errors/samples/store-contextual/main.svelte diff --git a/test/compiler-errors/samples/store-prevent-user-declarations/_config.js b/packages/svelte/test/compiler-errors/samples/store-prevent-user-declarations/_config.js similarity index 100% rename from test/compiler-errors/samples/store-prevent-user-declarations/_config.js rename to packages/svelte/test/compiler-errors/samples/store-prevent-user-declarations/_config.js diff --git a/test/compiler-errors/samples/store-prevent-user-declarations/main.svelte b/packages/svelte/test/compiler-errors/samples/store-prevent-user-declarations/main.svelte similarity index 100% rename from test/compiler-errors/samples/store-prevent-user-declarations/main.svelte rename to packages/svelte/test/compiler-errors/samples/store-prevent-user-declarations/main.svelte diff --git a/test/compiler-errors/samples/store-shadow-scope/_config.js b/packages/svelte/test/compiler-errors/samples/store-shadow-scope/_config.js similarity index 100% rename from test/compiler-errors/samples/store-shadow-scope/_config.js rename to packages/svelte/test/compiler-errors/samples/store-shadow-scope/_config.js diff --git a/test/compiler-errors/samples/store-shadow-scope/main.svelte b/packages/svelte/test/compiler-errors/samples/store-shadow-scope/main.svelte similarity index 100% rename from test/compiler-errors/samples/store-shadow-scope/main.svelte rename to packages/svelte/test/compiler-errors/samples/store-shadow-scope/main.svelte diff --git a/test/compiler-errors/samples/store-template-expression-scope/_config.js b/packages/svelte/test/compiler-errors/samples/store-template-expression-scope/_config.js similarity index 100% rename from test/compiler-errors/samples/store-template-expression-scope/_config.js rename to packages/svelte/test/compiler-errors/samples/store-template-expression-scope/_config.js diff --git a/test/compiler-errors/samples/store-template-expression-scope/main.svelte b/packages/svelte/test/compiler-errors/samples/store-template-expression-scope/main.svelte similarity index 100% rename from test/compiler-errors/samples/store-template-expression-scope/main.svelte rename to packages/svelte/test/compiler-errors/samples/store-template-expression-scope/main.svelte diff --git a/test/css/css.test.js b/packages/svelte/test/css/css.test.js similarity index 100% rename from test/css/css.test.js rename to packages/svelte/test/css/css.test.js diff --git a/test/css/samples/at-layer/expected.css b/packages/svelte/test/css/samples/at-layer/expected.css similarity index 100% rename from test/css/samples/at-layer/expected.css rename to packages/svelte/test/css/samples/at-layer/expected.css diff --git a/test/css/samples/at-layer/input.svelte b/packages/svelte/test/css/samples/at-layer/input.svelte similarity index 100% rename from test/css/samples/at-layer/input.svelte rename to packages/svelte/test/css/samples/at-layer/input.svelte diff --git a/test/css/samples/attribute-selector-bind/expected.css b/packages/svelte/test/css/samples/attribute-selector-bind/expected.css similarity index 100% rename from test/css/samples/attribute-selector-bind/expected.css rename to packages/svelte/test/css/samples/attribute-selector-bind/expected.css diff --git a/test/css/samples/attribute-selector-bind/input.svelte b/packages/svelte/test/css/samples/attribute-selector-bind/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-bind/input.svelte rename to packages/svelte/test/css/samples/attribute-selector-bind/input.svelte diff --git a/test/css/samples/attribute-selector-details-open/expected.css b/packages/svelte/test/css/samples/attribute-selector-details-open/expected.css similarity index 100% rename from test/css/samples/attribute-selector-details-open/expected.css rename to packages/svelte/test/css/samples/attribute-selector-details-open/expected.css diff --git a/test/css/samples/attribute-selector-details-open/input.svelte b/packages/svelte/test/css/samples/attribute-selector-details-open/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-details-open/input.svelte rename to packages/svelte/test/css/samples/attribute-selector-details-open/input.svelte diff --git a/test/css/samples/attribute-selector-dialog-open/expected.css b/packages/svelte/test/css/samples/attribute-selector-dialog-open/expected.css similarity index 100% rename from test/css/samples/attribute-selector-dialog-open/expected.css rename to packages/svelte/test/css/samples/attribute-selector-dialog-open/expected.css diff --git a/test/css/samples/attribute-selector-dialog-open/input.svelte b/packages/svelte/test/css/samples/attribute-selector-dialog-open/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-dialog-open/input.svelte rename to packages/svelte/test/css/samples/attribute-selector-dialog-open/input.svelte diff --git a/test/css/samples/attribute-selector-only-name/expected.css b/packages/svelte/test/css/samples/attribute-selector-only-name/expected.css similarity index 100% rename from test/css/samples/attribute-selector-only-name/expected.css rename to packages/svelte/test/css/samples/attribute-selector-only-name/expected.css diff --git a/test/css/samples/attribute-selector-only-name/input.svelte b/packages/svelte/test/css/samples/attribute-selector-only-name/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-only-name/input.svelte rename to packages/svelte/test/css/samples/attribute-selector-only-name/input.svelte diff --git a/test/css/samples/attribute-selector-unquoted/expected.css b/packages/svelte/test/css/samples/attribute-selector-unquoted/expected.css similarity index 100% rename from test/css/samples/attribute-selector-unquoted/expected.css rename to packages/svelte/test/css/samples/attribute-selector-unquoted/expected.css diff --git a/test/css/samples/attribute-selector-unquoted/input.svelte b/packages/svelte/test/css/samples/attribute-selector-unquoted/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-unquoted/input.svelte rename to packages/svelte/test/css/samples/attribute-selector-unquoted/input.svelte diff --git a/test/css/samples/attribute-selector-word-arbitrary-whitespace/expected.css b/packages/svelte/test/css/samples/attribute-selector-word-arbitrary-whitespace/expected.css similarity index 100% rename from test/css/samples/attribute-selector-word-arbitrary-whitespace/expected.css rename to packages/svelte/test/css/samples/attribute-selector-word-arbitrary-whitespace/expected.css diff --git a/test/css/samples/attribute-selector-word-arbitrary-whitespace/input.svelte b/packages/svelte/test/css/samples/attribute-selector-word-arbitrary-whitespace/input.svelte similarity index 100% rename from test/css/samples/attribute-selector-word-arbitrary-whitespace/input.svelte rename to packages/svelte/test/css/samples/attribute-selector-word-arbitrary-whitespace/input.svelte diff --git a/test/css/samples/basic/expected.css b/packages/svelte/test/css/samples/basic/expected.css similarity index 100% rename from test/css/samples/basic/expected.css rename to packages/svelte/test/css/samples/basic/expected.css diff --git a/test/css/samples/basic/input.svelte b/packages/svelte/test/css/samples/basic/input.svelte similarity index 100% rename from test/css/samples/basic/input.svelte rename to packages/svelte/test/css/samples/basic/input.svelte diff --git a/test/css/samples/child-combinator/expected.css b/packages/svelte/test/css/samples/child-combinator/expected.css similarity index 100% rename from test/css/samples/child-combinator/expected.css rename to packages/svelte/test/css/samples/child-combinator/expected.css diff --git a/test/css/samples/child-combinator/input.svelte b/packages/svelte/test/css/samples/child-combinator/input.svelte similarity index 100% rename from test/css/samples/child-combinator/input.svelte rename to packages/svelte/test/css/samples/child-combinator/input.svelte diff --git a/test/css/samples/combinator-child/expected.css b/packages/svelte/test/css/samples/combinator-child/expected.css similarity index 100% rename from test/css/samples/combinator-child/expected.css rename to packages/svelte/test/css/samples/combinator-child/expected.css diff --git a/test/css/samples/combinator-child/expected.html b/packages/svelte/test/css/samples/combinator-child/expected.html similarity index 100% rename from test/css/samples/combinator-child/expected.html rename to packages/svelte/test/css/samples/combinator-child/expected.html diff --git a/test/css/samples/combinator-child/input.svelte b/packages/svelte/test/css/samples/combinator-child/input.svelte similarity index 100% rename from test/css/samples/combinator-child/input.svelte rename to packages/svelte/test/css/samples/combinator-child/input.svelte diff --git a/test/css/samples/container-query/expected.css b/packages/svelte/test/css/samples/container-query/expected.css similarity index 100% rename from test/css/samples/container-query/expected.css rename to packages/svelte/test/css/samples/container-query/expected.css diff --git a/test/css/samples/container-query/input.svelte b/packages/svelte/test/css/samples/container-query/input.svelte similarity index 100% rename from test/css/samples/container-query/input.svelte rename to packages/svelte/test/css/samples/container-query/input.svelte diff --git a/test/css/samples/css-vars/expected.css b/packages/svelte/test/css/samples/css-vars/expected.css similarity index 100% rename from test/css/samples/css-vars/expected.css rename to packages/svelte/test/css/samples/css-vars/expected.css diff --git a/test/css/samples/css-vars/input.svelte b/packages/svelte/test/css/samples/css-vars/input.svelte similarity index 100% rename from test/css/samples/css-vars/input.svelte rename to packages/svelte/test/css/samples/css-vars/input.svelte diff --git a/test/css/samples/custom-css-hash/_config.js b/packages/svelte/test/css/samples/custom-css-hash/_config.js similarity index 100% rename from test/css/samples/custom-css-hash/_config.js rename to packages/svelte/test/css/samples/custom-css-hash/_config.js diff --git a/test/css/samples/custom-css-hash/expected.css b/packages/svelte/test/css/samples/custom-css-hash/expected.css similarity index 100% rename from test/css/samples/custom-css-hash/expected.css rename to packages/svelte/test/css/samples/custom-css-hash/expected.css diff --git a/test/css/samples/custom-css-hash/input.svelte b/packages/svelte/test/css/samples/custom-css-hash/input.svelte similarity index 100% rename from test/css/samples/custom-css-hash/input.svelte rename to packages/svelte/test/css/samples/custom-css-hash/input.svelte diff --git a/test/css/samples/descendant-selector-non-top-level-outer/expected.css b/packages/svelte/test/css/samples/descendant-selector-non-top-level-outer/expected.css similarity index 100% rename from test/css/samples/descendant-selector-non-top-level-outer/expected.css rename to packages/svelte/test/css/samples/descendant-selector-non-top-level-outer/expected.css diff --git a/test/css/samples/descendant-selector-non-top-level-outer/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/descendant-selector-non-top-level-outer/expected.html diff --git a/test/css/samples/descendant-selector-non-top-level-outer/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/css/samples/descendant-selector-non-top-level-outer/input.svelte diff --git a/test/css/samples/directive-special-character/expected.css b/packages/svelte/test/css/samples/directive-special-character/expected.css similarity index 100% rename from test/css/samples/directive-special-character/expected.css rename to packages/svelte/test/css/samples/directive-special-character/expected.css diff --git a/test/css/samples/directive-special-character/expected.html b/packages/svelte/test/css/samples/directive-special-character/expected.html similarity index 100% rename from test/css/samples/directive-special-character/expected.html rename to packages/svelte/test/css/samples/directive-special-character/expected.html diff --git a/test/css/samples/directive-special-character/input.svelte b/packages/svelte/test/css/samples/directive-special-character/input.svelte similarity index 100% rename from test/css/samples/directive-special-character/input.svelte rename to packages/svelte/test/css/samples/directive-special-character/input.svelte diff --git a/test/css/samples/dynamic-element-tag/_config.js b/packages/svelte/test/css/samples/dynamic-element-tag/_config.js similarity index 100% rename from test/css/samples/dynamic-element-tag/_config.js rename to packages/svelte/test/css/samples/dynamic-element-tag/_config.js diff --git a/test/css/samples/dynamic-element-tag/expected.css b/packages/svelte/test/css/samples/dynamic-element-tag/expected.css similarity index 100% rename from test/css/samples/dynamic-element-tag/expected.css rename to packages/svelte/test/css/samples/dynamic-element-tag/expected.css diff --git a/test/css/samples/dynamic-element-tag/expected.html b/packages/svelte/test/css/samples/dynamic-element-tag/expected.html similarity index 100% rename from test/css/samples/dynamic-element-tag/expected.html rename to packages/svelte/test/css/samples/dynamic-element-tag/expected.html diff --git a/test/css/samples/dynamic-element-tag/input.svelte b/packages/svelte/test/css/samples/dynamic-element-tag/input.svelte similarity index 100% rename from test/css/samples/dynamic-element-tag/input.svelte rename to packages/svelte/test/css/samples/dynamic-element-tag/input.svelte diff --git a/test/css/samples/dynamic-element/_config.js b/packages/svelte/test/css/samples/dynamic-element/_config.js similarity index 100% rename from test/css/samples/dynamic-element/_config.js rename to packages/svelte/test/css/samples/dynamic-element/_config.js diff --git a/test/css/samples/dynamic-element/expected.css b/packages/svelte/test/css/samples/dynamic-element/expected.css similarity index 100% rename from test/css/samples/dynamic-element/expected.css rename to packages/svelte/test/css/samples/dynamic-element/expected.css diff --git a/test/css/samples/dynamic-element/expected.html b/packages/svelte/test/css/samples/dynamic-element/expected.html similarity index 100% rename from test/css/samples/dynamic-element/expected.html rename to packages/svelte/test/css/samples/dynamic-element/expected.html diff --git a/test/css/samples/dynamic-element/input.svelte b/packages/svelte/test/css/samples/dynamic-element/input.svelte similarity index 100% rename from test/css/samples/dynamic-element/input.svelte rename to packages/svelte/test/css/samples/dynamic-element/input.svelte diff --git a/test/css/samples/empty-class/_config.js b/packages/svelte/test/css/samples/empty-class/_config.js similarity index 100% rename from test/css/samples/empty-class/_config.js rename to packages/svelte/test/css/samples/empty-class/_config.js diff --git a/test/css/samples/empty-class/expected.css b/packages/svelte/test/css/samples/empty-class/expected.css similarity index 100% rename from test/css/samples/empty-class/expected.css rename to packages/svelte/test/css/samples/empty-class/expected.css diff --git a/test/css/samples/empty-class/input.svelte b/packages/svelte/test/css/samples/empty-class/input.svelte similarity index 100% rename from test/css/samples/empty-class/input.svelte rename to packages/svelte/test/css/samples/empty-class/input.svelte diff --git a/test/css/samples/empty-rule-dev/_config.js b/packages/svelte/test/css/samples/empty-rule-dev/_config.js similarity index 100% rename from test/css/samples/empty-rule-dev/_config.js rename to packages/svelte/test/css/samples/empty-rule-dev/_config.js diff --git a/test/css/samples/empty-rule-dev/expected.css b/packages/svelte/test/css/samples/empty-rule-dev/expected.css similarity index 100% rename from test/css/samples/empty-rule-dev/expected.css rename to packages/svelte/test/css/samples/empty-rule-dev/expected.css diff --git a/test/css/samples/empty-rule-dev/input.svelte b/packages/svelte/test/css/samples/empty-rule-dev/input.svelte similarity index 100% rename from test/css/samples/empty-rule-dev/input.svelte rename to packages/svelte/test/css/samples/empty-rule-dev/input.svelte diff --git a/test/css/samples/empty-rule/expected.css b/packages/svelte/test/css/samples/empty-rule/expected.css similarity index 100% rename from test/css/samples/empty-rule/expected.css rename to packages/svelte/test/css/samples/empty-rule/expected.css diff --git a/test/css/samples/empty-rule/input.svelte b/packages/svelte/test/css/samples/empty-rule/input.svelte similarity index 100% rename from test/css/samples/empty-rule/input.svelte rename to packages/svelte/test/css/samples/empty-rule/input.svelte diff --git a/test/css/samples/general-siblings-combinator-await-not-exhaustive/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-await-not-exhaustive/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/_config.js diff --git a/test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.css diff --git a/test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/expected.html diff --git a/test/css/samples/general-siblings-combinator-await-not-exhaustive/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-await-not-exhaustive/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-await-not-exhaustive/input.svelte diff --git a/test/css/samples/general-siblings-combinator-await/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-await/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-await/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-await/_config.js diff --git a/test/css/samples/general-siblings-combinator-await/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-await/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-await/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-await/expected.css diff --git a/test/css/samples/general-siblings-combinator-await/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-await/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-await/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-await/expected.html diff --git a/test/css/samples/general-siblings-combinator-await/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-await/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-await/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-await/input.svelte diff --git a/test/css/samples/general-siblings-combinator-each-2/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-each-2/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-each-2/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-each-2/_config.js diff --git a/test/css/samples/general-siblings-combinator-each-2/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-each-2/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-each-2/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-each-2/expected.css diff --git a/test/css/samples/general-siblings-combinator-each-2/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-each-2/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-each-2/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-each-2/expected.html diff --git a/test/css/samples/general-siblings-combinator-each-2/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-each-2/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-each-2/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-each-2/input.svelte diff --git a/test/css/samples/general-siblings-combinator-each-else-nested/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else-nested/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/_config.js diff --git a/test/css/samples/general-siblings-combinator-each-else-nested/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else-nested/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/expected.css diff --git a/test/css/samples/general-siblings-combinator-each-else-nested/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else-nested/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/expected.html diff --git a/test/css/samples/general-siblings-combinator-each-else-nested/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else-nested/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else-nested/input.svelte diff --git a/test/css/samples/general-siblings-combinator-each-else/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-each-else/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else/_config.js diff --git a/test/css/samples/general-siblings-combinator-each-else/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-each-else/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else/expected.css diff --git a/test/css/samples/general-siblings-combinator-each-else/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-each-else/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else/expected.html diff --git a/test/css/samples/general-siblings-combinator-each-else/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-each-else/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-each-else/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-each-else/input.svelte diff --git a/test/css/samples/general-siblings-combinator-each-nested/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-each-nested/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-each-nested/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-each-nested/_config.js diff --git a/test/css/samples/general-siblings-combinator-each-nested/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-each-nested/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-each-nested/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-each-nested/expected.css diff --git a/test/css/samples/general-siblings-combinator-each-nested/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-each-nested/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-each-nested/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-each-nested/expected.html diff --git a/test/css/samples/general-siblings-combinator-each-nested/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-each-nested/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-each-nested/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-each-nested/input.svelte diff --git a/test/css/samples/general-siblings-combinator-each/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-each/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-each/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-each/expected.css diff --git a/test/css/samples/general-siblings-combinator-each/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-each/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-each/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-each/expected.html diff --git a/test/css/samples/general-siblings-combinator-each/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-each/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-each/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-each/input.svelte diff --git a/test/css/samples/general-siblings-combinator-former-element-in-slot/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-former-element-in-slot/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-former-element-in-slot/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-former-element-in-slot/expected.css diff --git a/test/css/samples/general-siblings-combinator-former-element-in-slot/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-former-element-in-slot/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-former-element-in-slot/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-former-element-in-slot/input.svelte diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/_config.js diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.css diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/expected.html diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive-with-each/input.svelte diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/_config.js diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.css diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/expected.html diff --git a/test/css/samples/general-siblings-combinator-if-not-exhaustive/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-if-not-exhaustive/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-if-not-exhaustive/input.svelte diff --git a/test/css/samples/general-siblings-combinator-if/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-if/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-if/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-if/_config.js diff --git a/test/css/samples/general-siblings-combinator-if/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-if/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-if/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-if/expected.css diff --git a/test/css/samples/general-siblings-combinator-if/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-if/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-if/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-if/expected.html diff --git a/test/css/samples/general-siblings-combinator-if/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-if/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-if/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-if/input.svelte diff --git a/test/css/samples/general-siblings-combinator-nested-slots-flattened/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-nested-slots-flattened/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-nested-slots-flattened/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-nested-slots-flattened/expected.css diff --git a/test/css/samples/general-siblings-combinator-nested-slots-flattened/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-nested-slots-flattened/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-nested-slots-flattened/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-nested-slots-flattened/input.svelte diff --git a/test/css/samples/general-siblings-combinator-nested-slots/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-nested-slots/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-nested-slots/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-nested-slots/expected.css diff --git a/test/css/samples/general-siblings-combinator-nested-slots/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-nested-slots/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-nested-slots/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-nested-slots/input.svelte diff --git a/test/css/samples/general-siblings-combinator-selects-slot-fallback/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-selects-slot-fallback/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-selects-slot-fallback/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-selects-slot-fallback/expected.css diff --git a/test/css/samples/general-siblings-combinator-selects-slot-fallback/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-selects-slot-fallback/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-selects-slot-fallback/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-selects-slot-fallback/input.svelte diff --git a/test/css/samples/general-siblings-combinator-slot/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-slot/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-slot/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-slot/_config.js diff --git a/test/css/samples/general-siblings-combinator-slot/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-slot/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-slot/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-slot/expected.css diff --git a/test/css/samples/general-siblings-combinator-slot/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-slot/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-slot/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-slot/input.svelte diff --git a/test/css/samples/general-siblings-combinator-slots-between/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-slots-between/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-slots-between/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-slots-between/expected.css diff --git a/test/css/samples/general-siblings-combinator-slots-between/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-slots-between/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-slots-between/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-slots-between/input.svelte diff --git a/test/css/samples/general-siblings-combinator-star/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator-star/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator-star/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator-star/_config.js diff --git a/test/css/samples/general-siblings-combinator-star/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator-star/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator-star/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator-star/expected.css diff --git a/test/css/samples/general-siblings-combinator-star/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator-star/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator-star/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator-star/expected.html diff --git a/test/css/samples/general-siblings-combinator-star/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator-star/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator-star/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator-star/input.svelte diff --git a/test/css/samples/general-siblings-combinator/_config.js b/packages/svelte/test/css/samples/general-siblings-combinator/_config.js similarity index 100% rename from test/css/samples/general-siblings-combinator/_config.js rename to packages/svelte/test/css/samples/general-siblings-combinator/_config.js diff --git a/test/css/samples/general-siblings-combinator/expected.css b/packages/svelte/test/css/samples/general-siblings-combinator/expected.css similarity index 100% rename from test/css/samples/general-siblings-combinator/expected.css rename to packages/svelte/test/css/samples/general-siblings-combinator/expected.css diff --git a/test/css/samples/general-siblings-combinator/expected.html b/packages/svelte/test/css/samples/general-siblings-combinator/expected.html similarity index 100% rename from test/css/samples/general-siblings-combinator/expected.html rename to packages/svelte/test/css/samples/general-siblings-combinator/expected.html diff --git a/test/css/samples/general-siblings-combinator/input.svelte b/packages/svelte/test/css/samples/general-siblings-combinator/input.svelte similarity index 100% rename from test/css/samples/general-siblings-combinator/input.svelte rename to packages/svelte/test/css/samples/general-siblings-combinator/input.svelte diff --git a/test/css/samples/global-compound-selector/_config.js b/packages/svelte/test/css/samples/global-compound-selector/_config.js similarity index 100% rename from test/css/samples/global-compound-selector/_config.js rename to packages/svelte/test/css/samples/global-compound-selector/_config.js diff --git a/test/css/samples/global-compound-selector/expected.css b/packages/svelte/test/css/samples/global-compound-selector/expected.css similarity index 100% rename from test/css/samples/global-compound-selector/expected.css rename to packages/svelte/test/css/samples/global-compound-selector/expected.css diff --git a/test/css/samples/global-compound-selector/expected.html b/packages/svelte/test/css/samples/global-compound-selector/expected.html similarity index 100% rename from test/css/samples/global-compound-selector/expected.html rename to packages/svelte/test/css/samples/global-compound-selector/expected.html diff --git a/test/css/samples/global-compound-selector/input.svelte b/packages/svelte/test/css/samples/global-compound-selector/input.svelte similarity index 100% rename from test/css/samples/global-compound-selector/input.svelte rename to packages/svelte/test/css/samples/global-compound-selector/input.svelte diff --git a/test/css/samples/global-keyframes-with-no-elements/expected.css b/packages/svelte/test/css/samples/global-keyframes-with-no-elements/expected.css similarity index 100% rename from test/css/samples/global-keyframes-with-no-elements/expected.css rename to packages/svelte/test/css/samples/global-keyframes-with-no-elements/expected.css diff --git a/test/css/samples/global-keyframes-with-no-elements/input.svelte b/packages/svelte/test/css/samples/global-keyframes-with-no-elements/input.svelte similarity index 100% rename from test/css/samples/global-keyframes-with-no-elements/input.svelte rename to packages/svelte/test/css/samples/global-keyframes-with-no-elements/input.svelte diff --git a/test/css/samples/global-keyframes/expected.css b/packages/svelte/test/css/samples/global-keyframes/expected.css similarity index 100% rename from test/css/samples/global-keyframes/expected.css rename to packages/svelte/test/css/samples/global-keyframes/expected.css diff --git a/test/css/samples/global-keyframes/input.svelte b/packages/svelte/test/css/samples/global-keyframes/input.svelte similarity index 100% rename from test/css/samples/global-keyframes/input.svelte rename to packages/svelte/test/css/samples/global-keyframes/input.svelte diff --git a/test/css/samples/global-with-child-combinator-2/_config.js b/packages/svelte/test/css/samples/global-with-child-combinator-2/_config.js similarity index 100% rename from test/css/samples/global-with-child-combinator-2/_config.js rename to packages/svelte/test/css/samples/global-with-child-combinator-2/_config.js diff --git a/test/css/samples/global-with-child-combinator-2/expected.css b/packages/svelte/test/css/samples/global-with-child-combinator-2/expected.css similarity index 100% rename from test/css/samples/global-with-child-combinator-2/expected.css rename to packages/svelte/test/css/samples/global-with-child-combinator-2/expected.css diff --git a/test/css/samples/global-with-child-combinator-2/expected.html b/packages/svelte/test/css/samples/global-with-child-combinator-2/expected.html similarity index 100% rename from test/css/samples/global-with-child-combinator-2/expected.html rename to packages/svelte/test/css/samples/global-with-child-combinator-2/expected.html diff --git a/test/css/samples/global-with-child-combinator-2/input.svelte b/packages/svelte/test/css/samples/global-with-child-combinator-2/input.svelte similarity index 100% rename from test/css/samples/global-with-child-combinator-2/input.svelte rename to packages/svelte/test/css/samples/global-with-child-combinator-2/input.svelte diff --git a/test/css/samples/global-with-child-combinator-3/_config.js b/packages/svelte/test/css/samples/global-with-child-combinator-3/_config.js similarity index 100% rename from test/css/samples/global-with-child-combinator-3/_config.js rename to packages/svelte/test/css/samples/global-with-child-combinator-3/_config.js diff --git a/test/css/samples/global-with-child-combinator-3/expected.css b/packages/svelte/test/css/samples/global-with-child-combinator-3/expected.css similarity index 100% rename from test/css/samples/global-with-child-combinator-3/expected.css rename to packages/svelte/test/css/samples/global-with-child-combinator-3/expected.css diff --git a/test/css/samples/global-with-child-combinator-3/expected.html b/packages/svelte/test/css/samples/global-with-child-combinator-3/expected.html similarity index 100% rename from test/css/samples/global-with-child-combinator-3/expected.html rename to packages/svelte/test/css/samples/global-with-child-combinator-3/expected.html diff --git a/test/css/samples/global-with-child-combinator-3/input.svelte b/packages/svelte/test/css/samples/global-with-child-combinator-3/input.svelte similarity index 100% rename from test/css/samples/global-with-child-combinator-3/input.svelte rename to packages/svelte/test/css/samples/global-with-child-combinator-3/input.svelte diff --git a/test/css/samples/global-with-child-combinator/_config.js b/packages/svelte/test/css/samples/global-with-child-combinator/_config.js similarity index 100% rename from test/css/samples/global-with-child-combinator/_config.js rename to packages/svelte/test/css/samples/global-with-child-combinator/_config.js diff --git a/test/css/samples/global-with-child-combinator/expected.css b/packages/svelte/test/css/samples/global-with-child-combinator/expected.css similarity index 100% rename from test/css/samples/global-with-child-combinator/expected.css rename to packages/svelte/test/css/samples/global-with-child-combinator/expected.css diff --git a/test/css/samples/global-with-child-combinator/expected.html b/packages/svelte/test/css/samples/global-with-child-combinator/expected.html similarity index 100% rename from test/css/samples/global-with-child-combinator/expected.html rename to packages/svelte/test/css/samples/global-with-child-combinator/expected.html diff --git a/test/css/samples/global-with-child-combinator/input.svelte b/packages/svelte/test/css/samples/global-with-child-combinator/input.svelte similarity index 100% rename from test/css/samples/global-with-child-combinator/input.svelte rename to packages/svelte/test/css/samples/global-with-child-combinator/input.svelte diff --git a/test/css/samples/global-with-unused-descendant/_config.js b/packages/svelte/test/css/samples/global-with-unused-descendant/_config.js similarity index 100% rename from test/css/samples/global-with-unused-descendant/_config.js rename to packages/svelte/test/css/samples/global-with-unused-descendant/_config.js diff --git a/test/css/samples/global-with-unused-descendant/expected.css b/packages/svelte/test/css/samples/global-with-unused-descendant/expected.css similarity index 100% rename from test/css/samples/global-with-unused-descendant/expected.css rename to packages/svelte/test/css/samples/global-with-unused-descendant/expected.css diff --git a/test/css/samples/global-with-unused-descendant/input.svelte b/packages/svelte/test/css/samples/global-with-unused-descendant/input.svelte similarity index 100% rename from test/css/samples/global-with-unused-descendant/input.svelte rename to packages/svelte/test/css/samples/global-with-unused-descendant/input.svelte diff --git a/test/css/samples/global/expected.css b/packages/svelte/test/css/samples/global/expected.css similarity index 100% rename from test/css/samples/global/expected.css rename to packages/svelte/test/css/samples/global/expected.css diff --git a/test/css/samples/global/input.svelte b/packages/svelte/test/css/samples/global/input.svelte similarity index 100% rename from test/css/samples/global/input.svelte rename to packages/svelte/test/css/samples/global/input.svelte diff --git a/test/css/samples/host/_config.js b/packages/svelte/test/css/samples/host/_config.js similarity index 100% rename from test/css/samples/host/_config.js rename to packages/svelte/test/css/samples/host/_config.js diff --git a/test/css/samples/host/expected.css b/packages/svelte/test/css/samples/host/expected.css similarity index 100% rename from test/css/samples/host/expected.css rename to packages/svelte/test/css/samples/host/expected.css diff --git a/test/css/samples/host/input.svelte b/packages/svelte/test/css/samples/host/input.svelte similarity index 100% rename from test/css/samples/host/input.svelte rename to packages/svelte/test/css/samples/host/input.svelte diff --git a/test/css/samples/keyframes-autoprefixed/expected.css b/packages/svelte/test/css/samples/keyframes-autoprefixed/expected.css similarity index 100% rename from test/css/samples/keyframes-autoprefixed/expected.css rename to packages/svelte/test/css/samples/keyframes-autoprefixed/expected.css diff --git a/test/css/samples/keyframes-autoprefixed/input.svelte b/packages/svelte/test/css/samples/keyframes-autoprefixed/input.svelte similarity index 100% rename from test/css/samples/keyframes-autoprefixed/input.svelte rename to packages/svelte/test/css/samples/keyframes-autoprefixed/input.svelte diff --git a/test/css/samples/keyframes-from-to/expected.css b/packages/svelte/test/css/samples/keyframes-from-to/expected.css similarity index 100% rename from test/css/samples/keyframes-from-to/expected.css rename to packages/svelte/test/css/samples/keyframes-from-to/expected.css diff --git a/test/css/samples/keyframes-from-to/input.svelte b/packages/svelte/test/css/samples/keyframes-from-to/input.svelte similarity index 100% rename from test/css/samples/keyframes-from-to/input.svelte rename to packages/svelte/test/css/samples/keyframes-from-to/input.svelte diff --git a/test/css/samples/keyframes/expected.css b/packages/svelte/test/css/samples/keyframes/expected.css similarity index 100% rename from test/css/samples/keyframes/expected.css rename to packages/svelte/test/css/samples/keyframes/expected.css diff --git a/test/css/samples/keyframes/input.svelte b/packages/svelte/test/css/samples/keyframes/input.svelte similarity index 100% rename from test/css/samples/keyframes/input.svelte rename to packages/svelte/test/css/samples/keyframes/input.svelte diff --git a/test/css/samples/local-inside-global/expected.css b/packages/svelte/test/css/samples/local-inside-global/expected.css similarity index 100% rename from test/css/samples/local-inside-global/expected.css rename to packages/svelte/test/css/samples/local-inside-global/expected.css diff --git a/test/css/samples/local-inside-global/input.svelte b/packages/svelte/test/css/samples/local-inside-global/input.svelte similarity index 100% rename from test/css/samples/local-inside-global/input.svelte rename to packages/svelte/test/css/samples/local-inside-global/input.svelte diff --git a/test/css/samples/media-query-word/expected.css b/packages/svelte/test/css/samples/media-query-word/expected.css similarity index 100% rename from test/css/samples/media-query-word/expected.css rename to packages/svelte/test/css/samples/media-query-word/expected.css diff --git a/test/css/samples/media-query-word/input.svelte b/packages/svelte/test/css/samples/media-query-word/input.svelte similarity index 100% rename from test/css/samples/media-query-word/input.svelte rename to packages/svelte/test/css/samples/media-query-word/input.svelte diff --git a/test/css/samples/media-query/expected.css b/packages/svelte/test/css/samples/media-query/expected.css similarity index 100% rename from test/css/samples/media-query/expected.css rename to packages/svelte/test/css/samples/media-query/expected.css diff --git a/test/css/samples/media-query/input.svelte b/packages/svelte/test/css/samples/media-query/input.svelte similarity index 100% rename from test/css/samples/media-query/input.svelte rename to packages/svelte/test/css/samples/media-query/input.svelte diff --git a/test/css/samples/nested/_config.js b/packages/svelte/test/css/samples/nested/_config.js similarity index 100% rename from test/css/samples/nested/_config.js rename to packages/svelte/test/css/samples/nested/_config.js diff --git a/test/css/samples/nested/expected.css b/packages/svelte/test/css/samples/nested/expected.css similarity index 100% rename from test/css/samples/nested/expected.css rename to packages/svelte/test/css/samples/nested/expected.css diff --git a/test/css/samples/nested/expected.html b/packages/svelte/test/css/samples/nested/expected.html similarity index 100% rename from test/css/samples/nested/expected.html rename to packages/svelte/test/css/samples/nested/expected.html diff --git a/test/css/samples/nested/input.svelte b/packages/svelte/test/css/samples/nested/input.svelte similarity index 100% rename from test/css/samples/nested/input.svelte rename to packages/svelte/test/css/samples/nested/input.svelte diff --git a/test/css/samples/not-selector/expected.css b/packages/svelte/test/css/samples/not-selector/expected.css similarity index 100% rename from test/css/samples/not-selector/expected.css rename to packages/svelte/test/css/samples/not-selector/expected.css diff --git a/test/css/samples/not-selector/input.svelte b/packages/svelte/test/css/samples/not-selector/input.svelte similarity index 100% rename from test/css/samples/not-selector/input.svelte rename to packages/svelte/test/css/samples/not-selector/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-contains/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-contains/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/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.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-case-insensitive/expected.html b/packages/svelte/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.html rename to packages/svelte/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-case-insensitive/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/_config.js diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals-dynamic/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/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.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-equals/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-equals/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/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.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-pipe-equals/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/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.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-prefix/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-suffix/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/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.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector-word-equals/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector/expected.css diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector/expected.html diff --git a/test/css/samples/omit-scoping-attribute-attribute-selector/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-attribute-selector/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-attribute-selector/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-class-dynamic/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-class-dynamic/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-dynamic/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-class-dynamic/expected.css diff --git a/test/css/samples/omit-scoping-attribute-class-dynamic/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-class-dynamic/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-dynamic/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-class-dynamic/expected.html diff --git a/test/css/samples/omit-scoping-attribute-class-dynamic/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-class-dynamic/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-dynamic/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-class-dynamic/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-class-static/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-class-static/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-static/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-class-static/expected.css diff --git a/test/css/samples/omit-scoping-attribute-class-static/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-class-static/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-static/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-class-static/expected.html diff --git a/test/css/samples/omit-scoping-attribute-class-static/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-class-static/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-class-static/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-class-static/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/_config.js diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.css diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-class/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/_config.js diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.css diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner-multiple/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner/_config.js diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.css diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-inner/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-inner/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/_config.js diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.css diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer-multiple/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer/_config.js diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.css diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.html b/packages/svelte/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.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant-global-outer/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant-global-outer/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-descendant/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant/_config.js diff --git a/test/css/samples/omit-scoping-attribute-descendant/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant/expected.css diff --git a/test/css/samples/omit-scoping-attribute-descendant/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant/expected.html diff --git a/test/css/samples/omit-scoping-attribute-descendant/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-descendant/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-descendant/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-descendant/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-global-children/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-global-children/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-global-children/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-global-children/expected.css diff --git a/test/css/samples/omit-scoping-attribute-global-children/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-global-children/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-global-children/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-global-children/expected.html diff --git a/test/css/samples/omit-scoping-attribute-global-children/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-global-children/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-global-children/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-global-children/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-global-descendants/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-global-descendants/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-global-descendants/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-global-descendants/expected.css diff --git a/test/css/samples/omit-scoping-attribute-global-descendants/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-global-descendants/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-global-descendants/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-global-descendants/expected.html diff --git a/test/css/samples/omit-scoping-attribute-global-descendants/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-global-descendants/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-global-descendants/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-global-descendants/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-global/_config.js b/packages/svelte/test/css/samples/omit-scoping-attribute-global/_config.js similarity index 100% rename from test/css/samples/omit-scoping-attribute-global/_config.js rename to packages/svelte/test/css/samples/omit-scoping-attribute-global/_config.js diff --git a/test/css/samples/omit-scoping-attribute-global/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-global/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-global/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-global/expected.css diff --git a/test/css/samples/omit-scoping-attribute-global/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-global/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-global/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-global/expected.html diff --git a/test/css/samples/omit-scoping-attribute-global/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-global/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-global/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-global/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-id/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-id/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-id/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-id/expected.css diff --git a/test/css/samples/omit-scoping-attribute-id/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-id/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-id/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-id/expected.html diff --git a/test/css/samples/omit-scoping-attribute-id/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-id/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-id/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-id/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-multiple-descendants/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-multiple-descendants/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-multiple-descendants/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-multiple-descendants/expected.css diff --git a/test/css/samples/omit-scoping-attribute-multiple-descendants/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-multiple-descendants/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-multiple-descendants/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-multiple-descendants/expected.html diff --git a/test/css/samples/omit-scoping-attribute-multiple-descendants/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-multiple-descendants/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-multiple-descendants/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-multiple-descendants/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.css diff --git a/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-whitespace-multiple/expected.html diff --git a/test/css/samples/omit-scoping-attribute-whitespace-multiple/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-whitespace-multiple/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace-multiple/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-whitespace-multiple/input.svelte diff --git a/test/css/samples/omit-scoping-attribute-whitespace/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute-whitespace/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute-whitespace/expected.css diff --git a/test/css/samples/omit-scoping-attribute-whitespace/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute-whitespace/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute-whitespace/expected.html diff --git a/test/css/samples/omit-scoping-attribute-whitespace/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute-whitespace/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute-whitespace/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute-whitespace/input.svelte diff --git a/test/css/samples/omit-scoping-attribute/expected.css b/packages/svelte/test/css/samples/omit-scoping-attribute/expected.css similarity index 100% rename from test/css/samples/omit-scoping-attribute/expected.css rename to packages/svelte/test/css/samples/omit-scoping-attribute/expected.css diff --git a/test/css/samples/omit-scoping-attribute/expected.html b/packages/svelte/test/css/samples/omit-scoping-attribute/expected.html similarity index 100% rename from test/css/samples/omit-scoping-attribute/expected.html rename to packages/svelte/test/css/samples/omit-scoping-attribute/expected.html diff --git a/test/css/samples/omit-scoping-attribute/input.svelte b/packages/svelte/test/css/samples/omit-scoping-attribute/input.svelte similarity index 100% rename from test/css/samples/omit-scoping-attribute/input.svelte rename to packages/svelte/test/css/samples/omit-scoping-attribute/input.svelte diff --git a/test/css/samples/preserve-specificity/expected.css b/packages/svelte/test/css/samples/preserve-specificity/expected.css similarity index 100% rename from test/css/samples/preserve-specificity/expected.css rename to packages/svelte/test/css/samples/preserve-specificity/expected.css diff --git a/test/css/samples/preserve-specificity/expected.html b/packages/svelte/test/css/samples/preserve-specificity/expected.html similarity index 100% rename from test/css/samples/preserve-specificity/expected.html rename to packages/svelte/test/css/samples/preserve-specificity/expected.html diff --git a/test/css/samples/preserve-specificity/input.svelte b/packages/svelte/test/css/samples/preserve-specificity/input.svelte similarity index 100% rename from test/css/samples/preserve-specificity/input.svelte rename to packages/svelte/test/css/samples/preserve-specificity/input.svelte diff --git a/test/css/samples/pseudo-element/expected.css b/packages/svelte/test/css/samples/pseudo-element/expected.css similarity index 100% rename from test/css/samples/pseudo-element/expected.css rename to packages/svelte/test/css/samples/pseudo-element/expected.css diff --git a/test/css/samples/pseudo-element/input.svelte b/packages/svelte/test/css/samples/pseudo-element/input.svelte similarity index 100% rename from test/css/samples/pseudo-element/input.svelte rename to packages/svelte/test/css/samples/pseudo-element/input.svelte diff --git a/test/css/samples/root/_config.js b/packages/svelte/test/css/samples/root/_config.js similarity index 100% rename from test/css/samples/root/_config.js rename to packages/svelte/test/css/samples/root/_config.js diff --git a/test/css/samples/root/expected.css b/packages/svelte/test/css/samples/root/expected.css similarity index 100% rename from test/css/samples/root/expected.css rename to packages/svelte/test/css/samples/root/expected.css diff --git a/test/css/samples/root/expected.html b/packages/svelte/test/css/samples/root/expected.html similarity index 100% rename from test/css/samples/root/expected.html rename to packages/svelte/test/css/samples/root/expected.html diff --git a/test/css/samples/root/input.svelte b/packages/svelte/test/css/samples/root/input.svelte similarity index 100% rename from test/css/samples/root/input.svelte rename to packages/svelte/test/css/samples/root/input.svelte diff --git a/test/css/samples/siblings-combinator-await-not-exhaustive/_config.js b/packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-await-not-exhaustive/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/_config.js diff --git a/test/css/samples/siblings-combinator-await-not-exhaustive/expected.css b/packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-await-not-exhaustive/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/expected.css diff --git a/test/css/samples/siblings-combinator-await-not-exhaustive/expected.html b/packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-await-not-exhaustive/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/expected.html diff --git a/test/css/samples/siblings-combinator-await-not-exhaustive/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-await-not-exhaustive/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-await-not-exhaustive/input.svelte diff --git a/test/css/samples/siblings-combinator-await/_config.js b/packages/svelte/test/css/samples/siblings-combinator-await/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-await/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-await/_config.js diff --git a/test/css/samples/siblings-combinator-await/expected.css b/packages/svelte/test/css/samples/siblings-combinator-await/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-await/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-await/expected.css diff --git a/test/css/samples/siblings-combinator-await/expected.html b/packages/svelte/test/css/samples/siblings-combinator-await/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-await/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-await/expected.html diff --git a/test/css/samples/siblings-combinator-await/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-await/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-await/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-await/input.svelte diff --git a/test/css/samples/siblings-combinator-each-2/_config.js b/packages/svelte/test/css/samples/siblings-combinator-each-2/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-each-2/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-each-2/_config.js diff --git a/test/css/samples/siblings-combinator-each-2/expected.css b/packages/svelte/test/css/samples/siblings-combinator-each-2/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-each-2/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-each-2/expected.css diff --git a/test/css/samples/siblings-combinator-each-2/expected.html b/packages/svelte/test/css/samples/siblings-combinator-each-2/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-each-2/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-each-2/expected.html diff --git a/test/css/samples/siblings-combinator-each-2/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-each-2/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-each-2/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-each-2/input.svelte diff --git a/test/css/samples/siblings-combinator-each-else-nested/_config.js b/packages/svelte/test/css/samples/siblings-combinator-each-else-nested/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-each-else-nested/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-each-else-nested/_config.js diff --git a/test/css/samples/siblings-combinator-each-else-nested/expected.css b/packages/svelte/test/css/samples/siblings-combinator-each-else-nested/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-each-else-nested/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-each-else-nested/expected.css diff --git a/test/css/samples/siblings-combinator-each-else-nested/expected.html b/packages/svelte/test/css/samples/siblings-combinator-each-else-nested/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-each-else-nested/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-each-else-nested/expected.html diff --git a/test/css/samples/siblings-combinator-each-else-nested/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-each-else-nested/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-each-else-nested/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-each-else-nested/input.svelte diff --git a/test/css/samples/siblings-combinator-each-else/_config.js b/packages/svelte/test/css/samples/siblings-combinator-each-else/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-each-else/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-each-else/_config.js diff --git a/test/css/samples/siblings-combinator-each-else/expected.css b/packages/svelte/test/css/samples/siblings-combinator-each-else/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-each-else/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-each-else/expected.css diff --git a/test/css/samples/siblings-combinator-each-else/expected.html b/packages/svelte/test/css/samples/siblings-combinator-each-else/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-each-else/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-each-else/expected.html diff --git a/test/css/samples/siblings-combinator-each-else/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-each-else/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-each-else/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-each-else/input.svelte diff --git a/test/css/samples/siblings-combinator-each-nested/_config.js b/packages/svelte/test/css/samples/siblings-combinator-each-nested/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-each-nested/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-each-nested/_config.js diff --git a/test/css/samples/siblings-combinator-each-nested/expected.css b/packages/svelte/test/css/samples/siblings-combinator-each-nested/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-each-nested/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-each-nested/expected.css diff --git a/test/css/samples/siblings-combinator-each-nested/expected.html b/packages/svelte/test/css/samples/siblings-combinator-each-nested/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-each-nested/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-each-nested/expected.html diff --git a/test/css/samples/siblings-combinator-each-nested/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-each-nested/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-each-nested/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-each-nested/input.svelte diff --git a/test/css/samples/siblings-combinator-each/expected.css b/packages/svelte/test/css/samples/siblings-combinator-each/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-each/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-each/expected.css diff --git a/test/css/samples/siblings-combinator-each/expected.html b/packages/svelte/test/css/samples/siblings-combinator-each/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-each/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-each/expected.html diff --git a/test/css/samples/siblings-combinator-each/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-each/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-each/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-each/input.svelte diff --git a/test/css/samples/siblings-combinator-former-element-in-slot/expected.css b/packages/svelte/test/css/samples/siblings-combinator-former-element-in-slot/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-former-element-in-slot/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-former-element-in-slot/expected.css diff --git a/test/css/samples/siblings-combinator-former-element-in-slot/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-former-element-in-slot/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-former-element-in-slot/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-former-element-in-slot/input.svelte diff --git a/test/css/samples/siblings-combinator-global/_config.js b/packages/svelte/test/css/samples/siblings-combinator-global/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-global/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-global/_config.js diff --git a/test/css/samples/siblings-combinator-global/expected.css b/packages/svelte/test/css/samples/siblings-combinator-global/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-global/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-global/expected.css diff --git a/test/css/samples/siblings-combinator-global/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-global/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-global/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-global/input.svelte diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/_config.js b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive-with-each/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/_config.js diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.css b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.css diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.html b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/expected.html diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive-with-each/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive-with-each/input.svelte diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive/_config.js b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/_config.js diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive/expected.css b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/expected.css diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive/expected.html b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/expected.html diff --git a/test/css/samples/siblings-combinator-if-not-exhaustive/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-if-not-exhaustive/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-if-not-exhaustive/input.svelte diff --git a/test/css/samples/siblings-combinator-if/_config.js b/packages/svelte/test/css/samples/siblings-combinator-if/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-if/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-if/_config.js diff --git a/test/css/samples/siblings-combinator-if/expected.css b/packages/svelte/test/css/samples/siblings-combinator-if/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-if/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-if/expected.css diff --git a/test/css/samples/siblings-combinator-if/expected.html b/packages/svelte/test/css/samples/siblings-combinator-if/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-if/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-if/expected.html diff --git a/test/css/samples/siblings-combinator-if/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-if/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-if/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-if/input.svelte diff --git a/test/css/samples/siblings-combinator-nested-slots-flattened/expected.css b/packages/svelte/test/css/samples/siblings-combinator-nested-slots-flattened/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-nested-slots-flattened/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-nested-slots-flattened/expected.css diff --git a/test/css/samples/siblings-combinator-nested-slots-flattened/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-nested-slots-flattened/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-nested-slots-flattened/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-nested-slots-flattened/input.svelte diff --git a/test/css/samples/siblings-combinator-nested-slots/expected.css b/packages/svelte/test/css/samples/siblings-combinator-nested-slots/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-nested-slots/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-nested-slots/expected.css diff --git a/test/css/samples/siblings-combinator-nested-slots/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-nested-slots/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-nested-slots/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-nested-slots/input.svelte diff --git a/test/css/samples/siblings-combinator-selects-slot-fallback/expected.css b/packages/svelte/test/css/samples/siblings-combinator-selects-slot-fallback/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-selects-slot-fallback/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-selects-slot-fallback/expected.css diff --git a/test/css/samples/siblings-combinator-selects-slot-fallback/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-selects-slot-fallback/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-selects-slot-fallback/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-selects-slot-fallback/input.svelte diff --git a/test/css/samples/siblings-combinator-slot/_config.js b/packages/svelte/test/css/samples/siblings-combinator-slot/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-slot/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-slot/_config.js diff --git a/test/css/samples/siblings-combinator-slot/expected.css b/packages/svelte/test/css/samples/siblings-combinator-slot/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-slot/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-slot/expected.css diff --git a/test/css/samples/siblings-combinator-slot/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-slot/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-slot/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-slot/input.svelte diff --git a/test/css/samples/siblings-combinator-slots-between/expected.css b/packages/svelte/test/css/samples/siblings-combinator-slots-between/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-slots-between/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-slots-between/expected.css diff --git a/test/css/samples/siblings-combinator-slots-between/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-slots-between/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-slots-between/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-slots-between/input.svelte diff --git a/test/css/samples/siblings-combinator-star/_config.js b/packages/svelte/test/css/samples/siblings-combinator-star/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-star/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-star/_config.js diff --git a/test/css/samples/siblings-combinator-star/expected.css b/packages/svelte/test/css/samples/siblings-combinator-star/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-star/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-star/expected.css diff --git a/test/css/samples/siblings-combinator-star/expected.html b/packages/svelte/test/css/samples/siblings-combinator-star/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-star/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-star/expected.html diff --git a/test/css/samples/siblings-combinator-star/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-star/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-star/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-star/input.svelte diff --git a/test/css/samples/siblings-combinator-with-spread/_config.js b/packages/svelte/test/css/samples/siblings-combinator-with-spread/_config.js similarity index 100% rename from test/css/samples/siblings-combinator-with-spread/_config.js rename to packages/svelte/test/css/samples/siblings-combinator-with-spread/_config.js diff --git a/test/css/samples/siblings-combinator-with-spread/expected.css b/packages/svelte/test/css/samples/siblings-combinator-with-spread/expected.css similarity index 100% rename from test/css/samples/siblings-combinator-with-spread/expected.css rename to packages/svelte/test/css/samples/siblings-combinator-with-spread/expected.css diff --git a/test/css/samples/siblings-combinator-with-spread/expected.html b/packages/svelte/test/css/samples/siblings-combinator-with-spread/expected.html similarity index 100% rename from test/css/samples/siblings-combinator-with-spread/expected.html rename to packages/svelte/test/css/samples/siblings-combinator-with-spread/expected.html diff --git a/test/css/samples/siblings-combinator-with-spread/input.svelte b/packages/svelte/test/css/samples/siblings-combinator-with-spread/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator-with-spread/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator-with-spread/input.svelte diff --git a/test/css/samples/siblings-combinator/_config.js b/packages/svelte/test/css/samples/siblings-combinator/_config.js similarity index 100% rename from test/css/samples/siblings-combinator/_config.js rename to packages/svelte/test/css/samples/siblings-combinator/_config.js diff --git a/test/css/samples/siblings-combinator/expected.css b/packages/svelte/test/css/samples/siblings-combinator/expected.css similarity index 100% rename from test/css/samples/siblings-combinator/expected.css rename to packages/svelte/test/css/samples/siblings-combinator/expected.css diff --git a/test/css/samples/siblings-combinator/expected.html b/packages/svelte/test/css/samples/siblings-combinator/expected.html similarity index 100% rename from test/css/samples/siblings-combinator/expected.html rename to packages/svelte/test/css/samples/siblings-combinator/expected.html diff --git a/test/css/samples/siblings-combinator/input.svelte b/packages/svelte/test/css/samples/siblings-combinator/input.svelte similarity index 100% rename from test/css/samples/siblings-combinator/input.svelte rename to packages/svelte/test/css/samples/siblings-combinator/input.svelte diff --git a/test/css/samples/spread/expected.css b/packages/svelte/test/css/samples/spread/expected.css similarity index 100% rename from test/css/samples/spread/expected.css rename to packages/svelte/test/css/samples/spread/expected.css diff --git a/test/css/samples/spread/input.svelte b/packages/svelte/test/css/samples/spread/input.svelte similarity index 100% rename from test/css/samples/spread/input.svelte rename to packages/svelte/test/css/samples/spread/input.svelte diff --git a/test/css/samples/supports-charset/expected.css b/packages/svelte/test/css/samples/supports-charset/expected.css similarity index 100% rename from test/css/samples/supports-charset/expected.css rename to packages/svelte/test/css/samples/supports-charset/expected.css diff --git a/test/css/samples/supports-charset/input.svelte b/packages/svelte/test/css/samples/supports-charset/input.svelte similarity index 100% rename from test/css/samples/supports-charset/input.svelte rename to packages/svelte/test/css/samples/supports-charset/input.svelte diff --git a/test/css/samples/supports-font-face/expected.css b/packages/svelte/test/css/samples/supports-font-face/expected.css similarity index 100% rename from test/css/samples/supports-font-face/expected.css rename to packages/svelte/test/css/samples/supports-font-face/expected.css diff --git a/test/css/samples/supports-font-face/input.svelte b/packages/svelte/test/css/samples/supports-font-face/input.svelte similarity index 100% rename from test/css/samples/supports-font-face/input.svelte rename to packages/svelte/test/css/samples/supports-font-face/input.svelte diff --git a/test/css/samples/supports-import/expected.css b/packages/svelte/test/css/samples/supports-import/expected.css similarity index 100% rename from test/css/samples/supports-import/expected.css rename to packages/svelte/test/css/samples/supports-import/expected.css diff --git a/test/css/samples/supports-import/input.svelte b/packages/svelte/test/css/samples/supports-import/input.svelte similarity index 100% rename from test/css/samples/supports-import/input.svelte rename to packages/svelte/test/css/samples/supports-import/input.svelte diff --git a/test/css/samples/supports-namespace/expected.css b/packages/svelte/test/css/samples/supports-namespace/expected.css similarity index 100% rename from test/css/samples/supports-namespace/expected.css rename to packages/svelte/test/css/samples/supports-namespace/expected.css diff --git a/test/css/samples/supports-namespace/input.svelte b/packages/svelte/test/css/samples/supports-namespace/input.svelte similarity index 100% rename from test/css/samples/supports-namespace/input.svelte rename to packages/svelte/test/css/samples/supports-namespace/input.svelte diff --git a/test/css/samples/supports-nested-page/expected.css b/packages/svelte/test/css/samples/supports-nested-page/expected.css similarity index 100% rename from test/css/samples/supports-nested-page/expected.css rename to packages/svelte/test/css/samples/supports-nested-page/expected.css diff --git a/test/css/samples/supports-nested-page/input.svelte b/packages/svelte/test/css/samples/supports-nested-page/input.svelte similarity index 100% rename from test/css/samples/supports-nested-page/input.svelte rename to packages/svelte/test/css/samples/supports-nested-page/input.svelte diff --git a/test/css/samples/supports-page/expected.css b/packages/svelte/test/css/samples/supports-page/expected.css similarity index 100% rename from test/css/samples/supports-page/expected.css rename to packages/svelte/test/css/samples/supports-page/expected.css diff --git a/test/css/samples/supports-page/input.svelte b/packages/svelte/test/css/samples/supports-page/input.svelte similarity index 100% rename from test/css/samples/supports-page/input.svelte rename to packages/svelte/test/css/samples/supports-page/input.svelte diff --git a/test/css/samples/supports-query/expected.css b/packages/svelte/test/css/samples/supports-query/expected.css similarity index 100% rename from test/css/samples/supports-query/expected.css rename to packages/svelte/test/css/samples/supports-query/expected.css diff --git a/test/css/samples/supports-query/input.svelte b/packages/svelte/test/css/samples/supports-query/input.svelte similarity index 100% rename from test/css/samples/supports-query/input.svelte rename to packages/svelte/test/css/samples/supports-query/input.svelte diff --git a/test/css/samples/undefined-with-scope/expected.css b/packages/svelte/test/css/samples/undefined-with-scope/expected.css similarity index 100% rename from test/css/samples/undefined-with-scope/expected.css rename to packages/svelte/test/css/samples/undefined-with-scope/expected.css diff --git a/test/css/samples/undefined-with-scope/expected.html b/packages/svelte/test/css/samples/undefined-with-scope/expected.html similarity index 100% rename from test/css/samples/undefined-with-scope/expected.html rename to packages/svelte/test/css/samples/undefined-with-scope/expected.html diff --git a/test/css/samples/undefined-with-scope/input.svelte b/packages/svelte/test/css/samples/undefined-with-scope/input.svelte similarity index 100% rename from test/css/samples/undefined-with-scope/input.svelte rename to packages/svelte/test/css/samples/undefined-with-scope/input.svelte diff --git a/test/css/samples/universal-selector/expected.css b/packages/svelte/test/css/samples/universal-selector/expected.css similarity index 100% rename from test/css/samples/universal-selector/expected.css rename to packages/svelte/test/css/samples/universal-selector/expected.css diff --git a/test/css/samples/universal-selector/input.svelte b/packages/svelte/test/css/samples/universal-selector/input.svelte similarity index 100% rename from test/css/samples/universal-selector/input.svelte rename to packages/svelte/test/css/samples/universal-selector/input.svelte diff --git a/test/css/samples/unknown-at-rule-with-following-rules/expected.css b/packages/svelte/test/css/samples/unknown-at-rule-with-following-rules/expected.css similarity index 100% rename from test/css/samples/unknown-at-rule-with-following-rules/expected.css rename to packages/svelte/test/css/samples/unknown-at-rule-with-following-rules/expected.css diff --git a/test/css/samples/unknown-at-rule-with-following-rules/input.svelte b/packages/svelte/test/css/samples/unknown-at-rule-with-following-rules/input.svelte similarity index 100% rename from test/css/samples/unknown-at-rule-with-following-rules/input.svelte rename to packages/svelte/test/css/samples/unknown-at-rule-with-following-rules/input.svelte diff --git a/test/css/samples/unknown-at-rule/expected.css b/packages/svelte/test/css/samples/unknown-at-rule/expected.css similarity index 100% rename from test/css/samples/unknown-at-rule/expected.css rename to packages/svelte/test/css/samples/unknown-at-rule/expected.css diff --git a/test/css/samples/unknown-at-rule/input.svelte b/packages/svelte/test/css/samples/unknown-at-rule/input.svelte similarity index 100% rename from test/css/samples/unknown-at-rule/input.svelte rename to packages/svelte/test/css/samples/unknown-at-rule/input.svelte diff --git a/test/css/samples/unused-selector-child-combinator/_config.js b/packages/svelte/test/css/samples/unused-selector-child-combinator/_config.js similarity index 100% rename from test/css/samples/unused-selector-child-combinator/_config.js rename to packages/svelte/test/css/samples/unused-selector-child-combinator/_config.js diff --git a/test/css/samples/unused-selector-child-combinator/expected.css b/packages/svelte/test/css/samples/unused-selector-child-combinator/expected.css similarity index 100% rename from test/css/samples/unused-selector-child-combinator/expected.css rename to packages/svelte/test/css/samples/unused-selector-child-combinator/expected.css diff --git a/test/css/samples/unused-selector-child-combinator/input.svelte b/packages/svelte/test/css/samples/unused-selector-child-combinator/input.svelte similarity index 100% rename from test/css/samples/unused-selector-child-combinator/input.svelte rename to packages/svelte/test/css/samples/unused-selector-child-combinator/input.svelte diff --git a/test/css/samples/unused-selector-empty-attribute/_config.js b/packages/svelte/test/css/samples/unused-selector-empty-attribute/_config.js similarity index 100% rename from test/css/samples/unused-selector-empty-attribute/_config.js rename to packages/svelte/test/css/samples/unused-selector-empty-attribute/_config.js diff --git a/test/css/samples/unused-selector-empty-attribute/expected.css b/packages/svelte/test/css/samples/unused-selector-empty-attribute/expected.css similarity index 100% rename from test/css/samples/unused-selector-empty-attribute/expected.css rename to packages/svelte/test/css/samples/unused-selector-empty-attribute/expected.css diff --git a/test/css/samples/unused-selector-empty-attribute/expected.html b/packages/svelte/test/css/samples/unused-selector-empty-attribute/expected.html similarity index 100% rename from test/css/samples/unused-selector-empty-attribute/expected.html rename to packages/svelte/test/css/samples/unused-selector-empty-attribute/expected.html diff --git a/test/css/samples/unused-selector-empty-attribute/input.svelte b/packages/svelte/test/css/samples/unused-selector-empty-attribute/input.svelte similarity index 100% rename from test/css/samples/unused-selector-empty-attribute/input.svelte rename to packages/svelte/test/css/samples/unused-selector-empty-attribute/input.svelte diff --git a/test/css/samples/unused-selector-leading/_config.js b/packages/svelte/test/css/samples/unused-selector-leading/_config.js similarity index 100% rename from test/css/samples/unused-selector-leading/_config.js rename to packages/svelte/test/css/samples/unused-selector-leading/_config.js diff --git a/test/css/samples/unused-selector-leading/expected.css b/packages/svelte/test/css/samples/unused-selector-leading/expected.css similarity index 100% rename from test/css/samples/unused-selector-leading/expected.css rename to packages/svelte/test/css/samples/unused-selector-leading/expected.css diff --git a/test/css/samples/unused-selector-leading/expected.html b/packages/svelte/test/css/samples/unused-selector-leading/expected.html similarity index 100% rename from test/css/samples/unused-selector-leading/expected.html rename to packages/svelte/test/css/samples/unused-selector-leading/expected.html diff --git a/test/css/samples/unused-selector-leading/input.svelte b/packages/svelte/test/css/samples/unused-selector-leading/input.svelte similarity index 100% rename from test/css/samples/unused-selector-leading/input.svelte rename to packages/svelte/test/css/samples/unused-selector-leading/input.svelte diff --git a/test/css/samples/unused-selector-string-concat/_config.js b/packages/svelte/test/css/samples/unused-selector-string-concat/_config.js similarity index 100% rename from test/css/samples/unused-selector-string-concat/_config.js rename to packages/svelte/test/css/samples/unused-selector-string-concat/_config.js diff --git a/test/css/samples/unused-selector-string-concat/expected.css b/packages/svelte/test/css/samples/unused-selector-string-concat/expected.css similarity index 100% rename from test/css/samples/unused-selector-string-concat/expected.css rename to packages/svelte/test/css/samples/unused-selector-string-concat/expected.css diff --git a/test/css/samples/unused-selector-string-concat/input.svelte b/packages/svelte/test/css/samples/unused-selector-string-concat/input.svelte similarity index 100% rename from test/css/samples/unused-selector-string-concat/input.svelte rename to packages/svelte/test/css/samples/unused-selector-string-concat/input.svelte diff --git a/test/css/samples/unused-selector-ternary-bailed/_config.js b/packages/svelte/test/css/samples/unused-selector-ternary-bailed/_config.js similarity index 100% rename from test/css/samples/unused-selector-ternary-bailed/_config.js rename to packages/svelte/test/css/samples/unused-selector-ternary-bailed/_config.js diff --git a/test/css/samples/unused-selector-ternary-bailed/expected.css b/packages/svelte/test/css/samples/unused-selector-ternary-bailed/expected.css similarity index 100% rename from test/css/samples/unused-selector-ternary-bailed/expected.css rename to packages/svelte/test/css/samples/unused-selector-ternary-bailed/expected.css diff --git a/test/css/samples/unused-selector-ternary-bailed/input.svelte b/packages/svelte/test/css/samples/unused-selector-ternary-bailed/input.svelte similarity index 100% rename from test/css/samples/unused-selector-ternary-bailed/input.svelte rename to packages/svelte/test/css/samples/unused-selector-ternary-bailed/input.svelte diff --git a/test/css/samples/unused-selector-ternary-concat/_config.js b/packages/svelte/test/css/samples/unused-selector-ternary-concat/_config.js similarity index 100% rename from test/css/samples/unused-selector-ternary-concat/_config.js rename to packages/svelte/test/css/samples/unused-selector-ternary-concat/_config.js diff --git a/test/css/samples/unused-selector-ternary-concat/expected.css b/packages/svelte/test/css/samples/unused-selector-ternary-concat/expected.css similarity index 100% rename from test/css/samples/unused-selector-ternary-concat/expected.css rename to packages/svelte/test/css/samples/unused-selector-ternary-concat/expected.css diff --git a/test/css/samples/unused-selector-ternary-concat/input.svelte b/packages/svelte/test/css/samples/unused-selector-ternary-concat/input.svelte similarity index 100% rename from test/css/samples/unused-selector-ternary-concat/input.svelte rename to packages/svelte/test/css/samples/unused-selector-ternary-concat/input.svelte diff --git a/test/css/samples/unused-selector-ternary-nested/_config.js b/packages/svelte/test/css/samples/unused-selector-ternary-nested/_config.js similarity index 100% rename from test/css/samples/unused-selector-ternary-nested/_config.js rename to packages/svelte/test/css/samples/unused-selector-ternary-nested/_config.js diff --git a/test/css/samples/unused-selector-ternary-nested/expected.css b/packages/svelte/test/css/samples/unused-selector-ternary-nested/expected.css similarity index 100% rename from test/css/samples/unused-selector-ternary-nested/expected.css rename to packages/svelte/test/css/samples/unused-selector-ternary-nested/expected.css diff --git a/test/css/samples/unused-selector-ternary-nested/input.svelte b/packages/svelte/test/css/samples/unused-selector-ternary-nested/input.svelte similarity index 100% rename from test/css/samples/unused-selector-ternary-nested/input.svelte rename to packages/svelte/test/css/samples/unused-selector-ternary-nested/input.svelte diff --git a/test/css/samples/unused-selector-ternary/_config.js b/packages/svelte/test/css/samples/unused-selector-ternary/_config.js similarity index 100% rename from test/css/samples/unused-selector-ternary/_config.js rename to packages/svelte/test/css/samples/unused-selector-ternary/_config.js diff --git a/test/css/samples/unused-selector-ternary/expected.css b/packages/svelte/test/css/samples/unused-selector-ternary/expected.css similarity index 100% rename from test/css/samples/unused-selector-ternary/expected.css rename to packages/svelte/test/css/samples/unused-selector-ternary/expected.css diff --git a/test/css/samples/unused-selector-ternary/expected.html b/packages/svelte/test/css/samples/unused-selector-ternary/expected.html similarity index 100% rename from test/css/samples/unused-selector-ternary/expected.html rename to packages/svelte/test/css/samples/unused-selector-ternary/expected.html diff --git a/test/css/samples/unused-selector-ternary/input.svelte b/packages/svelte/test/css/samples/unused-selector-ternary/input.svelte similarity index 100% rename from test/css/samples/unused-selector-ternary/input.svelte rename to packages/svelte/test/css/samples/unused-selector-ternary/input.svelte diff --git a/test/css/samples/unused-selector/_config.js b/packages/svelte/test/css/samples/unused-selector/_config.js similarity index 100% rename from test/css/samples/unused-selector/_config.js rename to packages/svelte/test/css/samples/unused-selector/_config.js diff --git a/test/css/samples/unused-selector/expected.css b/packages/svelte/test/css/samples/unused-selector/expected.css similarity index 100% rename from test/css/samples/unused-selector/expected.css rename to packages/svelte/test/css/samples/unused-selector/expected.css diff --git a/test/css/samples/unused-selector/expected.html b/packages/svelte/test/css/samples/unused-selector/expected.html similarity index 100% rename from test/css/samples/unused-selector/expected.html rename to packages/svelte/test/css/samples/unused-selector/expected.html diff --git a/test/css/samples/unused-selector/input.svelte b/packages/svelte/test/css/samples/unused-selector/input.svelte similarity index 100% rename from test/css/samples/unused-selector/input.svelte rename to packages/svelte/test/css/samples/unused-selector/input.svelte diff --git a/test/css/samples/weird-selectors/expected.css b/packages/svelte/test/css/samples/weird-selectors/expected.css similarity index 100% rename from test/css/samples/weird-selectors/expected.css rename to packages/svelte/test/css/samples/weird-selectors/expected.css diff --git a/test/css/samples/weird-selectors/input.svelte b/packages/svelte/test/css/samples/weird-selectors/input.svelte similarity index 100% rename from test/css/samples/weird-selectors/input.svelte rename to packages/svelte/test/css/samples/weird-selectors/input.svelte diff --git a/test/helpers.js b/packages/svelte/test/helpers.js similarity index 100% rename from test/helpers.js rename to packages/svelte/test/helpers.js diff --git a/test/html_equal.js b/packages/svelte/test/html_equal.js similarity index 100% rename from test/html_equal.js rename to packages/svelte/test/html_equal.js diff --git a/test/hydration/hydration.test.js b/packages/svelte/test/hydration/hydration.test.js similarity index 100% rename from test/hydration/hydration.test.js rename to packages/svelte/test/hydration/hydration.test.js diff --git a/test/hydration/samples/basic/_after.html b/packages/svelte/test/hydration/samples/basic/_after.html similarity index 100% rename from test/hydration/samples/basic/_after.html rename to packages/svelte/test/hydration/samples/basic/_after.html diff --git a/test/hydration/samples/basic/_before.html b/packages/svelte/test/hydration/samples/basic/_before.html similarity index 100% rename from test/hydration/samples/basic/_before.html rename to packages/svelte/test/hydration/samples/basic/_before.html diff --git a/test/hydration/samples/basic/_config.js b/packages/svelte/test/hydration/samples/basic/_config.js similarity index 100% rename from test/hydration/samples/basic/_config.js rename to packages/svelte/test/hydration/samples/basic/_config.js diff --git a/test/hydration/samples/basic/main.svelte b/packages/svelte/test/hydration/samples/basic/main.svelte similarity index 100% rename from test/hydration/samples/basic/main.svelte rename to packages/svelte/test/hydration/samples/basic/main.svelte diff --git a/test/hydration/samples/binding-input/_after.html b/packages/svelte/test/hydration/samples/binding-input/_after.html similarity index 100% rename from test/hydration/samples/binding-input/_after.html rename to packages/svelte/test/hydration/samples/binding-input/_after.html diff --git a/test/hydration/samples/binding-input/_before.html b/packages/svelte/test/hydration/samples/binding-input/_before.html similarity index 100% rename from test/hydration/samples/binding-input/_before.html rename to packages/svelte/test/hydration/samples/binding-input/_before.html diff --git a/test/hydration/samples/binding-input/_config.js b/packages/svelte/test/hydration/samples/binding-input/_config.js similarity index 100% rename from test/hydration/samples/binding-input/_config.js rename to packages/svelte/test/hydration/samples/binding-input/_config.js diff --git a/test/hydration/samples/binding-input/main.svelte b/packages/svelte/test/hydration/samples/binding-input/main.svelte similarity index 100% rename from test/hydration/samples/binding-input/main.svelte rename to packages/svelte/test/hydration/samples/binding-input/main.svelte diff --git a/test/hydration/samples/claim-comment/_after.html b/packages/svelte/test/hydration/samples/claim-comment/_after.html similarity index 100% rename from test/hydration/samples/claim-comment/_after.html rename to packages/svelte/test/hydration/samples/claim-comment/_after.html diff --git a/test/hydration/samples/claim-comment/_before.html b/packages/svelte/test/hydration/samples/claim-comment/_before.html similarity index 100% rename from test/hydration/samples/claim-comment/_before.html rename to packages/svelte/test/hydration/samples/claim-comment/_before.html diff --git a/test/hydration/samples/claim-comment/_config.js b/packages/svelte/test/hydration/samples/claim-comment/_config.js similarity index 100% rename from test/hydration/samples/claim-comment/_config.js rename to packages/svelte/test/hydration/samples/claim-comment/_config.js diff --git a/test/hydration/samples/claim-comment/main.svelte b/packages/svelte/test/hydration/samples/claim-comment/main.svelte similarity index 100% rename from test/hydration/samples/claim-comment/main.svelte rename to packages/svelte/test/hydration/samples/claim-comment/main.svelte diff --git a/test/hydration/samples/claim-static-incorrect-hash/_after.html b/packages/svelte/test/hydration/samples/claim-static-incorrect-hash/_after.html similarity index 100% rename from test/hydration/samples/claim-static-incorrect-hash/_after.html rename to packages/svelte/test/hydration/samples/claim-static-incorrect-hash/_after.html diff --git a/test/hydration/samples/claim-static-incorrect-hash/_before.html b/packages/svelte/test/hydration/samples/claim-static-incorrect-hash/_before.html similarity index 100% rename from test/hydration/samples/claim-static-incorrect-hash/_before.html rename to packages/svelte/test/hydration/samples/claim-static-incorrect-hash/_before.html diff --git a/test/hydration/samples/claim-static-incorrect-hash/main.svelte b/packages/svelte/test/hydration/samples/claim-static-incorrect-hash/main.svelte similarity index 100% rename from test/hydration/samples/claim-static-incorrect-hash/main.svelte rename to packages/svelte/test/hydration/samples/claim-static-incorrect-hash/main.svelte diff --git a/test/hydration/samples/claim-static-no-hash/_after.html b/packages/svelte/test/hydration/samples/claim-static-no-hash/_after.html similarity index 100% rename from test/hydration/samples/claim-static-no-hash/_after.html rename to packages/svelte/test/hydration/samples/claim-static-no-hash/_after.html diff --git a/test/hydration/samples/claim-static-no-hash/_before.html b/packages/svelte/test/hydration/samples/claim-static-no-hash/_before.html similarity index 100% rename from test/hydration/samples/claim-static-no-hash/_before.html rename to packages/svelte/test/hydration/samples/claim-static-no-hash/_before.html diff --git a/test/hydration/samples/claim-static-no-hash/main.svelte b/packages/svelte/test/hydration/samples/claim-static-no-hash/main.svelte similarity index 100% rename from test/hydration/samples/claim-static-no-hash/main.svelte rename to packages/svelte/test/hydration/samples/claim-static-no-hash/main.svelte diff --git a/test/hydration/samples/claim-text/Component.svelte b/packages/svelte/test/hydration/samples/claim-text/Component.svelte similarity index 100% rename from test/hydration/samples/claim-text/Component.svelte rename to packages/svelte/test/hydration/samples/claim-text/Component.svelte diff --git a/test/hydration/samples/claim-text/Layout.svelte b/packages/svelte/test/hydration/samples/claim-text/Layout.svelte similarity index 100% rename from test/hydration/samples/claim-text/Layout.svelte rename to packages/svelte/test/hydration/samples/claim-text/Layout.svelte diff --git a/test/hydration/samples/claim-text/_after.html b/packages/svelte/test/hydration/samples/claim-text/_after.html similarity index 100% rename from test/hydration/samples/claim-text/_after.html rename to packages/svelte/test/hydration/samples/claim-text/_after.html diff --git a/test/hydration/samples/claim-text/_before.html b/packages/svelte/test/hydration/samples/claim-text/_before.html similarity index 100% rename from test/hydration/samples/claim-text/_before.html rename to packages/svelte/test/hydration/samples/claim-text/_before.html diff --git a/test/hydration/samples/claim-text/_config.js b/packages/svelte/test/hydration/samples/claim-text/_config.js similarity index 100% rename from test/hydration/samples/claim-text/_config.js rename to packages/svelte/test/hydration/samples/claim-text/_config.js diff --git a/test/hydration/samples/claim-text/main.svelte b/packages/svelte/test/hydration/samples/claim-text/main.svelte similarity index 100% rename from test/hydration/samples/claim-text/main.svelte rename to packages/svelte/test/hydration/samples/claim-text/main.svelte diff --git a/test/hydration/samples/component-in-element/Nested.svelte b/packages/svelte/test/hydration/samples/component-in-element/Nested.svelte similarity index 100% rename from test/hydration/samples/component-in-element/Nested.svelte rename to packages/svelte/test/hydration/samples/component-in-element/Nested.svelte diff --git a/test/hydration/samples/component-in-element/_after.html b/packages/svelte/test/hydration/samples/component-in-element/_after.html similarity index 100% rename from test/hydration/samples/component-in-element/_after.html rename to packages/svelte/test/hydration/samples/component-in-element/_after.html diff --git a/test/hydration/samples/component-in-element/_before.html b/packages/svelte/test/hydration/samples/component-in-element/_before.html similarity index 100% rename from test/hydration/samples/component-in-element/_before.html rename to packages/svelte/test/hydration/samples/component-in-element/_before.html diff --git a/test/hydration/samples/component-in-element/_config.js b/packages/svelte/test/hydration/samples/component-in-element/_config.js similarity index 100% rename from test/hydration/samples/component-in-element/_config.js rename to packages/svelte/test/hydration/samples/component-in-element/_config.js diff --git a/test/hydration/samples/component-in-element/main.svelte b/packages/svelte/test/hydration/samples/component-in-element/main.svelte similarity index 100% rename from test/hydration/samples/component-in-element/main.svelte rename to packages/svelte/test/hydration/samples/component-in-element/main.svelte diff --git a/test/hydration/samples/component/Nested.svelte b/packages/svelte/test/hydration/samples/component/Nested.svelte similarity index 100% rename from test/hydration/samples/component/Nested.svelte rename to packages/svelte/test/hydration/samples/component/Nested.svelte diff --git a/test/hydration/samples/component/_after.html b/packages/svelte/test/hydration/samples/component/_after.html similarity index 100% rename from test/hydration/samples/component/_after.html rename to packages/svelte/test/hydration/samples/component/_after.html diff --git a/test/hydration/samples/component/_before.html b/packages/svelte/test/hydration/samples/component/_before.html similarity index 100% rename from test/hydration/samples/component/_before.html rename to packages/svelte/test/hydration/samples/component/_before.html diff --git a/test/hydration/samples/component/_config.js b/packages/svelte/test/hydration/samples/component/_config.js similarity index 100% rename from test/hydration/samples/component/_config.js rename to packages/svelte/test/hydration/samples/component/_config.js diff --git a/test/hydration/samples/component/main.svelte b/packages/svelte/test/hydration/samples/component/main.svelte similarity index 100% rename from test/hydration/samples/component/main.svelte rename to packages/svelte/test/hydration/samples/component/main.svelte diff --git a/test/hydration/samples/dynamic-text-changed/_after.html b/packages/svelte/test/hydration/samples/dynamic-text-changed/_after.html similarity index 100% rename from test/hydration/samples/dynamic-text-changed/_after.html rename to packages/svelte/test/hydration/samples/dynamic-text-changed/_after.html diff --git a/test/hydration/samples/dynamic-text-changed/_before.html b/packages/svelte/test/hydration/samples/dynamic-text-changed/_before.html similarity index 100% rename from test/hydration/samples/dynamic-text-changed/_before.html rename to packages/svelte/test/hydration/samples/dynamic-text-changed/_before.html diff --git a/test/hydration/samples/dynamic-text-changed/_config.js b/packages/svelte/test/hydration/samples/dynamic-text-changed/_config.js similarity index 100% rename from test/hydration/samples/dynamic-text-changed/_config.js rename to packages/svelte/test/hydration/samples/dynamic-text-changed/_config.js diff --git a/test/hydration/samples/dynamic-text-changed/main.svelte b/packages/svelte/test/hydration/samples/dynamic-text-changed/main.svelte similarity index 100% rename from test/hydration/samples/dynamic-text-changed/main.svelte rename to packages/svelte/test/hydration/samples/dynamic-text-changed/main.svelte diff --git a/test/hydration/samples/dynamic-text-nil/_after.html b/packages/svelte/test/hydration/samples/dynamic-text-nil/_after.html similarity index 100% rename from test/hydration/samples/dynamic-text-nil/_after.html rename to packages/svelte/test/hydration/samples/dynamic-text-nil/_after.html diff --git a/test/hydration/samples/dynamic-text-nil/_before.html b/packages/svelte/test/hydration/samples/dynamic-text-nil/_before.html similarity index 100% rename from test/hydration/samples/dynamic-text-nil/_before.html rename to packages/svelte/test/hydration/samples/dynamic-text-nil/_before.html diff --git a/test/hydration/samples/dynamic-text-nil/_config.js b/packages/svelte/test/hydration/samples/dynamic-text-nil/_config.js similarity index 100% rename from test/hydration/samples/dynamic-text-nil/_config.js rename to packages/svelte/test/hydration/samples/dynamic-text-nil/_config.js diff --git a/test/hydration/samples/dynamic-text-nil/main.svelte b/packages/svelte/test/hydration/samples/dynamic-text-nil/main.svelte similarity index 100% rename from test/hydration/samples/dynamic-text-nil/main.svelte rename to packages/svelte/test/hydration/samples/dynamic-text-nil/main.svelte diff --git a/test/hydration/samples/dynamic-text/_after.html b/packages/svelte/test/hydration/samples/dynamic-text/_after.html similarity index 100% rename from test/hydration/samples/dynamic-text/_after.html rename to packages/svelte/test/hydration/samples/dynamic-text/_after.html diff --git a/test/hydration/samples/dynamic-text/_before.html b/packages/svelte/test/hydration/samples/dynamic-text/_before.html similarity index 100% rename from test/hydration/samples/dynamic-text/_before.html rename to packages/svelte/test/hydration/samples/dynamic-text/_before.html diff --git a/test/hydration/samples/dynamic-text/_config.js b/packages/svelte/test/hydration/samples/dynamic-text/_config.js similarity index 100% rename from test/hydration/samples/dynamic-text/_config.js rename to packages/svelte/test/hydration/samples/dynamic-text/_config.js diff --git a/test/hydration/samples/dynamic-text/main.svelte b/packages/svelte/test/hydration/samples/dynamic-text/main.svelte similarity index 100% rename from test/hydration/samples/dynamic-text/main.svelte rename to packages/svelte/test/hydration/samples/dynamic-text/main.svelte diff --git a/test/hydration/samples/each-block-arg-clash/_after.html b/packages/svelte/test/hydration/samples/each-block-arg-clash/_after.html similarity index 100% rename from test/hydration/samples/each-block-arg-clash/_after.html rename to packages/svelte/test/hydration/samples/each-block-arg-clash/_after.html diff --git a/test/hydration/samples/each-block-arg-clash/_before.html b/packages/svelte/test/hydration/samples/each-block-arg-clash/_before.html similarity index 100% rename from test/hydration/samples/each-block-arg-clash/_before.html rename to packages/svelte/test/hydration/samples/each-block-arg-clash/_before.html diff --git a/test/hydration/samples/each-block-arg-clash/_config.js b/packages/svelte/test/hydration/samples/each-block-arg-clash/_config.js similarity index 100% rename from test/hydration/samples/each-block-arg-clash/_config.js rename to packages/svelte/test/hydration/samples/each-block-arg-clash/_config.js diff --git a/test/hydration/samples/each-block-arg-clash/main.svelte b/packages/svelte/test/hydration/samples/each-block-arg-clash/main.svelte similarity index 100% rename from test/hydration/samples/each-block-arg-clash/main.svelte rename to packages/svelte/test/hydration/samples/each-block-arg-clash/main.svelte diff --git a/test/hydration/samples/each-block/_after.html b/packages/svelte/test/hydration/samples/each-block/_after.html similarity index 100% rename from test/hydration/samples/each-block/_after.html rename to packages/svelte/test/hydration/samples/each-block/_after.html diff --git a/test/hydration/samples/each-block/_before.html b/packages/svelte/test/hydration/samples/each-block/_before.html similarity index 100% rename from test/hydration/samples/each-block/_before.html rename to packages/svelte/test/hydration/samples/each-block/_before.html diff --git a/test/hydration/samples/each-block/_config.js b/packages/svelte/test/hydration/samples/each-block/_config.js similarity index 100% rename from test/hydration/samples/each-block/_config.js rename to packages/svelte/test/hydration/samples/each-block/_config.js diff --git a/test/hydration/samples/each-block/main.svelte b/packages/svelte/test/hydration/samples/each-block/main.svelte similarity index 100% rename from test/hydration/samples/each-block/main.svelte rename to packages/svelte/test/hydration/samples/each-block/main.svelte diff --git a/test/hydration/samples/each-else/_after.html b/packages/svelte/test/hydration/samples/each-else/_after.html similarity index 100% rename from test/hydration/samples/each-else/_after.html rename to packages/svelte/test/hydration/samples/each-else/_after.html diff --git a/test/hydration/samples/each-else/_before.html b/packages/svelte/test/hydration/samples/each-else/_before.html similarity index 100% rename from test/hydration/samples/each-else/_before.html rename to packages/svelte/test/hydration/samples/each-else/_before.html diff --git a/test/hydration/samples/each-else/main.svelte b/packages/svelte/test/hydration/samples/each-else/main.svelte similarity index 100% rename from test/hydration/samples/each-else/main.svelte rename to packages/svelte/test/hydration/samples/each-else/main.svelte diff --git a/test/hydration/samples/element-attribute-added/_after.html b/packages/svelte/test/hydration/samples/element-attribute-added/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-added/_after.html rename to packages/svelte/test/hydration/samples/element-attribute-added/_after.html diff --git a/test/hydration/samples/element-attribute-added/_before.html b/packages/svelte/test/hydration/samples/element-attribute-added/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-added/_before.html rename to packages/svelte/test/hydration/samples/element-attribute-added/_before.html diff --git a/test/hydration/samples/element-attribute-added/_config.js b/packages/svelte/test/hydration/samples/element-attribute-added/_config.js similarity index 100% rename from test/hydration/samples/element-attribute-added/_config.js rename to packages/svelte/test/hydration/samples/element-attribute-added/_config.js diff --git a/test/hydration/samples/element-attribute-added/main.svelte b/packages/svelte/test/hydration/samples/element-attribute-added/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-added/main.svelte rename to packages/svelte/test/hydration/samples/element-attribute-added/main.svelte diff --git a/test/hydration/samples/element-attribute-changed/_after.html b/packages/svelte/test/hydration/samples/element-attribute-changed/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-changed/_after.html rename to packages/svelte/test/hydration/samples/element-attribute-changed/_after.html diff --git a/test/hydration/samples/element-attribute-changed/_before.html b/packages/svelte/test/hydration/samples/element-attribute-changed/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-changed/_before.html rename to packages/svelte/test/hydration/samples/element-attribute-changed/_before.html diff --git a/test/hydration/samples/element-attribute-changed/_config.js b/packages/svelte/test/hydration/samples/element-attribute-changed/_config.js similarity index 100% rename from test/hydration/samples/element-attribute-changed/_config.js rename to packages/svelte/test/hydration/samples/element-attribute-changed/_config.js diff --git a/test/hydration/samples/element-attribute-changed/main.svelte b/packages/svelte/test/hydration/samples/element-attribute-changed/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-changed/main.svelte rename to packages/svelte/test/hydration/samples/element-attribute-changed/main.svelte diff --git a/test/hydration/samples/element-attribute-removed/_after.html b/packages/svelte/test/hydration/samples/element-attribute-removed/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-removed/_after.html rename to packages/svelte/test/hydration/samples/element-attribute-removed/_after.html diff --git a/test/hydration/samples/element-attribute-removed/_before.html b/packages/svelte/test/hydration/samples/element-attribute-removed/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-removed/_before.html rename to packages/svelte/test/hydration/samples/element-attribute-removed/_before.html diff --git a/test/hydration/samples/element-attribute-removed/_config.js b/packages/svelte/test/hydration/samples/element-attribute-removed/_config.js similarity index 100% rename from test/hydration/samples/element-attribute-removed/_config.js rename to packages/svelte/test/hydration/samples/element-attribute-removed/_config.js diff --git a/test/hydration/samples/element-attribute-removed/main.svelte b/packages/svelte/test/hydration/samples/element-attribute-removed/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-removed/main.svelte rename to packages/svelte/test/hydration/samples/element-attribute-removed/main.svelte diff --git a/test/hydration/samples/element-attribute-unchanged/_after.html b/packages/svelte/test/hydration/samples/element-attribute-unchanged/_after.html similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/_after.html rename to packages/svelte/test/hydration/samples/element-attribute-unchanged/_after.html diff --git a/test/hydration/samples/element-attribute-unchanged/_before.html b/packages/svelte/test/hydration/samples/element-attribute-unchanged/_before.html similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/_before.html rename to packages/svelte/test/hydration/samples/element-attribute-unchanged/_before.html diff --git a/test/hydration/samples/element-attribute-unchanged/_config.js b/packages/svelte/test/hydration/samples/element-attribute-unchanged/_config.js similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/_config.js rename to packages/svelte/test/hydration/samples/element-attribute-unchanged/_config.js diff --git a/test/hydration/samples/element-attribute-unchanged/main.svelte b/packages/svelte/test/hydration/samples/element-attribute-unchanged/main.svelte similarity index 100% rename from test/hydration/samples/element-attribute-unchanged/main.svelte rename to packages/svelte/test/hydration/samples/element-attribute-unchanged/main.svelte diff --git a/test/hydration/samples/element-nested-sibling/_after.html b/packages/svelte/test/hydration/samples/element-nested-sibling/_after.html similarity index 100% rename from test/hydration/samples/element-nested-sibling/_after.html rename to packages/svelte/test/hydration/samples/element-nested-sibling/_after.html diff --git a/test/hydration/samples/element-nested-sibling/_before.html b/packages/svelte/test/hydration/samples/element-nested-sibling/_before.html similarity index 100% rename from test/hydration/samples/element-nested-sibling/_before.html rename to packages/svelte/test/hydration/samples/element-nested-sibling/_before.html diff --git a/test/hydration/samples/element-nested-sibling/_config.js b/packages/svelte/test/hydration/samples/element-nested-sibling/_config.js similarity index 100% rename from test/hydration/samples/element-nested-sibling/_config.js rename to packages/svelte/test/hydration/samples/element-nested-sibling/_config.js diff --git a/test/hydration/samples/element-nested-sibling/main.svelte b/packages/svelte/test/hydration/samples/element-nested-sibling/main.svelte similarity index 100% rename from test/hydration/samples/element-nested-sibling/main.svelte rename to packages/svelte/test/hydration/samples/element-nested-sibling/main.svelte diff --git a/test/hydration/samples/element-nested/_after.html b/packages/svelte/test/hydration/samples/element-nested/_after.html similarity index 100% rename from test/hydration/samples/element-nested/_after.html rename to packages/svelte/test/hydration/samples/element-nested/_after.html diff --git a/test/hydration/samples/element-nested/_before.html b/packages/svelte/test/hydration/samples/element-nested/_before.html similarity index 100% rename from test/hydration/samples/element-nested/_before.html rename to packages/svelte/test/hydration/samples/element-nested/_before.html diff --git a/test/hydration/samples/element-nested/_config.js b/packages/svelte/test/hydration/samples/element-nested/_config.js similarity index 100% rename from test/hydration/samples/element-nested/_config.js rename to packages/svelte/test/hydration/samples/element-nested/_config.js diff --git a/test/hydration/samples/element-nested/main.svelte b/packages/svelte/test/hydration/samples/element-nested/main.svelte similarity index 100% rename from test/hydration/samples/element-nested/main.svelte rename to packages/svelte/test/hydration/samples/element-nested/main.svelte diff --git a/test/hydration/samples/element-ref/_after.html b/packages/svelte/test/hydration/samples/element-ref/_after.html similarity index 100% rename from test/hydration/samples/element-ref/_after.html rename to packages/svelte/test/hydration/samples/element-ref/_after.html diff --git a/test/hydration/samples/element-ref/_before.html b/packages/svelte/test/hydration/samples/element-ref/_before.html similarity index 100% rename from test/hydration/samples/element-ref/_before.html rename to packages/svelte/test/hydration/samples/element-ref/_before.html diff --git a/test/hydration/samples/element-ref/_config.js b/packages/svelte/test/hydration/samples/element-ref/_config.js similarity index 100% rename from test/hydration/samples/element-ref/_config.js rename to packages/svelte/test/hydration/samples/element-ref/_config.js diff --git a/test/hydration/samples/element-ref/main.svelte b/packages/svelte/test/hydration/samples/element-ref/main.svelte similarity index 100% rename from test/hydration/samples/element-ref/main.svelte rename to packages/svelte/test/hydration/samples/element-ref/main.svelte diff --git a/test/hydration/samples/event-handler/_after.html b/packages/svelte/test/hydration/samples/event-handler/_after.html similarity index 100% rename from test/hydration/samples/event-handler/_after.html rename to packages/svelte/test/hydration/samples/event-handler/_after.html diff --git a/test/hydration/samples/event-handler/_before.html b/packages/svelte/test/hydration/samples/event-handler/_before.html similarity index 100% rename from test/hydration/samples/event-handler/_before.html rename to packages/svelte/test/hydration/samples/event-handler/_before.html diff --git a/test/hydration/samples/event-handler/_config.js b/packages/svelte/test/hydration/samples/event-handler/_config.js similarity index 100% rename from test/hydration/samples/event-handler/_config.js rename to packages/svelte/test/hydration/samples/event-handler/_config.js diff --git a/test/hydration/samples/event-handler/main.svelte b/packages/svelte/test/hydration/samples/event-handler/main.svelte similarity index 100% rename from test/hydration/samples/event-handler/main.svelte rename to packages/svelte/test/hydration/samples/event-handler/main.svelte diff --git a/test/hydration/samples/expression-sibling/_after.html b/packages/svelte/test/hydration/samples/expression-sibling/_after.html similarity index 100% rename from test/hydration/samples/expression-sibling/_after.html rename to packages/svelte/test/hydration/samples/expression-sibling/_after.html diff --git a/test/hydration/samples/expression-sibling/_before.html b/packages/svelte/test/hydration/samples/expression-sibling/_before.html similarity index 100% rename from test/hydration/samples/expression-sibling/_before.html rename to packages/svelte/test/hydration/samples/expression-sibling/_before.html diff --git a/test/hydration/samples/expression-sibling/_config.js b/packages/svelte/test/hydration/samples/expression-sibling/_config.js similarity index 100% rename from test/hydration/samples/expression-sibling/_config.js rename to packages/svelte/test/hydration/samples/expression-sibling/_config.js diff --git a/test/hydration/samples/expression-sibling/main.svelte b/packages/svelte/test/hydration/samples/expression-sibling/main.svelte similarity index 100% rename from test/hydration/samples/expression-sibling/main.svelte rename to packages/svelte/test/hydration/samples/expression-sibling/main.svelte diff --git a/test/hydration/samples/head-html-and-component/HeadNested.svelte b/packages/svelte/test/hydration/samples/head-html-and-component/HeadNested.svelte similarity index 100% rename from test/hydration/samples/head-html-and-component/HeadNested.svelte rename to packages/svelte/test/hydration/samples/head-html-and-component/HeadNested.svelte diff --git a/test/hydration/samples/head-html-and-component/Nested.svelte b/packages/svelte/test/hydration/samples/head-html-and-component/Nested.svelte similarity index 100% rename from test/hydration/samples/head-html-and-component/Nested.svelte rename to packages/svelte/test/hydration/samples/head-html-and-component/Nested.svelte diff --git a/test/hydration/samples/head-html-and-component/_after.html b/packages/svelte/test/hydration/samples/head-html-and-component/_after.html similarity index 100% rename from test/hydration/samples/head-html-and-component/_after.html rename to packages/svelte/test/hydration/samples/head-html-and-component/_after.html diff --git a/test/hydration/samples/head-html-and-component/_after_head.html b/packages/svelte/test/hydration/samples/head-html-and-component/_after_head.html similarity index 100% rename from test/hydration/samples/head-html-and-component/_after_head.html rename to packages/svelte/test/hydration/samples/head-html-and-component/_after_head.html diff --git a/test/hydration/samples/head-html-and-component/_before.html b/packages/svelte/test/hydration/samples/head-html-and-component/_before.html similarity index 100% rename from test/hydration/samples/head-html-and-component/_before.html rename to packages/svelte/test/hydration/samples/head-html-and-component/_before.html diff --git a/test/hydration/samples/head-html-and-component/_before_head.html b/packages/svelte/test/hydration/samples/head-html-and-component/_before_head.html similarity index 100% rename from test/hydration/samples/head-html-and-component/_before_head.html rename to packages/svelte/test/hydration/samples/head-html-and-component/_before_head.html diff --git a/test/hydration/samples/head-html-and-component/main.svelte b/packages/svelte/test/hydration/samples/head-html-and-component/main.svelte similarity index 100% rename from test/hydration/samples/head-html-and-component/main.svelte rename to packages/svelte/test/hydration/samples/head-html-and-component/main.svelte diff --git a/test/hydration/samples/head-meta-hydrate-duplicate/_after.html b/packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_after.html similarity index 100% rename from test/hydration/samples/head-meta-hydrate-duplicate/_after.html rename to packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_after.html diff --git a/test/hydration/samples/head-meta-hydrate-duplicate/_after_head.html b/packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_after_head.html similarity index 100% rename from test/hydration/samples/head-meta-hydrate-duplicate/_after_head.html rename to packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_after_head.html diff --git a/test/hydration/samples/head-meta-hydrate-duplicate/_before.html b/packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_before.html similarity index 100% rename from test/hydration/samples/head-meta-hydrate-duplicate/_before.html rename to packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_before.html diff --git a/test/hydration/samples/head-meta-hydrate-duplicate/_before_head.html b/packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_before_head.html similarity index 100% rename from test/hydration/samples/head-meta-hydrate-duplicate/_before_head.html rename to packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_before_head.html diff --git a/test/hydration/samples/head-meta-hydrate-duplicate/_config.js b/packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_config.js similarity index 100% rename from test/hydration/samples/head-meta-hydrate-duplicate/_config.js rename to packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/_config.js diff --git a/test/hydration/samples/head-meta-hydrate-duplicate/main.svelte b/packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/main.svelte similarity index 100% rename from test/hydration/samples/head-meta-hydrate-duplicate/main.svelte rename to packages/svelte/test/hydration/samples/head-meta-hydrate-duplicate/main.svelte diff --git a/test/hydration/samples/if-block-anchor/_after.html b/packages/svelte/test/hydration/samples/if-block-anchor/_after.html similarity index 100% rename from test/hydration/samples/if-block-anchor/_after.html rename to packages/svelte/test/hydration/samples/if-block-anchor/_after.html diff --git a/test/hydration/samples/if-block-anchor/_before.html b/packages/svelte/test/hydration/samples/if-block-anchor/_before.html similarity index 100% rename from test/hydration/samples/if-block-anchor/_before.html rename to packages/svelte/test/hydration/samples/if-block-anchor/_before.html diff --git a/test/hydration/samples/if-block-anchor/_config.js b/packages/svelte/test/hydration/samples/if-block-anchor/_config.js similarity index 100% rename from test/hydration/samples/if-block-anchor/_config.js rename to packages/svelte/test/hydration/samples/if-block-anchor/_config.js diff --git a/test/hydration/samples/if-block-anchor/main.svelte b/packages/svelte/test/hydration/samples/if-block-anchor/main.svelte similarity index 100% rename from test/hydration/samples/if-block-anchor/main.svelte rename to packages/svelte/test/hydration/samples/if-block-anchor/main.svelte diff --git a/test/hydration/samples/if-block-false/_after.html b/packages/svelte/test/hydration/samples/if-block-false/_after.html similarity index 100% rename from test/hydration/samples/if-block-false/_after.html rename to packages/svelte/test/hydration/samples/if-block-false/_after.html diff --git a/test/hydration/samples/if-block-false/_before.html b/packages/svelte/test/hydration/samples/if-block-false/_before.html similarity index 100% rename from test/hydration/samples/if-block-false/_before.html rename to packages/svelte/test/hydration/samples/if-block-false/_before.html diff --git a/test/hydration/samples/if-block-false/_config.js b/packages/svelte/test/hydration/samples/if-block-false/_config.js similarity index 100% rename from test/hydration/samples/if-block-false/_config.js rename to packages/svelte/test/hydration/samples/if-block-false/_config.js diff --git a/test/hydration/samples/if-block-false/main.svelte b/packages/svelte/test/hydration/samples/if-block-false/main.svelte similarity index 100% rename from test/hydration/samples/if-block-false/main.svelte rename to packages/svelte/test/hydration/samples/if-block-false/main.svelte diff --git a/test/hydration/samples/if-block-update/_after.html b/packages/svelte/test/hydration/samples/if-block-update/_after.html similarity index 100% rename from test/hydration/samples/if-block-update/_after.html rename to packages/svelte/test/hydration/samples/if-block-update/_after.html diff --git a/test/hydration/samples/if-block-update/_before.html b/packages/svelte/test/hydration/samples/if-block-update/_before.html similarity index 100% rename from test/hydration/samples/if-block-update/_before.html rename to packages/svelte/test/hydration/samples/if-block-update/_before.html diff --git a/test/hydration/samples/if-block-update/_config.js b/packages/svelte/test/hydration/samples/if-block-update/_config.js similarity index 100% rename from test/hydration/samples/if-block-update/_config.js rename to packages/svelte/test/hydration/samples/if-block-update/_config.js diff --git a/test/hydration/samples/if-block-update/main.svelte b/packages/svelte/test/hydration/samples/if-block-update/main.svelte similarity index 100% rename from test/hydration/samples/if-block-update/main.svelte rename to packages/svelte/test/hydration/samples/if-block-update/main.svelte diff --git a/test/hydration/samples/if-block/_after.html b/packages/svelte/test/hydration/samples/if-block/_after.html similarity index 100% rename from test/hydration/samples/if-block/_after.html rename to packages/svelte/test/hydration/samples/if-block/_after.html diff --git a/test/hydration/samples/if-block/_before.html b/packages/svelte/test/hydration/samples/if-block/_before.html similarity index 100% rename from test/hydration/samples/if-block/_before.html rename to packages/svelte/test/hydration/samples/if-block/_before.html diff --git a/test/hydration/samples/if-block/_config.js b/packages/svelte/test/hydration/samples/if-block/_config.js similarity index 100% rename from test/hydration/samples/if-block/_config.js rename to packages/svelte/test/hydration/samples/if-block/_config.js diff --git a/test/hydration/samples/if-block/main.svelte b/packages/svelte/test/hydration/samples/if-block/main.svelte similarity index 100% rename from test/hydration/samples/if-block/main.svelte rename to packages/svelte/test/hydration/samples/if-block/main.svelte diff --git a/test/hydration/samples/raw-with-empty-line-at-top/_after.html b/packages/svelte/test/hydration/samples/raw-with-empty-line-at-top/_after.html similarity index 100% rename from test/hydration/samples/raw-with-empty-line-at-top/_after.html rename to packages/svelte/test/hydration/samples/raw-with-empty-line-at-top/_after.html diff --git a/test/hydration/samples/raw-with-empty-line-at-top/_before.html b/packages/svelte/test/hydration/samples/raw-with-empty-line-at-top/_before.html similarity index 100% rename from test/hydration/samples/raw-with-empty-line-at-top/_before.html rename to packages/svelte/test/hydration/samples/raw-with-empty-line-at-top/_before.html diff --git a/test/hydration/samples/raw-with-empty-line-at-top/main.svelte b/packages/svelte/test/hydration/samples/raw-with-empty-line-at-top/main.svelte similarity index 100% rename from test/hydration/samples/raw-with-empty-line-at-top/main.svelte rename to packages/svelte/test/hydration/samples/raw-with-empty-line-at-top/main.svelte diff --git a/test/hydration/samples/raw/_after.html b/packages/svelte/test/hydration/samples/raw/_after.html similarity index 100% rename from test/hydration/samples/raw/_after.html rename to packages/svelte/test/hydration/samples/raw/_after.html diff --git a/test/hydration/samples/raw/_before.html b/packages/svelte/test/hydration/samples/raw/_before.html similarity index 100% rename from test/hydration/samples/raw/_before.html rename to packages/svelte/test/hydration/samples/raw/_before.html diff --git a/test/hydration/samples/raw/_config.js b/packages/svelte/test/hydration/samples/raw/_config.js similarity index 100% rename from test/hydration/samples/raw/_config.js rename to packages/svelte/test/hydration/samples/raw/_config.js diff --git a/test/hydration/samples/raw/main.svelte b/packages/svelte/test/hydration/samples/raw/main.svelte similarity index 100% rename from test/hydration/samples/raw/main.svelte rename to packages/svelte/test/hydration/samples/raw/main.svelte diff --git a/test/hydration/samples/text-fallback/Nested.svelte b/packages/svelte/test/hydration/samples/text-fallback/Nested.svelte similarity index 100% rename from test/hydration/samples/text-fallback/Nested.svelte rename to packages/svelte/test/hydration/samples/text-fallback/Nested.svelte diff --git a/test/hydration/samples/text-fallback/_after.html b/packages/svelte/test/hydration/samples/text-fallback/_after.html similarity index 100% rename from test/hydration/samples/text-fallback/_after.html rename to packages/svelte/test/hydration/samples/text-fallback/_after.html diff --git a/test/hydration/samples/text-fallback/_before.html b/packages/svelte/test/hydration/samples/text-fallback/_before.html similarity index 100% rename from test/hydration/samples/text-fallback/_before.html rename to packages/svelte/test/hydration/samples/text-fallback/_before.html diff --git a/test/hydration/samples/text-fallback/main.svelte b/packages/svelte/test/hydration/samples/text-fallback/main.svelte similarity index 100% rename from test/hydration/samples/text-fallback/main.svelte rename to packages/svelte/test/hydration/samples/text-fallback/main.svelte diff --git a/test/hydration/samples/top-level-cleanup-2/_after.html b/packages/svelte/test/hydration/samples/top-level-cleanup-2/_after.html similarity index 100% rename from test/hydration/samples/top-level-cleanup-2/_after.html rename to packages/svelte/test/hydration/samples/top-level-cleanup-2/_after.html diff --git a/test/hydration/samples/top-level-cleanup-2/_before.html b/packages/svelte/test/hydration/samples/top-level-cleanup-2/_before.html similarity index 100% rename from test/hydration/samples/top-level-cleanup-2/_before.html rename to packages/svelte/test/hydration/samples/top-level-cleanup-2/_before.html diff --git a/test/hydration/samples/top-level-cleanup-2/_config.js b/packages/svelte/test/hydration/samples/top-level-cleanup-2/_config.js similarity index 100% rename from test/hydration/samples/top-level-cleanup-2/_config.js rename to packages/svelte/test/hydration/samples/top-level-cleanup-2/_config.js diff --git a/test/hydration/samples/top-level-cleanup-2/main.svelte b/packages/svelte/test/hydration/samples/top-level-cleanup-2/main.svelte similarity index 100% rename from test/hydration/samples/top-level-cleanup-2/main.svelte rename to packages/svelte/test/hydration/samples/top-level-cleanup-2/main.svelte diff --git a/test/hydration/samples/top-level-cleanup/_after.html b/packages/svelte/test/hydration/samples/top-level-cleanup/_after.html similarity index 100% rename from test/hydration/samples/top-level-cleanup/_after.html rename to packages/svelte/test/hydration/samples/top-level-cleanup/_after.html diff --git a/test/hydration/samples/top-level-cleanup/_before.html b/packages/svelte/test/hydration/samples/top-level-cleanup/_before.html similarity index 100% rename from test/hydration/samples/top-level-cleanup/_before.html rename to packages/svelte/test/hydration/samples/top-level-cleanup/_before.html diff --git a/test/hydration/samples/top-level-cleanup/_config.js b/packages/svelte/test/hydration/samples/top-level-cleanup/_config.js similarity index 100% rename from test/hydration/samples/top-level-cleanup/_config.js rename to packages/svelte/test/hydration/samples/top-level-cleanup/_config.js diff --git a/test/hydration/samples/top-level-cleanup/main.svelte b/packages/svelte/test/hydration/samples/top-level-cleanup/main.svelte similarity index 100% rename from test/hydration/samples/top-level-cleanup/main.svelte rename to packages/svelte/test/hydration/samples/top-level-cleanup/main.svelte diff --git a/test/hydration/samples/top-level-text/_after.html b/packages/svelte/test/hydration/samples/top-level-text/_after.html similarity index 100% rename from test/hydration/samples/top-level-text/_after.html rename to packages/svelte/test/hydration/samples/top-level-text/_after.html diff --git a/test/hydration/samples/top-level-text/_before.html b/packages/svelte/test/hydration/samples/top-level-text/_before.html similarity index 100% rename from test/hydration/samples/top-level-text/_before.html rename to packages/svelte/test/hydration/samples/top-level-text/_before.html diff --git a/test/hydration/samples/top-level-text/_config.js b/packages/svelte/test/hydration/samples/top-level-text/_config.js similarity index 100% rename from test/hydration/samples/top-level-text/_config.js rename to packages/svelte/test/hydration/samples/top-level-text/_config.js diff --git a/test/hydration/samples/top-level-text/main.svelte b/packages/svelte/test/hydration/samples/top-level-text/main.svelte similarity index 100% rename from test/hydration/samples/top-level-text/main.svelte rename to packages/svelte/test/hydration/samples/top-level-text/main.svelte diff --git a/test/js/README.md b/packages/svelte/test/js/README.md similarity index 100% rename from test/js/README.md rename to packages/svelte/test/js/README.md diff --git a/test/js/js-output.test.js b/packages/svelte/test/js/js-output.test.js similarity index 100% rename from test/js/js-output.test.js rename to packages/svelte/test/js/js-output.test.js diff --git a/test/js/samples/action-custom-event-handler/expected.js b/packages/svelte/test/js/samples/action-custom-event-handler/expected.js similarity index 100% rename from test/js/samples/action-custom-event-handler/expected.js rename to packages/svelte/test/js/samples/action-custom-event-handler/expected.js diff --git a/test/js/samples/action-custom-event-handler/input.svelte b/packages/svelte/test/js/samples/action-custom-event-handler/input.svelte similarity index 100% rename from test/js/samples/action-custom-event-handler/input.svelte rename to packages/svelte/test/js/samples/action-custom-event-handler/input.svelte diff --git a/test/js/samples/action/expected.js b/packages/svelte/test/js/samples/action/expected.js similarity index 100% rename from test/js/samples/action/expected.js rename to packages/svelte/test/js/samples/action/expected.js diff --git a/test/js/samples/action/input.svelte b/packages/svelte/test/js/samples/action/input.svelte similarity index 100% rename from test/js/samples/action/input.svelte rename to packages/svelte/test/js/samples/action/input.svelte diff --git a/test/js/samples/bind-online/expected.js b/packages/svelte/test/js/samples/bind-online/expected.js similarity index 100% rename from test/js/samples/bind-online/expected.js rename to packages/svelte/test/js/samples/bind-online/expected.js diff --git a/test/js/samples/bind-online/input.svelte b/packages/svelte/test/js/samples/bind-online/input.svelte similarity index 100% rename from test/js/samples/bind-online/input.svelte rename to packages/svelte/test/js/samples/bind-online/input.svelte diff --git a/test/js/samples/bind-open/expected.js b/packages/svelte/test/js/samples/bind-open/expected.js similarity index 100% rename from test/js/samples/bind-open/expected.js rename to packages/svelte/test/js/samples/bind-open/expected.js diff --git a/test/js/samples/bind-open/input.svelte b/packages/svelte/test/js/samples/bind-open/input.svelte similarity index 100% rename from test/js/samples/bind-open/input.svelte rename to packages/svelte/test/js/samples/bind-open/input.svelte diff --git a/test/js/samples/bind-width-height/expected.js b/packages/svelte/test/js/samples/bind-width-height/expected.js similarity index 100% rename from test/js/samples/bind-width-height/expected.js rename to packages/svelte/test/js/samples/bind-width-height/expected.js diff --git a/test/js/samples/bind-width-height/input.svelte b/packages/svelte/test/js/samples/bind-width-height/input.svelte similarity index 100% rename from test/js/samples/bind-width-height/input.svelte rename to packages/svelte/test/js/samples/bind-width-height/input.svelte diff --git a/test/js/samples/bindings-readonly-order/expected.js b/packages/svelte/test/js/samples/bindings-readonly-order/expected.js similarity index 100% rename from test/js/samples/bindings-readonly-order/expected.js rename to packages/svelte/test/js/samples/bindings-readonly-order/expected.js diff --git a/test/js/samples/bindings-readonly-order/input.svelte b/packages/svelte/test/js/samples/bindings-readonly-order/input.svelte similarity index 100% rename from test/js/samples/bindings-readonly-order/input.svelte rename to packages/svelte/test/js/samples/bindings-readonly-order/input.svelte diff --git a/test/js/samples/capture-inject-dev-only/_config.js b/packages/svelte/test/js/samples/capture-inject-dev-only/_config.js similarity index 100% rename from test/js/samples/capture-inject-dev-only/_config.js rename to packages/svelte/test/js/samples/capture-inject-dev-only/_config.js diff --git a/test/js/samples/capture-inject-dev-only/expected.js b/packages/svelte/test/js/samples/capture-inject-dev-only/expected.js similarity index 100% rename from test/js/samples/capture-inject-dev-only/expected.js rename to packages/svelte/test/js/samples/capture-inject-dev-only/expected.js diff --git a/test/js/samples/capture-inject-dev-only/input.svelte b/packages/svelte/test/js/samples/capture-inject-dev-only/input.svelte similarity index 100% rename from test/js/samples/capture-inject-dev-only/input.svelte rename to packages/svelte/test/js/samples/capture-inject-dev-only/input.svelte diff --git a/test/js/samples/capture-inject-state/_config.js b/packages/svelte/test/js/samples/capture-inject-state/_config.js similarity index 100% rename from test/js/samples/capture-inject-state/_config.js rename to packages/svelte/test/js/samples/capture-inject-state/_config.js diff --git a/test/js/samples/capture-inject-state/expected.js b/packages/svelte/test/js/samples/capture-inject-state/expected.js similarity index 100% rename from test/js/samples/capture-inject-state/expected.js rename to packages/svelte/test/js/samples/capture-inject-state/expected.js diff --git a/test/js/samples/capture-inject-state/input.svelte b/packages/svelte/test/js/samples/capture-inject-state/input.svelte similarity index 100% rename from test/js/samples/capture-inject-state/input.svelte rename to packages/svelte/test/js/samples/capture-inject-state/input.svelte diff --git a/test/js/samples/class-field/expected.js b/packages/svelte/test/js/samples/class-field/expected.js similarity index 100% rename from test/js/samples/class-field/expected.js rename to packages/svelte/test/js/samples/class-field/expected.js diff --git a/test/js/samples/class-field/input.svelte b/packages/svelte/test/js/samples/class-field/input.svelte similarity index 100% rename from test/js/samples/class-field/input.svelte rename to packages/svelte/test/js/samples/class-field/input.svelte diff --git a/test/js/samples/collapse-element-class-name/expected.js b/packages/svelte/test/js/samples/collapse-element-class-name/expected.js similarity index 100% rename from test/js/samples/collapse-element-class-name/expected.js rename to packages/svelte/test/js/samples/collapse-element-class-name/expected.js diff --git a/test/js/samples/collapse-element-class-name/input.svelte b/packages/svelte/test/js/samples/collapse-element-class-name/input.svelte similarity index 100% rename from test/js/samples/collapse-element-class-name/input.svelte rename to packages/svelte/test/js/samples/collapse-element-class-name/input.svelte diff --git a/test/js/samples/collapse-literal-ssr/_config.js b/packages/svelte/test/js/samples/collapse-literal-ssr/_config.js similarity index 100% rename from test/js/samples/collapse-literal-ssr/_config.js rename to packages/svelte/test/js/samples/collapse-literal-ssr/_config.js diff --git a/test/js/samples/collapse-literal-ssr/expected.js b/packages/svelte/test/js/samples/collapse-literal-ssr/expected.js similarity index 100% rename from test/js/samples/collapse-literal-ssr/expected.js rename to packages/svelte/test/js/samples/collapse-literal-ssr/expected.js diff --git a/test/js/samples/collapse-literal-ssr/input.svelte b/packages/svelte/test/js/samples/collapse-literal-ssr/input.svelte similarity index 100% rename from test/js/samples/collapse-literal-ssr/input.svelte rename to packages/svelte/test/js/samples/collapse-literal-ssr/input.svelte diff --git a/test/js/samples/collapses-text-around-comments/expected.js b/packages/svelte/test/js/samples/collapses-text-around-comments/expected.js similarity index 100% rename from test/js/samples/collapses-text-around-comments/expected.js rename to packages/svelte/test/js/samples/collapses-text-around-comments/expected.js diff --git a/test/js/samples/collapses-text-around-comments/input.svelte b/packages/svelte/test/js/samples/collapses-text-around-comments/input.svelte similarity index 100% rename from test/js/samples/collapses-text-around-comments/input.svelte rename to packages/svelte/test/js/samples/collapses-text-around-comments/input.svelte diff --git a/test/js/samples/component-static-array/expected.js b/packages/svelte/test/js/samples/component-static-array/expected.js similarity index 100% rename from test/js/samples/component-static-array/expected.js rename to packages/svelte/test/js/samples/component-static-array/expected.js diff --git a/test/js/samples/component-static-array/input.svelte b/packages/svelte/test/js/samples/component-static-array/input.svelte similarity index 100% rename from test/js/samples/component-static-array/input.svelte rename to packages/svelte/test/js/samples/component-static-array/input.svelte diff --git a/test/js/samples/component-static-immutable/_config.js b/packages/svelte/test/js/samples/component-static-immutable/_config.js similarity index 100% rename from test/js/samples/component-static-immutable/_config.js rename to packages/svelte/test/js/samples/component-static-immutable/_config.js diff --git a/test/js/samples/component-static-immutable/expected.js b/packages/svelte/test/js/samples/component-static-immutable/expected.js similarity index 100% rename from test/js/samples/component-static-immutable/expected.js rename to packages/svelte/test/js/samples/component-static-immutable/expected.js diff --git a/test/js/samples/component-static-immutable/input.svelte b/packages/svelte/test/js/samples/component-static-immutable/input.svelte similarity index 100% rename from test/js/samples/component-static-immutable/input.svelte rename to packages/svelte/test/js/samples/component-static-immutable/input.svelte diff --git a/test/js/samples/component-static-immutable2/_config.js b/packages/svelte/test/js/samples/component-static-immutable2/_config.js similarity index 100% rename from test/js/samples/component-static-immutable2/_config.js rename to packages/svelte/test/js/samples/component-static-immutable2/_config.js diff --git a/test/js/samples/component-static-immutable2/expected.js b/packages/svelte/test/js/samples/component-static-immutable2/expected.js similarity index 100% rename from test/js/samples/component-static-immutable2/expected.js rename to packages/svelte/test/js/samples/component-static-immutable2/expected.js diff --git a/test/js/samples/component-static-immutable2/input.svelte b/packages/svelte/test/js/samples/component-static-immutable2/input.svelte similarity index 100% rename from test/js/samples/component-static-immutable2/input.svelte rename to packages/svelte/test/js/samples/component-static-immutable2/input.svelte diff --git a/test/js/samples/component-static-var/expected.js b/packages/svelte/test/js/samples/component-static-var/expected.js similarity index 100% rename from test/js/samples/component-static-var/expected.js rename to packages/svelte/test/js/samples/component-static-var/expected.js diff --git a/test/js/samples/component-static-var/input.svelte b/packages/svelte/test/js/samples/component-static-var/input.svelte similarity index 100% rename from test/js/samples/component-static-var/input.svelte rename to packages/svelte/test/js/samples/component-static-var/input.svelte diff --git a/test/js/samples/component-static/expected.js b/packages/svelte/test/js/samples/component-static/expected.js similarity index 100% rename from test/js/samples/component-static/expected.js rename to packages/svelte/test/js/samples/component-static/expected.js diff --git a/test/js/samples/component-static/input.svelte b/packages/svelte/test/js/samples/component-static/input.svelte similarity index 100% rename from test/js/samples/component-static/input.svelte rename to packages/svelte/test/js/samples/component-static/input.svelte diff --git a/test/js/samples/component-store-access-invalidate/expected.js b/packages/svelte/test/js/samples/component-store-access-invalidate/expected.js similarity index 100% rename from test/js/samples/component-store-access-invalidate/expected.js rename to packages/svelte/test/js/samples/component-store-access-invalidate/expected.js diff --git a/test/js/samples/component-store-access-invalidate/input.svelte b/packages/svelte/test/js/samples/component-store-access-invalidate/input.svelte similarity index 100% rename from test/js/samples/component-store-access-invalidate/input.svelte rename to packages/svelte/test/js/samples/component-store-access-invalidate/input.svelte diff --git a/test/js/samples/component-store-file-invalidate/expected.js b/packages/svelte/test/js/samples/component-store-file-invalidate/expected.js similarity index 100% rename from test/js/samples/component-store-file-invalidate/expected.js rename to packages/svelte/test/js/samples/component-store-file-invalidate/expected.js diff --git a/test/js/samples/component-store-file-invalidate/input.svelte b/packages/svelte/test/js/samples/component-store-file-invalidate/input.svelte similarity index 100% rename from test/js/samples/component-store-file-invalidate/input.svelte rename to packages/svelte/test/js/samples/component-store-file-invalidate/input.svelte diff --git a/test/js/samples/component-store-file-invalidate/store.js b/packages/svelte/test/js/samples/component-store-file-invalidate/store.js similarity index 100% rename from test/js/samples/component-store-file-invalidate/store.js rename to packages/svelte/test/js/samples/component-store-file-invalidate/store.js diff --git a/test/js/samples/component-store-reassign-invalidate/expected.js b/packages/svelte/test/js/samples/component-store-reassign-invalidate/expected.js similarity index 100% rename from test/js/samples/component-store-reassign-invalidate/expected.js rename to packages/svelte/test/js/samples/component-store-reassign-invalidate/expected.js diff --git a/test/js/samples/component-store-reassign-invalidate/input.svelte b/packages/svelte/test/js/samples/component-store-reassign-invalidate/input.svelte similarity index 100% rename from test/js/samples/component-store-reassign-invalidate/input.svelte rename to packages/svelte/test/js/samples/component-store-reassign-invalidate/input.svelte diff --git a/test/js/samples/computed-collapsed-if/expected.js b/packages/svelte/test/js/samples/computed-collapsed-if/expected.js similarity index 100% rename from test/js/samples/computed-collapsed-if/expected.js rename to packages/svelte/test/js/samples/computed-collapsed-if/expected.js diff --git a/test/js/samples/computed-collapsed-if/input.svelte b/packages/svelte/test/js/samples/computed-collapsed-if/input.svelte similarity index 100% rename from test/js/samples/computed-collapsed-if/input.svelte rename to packages/svelte/test/js/samples/computed-collapsed-if/input.svelte diff --git a/test/js/samples/css-media-query/expected.js b/packages/svelte/test/js/samples/css-media-query/expected.js similarity index 100% rename from test/js/samples/css-media-query/expected.js rename to packages/svelte/test/js/samples/css-media-query/expected.js diff --git a/test/js/samples/css-media-query/input.svelte b/packages/svelte/test/js/samples/css-media-query/input.svelte similarity index 100% rename from test/js/samples/css-media-query/input.svelte rename to packages/svelte/test/js/samples/css-media-query/input.svelte diff --git a/test/js/samples/css-shadow-dom-keyframes/_config.js b/packages/svelte/test/js/samples/css-shadow-dom-keyframes/_config.js similarity index 100% rename from test/js/samples/css-shadow-dom-keyframes/_config.js rename to packages/svelte/test/js/samples/css-shadow-dom-keyframes/_config.js diff --git a/test/js/samples/css-shadow-dom-keyframes/expected.js b/packages/svelte/test/js/samples/css-shadow-dom-keyframes/expected.js similarity index 100% rename from test/js/samples/css-shadow-dom-keyframes/expected.js rename to packages/svelte/test/js/samples/css-shadow-dom-keyframes/expected.js diff --git a/test/js/samples/css-shadow-dom-keyframes/input.svelte b/packages/svelte/test/js/samples/css-shadow-dom-keyframes/input.svelte similarity index 100% rename from test/js/samples/css-shadow-dom-keyframes/input.svelte rename to packages/svelte/test/js/samples/css-shadow-dom-keyframes/input.svelte diff --git a/test/js/samples/custom-svelte-path/_config.js b/packages/svelte/test/js/samples/custom-svelte-path/_config.js similarity index 100% rename from test/js/samples/custom-svelte-path/_config.js rename to packages/svelte/test/js/samples/custom-svelte-path/_config.js diff --git a/test/js/samples/custom-svelte-path/expected.js b/packages/svelte/test/js/samples/custom-svelte-path/expected.js similarity index 100% rename from test/js/samples/custom-svelte-path/expected.js rename to packages/svelte/test/js/samples/custom-svelte-path/expected.js diff --git a/test/js/samples/custom-svelte-path/input.svelte b/packages/svelte/test/js/samples/custom-svelte-path/input.svelte similarity index 100% rename from test/js/samples/custom-svelte-path/input.svelte rename to packages/svelte/test/js/samples/custom-svelte-path/input.svelte diff --git a/test/js/samples/data-attribute/expected.js b/packages/svelte/test/js/samples/data-attribute/expected.js similarity index 100% rename from test/js/samples/data-attribute/expected.js rename to packages/svelte/test/js/samples/data-attribute/expected.js diff --git a/test/js/samples/data-attribute/input.svelte b/packages/svelte/test/js/samples/data-attribute/input.svelte similarity index 100% rename from test/js/samples/data-attribute/input.svelte rename to packages/svelte/test/js/samples/data-attribute/input.svelte diff --git a/test/js/samples/debug-empty/_config.js b/packages/svelte/test/js/samples/debug-empty/_config.js similarity index 100% rename from test/js/samples/debug-empty/_config.js rename to packages/svelte/test/js/samples/debug-empty/_config.js diff --git a/test/js/samples/debug-empty/expected.js b/packages/svelte/test/js/samples/debug-empty/expected.js similarity index 100% rename from test/js/samples/debug-empty/expected.js rename to packages/svelte/test/js/samples/debug-empty/expected.js diff --git a/test/js/samples/debug-empty/input.svelte b/packages/svelte/test/js/samples/debug-empty/input.svelte similarity index 100% rename from test/js/samples/debug-empty/input.svelte rename to packages/svelte/test/js/samples/debug-empty/input.svelte diff --git a/test/js/samples/debug-foo-bar-baz-things/_config.js b/packages/svelte/test/js/samples/debug-foo-bar-baz-things/_config.js similarity index 100% rename from test/js/samples/debug-foo-bar-baz-things/_config.js rename to packages/svelte/test/js/samples/debug-foo-bar-baz-things/_config.js diff --git a/test/js/samples/debug-foo-bar-baz-things/expected.js b/packages/svelte/test/js/samples/debug-foo-bar-baz-things/expected.js similarity index 97% rename from test/js/samples/debug-foo-bar-baz-things/expected.js rename to packages/svelte/test/js/samples/debug-foo-bar-baz-things/expected.js index 0b0a41abe2..360df103e4 100644 --- a/test/js/samples/debug-foo-bar-baz-things/expected.js +++ b/packages/svelte/test/js/samples/debug-foo-bar-baz-things/expected.js @@ -7,6 +7,7 @@ import { detach_dev, dispatch_dev, element, + ensure_array_like_dev, init, insert_dev, noop, @@ -14,7 +15,6 @@ import { set_data_dev, space, text, - validate_each_argument, validate_slots } from "svelte/internal"; @@ -89,8 +89,7 @@ function create_fragment(ctx) { let p; let t1; let t2; - let each_value = /*things*/ ctx[0]; - validate_each_argument(each_value); + let each_value = ensure_array_like_dev(/*things*/ ctx[0]); let each_blocks = []; for (let i = 0; i < each_value.length; i += 1) { @@ -126,8 +125,7 @@ function create_fragment(ctx) { }, p: function update(ctx, [dirty]) { if (dirty & /*things*/ 1) { - each_value = /*things*/ ctx[0]; - validate_each_argument(each_value); + each_value = ensure_array_like_dev(/*things*/ ctx[0]); let i; for (i = 0; i < each_value.length; i += 1) { diff --git a/test/js/samples/debug-foo-bar-baz-things/input.svelte b/packages/svelte/test/js/samples/debug-foo-bar-baz-things/input.svelte similarity index 100% rename from test/js/samples/debug-foo-bar-baz-things/input.svelte rename to packages/svelte/test/js/samples/debug-foo-bar-baz-things/input.svelte diff --git a/test/js/samples/debug-foo/_config.js b/packages/svelte/test/js/samples/debug-foo/_config.js similarity index 100% rename from test/js/samples/debug-foo/_config.js rename to packages/svelte/test/js/samples/debug-foo/_config.js diff --git a/test/js/samples/debug-foo/expected.js b/packages/svelte/test/js/samples/debug-foo/expected.js similarity index 96% rename from test/js/samples/debug-foo/expected.js rename to packages/svelte/test/js/samples/debug-foo/expected.js index 637a229a97..e4925d9ef0 100644 --- a/test/js/samples/debug-foo/expected.js +++ b/packages/svelte/test/js/samples/debug-foo/expected.js @@ -7,6 +7,7 @@ import { detach_dev, dispatch_dev, element, + ensure_array_like_dev, init, insert_dev, noop, @@ -14,7 +15,6 @@ import { set_data_dev, space, text, - validate_each_argument, validate_slots } from "svelte/internal"; @@ -83,8 +83,7 @@ function create_fragment(ctx) { let p; let t1; let t2; - let each_value = /*things*/ ctx[0]; - validate_each_argument(each_value); + let each_value = ensure_array_like_dev(/*things*/ ctx[0]); let each_blocks = []; for (let i = 0; i < each_value.length; i += 1) { @@ -120,8 +119,7 @@ function create_fragment(ctx) { }, p: function update(ctx, [dirty]) { if (dirty & /*things*/ 1) { - each_value = /*things*/ ctx[0]; - validate_each_argument(each_value); + each_value = ensure_array_like_dev(/*things*/ ctx[0]); let i; for (i = 0; i < each_value.length; i += 1) { diff --git a/test/js/samples/debug-foo/input.svelte b/packages/svelte/test/js/samples/debug-foo/input.svelte similarity index 100% rename from test/js/samples/debug-foo/input.svelte rename to packages/svelte/test/js/samples/debug-foo/input.svelte diff --git a/test/js/samples/debug-hoisted/_config.js b/packages/svelte/test/js/samples/debug-hoisted/_config.js similarity index 100% rename from test/js/samples/debug-hoisted/_config.js rename to packages/svelte/test/js/samples/debug-hoisted/_config.js diff --git a/test/js/samples/debug-hoisted/expected.js b/packages/svelte/test/js/samples/debug-hoisted/expected.js similarity index 100% rename from test/js/samples/debug-hoisted/expected.js rename to packages/svelte/test/js/samples/debug-hoisted/expected.js diff --git a/test/js/samples/debug-hoisted/input.svelte b/packages/svelte/test/js/samples/debug-hoisted/input.svelte similarity index 100% rename from test/js/samples/debug-hoisted/input.svelte rename to packages/svelte/test/js/samples/debug-hoisted/input.svelte diff --git a/test/js/samples/debug-no-dependencies/_config.js b/packages/svelte/test/js/samples/debug-no-dependencies/_config.js similarity index 100% rename from test/js/samples/debug-no-dependencies/_config.js rename to packages/svelte/test/js/samples/debug-no-dependencies/_config.js diff --git a/test/js/samples/debug-no-dependencies/expected.js b/packages/svelte/test/js/samples/debug-no-dependencies/expected.js similarity index 94% rename from test/js/samples/debug-no-dependencies/expected.js rename to packages/svelte/test/js/samples/debug-no-dependencies/expected.js index e9e4d34a11..8e3ae1c43a 100644 --- a/test/js/samples/debug-no-dependencies/expected.js +++ b/packages/svelte/test/js/samples/debug-no-dependencies/expected.js @@ -5,13 +5,13 @@ import { detach_dev, dispatch_dev, empty, + ensure_array_like_dev, init, insert_dev, noop, safe_not_equal, space, text, - validate_each_argument, validate_slots } from "svelte/internal"; @@ -65,8 +65,7 @@ function create_each_block(ctx) { function create_fragment(ctx) { let each_1_anchor; - let each_value = things; - validate_each_argument(each_value); + let each_value = ensure_array_like_dev(things); let each_blocks = []; for (let i = 0; i < each_value.length; i += 1) { @@ -95,8 +94,7 @@ function create_fragment(ctx) { }, p: function update(ctx, [dirty]) { if (dirty & /*things*/ 0) { - each_value = things; - validate_each_argument(each_value); + each_value = ensure_array_like_dev(things); let i; for (i = 0; i < each_value.length; i += 1) { diff --git a/test/js/samples/debug-no-dependencies/input.svelte b/packages/svelte/test/js/samples/debug-no-dependencies/input.svelte similarity index 100% rename from test/js/samples/debug-no-dependencies/input.svelte rename to packages/svelte/test/js/samples/debug-no-dependencies/input.svelte diff --git a/test/js/samples/debug-ssr-foo/_config.js b/packages/svelte/test/js/samples/debug-ssr-foo/_config.js similarity index 100% rename from test/js/samples/debug-ssr-foo/_config.js rename to packages/svelte/test/js/samples/debug-ssr-foo/_config.js diff --git a/test/js/samples/debug-ssr-foo/expected.js b/packages/svelte/test/js/samples/debug-ssr-foo/expected.js similarity index 100% rename from test/js/samples/debug-ssr-foo/expected.js rename to packages/svelte/test/js/samples/debug-ssr-foo/expected.js diff --git a/test/js/samples/debug-ssr-foo/input.svelte b/packages/svelte/test/js/samples/debug-ssr-foo/input.svelte similarity index 100% rename from test/js/samples/debug-ssr-foo/input.svelte rename to packages/svelte/test/js/samples/debug-ssr-foo/input.svelte diff --git a/test/js/samples/deconflict-builtins/expected.js b/packages/svelte/test/js/samples/deconflict-builtins/expected.js similarity index 93% rename from test/js/samples/deconflict-builtins/expected.js rename to packages/svelte/test/js/samples/deconflict-builtins/expected.js index 7e5263e8b3..e61d466acf 100644 --- a/test/js/samples/deconflict-builtins/expected.js +++ b/packages/svelte/test/js/samples/deconflict-builtins/expected.js @@ -6,6 +6,7 @@ import { detach, element, empty, + ensure_array_like, init, insert, noop, @@ -46,7 +47,7 @@ function create_each_block(ctx) { function create_fragment(ctx) { let each_1_anchor; - let each_value = /*createElement*/ ctx[0]; + let each_value = ensure_array_like(/*createElement*/ ctx[0]); let each_blocks = []; for (let i = 0; i < each_value.length; i += 1) { @@ -72,7 +73,7 @@ function create_fragment(ctx) { }, p(ctx, [dirty]) { if (dirty & /*createElement*/ 1) { - each_value = /*createElement*/ ctx[0]; + each_value = ensure_array_like(/*createElement*/ ctx[0]); let i; for (i = 0; i < each_value.length; i += 1) { diff --git a/test/js/samples/deconflict-builtins/input.svelte b/packages/svelte/test/js/samples/deconflict-builtins/input.svelte similarity index 100% rename from test/js/samples/deconflict-builtins/input.svelte rename to packages/svelte/test/js/samples/deconflict-builtins/input.svelte diff --git a/test/js/samples/deconflict-globals/expected.js b/packages/svelte/test/js/samples/deconflict-globals/expected.js similarity index 100% rename from test/js/samples/deconflict-globals/expected.js rename to packages/svelte/test/js/samples/deconflict-globals/expected.js diff --git a/test/js/samples/deconflict-globals/input.svelte b/packages/svelte/test/js/samples/deconflict-globals/input.svelte similarity index 100% rename from test/js/samples/deconflict-globals/input.svelte rename to packages/svelte/test/js/samples/deconflict-globals/input.svelte diff --git a/test/js/samples/dev-warning-missing-data-computed/_config.js b/packages/svelte/test/js/samples/dev-warning-missing-data-computed/_config.js similarity index 100% rename from test/js/samples/dev-warning-missing-data-computed/_config.js rename to packages/svelte/test/js/samples/dev-warning-missing-data-computed/_config.js diff --git a/test/js/samples/dev-warning-missing-data-computed/expected.js b/packages/svelte/test/js/samples/dev-warning-missing-data-computed/expected.js similarity index 100% rename from test/js/samples/dev-warning-missing-data-computed/expected.js rename to packages/svelte/test/js/samples/dev-warning-missing-data-computed/expected.js diff --git a/test/js/samples/dev-warning-missing-data-computed/input.svelte b/packages/svelte/test/js/samples/dev-warning-missing-data-computed/input.svelte similarity index 100% rename from test/js/samples/dev-warning-missing-data-computed/input.svelte rename to packages/svelte/test/js/samples/dev-warning-missing-data-computed/input.svelte diff --git a/test/js/samples/dom-preserve-comments/_config.js b/packages/svelte/test/js/samples/dom-preserve-comments/_config.js similarity index 100% rename from test/js/samples/dom-preserve-comments/_config.js rename to packages/svelte/test/js/samples/dom-preserve-comments/_config.js diff --git a/test/js/samples/dom-preserve-comments/expected.js b/packages/svelte/test/js/samples/dom-preserve-comments/expected.js similarity index 100% rename from test/js/samples/dom-preserve-comments/expected.js rename to packages/svelte/test/js/samples/dom-preserve-comments/expected.js diff --git a/test/js/samples/dom-preserve-comments/input.svelte b/packages/svelte/test/js/samples/dom-preserve-comments/input.svelte similarity index 100% rename from test/js/samples/dom-preserve-comments/input.svelte rename to packages/svelte/test/js/samples/dom-preserve-comments/input.svelte diff --git a/test/js/samples/dont-invalidate-this/expected.js b/packages/svelte/test/js/samples/dont-invalidate-this/expected.js similarity index 100% rename from test/js/samples/dont-invalidate-this/expected.js rename to packages/svelte/test/js/samples/dont-invalidate-this/expected.js diff --git a/test/js/samples/dont-invalidate-this/input.svelte b/packages/svelte/test/js/samples/dont-invalidate-this/input.svelte similarity index 100% rename from test/js/samples/dont-invalidate-this/input.svelte rename to packages/svelte/test/js/samples/dont-invalidate-this/input.svelte diff --git a/test/js/samples/dynamic-import/expected.js b/packages/svelte/test/js/samples/dynamic-import/expected.js similarity index 100% rename from test/js/samples/dynamic-import/expected.js rename to packages/svelte/test/js/samples/dynamic-import/expected.js diff --git a/test/js/samples/dynamic-import/input.svelte b/packages/svelte/test/js/samples/dynamic-import/input.svelte similarity index 100% rename from test/js/samples/dynamic-import/input.svelte rename to packages/svelte/test/js/samples/dynamic-import/input.svelte diff --git a/test/js/samples/each-block-array-literal/expected.js b/packages/svelte/test/js/samples/each-block-array-literal/expected.js similarity index 90% rename from test/js/samples/each-block-array-literal/expected.js rename to packages/svelte/test/js/samples/each-block-array-literal/expected.js index 575cf1bba7..6620abc0fa 100644 --- a/test/js/samples/each-block-array-literal/expected.js +++ b/packages/svelte/test/js/samples/each-block-array-literal/expected.js @@ -6,6 +6,7 @@ import { detach, element, empty, + ensure_array_like, init, insert, noop, @@ -46,7 +47,7 @@ function create_each_block(ctx) { function create_fragment(ctx) { let each_1_anchor; - let each_value = [/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]]; + let each_value = ensure_array_like([/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]]); let each_blocks = []; for (let i = 0; i < 5; i += 1) { @@ -72,7 +73,7 @@ function create_fragment(ctx) { }, p(ctx, [dirty]) { if (dirty & /*a, b, c, d, e*/ 31) { - each_value = [/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]]; + each_value = ensure_array_like([/*a*/ ctx[0], /*b*/ ctx[1], /*c*/ ctx[2], /*d*/ ctx[3], /*e*/ ctx[4]]); let i; for (i = 0; i < 5; i += 1) { diff --git a/test/js/samples/each-block-array-literal/input.svelte b/packages/svelte/test/js/samples/each-block-array-literal/input.svelte similarity index 100% rename from test/js/samples/each-block-array-literal/input.svelte rename to packages/svelte/test/js/samples/each-block-array-literal/input.svelte diff --git a/test/js/samples/each-block-changed-check/expected.js b/packages/svelte/test/js/samples/each-block-changed-check/expected.js similarity index 96% rename from test/js/samples/each-block-changed-check/expected.js rename to packages/svelte/test/js/samples/each-block-changed-check/expected.js index 5451f36990..6d03010c26 100644 --- a/test/js/samples/each-block-changed-check/expected.js +++ b/packages/svelte/test/js/samples/each-block-changed-check/expected.js @@ -7,6 +7,7 @@ import { destroy_each, detach, element, + ensure_array_like, init, insert, noop, @@ -83,7 +84,7 @@ function create_fragment(ctx) { let t0; let p; let t1; - let each_value = /*comments*/ ctx[0]; + let each_value = ensure_array_like(/*comments*/ ctx[0]); let each_blocks = []; for (let i = 0; i < each_value.length; i += 1) { @@ -113,7 +114,7 @@ function create_fragment(ctx) { }, p(ctx, [dirty]) { if (dirty & /*comments, elapsed, time*/ 7) { - each_value = /*comments*/ ctx[0]; + each_value = ensure_array_like(/*comments*/ ctx[0]); let i; for (i = 0; i < each_value.length; i += 1) { diff --git a/test/js/samples/each-block-changed-check/input.svelte b/packages/svelte/test/js/samples/each-block-changed-check/input.svelte similarity index 100% rename from test/js/samples/each-block-changed-check/input.svelte rename to packages/svelte/test/js/samples/each-block-changed-check/input.svelte diff --git a/test/js/samples/each-block-keyed-animated/expected.js b/packages/svelte/test/js/samples/each-block-keyed-animated/expected.js similarity index 95% rename from test/js/samples/each-block-keyed-animated/expected.js rename to packages/svelte/test/js/samples/each-block-keyed-animated/expected.js index 7edfa77b18..d8aa7a7501 100644 --- a/test/js/samples/each-block-keyed-animated/expected.js +++ b/packages/svelte/test/js/samples/each-block-keyed-animated/expected.js @@ -6,6 +6,7 @@ import { detach, element, empty, + ensure_array_like, fix_and_destroy_block, fix_position, init, @@ -68,7 +69,7 @@ function create_fragment(ctx) { let each_blocks = []; let each_1_lookup = new Map(); let each_1_anchor; - let each_value = /*things*/ ctx[0]; + let each_value = ensure_array_like(/*things*/ ctx[0]); const get_key = ctx => /*thing*/ ctx[1].id; for (let i = 0; i < each_value.length; i += 1) { @@ -96,7 +97,7 @@ function create_fragment(ctx) { }, p(ctx, [dirty]) { if (dirty & /*things*/ 1) { - each_value = /*things*/ ctx[0]; + each_value = ensure_array_like(/*things*/ ctx[0]); for (let i = 0; i < each_blocks.length; i += 1) each_blocks[i].r(); each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, fix_and_destroy_block, create_each_block, each_1_anchor, get_each_context); for (let i = 0; i < each_blocks.length; i += 1) each_blocks[i].a(); diff --git a/test/js/samples/each-block-keyed-animated/input.svelte b/packages/svelte/test/js/samples/each-block-keyed-animated/input.svelte similarity index 100% rename from test/js/samples/each-block-keyed-animated/input.svelte rename to packages/svelte/test/js/samples/each-block-keyed-animated/input.svelte diff --git a/test/js/samples/each-block-keyed/expected.js b/packages/svelte/test/js/samples/each-block-keyed/expected.js similarity index 93% rename from test/js/samples/each-block-keyed/expected.js rename to packages/svelte/test/js/samples/each-block-keyed/expected.js index a6357cbf77..10c41ee159 100644 --- a/test/js/samples/each-block-keyed/expected.js +++ b/packages/svelte/test/js/samples/each-block-keyed/expected.js @@ -6,6 +6,7 @@ import { detach, element, empty, + ensure_array_like, init, insert, noop, @@ -53,7 +54,7 @@ function create_fragment(ctx) { let each_blocks = []; let each_1_lookup = new Map(); let each_1_anchor; - let each_value = /*things*/ ctx[0]; + let each_value = ensure_array_like(/*things*/ ctx[0]); const get_key = ctx => /*thing*/ ctx[1].id; for (let i = 0; i < each_value.length; i += 1) { @@ -81,7 +82,7 @@ function create_fragment(ctx) { }, p(ctx, [dirty]) { if (dirty & /*things*/ 1) { - each_value = /*things*/ ctx[0]; + each_value = ensure_array_like(/*things*/ ctx[0]); each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, destroy_block, create_each_block, each_1_anchor, get_each_context); } }, diff --git a/test/js/samples/each-block-keyed/input.svelte b/packages/svelte/test/js/samples/each-block-keyed/input.svelte similarity index 100% rename from test/js/samples/each-block-keyed/input.svelte rename to packages/svelte/test/js/samples/each-block-keyed/input.svelte diff --git a/test/js/samples/empty-dom/expected.js b/packages/svelte/test/js/samples/empty-dom/expected.js similarity index 100% rename from test/js/samples/empty-dom/expected.js rename to packages/svelte/test/js/samples/empty-dom/expected.js diff --git a/test/js/samples/empty-dom/input.svelte b/packages/svelte/test/js/samples/empty-dom/input.svelte similarity index 100% rename from test/js/samples/empty-dom/input.svelte rename to packages/svelte/test/js/samples/empty-dom/input.svelte diff --git a/test/js/samples/event-handler-dynamic/expected.js b/packages/svelte/test/js/samples/event-handler-dynamic/expected.js similarity index 100% rename from test/js/samples/event-handler-dynamic/expected.js rename to packages/svelte/test/js/samples/event-handler-dynamic/expected.js diff --git a/test/js/samples/event-handler-dynamic/input.svelte b/packages/svelte/test/js/samples/event-handler-dynamic/input.svelte similarity index 100% rename from test/js/samples/event-handler-dynamic/input.svelte rename to packages/svelte/test/js/samples/event-handler-dynamic/input.svelte diff --git a/test/js/samples/event-handler-no-passive/expected.js b/packages/svelte/test/js/samples/event-handler-no-passive/expected.js similarity index 100% rename from test/js/samples/event-handler-no-passive/expected.js rename to packages/svelte/test/js/samples/event-handler-no-passive/expected.js diff --git a/test/js/samples/event-handler-no-passive/input.svelte b/packages/svelte/test/js/samples/event-handler-no-passive/input.svelte similarity index 100% rename from test/js/samples/event-handler-no-passive/input.svelte rename to packages/svelte/test/js/samples/event-handler-no-passive/input.svelte diff --git a/test/js/samples/event-modifiers/expected.js b/packages/svelte/test/js/samples/event-modifiers/expected.js similarity index 100% rename from test/js/samples/event-modifiers/expected.js rename to packages/svelte/test/js/samples/event-modifiers/expected.js diff --git a/test/js/samples/event-modifiers/input.svelte b/packages/svelte/test/js/samples/event-modifiers/input.svelte similarity index 100% rename from test/js/samples/event-modifiers/input.svelte rename to packages/svelte/test/js/samples/event-modifiers/input.svelte diff --git a/test/js/samples/export-from-accessors/_config.js b/packages/svelte/test/js/samples/export-from-accessors/_config.js similarity index 100% rename from test/js/samples/export-from-accessors/_config.js rename to packages/svelte/test/js/samples/export-from-accessors/_config.js diff --git a/test/js/samples/export-from-accessors/expected.js b/packages/svelte/test/js/samples/export-from-accessors/expected.js similarity index 100% rename from test/js/samples/export-from-accessors/expected.js rename to packages/svelte/test/js/samples/export-from-accessors/expected.js diff --git a/test/js/samples/export-from-accessors/input.svelte b/packages/svelte/test/js/samples/export-from-accessors/input.svelte similarity index 100% rename from test/js/samples/export-from-accessors/input.svelte rename to packages/svelte/test/js/samples/export-from-accessors/input.svelte diff --git a/test/js/samples/export-from/expected.js b/packages/svelte/test/js/samples/export-from/expected.js similarity index 100% rename from test/js/samples/export-from/expected.js rename to packages/svelte/test/js/samples/export-from/expected.js diff --git a/test/js/samples/export-from/input.svelte b/packages/svelte/test/js/samples/export-from/input.svelte similarity index 100% rename from test/js/samples/export-from/input.svelte rename to packages/svelte/test/js/samples/export-from/input.svelte diff --git a/test/js/samples/head-no-whitespace/expected.js b/packages/svelte/test/js/samples/head-no-whitespace/expected.js similarity index 100% rename from test/js/samples/head-no-whitespace/expected.js rename to packages/svelte/test/js/samples/head-no-whitespace/expected.js diff --git a/test/js/samples/head-no-whitespace/input.svelte b/packages/svelte/test/js/samples/head-no-whitespace/input.svelte similarity index 100% rename from test/js/samples/head-no-whitespace/input.svelte rename to packages/svelte/test/js/samples/head-no-whitespace/input.svelte diff --git a/test/js/samples/hoisted-const/expected.js b/packages/svelte/test/js/samples/hoisted-const/expected.js similarity index 100% rename from test/js/samples/hoisted-const/expected.js rename to packages/svelte/test/js/samples/hoisted-const/expected.js diff --git a/test/js/samples/hoisted-const/input.svelte b/packages/svelte/test/js/samples/hoisted-const/input.svelte similarity index 100% rename from test/js/samples/hoisted-const/input.svelte rename to packages/svelte/test/js/samples/hoisted-const/input.svelte diff --git a/test/js/samples/hoisted-let/expected.js b/packages/svelte/test/js/samples/hoisted-let/expected.js similarity index 100% rename from test/js/samples/hoisted-let/expected.js rename to packages/svelte/test/js/samples/hoisted-let/expected.js diff --git a/test/js/samples/hoisted-let/input.svelte b/packages/svelte/test/js/samples/hoisted-let/input.svelte similarity index 100% rename from test/js/samples/hoisted-let/input.svelte rename to packages/svelte/test/js/samples/hoisted-let/input.svelte diff --git a/test/js/samples/hydrated-void-element/_config.js b/packages/svelte/test/js/samples/hydrated-void-element/_config.js similarity index 100% rename from test/js/samples/hydrated-void-element/_config.js rename to packages/svelte/test/js/samples/hydrated-void-element/_config.js diff --git a/test/js/samples/hydrated-void-element/expected.js b/packages/svelte/test/js/samples/hydrated-void-element/expected.js similarity index 100% rename from test/js/samples/hydrated-void-element/expected.js rename to packages/svelte/test/js/samples/hydrated-void-element/expected.js diff --git a/test/js/samples/hydrated-void-element/input.svelte b/packages/svelte/test/js/samples/hydrated-void-element/input.svelte similarity index 100% rename from test/js/samples/hydrated-void-element/input.svelte rename to packages/svelte/test/js/samples/hydrated-void-element/input.svelte diff --git a/test/js/samples/hydrated-void-svg-element/_config.js b/packages/svelte/test/js/samples/hydrated-void-svg-element/_config.js similarity index 100% rename from test/js/samples/hydrated-void-svg-element/_config.js rename to packages/svelte/test/js/samples/hydrated-void-svg-element/_config.js diff --git a/test/js/samples/hydrated-void-svg-element/expected.js b/packages/svelte/test/js/samples/hydrated-void-svg-element/expected.js similarity index 100% rename from test/js/samples/hydrated-void-svg-element/expected.js rename to packages/svelte/test/js/samples/hydrated-void-svg-element/expected.js diff --git a/test/js/samples/hydrated-void-svg-element/input.svelte b/packages/svelte/test/js/samples/hydrated-void-svg-element/input.svelte similarity index 100% rename from test/js/samples/hydrated-void-svg-element/input.svelte rename to packages/svelte/test/js/samples/hydrated-void-svg-element/input.svelte diff --git a/test/js/samples/if-block-complex/expected.js b/packages/svelte/test/js/samples/if-block-complex/expected.js similarity index 100% rename from test/js/samples/if-block-complex/expected.js rename to packages/svelte/test/js/samples/if-block-complex/expected.js diff --git a/test/js/samples/if-block-complex/input.svelte b/packages/svelte/test/js/samples/if-block-complex/input.svelte similarity index 100% rename from test/js/samples/if-block-complex/input.svelte rename to packages/svelte/test/js/samples/if-block-complex/input.svelte diff --git a/test/js/samples/if-block-no-update/expected.js b/packages/svelte/test/js/samples/if-block-no-update/expected.js similarity index 100% rename from test/js/samples/if-block-no-update/expected.js rename to packages/svelte/test/js/samples/if-block-no-update/expected.js diff --git a/test/js/samples/if-block-no-update/input.svelte b/packages/svelte/test/js/samples/if-block-no-update/input.svelte similarity index 100% rename from test/js/samples/if-block-no-update/input.svelte rename to packages/svelte/test/js/samples/if-block-no-update/input.svelte diff --git a/test/js/samples/if-block-simple/expected.js b/packages/svelte/test/js/samples/if-block-simple/expected.js similarity index 100% rename from test/js/samples/if-block-simple/expected.js rename to packages/svelte/test/js/samples/if-block-simple/expected.js diff --git a/test/js/samples/if-block-simple/input.svelte b/packages/svelte/test/js/samples/if-block-simple/input.svelte similarity index 100% rename from test/js/samples/if-block-simple/input.svelte rename to packages/svelte/test/js/samples/if-block-simple/input.svelte diff --git a/test/js/samples/import-meta/expected.js b/packages/svelte/test/js/samples/import-meta/expected.js similarity index 100% rename from test/js/samples/import-meta/expected.js rename to packages/svelte/test/js/samples/import-meta/expected.js diff --git a/test/js/samples/import-meta/input.svelte b/packages/svelte/test/js/samples/import-meta/input.svelte similarity index 100% rename from test/js/samples/import-meta/input.svelte rename to packages/svelte/test/js/samples/import-meta/input.svelte diff --git a/test/js/samples/initial-context/expected.js b/packages/svelte/test/js/samples/initial-context/expected.js similarity index 100% rename from test/js/samples/initial-context/expected.js rename to packages/svelte/test/js/samples/initial-context/expected.js diff --git a/test/js/samples/initial-context/input.svelte b/packages/svelte/test/js/samples/initial-context/input.svelte similarity index 100% rename from test/js/samples/initial-context/input.svelte rename to packages/svelte/test/js/samples/initial-context/input.svelte diff --git a/test/js/samples/inline-style-optimized-multiple/expected.js b/packages/svelte/test/js/samples/inline-style-optimized-multiple/expected.js similarity index 100% rename from test/js/samples/inline-style-optimized-multiple/expected.js rename to packages/svelte/test/js/samples/inline-style-optimized-multiple/expected.js diff --git a/test/js/samples/inline-style-optimized-multiple/input.svelte b/packages/svelte/test/js/samples/inline-style-optimized-multiple/input.svelte similarity index 100% rename from test/js/samples/inline-style-optimized-multiple/input.svelte rename to packages/svelte/test/js/samples/inline-style-optimized-multiple/input.svelte diff --git a/test/js/samples/inline-style-optimized-url/expected.js b/packages/svelte/test/js/samples/inline-style-optimized-url/expected.js similarity index 100% rename from test/js/samples/inline-style-optimized-url/expected.js rename to packages/svelte/test/js/samples/inline-style-optimized-url/expected.js diff --git a/test/js/samples/inline-style-optimized-url/input.svelte b/packages/svelte/test/js/samples/inline-style-optimized-url/input.svelte similarity index 100% rename from test/js/samples/inline-style-optimized-url/input.svelte rename to packages/svelte/test/js/samples/inline-style-optimized-url/input.svelte diff --git a/test/js/samples/inline-style-optimized/expected.js b/packages/svelte/test/js/samples/inline-style-optimized/expected.js similarity index 100% rename from test/js/samples/inline-style-optimized/expected.js rename to packages/svelte/test/js/samples/inline-style-optimized/expected.js diff --git a/test/js/samples/inline-style-optimized/input.svelte b/packages/svelte/test/js/samples/inline-style-optimized/input.svelte similarity index 100% rename from test/js/samples/inline-style-optimized/input.svelte rename to packages/svelte/test/js/samples/inline-style-optimized/input.svelte diff --git a/test/js/samples/inline-style-unoptimized/expected.js b/packages/svelte/test/js/samples/inline-style-unoptimized/expected.js similarity index 100% rename from test/js/samples/inline-style-unoptimized/expected.js rename to packages/svelte/test/js/samples/inline-style-unoptimized/expected.js diff --git a/test/js/samples/inline-style-unoptimized/input.svelte b/packages/svelte/test/js/samples/inline-style-unoptimized/input.svelte similarity index 100% rename from test/js/samples/inline-style-unoptimized/input.svelte rename to packages/svelte/test/js/samples/inline-style-unoptimized/input.svelte diff --git a/test/js/samples/inline-style-without-updates/expected.js b/packages/svelte/test/js/samples/inline-style-without-updates/expected.js similarity index 100% rename from test/js/samples/inline-style-without-updates/expected.js rename to packages/svelte/test/js/samples/inline-style-without-updates/expected.js diff --git a/test/js/samples/inline-style-without-updates/input.svelte b/packages/svelte/test/js/samples/inline-style-without-updates/input.svelte similarity index 100% rename from test/js/samples/inline-style-without-updates/input.svelte rename to packages/svelte/test/js/samples/inline-style-without-updates/input.svelte diff --git a/test/js/samples/input-files/expected.js b/packages/svelte/test/js/samples/input-files/expected.js similarity index 100% rename from test/js/samples/input-files/expected.js rename to packages/svelte/test/js/samples/input-files/expected.js diff --git a/test/js/samples/input-files/input.svelte b/packages/svelte/test/js/samples/input-files/input.svelte similarity index 100% rename from test/js/samples/input-files/input.svelte rename to packages/svelte/test/js/samples/input-files/input.svelte diff --git a/test/js/samples/input-no-initial-value/expected.js b/packages/svelte/test/js/samples/input-no-initial-value/expected.js similarity index 100% rename from test/js/samples/input-no-initial-value/expected.js rename to packages/svelte/test/js/samples/input-no-initial-value/expected.js diff --git a/test/js/samples/input-no-initial-value/input.svelte b/packages/svelte/test/js/samples/input-no-initial-value/input.svelte similarity index 100% rename from test/js/samples/input-no-initial-value/input.svelte rename to packages/svelte/test/js/samples/input-no-initial-value/input.svelte diff --git a/test/js/samples/input-range/expected.js b/packages/svelte/test/js/samples/input-range/expected.js similarity index 100% rename from test/js/samples/input-range/expected.js rename to packages/svelte/test/js/samples/input-range/expected.js diff --git a/test/js/samples/input-range/input.svelte b/packages/svelte/test/js/samples/input-range/input.svelte similarity index 100% rename from test/js/samples/input-range/input.svelte rename to packages/svelte/test/js/samples/input-range/input.svelte diff --git a/test/js/samples/input-value/expected.js b/packages/svelte/test/js/samples/input-value/expected.js similarity index 100% rename from test/js/samples/input-value/expected.js rename to packages/svelte/test/js/samples/input-value/expected.js diff --git a/test/js/samples/input-value/input.svelte b/packages/svelte/test/js/samples/input-value/input.svelte similarity index 100% rename from test/js/samples/input-value/input.svelte rename to packages/svelte/test/js/samples/input-value/input.svelte diff --git a/test/js/samples/input-without-blowback-guard/expected.js b/packages/svelte/test/js/samples/input-without-blowback-guard/expected.js similarity index 100% rename from test/js/samples/input-without-blowback-guard/expected.js rename to packages/svelte/test/js/samples/input-without-blowback-guard/expected.js diff --git a/test/js/samples/input-without-blowback-guard/input.svelte b/packages/svelte/test/js/samples/input-without-blowback-guard/input.svelte similarity index 100% rename from test/js/samples/input-without-blowback-guard/input.svelte rename to packages/svelte/test/js/samples/input-without-blowback-guard/input.svelte diff --git a/test/js/samples/instrumentation-script-if-no-block/expected.js b/packages/svelte/test/js/samples/instrumentation-script-if-no-block/expected.js similarity index 100% rename from test/js/samples/instrumentation-script-if-no-block/expected.js rename to packages/svelte/test/js/samples/instrumentation-script-if-no-block/expected.js diff --git a/test/js/samples/instrumentation-script-if-no-block/input.svelte b/packages/svelte/test/js/samples/instrumentation-script-if-no-block/input.svelte similarity index 100% rename from test/js/samples/instrumentation-script-if-no-block/input.svelte rename to packages/svelte/test/js/samples/instrumentation-script-if-no-block/input.svelte diff --git a/test/js/samples/instrumentation-script-main-block/expected.js b/packages/svelte/test/js/samples/instrumentation-script-main-block/expected.js similarity index 100% rename from test/js/samples/instrumentation-script-main-block/expected.js rename to packages/svelte/test/js/samples/instrumentation-script-main-block/expected.js diff --git a/test/js/samples/instrumentation-script-main-block/input.svelte b/packages/svelte/test/js/samples/instrumentation-script-main-block/input.svelte similarity index 100% rename from test/js/samples/instrumentation-script-main-block/input.svelte rename to packages/svelte/test/js/samples/instrumentation-script-main-block/input.svelte diff --git a/test/js/samples/instrumentation-script-x-equals-x/expected.js b/packages/svelte/test/js/samples/instrumentation-script-x-equals-x/expected.js similarity index 100% rename from test/js/samples/instrumentation-script-x-equals-x/expected.js rename to packages/svelte/test/js/samples/instrumentation-script-x-equals-x/expected.js diff --git a/test/js/samples/instrumentation-script-x-equals-x/input.svelte b/packages/svelte/test/js/samples/instrumentation-script-x-equals-x/input.svelte similarity index 100% rename from test/js/samples/instrumentation-script-x-equals-x/input.svelte rename to packages/svelte/test/js/samples/instrumentation-script-x-equals-x/input.svelte diff --git a/test/js/samples/instrumentation-template-if-no-block/expected.js b/packages/svelte/test/js/samples/instrumentation-template-if-no-block/expected.js similarity index 100% rename from test/js/samples/instrumentation-template-if-no-block/expected.js rename to packages/svelte/test/js/samples/instrumentation-template-if-no-block/expected.js diff --git a/test/js/samples/instrumentation-template-if-no-block/input.svelte b/packages/svelte/test/js/samples/instrumentation-template-if-no-block/input.svelte similarity index 100% rename from test/js/samples/instrumentation-template-if-no-block/input.svelte rename to packages/svelte/test/js/samples/instrumentation-template-if-no-block/input.svelte diff --git a/test/js/samples/instrumentation-template-x-equals-x/expected.js b/packages/svelte/test/js/samples/instrumentation-template-x-equals-x/expected.js similarity index 100% rename from test/js/samples/instrumentation-template-x-equals-x/expected.js rename to packages/svelte/test/js/samples/instrumentation-template-x-equals-x/expected.js diff --git a/test/js/samples/instrumentation-template-x-equals-x/input.svelte b/packages/svelte/test/js/samples/instrumentation-template-x-equals-x/input.svelte similarity index 100% rename from test/js/samples/instrumentation-template-x-equals-x/input.svelte rename to packages/svelte/test/js/samples/instrumentation-template-x-equals-x/input.svelte diff --git a/test/js/samples/legacy-input-type/_config.js b/packages/svelte/test/js/samples/legacy-input-type/_config.js similarity index 100% rename from test/js/samples/legacy-input-type/_config.js rename to packages/svelte/test/js/samples/legacy-input-type/_config.js diff --git a/test/js/samples/legacy-input-type/expected.js b/packages/svelte/test/js/samples/legacy-input-type/expected.js similarity index 100% rename from test/js/samples/legacy-input-type/expected.js rename to packages/svelte/test/js/samples/legacy-input-type/expected.js diff --git a/test/js/samples/legacy-input-type/input.svelte b/packages/svelte/test/js/samples/legacy-input-type/input.svelte similarity index 100% rename from test/js/samples/legacy-input-type/input.svelte rename to packages/svelte/test/js/samples/legacy-input-type/input.svelte diff --git a/test/js/samples/loop-protect/_config.js b/packages/svelte/test/js/samples/loop-protect/_config.js similarity index 100% rename from test/js/samples/loop-protect/_config.js rename to packages/svelte/test/js/samples/loop-protect/_config.js diff --git a/test/js/samples/loop-protect/expected.js b/packages/svelte/test/js/samples/loop-protect/expected.js similarity index 100% rename from test/js/samples/loop-protect/expected.js rename to packages/svelte/test/js/samples/loop-protect/expected.js diff --git a/test/js/samples/loop-protect/input.svelte b/packages/svelte/test/js/samples/loop-protect/input.svelte similarity index 100% rename from test/js/samples/loop-protect/input.svelte rename to packages/svelte/test/js/samples/loop-protect/input.svelte diff --git a/test/js/samples/media-bindings/expected.js b/packages/svelte/test/js/samples/media-bindings/expected.js similarity index 100% rename from test/js/samples/media-bindings/expected.js rename to packages/svelte/test/js/samples/media-bindings/expected.js diff --git a/test/js/samples/media-bindings/input.svelte b/packages/svelte/test/js/samples/media-bindings/input.svelte similarity index 100% rename from test/js/samples/media-bindings/input.svelte rename to packages/svelte/test/js/samples/media-bindings/input.svelte diff --git a/test/js/samples/natural-dimension-binding/expected.js b/packages/svelte/test/js/samples/natural-dimension-binding/expected.js similarity index 100% rename from test/js/samples/natural-dimension-binding/expected.js rename to packages/svelte/test/js/samples/natural-dimension-binding/expected.js diff --git a/test/js/samples/natural-dimension-binding/input.svelte b/packages/svelte/test/js/samples/natural-dimension-binding/input.svelte similarity index 100% rename from test/js/samples/natural-dimension-binding/input.svelte rename to packages/svelte/test/js/samples/natural-dimension-binding/input.svelte diff --git a/test/js/samples/non-imported-component/expected.js b/packages/svelte/test/js/samples/non-imported-component/expected.js similarity index 100% rename from test/js/samples/non-imported-component/expected.js rename to packages/svelte/test/js/samples/non-imported-component/expected.js diff --git a/test/js/samples/non-imported-component/input.svelte b/packages/svelte/test/js/samples/non-imported-component/input.svelte similarity index 100% rename from test/js/samples/non-imported-component/input.svelte rename to packages/svelte/test/js/samples/non-imported-component/input.svelte diff --git a/test/js/samples/non-mutable-reference/expected.js b/packages/svelte/test/js/samples/non-mutable-reference/expected.js similarity index 100% rename from test/js/samples/non-mutable-reference/expected.js rename to packages/svelte/test/js/samples/non-mutable-reference/expected.js diff --git a/test/js/samples/non-mutable-reference/input.svelte b/packages/svelte/test/js/samples/non-mutable-reference/input.svelte similarity index 100% rename from test/js/samples/non-mutable-reference/input.svelte rename to packages/svelte/test/js/samples/non-mutable-reference/input.svelte diff --git a/test/js/samples/optional-chaining/expected.js b/packages/svelte/test/js/samples/optional-chaining/expected.js similarity index 100% rename from test/js/samples/optional-chaining/expected.js rename to packages/svelte/test/js/samples/optional-chaining/expected.js diff --git a/test/js/samples/optional-chaining/input.svelte b/packages/svelte/test/js/samples/optional-chaining/input.svelte similarity index 100% rename from test/js/samples/optional-chaining/input.svelte rename to packages/svelte/test/js/samples/optional-chaining/input.svelte diff --git a/test/js/samples/reactive-class-optimized/expected.js b/packages/svelte/test/js/samples/reactive-class-optimized/expected.js similarity index 100% rename from test/js/samples/reactive-class-optimized/expected.js rename to packages/svelte/test/js/samples/reactive-class-optimized/expected.js diff --git a/test/js/samples/reactive-class-optimized/input.svelte b/packages/svelte/test/js/samples/reactive-class-optimized/input.svelte similarity index 100% rename from test/js/samples/reactive-class-optimized/input.svelte rename to packages/svelte/test/js/samples/reactive-class-optimized/input.svelte diff --git a/test/js/samples/reactive-class-optimized/store.js b/packages/svelte/test/js/samples/reactive-class-optimized/store.js similarity index 100% rename from test/js/samples/reactive-class-optimized/store.js rename to packages/svelte/test/js/samples/reactive-class-optimized/store.js diff --git a/test/js/samples/reactive-values-non-topologically-ordered/expected.js b/packages/svelte/test/js/samples/reactive-values-non-topologically-ordered/expected.js similarity index 100% rename from test/js/samples/reactive-values-non-topologically-ordered/expected.js rename to packages/svelte/test/js/samples/reactive-values-non-topologically-ordered/expected.js diff --git a/test/js/samples/reactive-values-non-topologically-ordered/input.svelte b/packages/svelte/test/js/samples/reactive-values-non-topologically-ordered/input.svelte similarity index 100% rename from test/js/samples/reactive-values-non-topologically-ordered/input.svelte rename to packages/svelte/test/js/samples/reactive-values-non-topologically-ordered/input.svelte diff --git a/test/js/samples/reactive-values-non-writable-dependencies/expected.js b/packages/svelte/test/js/samples/reactive-values-non-writable-dependencies/expected.js similarity index 100% rename from test/js/samples/reactive-values-non-writable-dependencies/expected.js rename to packages/svelte/test/js/samples/reactive-values-non-writable-dependencies/expected.js diff --git a/test/js/samples/reactive-values-non-writable-dependencies/input.svelte b/packages/svelte/test/js/samples/reactive-values-non-writable-dependencies/input.svelte similarity index 100% rename from test/js/samples/reactive-values-non-writable-dependencies/input.svelte rename to packages/svelte/test/js/samples/reactive-values-non-writable-dependencies/input.svelte diff --git a/test/js/samples/select-dynamic-value/expected.js b/packages/svelte/test/js/samples/select-dynamic-value/expected.js similarity index 100% rename from test/js/samples/select-dynamic-value/expected.js rename to packages/svelte/test/js/samples/select-dynamic-value/expected.js diff --git a/test/js/samples/select-dynamic-value/input.svelte b/packages/svelte/test/js/samples/select-dynamic-value/input.svelte similarity index 100% rename from test/js/samples/select-dynamic-value/input.svelte rename to packages/svelte/test/js/samples/select-dynamic-value/input.svelte diff --git a/test/js/samples/setup-method/expected.js b/packages/svelte/test/js/samples/setup-method/expected.js similarity index 100% rename from test/js/samples/setup-method/expected.js rename to packages/svelte/test/js/samples/setup-method/expected.js diff --git a/test/js/samples/setup-method/input.svelte b/packages/svelte/test/js/samples/setup-method/input.svelte similarity index 100% rename from test/js/samples/setup-method/input.svelte rename to packages/svelte/test/js/samples/setup-method/input.svelte diff --git a/test/js/samples/src-attribute-check-in-foreign/_config.js b/packages/svelte/test/js/samples/src-attribute-check-in-foreign/_config.js similarity index 100% rename from test/js/samples/src-attribute-check-in-foreign/_config.js rename to packages/svelte/test/js/samples/src-attribute-check-in-foreign/_config.js diff --git a/test/js/samples/src-attribute-check-in-foreign/expected.js b/packages/svelte/test/js/samples/src-attribute-check-in-foreign/expected.js similarity index 100% rename from test/js/samples/src-attribute-check-in-foreign/expected.js rename to packages/svelte/test/js/samples/src-attribute-check-in-foreign/expected.js diff --git a/test/js/samples/src-attribute-check-in-foreign/input.svelte b/packages/svelte/test/js/samples/src-attribute-check-in-foreign/input.svelte similarity index 100% rename from test/js/samples/src-attribute-check-in-foreign/input.svelte rename to packages/svelte/test/js/samples/src-attribute-check-in-foreign/input.svelte diff --git a/test/js/samples/src-attribute-check-in-svg/_config.js b/packages/svelte/test/js/samples/src-attribute-check-in-svg/_config.js similarity index 100% rename from test/js/samples/src-attribute-check-in-svg/_config.js rename to packages/svelte/test/js/samples/src-attribute-check-in-svg/_config.js diff --git a/test/js/samples/src-attribute-check-in-svg/expected.js b/packages/svelte/test/js/samples/src-attribute-check-in-svg/expected.js similarity index 100% rename from test/js/samples/src-attribute-check-in-svg/expected.js rename to packages/svelte/test/js/samples/src-attribute-check-in-svg/expected.js diff --git a/test/js/samples/src-attribute-check-in-svg/input.svelte b/packages/svelte/test/js/samples/src-attribute-check-in-svg/input.svelte similarity index 100% rename from test/js/samples/src-attribute-check-in-svg/input.svelte rename to packages/svelte/test/js/samples/src-attribute-check-in-svg/input.svelte diff --git a/test/js/samples/src-attribute-check/_config.js b/packages/svelte/test/js/samples/src-attribute-check/_config.js similarity index 100% rename from test/js/samples/src-attribute-check/_config.js rename to packages/svelte/test/js/samples/src-attribute-check/_config.js diff --git a/test/js/samples/src-attribute-check/expected.js b/packages/svelte/test/js/samples/src-attribute-check/expected.js similarity index 100% rename from test/js/samples/src-attribute-check/expected.js rename to packages/svelte/test/js/samples/src-attribute-check/expected.js diff --git a/test/js/samples/src-attribute-check/input.svelte b/packages/svelte/test/js/samples/src-attribute-check/input.svelte similarity index 100% rename from test/js/samples/src-attribute-check/input.svelte rename to packages/svelte/test/js/samples/src-attribute-check/input.svelte diff --git a/test/js/samples/ssr-no-oncreate-etc/_config.js b/packages/svelte/test/js/samples/ssr-no-oncreate-etc/_config.js similarity index 100% rename from test/js/samples/ssr-no-oncreate-etc/_config.js rename to packages/svelte/test/js/samples/ssr-no-oncreate-etc/_config.js diff --git a/test/js/samples/ssr-no-oncreate-etc/expected.js b/packages/svelte/test/js/samples/ssr-no-oncreate-etc/expected.js similarity index 100% rename from test/js/samples/ssr-no-oncreate-etc/expected.js rename to packages/svelte/test/js/samples/ssr-no-oncreate-etc/expected.js diff --git a/test/js/samples/ssr-no-oncreate-etc/input.svelte b/packages/svelte/test/js/samples/ssr-no-oncreate-etc/input.svelte similarity index 100% rename from test/js/samples/ssr-no-oncreate-etc/input.svelte rename to packages/svelte/test/js/samples/ssr-no-oncreate-etc/input.svelte diff --git a/test/js/samples/ssr-preserve-comments/_config.js b/packages/svelte/test/js/samples/ssr-preserve-comments/_config.js similarity index 100% rename from test/js/samples/ssr-preserve-comments/_config.js rename to packages/svelte/test/js/samples/ssr-preserve-comments/_config.js diff --git a/test/js/samples/ssr-preserve-comments/expected.js b/packages/svelte/test/js/samples/ssr-preserve-comments/expected.js similarity index 100% rename from test/js/samples/ssr-preserve-comments/expected.js rename to packages/svelte/test/js/samples/ssr-preserve-comments/expected.js diff --git a/test/js/samples/ssr-preserve-comments/input.svelte b/packages/svelte/test/js/samples/ssr-preserve-comments/input.svelte similarity index 100% rename from test/js/samples/ssr-preserve-comments/input.svelte rename to packages/svelte/test/js/samples/ssr-preserve-comments/input.svelte diff --git a/test/js/samples/svelte-element-event-handlers/expected.js b/packages/svelte/test/js/samples/svelte-element-event-handlers/expected.js similarity index 100% rename from test/js/samples/svelte-element-event-handlers/expected.js rename to packages/svelte/test/js/samples/svelte-element-event-handlers/expected.js diff --git a/test/js/samples/svelte-element-event-handlers/input.svelte b/packages/svelte/test/js/samples/svelte-element-event-handlers/input.svelte similarity index 100% rename from test/js/samples/svelte-element-event-handlers/input.svelte rename to packages/svelte/test/js/samples/svelte-element-event-handlers/input.svelte diff --git a/test/js/samples/svelte-element-static/expected.js b/packages/svelte/test/js/samples/svelte-element-static/expected.js similarity index 100% rename from test/js/samples/svelte-element-static/expected.js rename to packages/svelte/test/js/samples/svelte-element-static/expected.js diff --git a/test/js/samples/svelte-element-static/input.svelte b/packages/svelte/test/js/samples/svelte-element-static/input.svelte similarity index 100% rename from test/js/samples/svelte-element-static/input.svelte rename to packages/svelte/test/js/samples/svelte-element-static/input.svelte diff --git a/test/js/samples/svelte-element-svg/expected.js b/packages/svelte/test/js/samples/svelte-element-svg/expected.js similarity index 100% rename from test/js/samples/svelte-element-svg/expected.js rename to packages/svelte/test/js/samples/svelte-element-svg/expected.js diff --git a/test/js/samples/svelte-element-svg/input.svelte b/packages/svelte/test/js/samples/svelte-element-svg/input.svelte similarity index 100% rename from test/js/samples/svelte-element-svg/input.svelte rename to packages/svelte/test/js/samples/svelte-element-svg/input.svelte diff --git a/test/js/samples/svelte-element/expected.js b/packages/svelte/test/js/samples/svelte-element/expected.js similarity index 100% rename from test/js/samples/svelte-element/expected.js rename to packages/svelte/test/js/samples/svelte-element/expected.js diff --git a/test/js/samples/svelte-element/input.svelte b/packages/svelte/test/js/samples/svelte-element/input.svelte similarity index 100% rename from test/js/samples/svelte-element/input.svelte rename to packages/svelte/test/js/samples/svelte-element/input.svelte diff --git a/test/js/samples/svg-title/expected.js b/packages/svelte/test/js/samples/svg-title/expected.js similarity index 100% rename from test/js/samples/svg-title/expected.js rename to packages/svelte/test/js/samples/svg-title/expected.js diff --git a/test/js/samples/svg-title/input.svelte b/packages/svelte/test/js/samples/svg-title/input.svelte similarity index 100% rename from test/js/samples/svg-title/input.svelte rename to packages/svelte/test/js/samples/svg-title/input.svelte diff --git a/test/js/samples/title/expected.js b/packages/svelte/test/js/samples/title/expected.js similarity index 100% rename from test/js/samples/title/expected.js rename to packages/svelte/test/js/samples/title/expected.js diff --git a/test/js/samples/title/input.svelte b/packages/svelte/test/js/samples/title/input.svelte similarity index 100% rename from test/js/samples/title/input.svelte rename to packages/svelte/test/js/samples/title/input.svelte diff --git a/test/js/samples/transition-local/expected.js b/packages/svelte/test/js/samples/transition-local/expected.js similarity index 100% rename from test/js/samples/transition-local/expected.js rename to packages/svelte/test/js/samples/transition-local/expected.js diff --git a/test/js/samples/transition-local/input.svelte b/packages/svelte/test/js/samples/transition-local/input.svelte similarity index 72% rename from test/js/samples/transition-local/input.svelte rename to packages/svelte/test/js/samples/transition-local/input.svelte index 3f87627c62..53c9b2b03e 100644 --- a/test/js/samples/transition-local/input.svelte +++ b/packages/svelte/test/js/samples/transition-local/input.svelte @@ -7,6 +7,6 @@ {#if x} {#if y} -
...
+
...
{/if} {/if} \ No newline at end of file diff --git a/test/js/samples/transition-repeated-outro/expected.js b/packages/svelte/test/js/samples/transition-repeated-outro/expected.js similarity index 100% rename from test/js/samples/transition-repeated-outro/expected.js rename to packages/svelte/test/js/samples/transition-repeated-outro/expected.js diff --git a/test/js/samples/transition-repeated-outro/input.svelte b/packages/svelte/test/js/samples/transition-repeated-outro/input.svelte similarity index 81% rename from test/js/samples/transition-repeated-outro/input.svelte rename to packages/svelte/test/js/samples/transition-repeated-outro/input.svelte index d5114846b8..c1c8d077ad 100644 --- a/test/js/samples/transition-repeated-outro/input.svelte +++ b/packages/svelte/test/js/samples/transition-repeated-outro/input.svelte @@ -5,7 +5,7 @@ {#if num < 5} -
+

wheeee

{/if} \ No newline at end of file diff --git a/test/js/samples/unchanged-expression/expected.js b/packages/svelte/test/js/samples/unchanged-expression/expected.js similarity index 100% rename from test/js/samples/unchanged-expression/expected.js rename to packages/svelte/test/js/samples/unchanged-expression/expected.js diff --git a/test/js/samples/unchanged-expression/input.svelte b/packages/svelte/test/js/samples/unchanged-expression/input.svelte similarity index 100% rename from test/js/samples/unchanged-expression/input.svelte rename to packages/svelte/test/js/samples/unchanged-expression/input.svelte diff --git a/test/js/samples/unreferenced-state-not-invalidated/expected.js b/packages/svelte/test/js/samples/unreferenced-state-not-invalidated/expected.js similarity index 100% rename from test/js/samples/unreferenced-state-not-invalidated/expected.js rename to packages/svelte/test/js/samples/unreferenced-state-not-invalidated/expected.js diff --git a/test/js/samples/unreferenced-state-not-invalidated/input.svelte b/packages/svelte/test/js/samples/unreferenced-state-not-invalidated/input.svelte similarity index 100% rename from test/js/samples/unreferenced-state-not-invalidated/input.svelte rename to packages/svelte/test/js/samples/unreferenced-state-not-invalidated/input.svelte diff --git a/test/js/samples/use-elements-as-anchors/expected.js b/packages/svelte/test/js/samples/use-elements-as-anchors/expected.js similarity index 100% rename from test/js/samples/use-elements-as-anchors/expected.js rename to packages/svelte/test/js/samples/use-elements-as-anchors/expected.js diff --git a/test/js/samples/use-elements-as-anchors/input.svelte b/packages/svelte/test/js/samples/use-elements-as-anchors/input.svelte similarity index 100% rename from test/js/samples/use-elements-as-anchors/input.svelte rename to packages/svelte/test/js/samples/use-elements-as-anchors/input.svelte diff --git a/test/js/samples/valid-inner-html-for-static-element/expected.js b/packages/svelte/test/js/samples/valid-inner-html-for-static-element/expected.js similarity index 100% rename from test/js/samples/valid-inner-html-for-static-element/expected.js rename to packages/svelte/test/js/samples/valid-inner-html-for-static-element/expected.js diff --git a/test/js/samples/valid-inner-html-for-static-element/input.svelte b/packages/svelte/test/js/samples/valid-inner-html-for-static-element/input.svelte similarity index 100% rename from test/js/samples/valid-inner-html-for-static-element/input.svelte rename to packages/svelte/test/js/samples/valid-inner-html-for-static-element/input.svelte diff --git a/test/js/samples/video-bindings/expected.js b/packages/svelte/test/js/samples/video-bindings/expected.js similarity index 100% rename from test/js/samples/video-bindings/expected.js rename to packages/svelte/test/js/samples/video-bindings/expected.js diff --git a/test/js/samples/video-bindings/input.svelte b/packages/svelte/test/js/samples/video-bindings/input.svelte similarity index 100% rename from test/js/samples/video-bindings/input.svelte rename to packages/svelte/test/js/samples/video-bindings/input.svelte diff --git a/test/js/samples/window-binding-online/expected.js b/packages/svelte/test/js/samples/window-binding-online/expected.js similarity index 100% rename from test/js/samples/window-binding-online/expected.js rename to packages/svelte/test/js/samples/window-binding-online/expected.js diff --git a/test/js/samples/window-binding-online/input.svelte b/packages/svelte/test/js/samples/window-binding-online/input.svelte similarity index 100% rename from test/js/samples/window-binding-online/input.svelte rename to packages/svelte/test/js/samples/window-binding-online/input.svelte diff --git a/test/js/samples/window-binding-scroll/expected.js b/packages/svelte/test/js/samples/window-binding-scroll/expected.js similarity index 100% rename from test/js/samples/window-binding-scroll/expected.js rename to packages/svelte/test/js/samples/window-binding-scroll/expected.js diff --git a/test/js/samples/window-binding-scroll/input.svelte b/packages/svelte/test/js/samples/window-binding-scroll/input.svelte similarity index 100% rename from test/js/samples/window-binding-scroll/input.svelte rename to packages/svelte/test/js/samples/window-binding-scroll/input.svelte diff --git a/test/js/update.js b/packages/svelte/test/js/update.js similarity index 100% rename from test/js/update.js rename to packages/svelte/test/js/update.js diff --git a/test/motion/motion.test.js b/packages/svelte/test/motion/motion.test.js similarity index 100% rename from test/motion/motion.test.js rename to packages/svelte/test/motion/motion.test.js diff --git a/test/parser/parser.test.js b/packages/svelte/test/parser/parser.test.js similarity index 100% rename from test/parser/parser.test.js rename to packages/svelte/test/parser/parser.test.js diff --git a/test/parser/samples/action-duplicate/input.svelte b/packages/svelte/test/parser/samples/action-duplicate/input.svelte similarity index 100% rename from test/parser/samples/action-duplicate/input.svelte rename to packages/svelte/test/parser/samples/action-duplicate/input.svelte diff --git a/test/parser/samples/action-duplicate/output.json b/packages/svelte/test/parser/samples/action-duplicate/output.json similarity index 100% rename from test/parser/samples/action-duplicate/output.json rename to packages/svelte/test/parser/samples/action-duplicate/output.json diff --git a/test/parser/samples/action-with-call/input.svelte b/packages/svelte/test/parser/samples/action-with-call/input.svelte similarity index 100% rename from test/parser/samples/action-with-call/input.svelte rename to packages/svelte/test/parser/samples/action-with-call/input.svelte diff --git a/test/parser/samples/action-with-call/output.json b/packages/svelte/test/parser/samples/action-with-call/output.json similarity index 100% rename from test/parser/samples/action-with-call/output.json rename to packages/svelte/test/parser/samples/action-with-call/output.json diff --git a/test/parser/samples/action-with-identifier/input.svelte b/packages/svelte/test/parser/samples/action-with-identifier/input.svelte similarity index 100% rename from test/parser/samples/action-with-identifier/input.svelte rename to packages/svelte/test/parser/samples/action-with-identifier/input.svelte diff --git a/test/parser/samples/action-with-identifier/output.json b/packages/svelte/test/parser/samples/action-with-identifier/output.json similarity index 100% rename from test/parser/samples/action-with-identifier/output.json rename to packages/svelte/test/parser/samples/action-with-identifier/output.json diff --git a/test/parser/samples/action-with-literal/input.svelte b/packages/svelte/test/parser/samples/action-with-literal/input.svelte similarity index 100% rename from test/parser/samples/action-with-literal/input.svelte rename to packages/svelte/test/parser/samples/action-with-literal/input.svelte diff --git a/test/parser/samples/action-with-literal/output.json b/packages/svelte/test/parser/samples/action-with-literal/output.json similarity index 100% rename from test/parser/samples/action-with-literal/output.json rename to packages/svelte/test/parser/samples/action-with-literal/output.json diff --git a/test/parser/samples/action/input.svelte b/packages/svelte/test/parser/samples/action/input.svelte similarity index 100% rename from test/parser/samples/action/input.svelte rename to packages/svelte/test/parser/samples/action/input.svelte diff --git a/test/parser/samples/action/output.json b/packages/svelte/test/parser/samples/action/output.json similarity index 100% rename from test/parser/samples/action/output.json rename to packages/svelte/test/parser/samples/action/output.json diff --git a/test/parser/samples/animation/input.svelte b/packages/svelte/test/parser/samples/animation/input.svelte similarity index 100% rename from test/parser/samples/animation/input.svelte rename to packages/svelte/test/parser/samples/animation/input.svelte diff --git a/test/parser/samples/animation/output.json b/packages/svelte/test/parser/samples/animation/output.json similarity index 100% rename from test/parser/samples/animation/output.json rename to packages/svelte/test/parser/samples/animation/output.json diff --git a/test/parser/samples/attribute-class-directive/input.svelte b/packages/svelte/test/parser/samples/attribute-class-directive/input.svelte similarity index 100% rename from test/parser/samples/attribute-class-directive/input.svelte rename to packages/svelte/test/parser/samples/attribute-class-directive/input.svelte diff --git a/test/parser/samples/attribute-class-directive/output.json b/packages/svelte/test/parser/samples/attribute-class-directive/output.json similarity index 100% rename from test/parser/samples/attribute-class-directive/output.json rename to packages/svelte/test/parser/samples/attribute-class-directive/output.json diff --git a/test/parser/samples/attribute-containing-solidus/input.svelte b/packages/svelte/test/parser/samples/attribute-containing-solidus/input.svelte similarity index 100% rename from test/parser/samples/attribute-containing-solidus/input.svelte rename to packages/svelte/test/parser/samples/attribute-containing-solidus/input.svelte diff --git a/test/parser/samples/attribute-containing-solidus/output.json b/packages/svelte/test/parser/samples/attribute-containing-solidus/output.json similarity index 100% rename from test/parser/samples/attribute-containing-solidus/output.json rename to packages/svelte/test/parser/samples/attribute-containing-solidus/output.json diff --git a/test/parser/samples/attribute-curly-bracket/input.svelte b/packages/svelte/test/parser/samples/attribute-curly-bracket/input.svelte similarity index 100% rename from test/parser/samples/attribute-curly-bracket/input.svelte rename to packages/svelte/test/parser/samples/attribute-curly-bracket/input.svelte diff --git a/test/parser/samples/attribute-curly-bracket/output.json b/packages/svelte/test/parser/samples/attribute-curly-bracket/output.json similarity index 100% rename from test/parser/samples/attribute-curly-bracket/output.json rename to packages/svelte/test/parser/samples/attribute-curly-bracket/output.json diff --git a/test/parser/samples/attribute-dynamic-boolean/input.svelte b/packages/svelte/test/parser/samples/attribute-dynamic-boolean/input.svelte similarity index 100% rename from test/parser/samples/attribute-dynamic-boolean/input.svelte rename to packages/svelte/test/parser/samples/attribute-dynamic-boolean/input.svelte diff --git a/test/parser/samples/attribute-dynamic-boolean/output.json b/packages/svelte/test/parser/samples/attribute-dynamic-boolean/output.json similarity index 100% rename from test/parser/samples/attribute-dynamic-boolean/output.json rename to packages/svelte/test/parser/samples/attribute-dynamic-boolean/output.json diff --git a/test/parser/samples/attribute-dynamic/input.svelte b/packages/svelte/test/parser/samples/attribute-dynamic/input.svelte similarity index 100% rename from test/parser/samples/attribute-dynamic/input.svelte rename to packages/svelte/test/parser/samples/attribute-dynamic/input.svelte diff --git a/test/parser/samples/attribute-dynamic/output.json b/packages/svelte/test/parser/samples/attribute-dynamic/output.json similarity index 100% rename from test/parser/samples/attribute-dynamic/output.json rename to packages/svelte/test/parser/samples/attribute-dynamic/output.json diff --git a/test/parser/samples/attribute-empty-error/error.json b/packages/svelte/test/parser/samples/attribute-empty-error/error.json similarity index 100% rename from test/parser/samples/attribute-empty-error/error.json rename to packages/svelte/test/parser/samples/attribute-empty-error/error.json diff --git a/test/parser/samples/attribute-empty-error/input.svelte b/packages/svelte/test/parser/samples/attribute-empty-error/input.svelte similarity index 100% rename from test/parser/samples/attribute-empty-error/input.svelte rename to packages/svelte/test/parser/samples/attribute-empty-error/input.svelte diff --git a/test/parser/samples/attribute-empty/input.svelte b/packages/svelte/test/parser/samples/attribute-empty/input.svelte similarity index 100% rename from test/parser/samples/attribute-empty/input.svelte rename to packages/svelte/test/parser/samples/attribute-empty/input.svelte diff --git a/test/parser/samples/attribute-empty/output.json b/packages/svelte/test/parser/samples/attribute-empty/output.json similarity index 100% rename from test/parser/samples/attribute-empty/output.json rename to packages/svelte/test/parser/samples/attribute-empty/output.json diff --git a/test/parser/samples/attribute-escaped/input.svelte b/packages/svelte/test/parser/samples/attribute-escaped/input.svelte similarity index 100% rename from test/parser/samples/attribute-escaped/input.svelte rename to packages/svelte/test/parser/samples/attribute-escaped/input.svelte diff --git a/test/parser/samples/attribute-escaped/output.json b/packages/svelte/test/parser/samples/attribute-escaped/output.json similarity index 100% rename from test/parser/samples/attribute-escaped/output.json rename to packages/svelte/test/parser/samples/attribute-escaped/output.json diff --git a/test/parser/samples/attribute-multiple/input.svelte b/packages/svelte/test/parser/samples/attribute-multiple/input.svelte similarity index 100% rename from test/parser/samples/attribute-multiple/input.svelte rename to packages/svelte/test/parser/samples/attribute-multiple/input.svelte diff --git a/test/parser/samples/attribute-multiple/output.json b/packages/svelte/test/parser/samples/attribute-multiple/output.json similarity index 100% rename from test/parser/samples/attribute-multiple/output.json rename to packages/svelte/test/parser/samples/attribute-multiple/output.json diff --git a/test/parser/samples/attribute-shorthand/input.svelte b/packages/svelte/test/parser/samples/attribute-shorthand/input.svelte similarity index 100% rename from test/parser/samples/attribute-shorthand/input.svelte rename to packages/svelte/test/parser/samples/attribute-shorthand/input.svelte diff --git a/test/parser/samples/attribute-shorthand/output.json b/packages/svelte/test/parser/samples/attribute-shorthand/output.json similarity index 100% rename from test/parser/samples/attribute-shorthand/output.json rename to packages/svelte/test/parser/samples/attribute-shorthand/output.json diff --git a/test/parser/samples/attribute-static-boolean/input.svelte b/packages/svelte/test/parser/samples/attribute-static-boolean/input.svelte similarity index 100% rename from test/parser/samples/attribute-static-boolean/input.svelte rename to packages/svelte/test/parser/samples/attribute-static-boolean/input.svelte diff --git a/test/parser/samples/attribute-static-boolean/output.json b/packages/svelte/test/parser/samples/attribute-static-boolean/output.json similarity index 100% rename from test/parser/samples/attribute-static-boolean/output.json rename to packages/svelte/test/parser/samples/attribute-static-boolean/output.json diff --git a/test/parser/samples/attribute-static/input.svelte b/packages/svelte/test/parser/samples/attribute-static/input.svelte similarity index 100% rename from test/parser/samples/attribute-static/input.svelte rename to packages/svelte/test/parser/samples/attribute-static/input.svelte diff --git a/test/parser/samples/attribute-static/output.json b/packages/svelte/test/parser/samples/attribute-static/output.json similarity index 100% rename from test/parser/samples/attribute-static/output.json rename to packages/svelte/test/parser/samples/attribute-static/output.json diff --git a/test/parser/samples/attribute-style-directive-modifiers/input.svelte b/packages/svelte/test/parser/samples/attribute-style-directive-modifiers/input.svelte similarity index 100% rename from test/parser/samples/attribute-style-directive-modifiers/input.svelte rename to packages/svelte/test/parser/samples/attribute-style-directive-modifiers/input.svelte diff --git a/test/parser/samples/attribute-style-directive-modifiers/output.json b/packages/svelte/test/parser/samples/attribute-style-directive-modifiers/output.json similarity index 100% rename from test/parser/samples/attribute-style-directive-modifiers/output.json rename to packages/svelte/test/parser/samples/attribute-style-directive-modifiers/output.json diff --git a/test/parser/samples/attribute-style-directive-shorthand/input.svelte b/packages/svelte/test/parser/samples/attribute-style-directive-shorthand/input.svelte similarity index 100% rename from test/parser/samples/attribute-style-directive-shorthand/input.svelte rename to packages/svelte/test/parser/samples/attribute-style-directive-shorthand/input.svelte diff --git a/test/parser/samples/attribute-style-directive-shorthand/output.json b/packages/svelte/test/parser/samples/attribute-style-directive-shorthand/output.json similarity index 100% rename from test/parser/samples/attribute-style-directive-shorthand/output.json rename to packages/svelte/test/parser/samples/attribute-style-directive-shorthand/output.json diff --git a/test/parser/samples/attribute-style-directive-string/input.svelte b/packages/svelte/test/parser/samples/attribute-style-directive-string/input.svelte similarity index 100% rename from test/parser/samples/attribute-style-directive-string/input.svelte rename to packages/svelte/test/parser/samples/attribute-style-directive-string/input.svelte diff --git a/test/parser/samples/attribute-style-directive-string/output.json b/packages/svelte/test/parser/samples/attribute-style-directive-string/output.json similarity index 100% rename from test/parser/samples/attribute-style-directive-string/output.json rename to packages/svelte/test/parser/samples/attribute-style-directive-string/output.json diff --git a/test/parser/samples/attribute-style-directive/input.svelte b/packages/svelte/test/parser/samples/attribute-style-directive/input.svelte similarity index 100% rename from test/parser/samples/attribute-style-directive/input.svelte rename to packages/svelte/test/parser/samples/attribute-style-directive/input.svelte diff --git a/test/parser/samples/attribute-style-directive/output.json b/packages/svelte/test/parser/samples/attribute-style-directive/output.json similarity index 100% rename from test/parser/samples/attribute-style-directive/output.json rename to packages/svelte/test/parser/samples/attribute-style-directive/output.json diff --git a/test/parser/samples/attribute-style/input.svelte b/packages/svelte/test/parser/samples/attribute-style/input.svelte similarity index 100% rename from test/parser/samples/attribute-style/input.svelte rename to packages/svelte/test/parser/samples/attribute-style/input.svelte diff --git a/test/parser/samples/attribute-style/output.json b/packages/svelte/test/parser/samples/attribute-style/output.json similarity index 100% rename from test/parser/samples/attribute-style/output.json rename to packages/svelte/test/parser/samples/attribute-style/output.json diff --git a/test/parser/samples/attribute-unique-binding-error/error.json b/packages/svelte/test/parser/samples/attribute-unique-binding-error/error.json similarity index 100% rename from test/parser/samples/attribute-unique-binding-error/error.json rename to packages/svelte/test/parser/samples/attribute-unique-binding-error/error.json diff --git a/test/parser/samples/attribute-unique-binding-error/input.svelte b/packages/svelte/test/parser/samples/attribute-unique-binding-error/input.svelte similarity index 100% rename from test/parser/samples/attribute-unique-binding-error/input.svelte rename to packages/svelte/test/parser/samples/attribute-unique-binding-error/input.svelte diff --git a/test/parser/samples/attribute-unique-error/error.json b/packages/svelte/test/parser/samples/attribute-unique-error/error.json similarity index 100% rename from test/parser/samples/attribute-unique-error/error.json rename to packages/svelte/test/parser/samples/attribute-unique-error/error.json diff --git a/test/parser/samples/attribute-unique-error/input.svelte b/packages/svelte/test/parser/samples/attribute-unique-error/input.svelte similarity index 100% rename from test/parser/samples/attribute-unique-error/input.svelte rename to packages/svelte/test/parser/samples/attribute-unique-error/input.svelte diff --git a/test/parser/samples/attribute-unique-shorthand-error/error.json b/packages/svelte/test/parser/samples/attribute-unique-shorthand-error/error.json similarity index 100% rename from test/parser/samples/attribute-unique-shorthand-error/error.json rename to packages/svelte/test/parser/samples/attribute-unique-shorthand-error/error.json diff --git a/test/parser/samples/attribute-unique-shorthand-error/input.svelte b/packages/svelte/test/parser/samples/attribute-unique-shorthand-error/input.svelte similarity index 100% rename from test/parser/samples/attribute-unique-shorthand-error/input.svelte rename to packages/svelte/test/parser/samples/attribute-unique-shorthand-error/input.svelte diff --git a/test/parser/samples/attribute-unquoted/input.svelte b/packages/svelte/test/parser/samples/attribute-unquoted/input.svelte similarity index 100% rename from test/parser/samples/attribute-unquoted/input.svelte rename to packages/svelte/test/parser/samples/attribute-unquoted/input.svelte diff --git a/test/parser/samples/attribute-unquoted/output.json b/packages/svelte/test/parser/samples/attribute-unquoted/output.json similarity index 100% rename from test/parser/samples/attribute-unquoted/output.json rename to packages/svelte/test/parser/samples/attribute-unquoted/output.json diff --git a/test/parser/samples/attribute-with-whitespace/input.svelte b/packages/svelte/test/parser/samples/attribute-with-whitespace/input.svelte similarity index 100% rename from test/parser/samples/attribute-with-whitespace/input.svelte rename to packages/svelte/test/parser/samples/attribute-with-whitespace/input.svelte diff --git a/test/parser/samples/attribute-with-whitespace/output.json b/packages/svelte/test/parser/samples/attribute-with-whitespace/output.json similarity index 100% rename from test/parser/samples/attribute-with-whitespace/output.json rename to packages/svelte/test/parser/samples/attribute-with-whitespace/output.json diff --git a/test/parser/samples/await-catch/input.svelte b/packages/svelte/test/parser/samples/await-catch/input.svelte similarity index 100% rename from test/parser/samples/await-catch/input.svelte rename to packages/svelte/test/parser/samples/await-catch/input.svelte diff --git a/test/parser/samples/await-catch/output.json b/packages/svelte/test/parser/samples/await-catch/output.json similarity index 100% rename from test/parser/samples/await-catch/output.json rename to packages/svelte/test/parser/samples/await-catch/output.json diff --git a/test/parser/samples/await-then-catch/input.svelte b/packages/svelte/test/parser/samples/await-then-catch/input.svelte similarity index 100% rename from test/parser/samples/await-then-catch/input.svelte rename to packages/svelte/test/parser/samples/await-then-catch/input.svelte diff --git a/test/parser/samples/await-then-catch/output.json b/packages/svelte/test/parser/samples/await-then-catch/output.json similarity index 100% rename from test/parser/samples/await-then-catch/output.json rename to packages/svelte/test/parser/samples/await-then-catch/output.json diff --git a/test/parser/samples/binding-shorthand/input.svelte b/packages/svelte/test/parser/samples/binding-shorthand/input.svelte similarity index 100% rename from test/parser/samples/binding-shorthand/input.svelte rename to packages/svelte/test/parser/samples/binding-shorthand/input.svelte diff --git a/test/parser/samples/binding-shorthand/output.json b/packages/svelte/test/parser/samples/binding-shorthand/output.json similarity index 100% rename from test/parser/samples/binding-shorthand/output.json rename to packages/svelte/test/parser/samples/binding-shorthand/output.json diff --git a/test/parser/samples/binding/input.svelte b/packages/svelte/test/parser/samples/binding/input.svelte similarity index 100% rename from test/parser/samples/binding/input.svelte rename to packages/svelte/test/parser/samples/binding/input.svelte diff --git a/test/parser/samples/binding/output.json b/packages/svelte/test/parser/samples/binding/output.json similarity index 100% rename from test/parser/samples/binding/output.json rename to packages/svelte/test/parser/samples/binding/output.json diff --git a/test/parser/samples/comment-with-ignores/input.svelte b/packages/svelte/test/parser/samples/comment-with-ignores/input.svelte similarity index 100% rename from test/parser/samples/comment-with-ignores/input.svelte rename to packages/svelte/test/parser/samples/comment-with-ignores/input.svelte diff --git a/test/parser/samples/comment-with-ignores/output.json b/packages/svelte/test/parser/samples/comment-with-ignores/output.json similarity index 100% rename from test/parser/samples/comment-with-ignores/output.json rename to packages/svelte/test/parser/samples/comment-with-ignores/output.json diff --git a/test/parser/samples/comment/input.svelte b/packages/svelte/test/parser/samples/comment/input.svelte similarity index 100% rename from test/parser/samples/comment/input.svelte rename to packages/svelte/test/parser/samples/comment/input.svelte diff --git a/test/parser/samples/comment/output.json b/packages/svelte/test/parser/samples/comment/output.json similarity index 100% rename from test/parser/samples/comment/output.json rename to packages/svelte/test/parser/samples/comment/output.json diff --git a/test/parser/samples/component-dynamic/input.svelte b/packages/svelte/test/parser/samples/component-dynamic/input.svelte similarity index 100% rename from test/parser/samples/component-dynamic/input.svelte rename to packages/svelte/test/parser/samples/component-dynamic/input.svelte diff --git a/test/parser/samples/component-dynamic/output.json b/packages/svelte/test/parser/samples/component-dynamic/output.json similarity index 100% rename from test/parser/samples/component-dynamic/output.json rename to packages/svelte/test/parser/samples/component-dynamic/output.json diff --git a/test/parser/samples/convert-entities-in-element/input.svelte b/packages/svelte/test/parser/samples/convert-entities-in-element/input.svelte similarity index 100% rename from test/parser/samples/convert-entities-in-element/input.svelte rename to packages/svelte/test/parser/samples/convert-entities-in-element/input.svelte diff --git a/test/parser/samples/convert-entities-in-element/output.json b/packages/svelte/test/parser/samples/convert-entities-in-element/output.json similarity index 100% rename from test/parser/samples/convert-entities-in-element/output.json rename to packages/svelte/test/parser/samples/convert-entities-in-element/output.json diff --git a/test/parser/samples/convert-entities/input.svelte b/packages/svelte/test/parser/samples/convert-entities/input.svelte similarity index 100% rename from test/parser/samples/convert-entities/input.svelte rename to packages/svelte/test/parser/samples/convert-entities/input.svelte diff --git a/test/parser/samples/convert-entities/output.json b/packages/svelte/test/parser/samples/convert-entities/output.json similarity index 100% rename from test/parser/samples/convert-entities/output.json rename to packages/svelte/test/parser/samples/convert-entities/output.json diff --git a/test/parser/samples/css-option-none/input.svelte b/packages/svelte/test/parser/samples/css-option-none/input.svelte similarity index 100% rename from test/parser/samples/css-option-none/input.svelte rename to packages/svelte/test/parser/samples/css-option-none/input.svelte diff --git a/test/parser/samples/css-option-none/options.json b/packages/svelte/test/parser/samples/css-option-none/options.json similarity index 100% rename from test/parser/samples/css-option-none/options.json rename to packages/svelte/test/parser/samples/css-option-none/options.json diff --git a/test/parser/samples/css-option-none/output.json b/packages/svelte/test/parser/samples/css-option-none/output.json similarity index 100% rename from test/parser/samples/css-option-none/output.json rename to packages/svelte/test/parser/samples/css-option-none/output.json diff --git a/test/parser/samples/css/input.svelte b/packages/svelte/test/parser/samples/css/input.svelte similarity index 100% rename from test/parser/samples/css/input.svelte rename to packages/svelte/test/parser/samples/css/input.svelte diff --git a/test/parser/samples/css/output.json b/packages/svelte/test/parser/samples/css/output.json similarity index 100% rename from test/parser/samples/css/output.json rename to packages/svelte/test/parser/samples/css/output.json diff --git a/test/parser/samples/dynamic-element-string/input.svelte b/packages/svelte/test/parser/samples/dynamic-element-string/input.svelte similarity index 100% rename from test/parser/samples/dynamic-element-string/input.svelte rename to packages/svelte/test/parser/samples/dynamic-element-string/input.svelte diff --git a/test/parser/samples/dynamic-element-string/output.json b/packages/svelte/test/parser/samples/dynamic-element-string/output.json similarity index 100% rename from test/parser/samples/dynamic-element-string/output.json rename to packages/svelte/test/parser/samples/dynamic-element-string/output.json diff --git a/test/parser/samples/dynamic-element-variable/input.svelte b/packages/svelte/test/parser/samples/dynamic-element-variable/input.svelte similarity index 100% rename from test/parser/samples/dynamic-element-variable/input.svelte rename to packages/svelte/test/parser/samples/dynamic-element-variable/input.svelte diff --git a/test/parser/samples/dynamic-element-variable/output.json b/packages/svelte/test/parser/samples/dynamic-element-variable/output.json similarity index 100% rename from test/parser/samples/dynamic-element-variable/output.json rename to packages/svelte/test/parser/samples/dynamic-element-variable/output.json diff --git a/test/parser/samples/dynamic-import/input.svelte b/packages/svelte/test/parser/samples/dynamic-import/input.svelte similarity index 100% rename from test/parser/samples/dynamic-import/input.svelte rename to packages/svelte/test/parser/samples/dynamic-import/input.svelte diff --git a/test/parser/samples/dynamic-import/output.json b/packages/svelte/test/parser/samples/dynamic-import/output.json similarity index 100% rename from test/parser/samples/dynamic-import/output.json rename to packages/svelte/test/parser/samples/dynamic-import/output.json diff --git a/test/parser/samples/each-block-destructured/input.svelte b/packages/svelte/test/parser/samples/each-block-destructured/input.svelte similarity index 100% rename from test/parser/samples/each-block-destructured/input.svelte rename to packages/svelte/test/parser/samples/each-block-destructured/input.svelte diff --git a/test/parser/samples/each-block-destructured/output.json b/packages/svelte/test/parser/samples/each-block-destructured/output.json similarity index 100% rename from test/parser/samples/each-block-destructured/output.json rename to packages/svelte/test/parser/samples/each-block-destructured/output.json diff --git a/test/parser/samples/each-block-else/input.svelte b/packages/svelte/test/parser/samples/each-block-else/input.svelte similarity index 100% rename from test/parser/samples/each-block-else/input.svelte rename to packages/svelte/test/parser/samples/each-block-else/input.svelte diff --git a/test/parser/samples/each-block-else/output.json b/packages/svelte/test/parser/samples/each-block-else/output.json similarity index 100% rename from test/parser/samples/each-block-else/output.json rename to packages/svelte/test/parser/samples/each-block-else/output.json diff --git a/test/parser/samples/each-block-indexed/input.svelte b/packages/svelte/test/parser/samples/each-block-indexed/input.svelte similarity index 100% rename from test/parser/samples/each-block-indexed/input.svelte rename to packages/svelte/test/parser/samples/each-block-indexed/input.svelte diff --git a/test/parser/samples/each-block-indexed/output.json b/packages/svelte/test/parser/samples/each-block-indexed/output.json similarity index 100% rename from test/parser/samples/each-block-indexed/output.json rename to packages/svelte/test/parser/samples/each-block-indexed/output.json diff --git a/test/parser/samples/each-block-keyed/input.svelte b/packages/svelte/test/parser/samples/each-block-keyed/input.svelte similarity index 100% rename from test/parser/samples/each-block-keyed/input.svelte rename to packages/svelte/test/parser/samples/each-block-keyed/input.svelte diff --git a/test/parser/samples/each-block-keyed/output.json b/packages/svelte/test/parser/samples/each-block-keyed/output.json similarity index 100% rename from test/parser/samples/each-block-keyed/output.json rename to packages/svelte/test/parser/samples/each-block-keyed/output.json diff --git a/test/parser/samples/each-block/input.svelte b/packages/svelte/test/parser/samples/each-block/input.svelte similarity index 100% rename from test/parser/samples/each-block/input.svelte rename to packages/svelte/test/parser/samples/each-block/input.svelte diff --git a/test/parser/samples/each-block/output.json b/packages/svelte/test/parser/samples/each-block/output.json similarity index 100% rename from test/parser/samples/each-block/output.json rename to packages/svelte/test/parser/samples/each-block/output.json diff --git a/test/parser/samples/element-with-attribute-empty-string/input.svelte b/packages/svelte/test/parser/samples/element-with-attribute-empty-string/input.svelte similarity index 100% rename from test/parser/samples/element-with-attribute-empty-string/input.svelte rename to packages/svelte/test/parser/samples/element-with-attribute-empty-string/input.svelte diff --git a/test/parser/samples/element-with-attribute-empty-string/output.json b/packages/svelte/test/parser/samples/element-with-attribute-empty-string/output.json similarity index 100% rename from test/parser/samples/element-with-attribute-empty-string/output.json rename to packages/svelte/test/parser/samples/element-with-attribute-empty-string/output.json diff --git a/test/parser/samples/element-with-attribute/input.svelte b/packages/svelte/test/parser/samples/element-with-attribute/input.svelte similarity index 100% rename from test/parser/samples/element-with-attribute/input.svelte rename to packages/svelte/test/parser/samples/element-with-attribute/input.svelte diff --git a/test/parser/samples/element-with-attribute/output.json b/packages/svelte/test/parser/samples/element-with-attribute/output.json similarity index 100% rename from test/parser/samples/element-with-attribute/output.json rename to packages/svelte/test/parser/samples/element-with-attribute/output.json diff --git a/test/parser/samples/element-with-mustache/input.svelte b/packages/svelte/test/parser/samples/element-with-mustache/input.svelte similarity index 100% rename from test/parser/samples/element-with-mustache/input.svelte rename to packages/svelte/test/parser/samples/element-with-mustache/input.svelte diff --git a/test/parser/samples/element-with-mustache/output.json b/packages/svelte/test/parser/samples/element-with-mustache/output.json similarity index 100% rename from test/parser/samples/element-with-mustache/output.json rename to packages/svelte/test/parser/samples/element-with-mustache/output.json diff --git a/test/parser/samples/element-with-text/input.svelte b/packages/svelte/test/parser/samples/element-with-text/input.svelte similarity index 100% rename from test/parser/samples/element-with-text/input.svelte rename to packages/svelte/test/parser/samples/element-with-text/input.svelte diff --git a/test/parser/samples/element-with-text/output.json b/packages/svelte/test/parser/samples/element-with-text/output.json similarity index 100% rename from test/parser/samples/element-with-text/output.json rename to packages/svelte/test/parser/samples/element-with-text/output.json diff --git a/test/parser/samples/elements/input.svelte b/packages/svelte/test/parser/samples/elements/input.svelte similarity index 100% rename from test/parser/samples/elements/input.svelte rename to packages/svelte/test/parser/samples/elements/input.svelte diff --git a/test/parser/samples/elements/output.json b/packages/svelte/test/parser/samples/elements/output.json similarity index 100% rename from test/parser/samples/elements/output.json rename to packages/svelte/test/parser/samples/elements/output.json diff --git a/test/parser/samples/error-catch-before-closing/error.json b/packages/svelte/test/parser/samples/error-catch-before-closing/error.json similarity index 100% rename from test/parser/samples/error-catch-before-closing/error.json rename to packages/svelte/test/parser/samples/error-catch-before-closing/error.json diff --git a/test/parser/samples/error-catch-before-closing/input.svelte b/packages/svelte/test/parser/samples/error-catch-before-closing/input.svelte similarity index 100% rename from test/parser/samples/error-catch-before-closing/input.svelte rename to packages/svelte/test/parser/samples/error-catch-before-closing/input.svelte diff --git a/test/parser/samples/error-catch-without-await/error.json b/packages/svelte/test/parser/samples/error-catch-without-await/error.json similarity index 100% rename from test/parser/samples/error-catch-without-await/error.json rename to packages/svelte/test/parser/samples/error-catch-without-await/error.json diff --git a/test/parser/samples/error-catch-without-await/input.svelte b/packages/svelte/test/parser/samples/error-catch-without-await/input.svelte similarity index 100% rename from test/parser/samples/error-catch-without-await/input.svelte rename to packages/svelte/test/parser/samples/error-catch-without-await/input.svelte diff --git a/test/parser/samples/error-comment-unclosed/error.json b/packages/svelte/test/parser/samples/error-comment-unclosed/error.json similarity index 100% rename from test/parser/samples/error-comment-unclosed/error.json rename to packages/svelte/test/parser/samples/error-comment-unclosed/error.json diff --git a/test/parser/samples/error-comment-unclosed/input.svelte b/packages/svelte/test/parser/samples/error-comment-unclosed/input.svelte similarity index 100% rename from test/parser/samples/error-comment-unclosed/input.svelte rename to packages/svelte/test/parser/samples/error-comment-unclosed/input.svelte diff --git a/test/parser/samples/error-css-global-without-selector/error.json b/packages/svelte/test/parser/samples/error-css-global-without-selector/error.json similarity index 100% rename from test/parser/samples/error-css-global-without-selector/error.json rename to packages/svelte/test/parser/samples/error-css-global-without-selector/error.json diff --git a/test/parser/samples/error-css-global-without-selector/input.svelte b/packages/svelte/test/parser/samples/error-css-global-without-selector/input.svelte similarity index 100% rename from test/parser/samples/error-css-global-without-selector/input.svelte rename to packages/svelte/test/parser/samples/error-css-global-without-selector/input.svelte diff --git a/test/parser/samples/error-css/error.json b/packages/svelte/test/parser/samples/error-css/error.json similarity index 100% rename from test/parser/samples/error-css/error.json rename to packages/svelte/test/parser/samples/error-css/error.json diff --git a/test/parser/samples/error-css/input.svelte b/packages/svelte/test/parser/samples/error-css/input.svelte similarity index 100% rename from test/parser/samples/error-css/input.svelte rename to packages/svelte/test/parser/samples/error-css/input.svelte diff --git a/test/parser/samples/error-else-before-closing-2/error.json b/packages/svelte/test/parser/samples/error-else-before-closing-2/error.json similarity index 100% rename from test/parser/samples/error-else-before-closing-2/error.json rename to packages/svelte/test/parser/samples/error-else-before-closing-2/error.json diff --git a/test/parser/samples/error-else-before-closing-2/input.svelte b/packages/svelte/test/parser/samples/error-else-before-closing-2/input.svelte similarity index 100% rename from test/parser/samples/error-else-before-closing-2/input.svelte rename to packages/svelte/test/parser/samples/error-else-before-closing-2/input.svelte diff --git a/test/parser/samples/error-else-before-closing-3/error.json b/packages/svelte/test/parser/samples/error-else-before-closing-3/error.json similarity index 100% rename from test/parser/samples/error-else-before-closing-3/error.json rename to packages/svelte/test/parser/samples/error-else-before-closing-3/error.json diff --git a/test/parser/samples/error-else-before-closing-3/input.svelte b/packages/svelte/test/parser/samples/error-else-before-closing-3/input.svelte similarity index 100% rename from test/parser/samples/error-else-before-closing-3/input.svelte rename to packages/svelte/test/parser/samples/error-else-before-closing-3/input.svelte diff --git a/test/parser/samples/error-else-before-closing/error.json b/packages/svelte/test/parser/samples/error-else-before-closing/error.json similarity index 100% rename from test/parser/samples/error-else-before-closing/error.json rename to packages/svelte/test/parser/samples/error-else-before-closing/error.json diff --git a/test/parser/samples/error-else-before-closing/input.svelte b/packages/svelte/test/parser/samples/error-else-before-closing/input.svelte similarity index 100% rename from test/parser/samples/error-else-before-closing/input.svelte rename to packages/svelte/test/parser/samples/error-else-before-closing/input.svelte diff --git a/test/parser/samples/error-else-if-before-closing-2/error.json b/packages/svelte/test/parser/samples/error-else-if-before-closing-2/error.json similarity index 100% rename from test/parser/samples/error-else-if-before-closing-2/error.json rename to packages/svelte/test/parser/samples/error-else-if-before-closing-2/error.json diff --git a/test/parser/samples/error-else-if-before-closing-2/input.svelte b/packages/svelte/test/parser/samples/error-else-if-before-closing-2/input.svelte similarity index 100% rename from test/parser/samples/error-else-if-before-closing-2/input.svelte rename to packages/svelte/test/parser/samples/error-else-if-before-closing-2/input.svelte diff --git a/test/parser/samples/error-else-if-before-closing/error.json b/packages/svelte/test/parser/samples/error-else-if-before-closing/error.json similarity index 100% rename from test/parser/samples/error-else-if-before-closing/error.json rename to packages/svelte/test/parser/samples/error-else-if-before-closing/error.json diff --git a/test/parser/samples/error-else-if-before-closing/input.svelte b/packages/svelte/test/parser/samples/error-else-if-before-closing/input.svelte similarity index 100% rename from test/parser/samples/error-else-if-before-closing/input.svelte rename to packages/svelte/test/parser/samples/error-else-if-before-closing/input.svelte diff --git a/test/parser/samples/error-else-if-without-if/error.json b/packages/svelte/test/parser/samples/error-else-if-without-if/error.json similarity index 100% rename from test/parser/samples/error-else-if-without-if/error.json rename to packages/svelte/test/parser/samples/error-else-if-without-if/error.json diff --git a/test/parser/samples/error-else-if-without-if/input.svelte b/packages/svelte/test/parser/samples/error-else-if-without-if/input.svelte similarity index 100% rename from test/parser/samples/error-else-if-without-if/input.svelte rename to packages/svelte/test/parser/samples/error-else-if-without-if/input.svelte diff --git a/test/parser/samples/error-empty-attribute-shorthand/error.json b/packages/svelte/test/parser/samples/error-empty-attribute-shorthand/error.json similarity index 100% rename from test/parser/samples/error-empty-attribute-shorthand/error.json rename to packages/svelte/test/parser/samples/error-empty-attribute-shorthand/error.json diff --git a/test/parser/samples/error-empty-attribute-shorthand/input.svelte b/packages/svelte/test/parser/samples/error-empty-attribute-shorthand/input.svelte similarity index 100% rename from test/parser/samples/error-empty-attribute-shorthand/input.svelte rename to packages/svelte/test/parser/samples/error-empty-attribute-shorthand/input.svelte diff --git a/test/parser/samples/error-empty-classname-binding/error.json b/packages/svelte/test/parser/samples/error-empty-classname-binding/error.json similarity index 100% rename from test/parser/samples/error-empty-classname-binding/error.json rename to packages/svelte/test/parser/samples/error-empty-classname-binding/error.json diff --git a/test/parser/samples/error-empty-classname-binding/input.svelte b/packages/svelte/test/parser/samples/error-empty-classname-binding/input.svelte similarity index 100% rename from test/parser/samples/error-empty-classname-binding/input.svelte rename to packages/svelte/test/parser/samples/error-empty-classname-binding/input.svelte diff --git a/test/parser/samples/error-empty-directive-name/error.json b/packages/svelte/test/parser/samples/error-empty-directive-name/error.json similarity index 100% rename from test/parser/samples/error-empty-directive-name/error.json rename to packages/svelte/test/parser/samples/error-empty-directive-name/error.json diff --git a/test/parser/samples/error-empty-directive-name/input.svelte b/packages/svelte/test/parser/samples/error-empty-directive-name/input.svelte similarity index 100% rename from test/parser/samples/error-empty-directive-name/input.svelte rename to packages/svelte/test/parser/samples/error-empty-directive-name/input.svelte diff --git a/test/parser/samples/error-illegal-expression/error.json b/packages/svelte/test/parser/samples/error-illegal-expression/error.json similarity index 100% rename from test/parser/samples/error-illegal-expression/error.json rename to packages/svelte/test/parser/samples/error-illegal-expression/error.json diff --git a/test/parser/samples/error-illegal-expression/input.svelte b/packages/svelte/test/parser/samples/error-illegal-expression/input.svelte similarity index 100% rename from test/parser/samples/error-illegal-expression/input.svelte rename to packages/svelte/test/parser/samples/error-illegal-expression/input.svelte diff --git a/test/parser/samples/error-multiple-styles/error.json b/packages/svelte/test/parser/samples/error-multiple-styles/error.json similarity index 100% rename from test/parser/samples/error-multiple-styles/error.json rename to packages/svelte/test/parser/samples/error-multiple-styles/error.json diff --git a/test/parser/samples/error-multiple-styles/input.svelte b/packages/svelte/test/parser/samples/error-multiple-styles/input.svelte similarity index 100% rename from test/parser/samples/error-multiple-styles/input.svelte rename to packages/svelte/test/parser/samples/error-multiple-styles/input.svelte diff --git a/test/parser/samples/error-script-unclosed-eof/error.json b/packages/svelte/test/parser/samples/error-script-unclosed-eof/error.json similarity index 100% rename from test/parser/samples/error-script-unclosed-eof/error.json rename to packages/svelte/test/parser/samples/error-script-unclosed-eof/error.json diff --git a/test/parser/samples/error-script-unclosed-eof/input.svelte b/packages/svelte/test/parser/samples/error-script-unclosed-eof/input.svelte similarity index 100% rename from test/parser/samples/error-script-unclosed-eof/input.svelte rename to packages/svelte/test/parser/samples/error-script-unclosed-eof/input.svelte diff --git a/test/parser/samples/error-script-unclosed/error.json b/packages/svelte/test/parser/samples/error-script-unclosed/error.json similarity index 100% rename from test/parser/samples/error-script-unclosed/error.json rename to packages/svelte/test/parser/samples/error-script-unclosed/error.json diff --git a/test/parser/samples/error-script-unclosed/input.svelte b/packages/svelte/test/parser/samples/error-script-unclosed/input.svelte similarity index 100% rename from test/parser/samples/error-script-unclosed/input.svelte rename to packages/svelte/test/parser/samples/error-script-unclosed/input.svelte diff --git a/test/parser/samples/error-self-reference/error.json b/packages/svelte/test/parser/samples/error-self-reference/error.json similarity index 100% rename from test/parser/samples/error-self-reference/error.json rename to packages/svelte/test/parser/samples/error-self-reference/error.json diff --git a/test/parser/samples/error-self-reference/input.svelte b/packages/svelte/test/parser/samples/error-self-reference/input.svelte similarity index 100% rename from test/parser/samples/error-self-reference/input.svelte rename to packages/svelte/test/parser/samples/error-self-reference/input.svelte diff --git a/test/parser/samples/error-style-unclosed-eof/error.json b/packages/svelte/test/parser/samples/error-style-unclosed-eof/error.json similarity index 100% rename from test/parser/samples/error-style-unclosed-eof/error.json rename to packages/svelte/test/parser/samples/error-style-unclosed-eof/error.json diff --git a/test/parser/samples/error-style-unclosed-eof/input.svelte b/packages/svelte/test/parser/samples/error-style-unclosed-eof/input.svelte similarity index 100% rename from test/parser/samples/error-style-unclosed-eof/input.svelte rename to packages/svelte/test/parser/samples/error-style-unclosed-eof/input.svelte diff --git a/test/parser/samples/error-style-unclosed/error.json b/packages/svelte/test/parser/samples/error-style-unclosed/error.json similarity index 100% rename from test/parser/samples/error-style-unclosed/error.json rename to packages/svelte/test/parser/samples/error-style-unclosed/error.json diff --git a/test/parser/samples/error-style-unclosed/input.svelte b/packages/svelte/test/parser/samples/error-style-unclosed/input.svelte similarity index 100% rename from test/parser/samples/error-style-unclosed/input.svelte rename to packages/svelte/test/parser/samples/error-style-unclosed/input.svelte diff --git a/test/parser/samples/error-svelte-selfdestructive/error.json b/packages/svelte/test/parser/samples/error-svelte-selfdestructive/error.json similarity index 100% rename from test/parser/samples/error-svelte-selfdestructive/error.json rename to packages/svelte/test/parser/samples/error-svelte-selfdestructive/error.json diff --git a/test/parser/samples/error-svelte-selfdestructive/input.svelte b/packages/svelte/test/parser/samples/error-svelte-selfdestructive/input.svelte similarity index 100% rename from test/parser/samples/error-svelte-selfdestructive/input.svelte rename to packages/svelte/test/parser/samples/error-svelte-selfdestructive/input.svelte diff --git a/test/parser/samples/error-then-before-closing/error.json b/packages/svelte/test/parser/samples/error-then-before-closing/error.json similarity index 100% rename from test/parser/samples/error-then-before-closing/error.json rename to packages/svelte/test/parser/samples/error-then-before-closing/error.json diff --git a/test/parser/samples/error-then-before-closing/input.svelte b/packages/svelte/test/parser/samples/error-then-before-closing/input.svelte similarity index 100% rename from test/parser/samples/error-then-before-closing/input.svelte rename to packages/svelte/test/parser/samples/error-then-before-closing/input.svelte diff --git a/test/parser/samples/error-then-without-await/error.json b/packages/svelte/test/parser/samples/error-then-without-await/error.json similarity index 100% rename from test/parser/samples/error-then-without-await/error.json rename to packages/svelte/test/parser/samples/error-then-without-await/error.json diff --git a/test/parser/samples/error-then-without-await/input.svelte b/packages/svelte/test/parser/samples/error-then-without-await/input.svelte similarity index 100% rename from test/parser/samples/error-then-without-await/input.svelte rename to packages/svelte/test/parser/samples/error-then-without-await/input.svelte diff --git a/test/parser/samples/error-unclosed-attribute-self-close-tag/error.json b/packages/svelte/test/parser/samples/error-unclosed-attribute-self-close-tag/error.json similarity index 100% rename from test/parser/samples/error-unclosed-attribute-self-close-tag/error.json rename to packages/svelte/test/parser/samples/error-unclosed-attribute-self-close-tag/error.json diff --git a/test/parser/samples/error-unclosed-attribute-self-close-tag/input.svelte b/packages/svelte/test/parser/samples/error-unclosed-attribute-self-close-tag/input.svelte similarity index 100% rename from test/parser/samples/error-unclosed-attribute-self-close-tag/input.svelte rename to packages/svelte/test/parser/samples/error-unclosed-attribute-self-close-tag/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input-b/error.json b/packages/svelte/test/parser/samples/error-unexpected-end-of-input-b/error.json similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input-b/error.json rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input-b/error.json diff --git a/test/parser/samples/error-unexpected-end-of-input-b/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input-b/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input-c/error.json b/packages/svelte/test/parser/samples/error-unexpected-end-of-input-c/error.json similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input-c/error.json rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input-c/error.json diff --git a/test/parser/samples/error-unexpected-end-of-input-c/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input-c/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input-d/error.json b/packages/svelte/test/parser/samples/error-unexpected-end-of-input-d/error.json similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input-d/error.json rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input-d/error.json diff --git a/test/parser/samples/error-unexpected-end-of-input-d/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input-d/input.svelte diff --git a/test/parser/samples/error-unexpected-end-of-input/error.json b/packages/svelte/test/parser/samples/error-unexpected-end-of-input/error.json similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input/error.json rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input/error.json diff --git a/test/parser/samples/error-unexpected-end-of-input/input.svelte b/packages/svelte/test/parser/samples/error-unexpected-end-of-input/input.svelte similarity index 100% rename from test/parser/samples/error-unexpected-end-of-input/input.svelte rename to packages/svelte/test/parser/samples/error-unexpected-end-of-input/input.svelte diff --git a/test/parser/samples/error-unmatched-closing-tag-autoclose-2/error.json b/packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose-2/error.json similarity index 100% rename from test/parser/samples/error-unmatched-closing-tag-autoclose-2/error.json rename to packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose-2/error.json diff --git a/test/parser/samples/error-unmatched-closing-tag-autoclose-2/input.svelte b/packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose-2/input.svelte similarity index 100% rename from test/parser/samples/error-unmatched-closing-tag-autoclose-2/input.svelte rename to packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose-2/input.svelte diff --git a/test/parser/samples/error-unmatched-closing-tag-autoclose/error.json b/packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose/error.json similarity index 100% rename from test/parser/samples/error-unmatched-closing-tag-autoclose/error.json rename to packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose/error.json diff --git a/test/parser/samples/error-unmatched-closing-tag-autoclose/input.svelte b/packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose/input.svelte similarity index 100% rename from test/parser/samples/error-unmatched-closing-tag-autoclose/input.svelte rename to packages/svelte/test/parser/samples/error-unmatched-closing-tag-autoclose/input.svelte diff --git a/test/parser/samples/error-unmatched-closing-tag/error.json b/packages/svelte/test/parser/samples/error-unmatched-closing-tag/error.json similarity index 100% rename from test/parser/samples/error-unmatched-closing-tag/error.json rename to packages/svelte/test/parser/samples/error-unmatched-closing-tag/error.json diff --git a/test/parser/samples/error-unmatched-closing-tag/input.svelte b/packages/svelte/test/parser/samples/error-unmatched-closing-tag/input.svelte similarity index 100% rename from test/parser/samples/error-unmatched-closing-tag/input.svelte rename to packages/svelte/test/parser/samples/error-unmatched-closing-tag/input.svelte diff --git a/test/parser/samples/error-void-closing/error.json b/packages/svelte/test/parser/samples/error-void-closing/error.json similarity index 100% rename from test/parser/samples/error-void-closing/error.json rename to packages/svelte/test/parser/samples/error-void-closing/error.json diff --git a/test/parser/samples/error-void-closing/input.svelte b/packages/svelte/test/parser/samples/error-void-closing/input.svelte similarity index 100% rename from test/parser/samples/error-void-closing/input.svelte rename to packages/svelte/test/parser/samples/error-void-closing/input.svelte diff --git a/test/parser/samples/error-window-children/error.json b/packages/svelte/test/parser/samples/error-window-children/error.json similarity index 100% rename from test/parser/samples/error-window-children/error.json rename to packages/svelte/test/parser/samples/error-window-children/error.json diff --git a/test/parser/samples/error-window-children/input.svelte b/packages/svelte/test/parser/samples/error-window-children/input.svelte similarity index 100% rename from test/parser/samples/error-window-children/input.svelte rename to packages/svelte/test/parser/samples/error-window-children/input.svelte diff --git a/test/parser/samples/error-window-duplicate/error.json b/packages/svelte/test/parser/samples/error-window-duplicate/error.json similarity index 100% rename from test/parser/samples/error-window-duplicate/error.json rename to packages/svelte/test/parser/samples/error-window-duplicate/error.json diff --git a/test/parser/samples/error-window-duplicate/input.svelte b/packages/svelte/test/parser/samples/error-window-duplicate/input.svelte similarity index 100% rename from test/parser/samples/error-window-duplicate/input.svelte rename to packages/svelte/test/parser/samples/error-window-duplicate/input.svelte diff --git a/test/parser/samples/error-window-inside-block/error.json b/packages/svelte/test/parser/samples/error-window-inside-block/error.json similarity index 100% rename from test/parser/samples/error-window-inside-block/error.json rename to packages/svelte/test/parser/samples/error-window-inside-block/error.json diff --git a/test/parser/samples/error-window-inside-block/input.svelte b/packages/svelte/test/parser/samples/error-window-inside-block/input.svelte similarity index 100% rename from test/parser/samples/error-window-inside-block/input.svelte rename to packages/svelte/test/parser/samples/error-window-inside-block/input.svelte diff --git a/test/parser/samples/error-window-inside-element/error.json b/packages/svelte/test/parser/samples/error-window-inside-element/error.json similarity index 100% rename from test/parser/samples/error-window-inside-element/error.json rename to packages/svelte/test/parser/samples/error-window-inside-element/error.json diff --git a/test/parser/samples/error-window-inside-element/input.svelte b/packages/svelte/test/parser/samples/error-window-inside-element/input.svelte similarity index 100% rename from test/parser/samples/error-window-inside-element/input.svelte rename to packages/svelte/test/parser/samples/error-window-inside-element/input.svelte diff --git a/test/parser/samples/event-handler/input.svelte b/packages/svelte/test/parser/samples/event-handler/input.svelte similarity index 100% rename from test/parser/samples/event-handler/input.svelte rename to packages/svelte/test/parser/samples/event-handler/input.svelte diff --git a/test/parser/samples/event-handler/output.json b/packages/svelte/test/parser/samples/event-handler/output.json similarity index 100% rename from test/parser/samples/event-handler/output.json rename to packages/svelte/test/parser/samples/event-handler/output.json diff --git a/test/parser/samples/if-block-else/input.svelte b/packages/svelte/test/parser/samples/if-block-else/input.svelte similarity index 100% rename from test/parser/samples/if-block-else/input.svelte rename to packages/svelte/test/parser/samples/if-block-else/input.svelte diff --git a/test/parser/samples/if-block-else/output.json b/packages/svelte/test/parser/samples/if-block-else/output.json similarity index 100% rename from test/parser/samples/if-block-else/output.json rename to packages/svelte/test/parser/samples/if-block-else/output.json diff --git a/test/parser/samples/if-block-elseif/input.svelte b/packages/svelte/test/parser/samples/if-block-elseif/input.svelte similarity index 100% rename from test/parser/samples/if-block-elseif/input.svelte rename to packages/svelte/test/parser/samples/if-block-elseif/input.svelte diff --git a/test/parser/samples/if-block-elseif/output.json b/packages/svelte/test/parser/samples/if-block-elseif/output.json similarity index 100% rename from test/parser/samples/if-block-elseif/output.json rename to packages/svelte/test/parser/samples/if-block-elseif/output.json diff --git a/test/parser/samples/if-block/input.svelte b/packages/svelte/test/parser/samples/if-block/input.svelte similarity index 100% rename from test/parser/samples/if-block/input.svelte rename to packages/svelte/test/parser/samples/if-block/input.svelte diff --git a/test/parser/samples/if-block/output.json b/packages/svelte/test/parser/samples/if-block/output.json similarity index 100% rename from test/parser/samples/if-block/output.json rename to packages/svelte/test/parser/samples/if-block/output.json diff --git a/test/parser/samples/implicitly-closed-li-block/input.svelte b/packages/svelte/test/parser/samples/implicitly-closed-li-block/input.svelte similarity index 100% rename from test/parser/samples/implicitly-closed-li-block/input.svelte rename to packages/svelte/test/parser/samples/implicitly-closed-li-block/input.svelte diff --git a/test/parser/samples/implicitly-closed-li-block/output.json b/packages/svelte/test/parser/samples/implicitly-closed-li-block/output.json similarity index 100% rename from test/parser/samples/implicitly-closed-li-block/output.json rename to packages/svelte/test/parser/samples/implicitly-closed-li-block/output.json diff --git a/test/parser/samples/implicitly-closed-li/input.svelte b/packages/svelte/test/parser/samples/implicitly-closed-li/input.svelte similarity index 100% rename from test/parser/samples/implicitly-closed-li/input.svelte rename to packages/svelte/test/parser/samples/implicitly-closed-li/input.svelte diff --git a/test/parser/samples/implicitly-closed-li/output.json b/packages/svelte/test/parser/samples/implicitly-closed-li/output.json similarity index 100% rename from test/parser/samples/implicitly-closed-li/output.json rename to packages/svelte/test/parser/samples/implicitly-closed-li/output.json diff --git a/test/parser/samples/nbsp/input.svelte b/packages/svelte/test/parser/samples/nbsp/input.svelte similarity index 100% rename from test/parser/samples/nbsp/input.svelte rename to packages/svelte/test/parser/samples/nbsp/input.svelte diff --git a/test/parser/samples/nbsp/output.json b/packages/svelte/test/parser/samples/nbsp/output.json similarity index 100% rename from test/parser/samples/nbsp/output.json rename to packages/svelte/test/parser/samples/nbsp/output.json diff --git a/test/parser/samples/no-error-if-before-closing/input.svelte b/packages/svelte/test/parser/samples/no-error-if-before-closing/input.svelte similarity index 100% rename from test/parser/samples/no-error-if-before-closing/input.svelte rename to packages/svelte/test/parser/samples/no-error-if-before-closing/input.svelte diff --git a/test/parser/samples/no-error-if-before-closing/output.json b/packages/svelte/test/parser/samples/no-error-if-before-closing/output.json similarity index 100% rename from test/parser/samples/no-error-if-before-closing/output.json rename to packages/svelte/test/parser/samples/no-error-if-before-closing/output.json diff --git a/test/parser/samples/raw-mustaches-whitespace-error/error.json b/packages/svelte/test/parser/samples/raw-mustaches-whitespace-error/error.json similarity index 100% rename from test/parser/samples/raw-mustaches-whitespace-error/error.json rename to packages/svelte/test/parser/samples/raw-mustaches-whitespace-error/error.json diff --git a/test/parser/samples/raw-mustaches-whitespace-error/input.svelte b/packages/svelte/test/parser/samples/raw-mustaches-whitespace-error/input.svelte similarity index 100% rename from test/parser/samples/raw-mustaches-whitespace-error/input.svelte rename to packages/svelte/test/parser/samples/raw-mustaches-whitespace-error/input.svelte diff --git a/test/parser/samples/raw-mustaches/input.svelte b/packages/svelte/test/parser/samples/raw-mustaches/input.svelte similarity index 100% rename from test/parser/samples/raw-mustaches/input.svelte rename to packages/svelte/test/parser/samples/raw-mustaches/input.svelte diff --git a/test/parser/samples/raw-mustaches/output.json b/packages/svelte/test/parser/samples/raw-mustaches/output.json similarity index 100% rename from test/parser/samples/raw-mustaches/output.json rename to packages/svelte/test/parser/samples/raw-mustaches/output.json diff --git a/test/parser/samples/refs/input.svelte b/packages/svelte/test/parser/samples/refs/input.svelte similarity index 100% rename from test/parser/samples/refs/input.svelte rename to packages/svelte/test/parser/samples/refs/input.svelte diff --git a/test/parser/samples/refs/output.json b/packages/svelte/test/parser/samples/refs/output.json similarity index 100% rename from test/parser/samples/refs/output.json rename to packages/svelte/test/parser/samples/refs/output.json diff --git a/test/parser/samples/script-comment-only/input.svelte b/packages/svelte/test/parser/samples/script-comment-only/input.svelte similarity index 100% rename from test/parser/samples/script-comment-only/input.svelte rename to packages/svelte/test/parser/samples/script-comment-only/input.svelte diff --git a/test/parser/samples/script-comment-only/output.json b/packages/svelte/test/parser/samples/script-comment-only/output.json similarity index 100% rename from test/parser/samples/script-comment-only/output.json rename to packages/svelte/test/parser/samples/script-comment-only/output.json diff --git a/test/parser/samples/script-comment-trailing-multiline/input.svelte b/packages/svelte/test/parser/samples/script-comment-trailing-multiline/input.svelte similarity index 100% rename from test/parser/samples/script-comment-trailing-multiline/input.svelte rename to packages/svelte/test/parser/samples/script-comment-trailing-multiline/input.svelte diff --git a/test/parser/samples/script-comment-trailing-multiline/output.json b/packages/svelte/test/parser/samples/script-comment-trailing-multiline/output.json similarity index 100% rename from test/parser/samples/script-comment-trailing-multiline/output.json rename to packages/svelte/test/parser/samples/script-comment-trailing-multiline/output.json diff --git a/test/parser/samples/script-comment-trailing/input.svelte b/packages/svelte/test/parser/samples/script-comment-trailing/input.svelte similarity index 100% rename from test/parser/samples/script-comment-trailing/input.svelte rename to packages/svelte/test/parser/samples/script-comment-trailing/input.svelte diff --git a/test/parser/samples/script-comment-trailing/output.json b/packages/svelte/test/parser/samples/script-comment-trailing/output.json similarity index 100% rename from test/parser/samples/script-comment-trailing/output.json rename to packages/svelte/test/parser/samples/script-comment-trailing/output.json diff --git a/test/parser/samples/script/input.svelte b/packages/svelte/test/parser/samples/script/input.svelte similarity index 100% rename from test/parser/samples/script/input.svelte rename to packages/svelte/test/parser/samples/script/input.svelte diff --git a/test/parser/samples/script/output.json b/packages/svelte/test/parser/samples/script/output.json similarity index 100% rename from test/parser/samples/script/output.json rename to packages/svelte/test/parser/samples/script/output.json diff --git a/test/parser/samples/self-closing-element/input.svelte b/packages/svelte/test/parser/samples/self-closing-element/input.svelte similarity index 100% rename from test/parser/samples/self-closing-element/input.svelte rename to packages/svelte/test/parser/samples/self-closing-element/input.svelte diff --git a/test/parser/samples/self-closing-element/output.json b/packages/svelte/test/parser/samples/self-closing-element/output.json similarity index 100% rename from test/parser/samples/self-closing-element/output.json rename to packages/svelte/test/parser/samples/self-closing-element/output.json diff --git a/test/parser/samples/self-reference/input.svelte b/packages/svelte/test/parser/samples/self-reference/input.svelte similarity index 100% rename from test/parser/samples/self-reference/input.svelte rename to packages/svelte/test/parser/samples/self-reference/input.svelte diff --git a/test/parser/samples/self-reference/output.json b/packages/svelte/test/parser/samples/self-reference/output.json similarity index 100% rename from test/parser/samples/self-reference/output.json rename to packages/svelte/test/parser/samples/self-reference/output.json diff --git a/test/parser/samples/slotted-element/input.svelte b/packages/svelte/test/parser/samples/slotted-element/input.svelte similarity index 100% rename from test/parser/samples/slotted-element/input.svelte rename to packages/svelte/test/parser/samples/slotted-element/input.svelte diff --git a/test/parser/samples/slotted-element/output.json b/packages/svelte/test/parser/samples/slotted-element/output.json similarity index 100% rename from test/parser/samples/slotted-element/output.json rename to packages/svelte/test/parser/samples/slotted-element/output.json diff --git a/test/parser/samples/space-between-mustaches/input.svelte b/packages/svelte/test/parser/samples/space-between-mustaches/input.svelte similarity index 100% rename from test/parser/samples/space-between-mustaches/input.svelte rename to packages/svelte/test/parser/samples/space-between-mustaches/input.svelte diff --git a/test/parser/samples/space-between-mustaches/output.json b/packages/svelte/test/parser/samples/space-between-mustaches/output.json similarity index 100% rename from test/parser/samples/space-between-mustaches/output.json rename to packages/svelte/test/parser/samples/space-between-mustaches/output.json diff --git a/test/parser/samples/spread/input.svelte b/packages/svelte/test/parser/samples/spread/input.svelte similarity index 100% rename from test/parser/samples/spread/input.svelte rename to packages/svelte/test/parser/samples/spread/input.svelte diff --git a/test/parser/samples/spread/output.json b/packages/svelte/test/parser/samples/spread/output.json similarity index 100% rename from test/parser/samples/spread/output.json rename to packages/svelte/test/parser/samples/spread/output.json diff --git a/test/parser/samples/style-inside-head/input.svelte b/packages/svelte/test/parser/samples/style-inside-head/input.svelte similarity index 100% rename from test/parser/samples/style-inside-head/input.svelte rename to packages/svelte/test/parser/samples/style-inside-head/input.svelte diff --git a/test/parser/samples/style-inside-head/output.json b/packages/svelte/test/parser/samples/style-inside-head/output.json similarity index 100% rename from test/parser/samples/style-inside-head/output.json rename to packages/svelte/test/parser/samples/style-inside-head/output.json diff --git a/test/parser/samples/textarea-children/input.svelte b/packages/svelte/test/parser/samples/textarea-children/input.svelte similarity index 100% rename from test/parser/samples/textarea-children/input.svelte rename to packages/svelte/test/parser/samples/textarea-children/input.svelte diff --git a/test/parser/samples/textarea-children/output.json b/packages/svelte/test/parser/samples/textarea-children/output.json similarity index 100% rename from test/parser/samples/textarea-children/output.json rename to packages/svelte/test/parser/samples/textarea-children/output.json diff --git a/test/parser/samples/textarea-end-tag/input.svelte b/packages/svelte/test/parser/samples/textarea-end-tag/input.svelte similarity index 100% rename from test/parser/samples/textarea-end-tag/input.svelte rename to packages/svelte/test/parser/samples/textarea-end-tag/input.svelte diff --git a/test/parser/samples/textarea-end-tag/output.json b/packages/svelte/test/parser/samples/textarea-end-tag/output.json similarity index 100% rename from test/parser/samples/textarea-end-tag/output.json rename to packages/svelte/test/parser/samples/textarea-end-tag/output.json diff --git a/test/parser/samples/transition-intro-no-params/input.svelte b/packages/svelte/test/parser/samples/transition-intro-no-params/input.svelte similarity index 100% rename from test/parser/samples/transition-intro-no-params/input.svelte rename to packages/svelte/test/parser/samples/transition-intro-no-params/input.svelte diff --git a/test/parser/samples/transition-intro-no-params/output.json b/packages/svelte/test/parser/samples/transition-intro-no-params/output.json similarity index 100% rename from test/parser/samples/transition-intro-no-params/output.json rename to packages/svelte/test/parser/samples/transition-intro-no-params/output.json diff --git a/test/parser/samples/transition-intro/input.svelte b/packages/svelte/test/parser/samples/transition-intro/input.svelte similarity index 100% rename from test/parser/samples/transition-intro/input.svelte rename to packages/svelte/test/parser/samples/transition-intro/input.svelte diff --git a/test/parser/samples/transition-intro/output.json b/packages/svelte/test/parser/samples/transition-intro/output.json similarity index 100% rename from test/parser/samples/transition-intro/output.json rename to packages/svelte/test/parser/samples/transition-intro/output.json diff --git a/test/parser/samples/unusual-identifier/input.svelte b/packages/svelte/test/parser/samples/unusual-identifier/input.svelte similarity index 100% rename from test/parser/samples/unusual-identifier/input.svelte rename to packages/svelte/test/parser/samples/unusual-identifier/input.svelte diff --git a/test/parser/samples/unusual-identifier/output.json b/packages/svelte/test/parser/samples/unusual-identifier/output.json similarity index 100% rename from test/parser/samples/unusual-identifier/output.json rename to packages/svelte/test/parser/samples/unusual-identifier/output.json diff --git a/test/parser/samples/whitespace-after-script-tag/input.svelte b/packages/svelte/test/parser/samples/whitespace-after-script-tag/input.svelte similarity index 100% rename from test/parser/samples/whitespace-after-script-tag/input.svelte rename to packages/svelte/test/parser/samples/whitespace-after-script-tag/input.svelte diff --git a/test/parser/samples/whitespace-after-script-tag/output.json b/packages/svelte/test/parser/samples/whitespace-after-script-tag/output.json similarity index 100% rename from test/parser/samples/whitespace-after-script-tag/output.json rename to packages/svelte/test/parser/samples/whitespace-after-script-tag/output.json diff --git a/test/parser/samples/whitespace-after-style-tag/input.svelte b/packages/svelte/test/parser/samples/whitespace-after-style-tag/input.svelte similarity index 100% rename from test/parser/samples/whitespace-after-style-tag/input.svelte rename to packages/svelte/test/parser/samples/whitespace-after-style-tag/input.svelte diff --git a/test/parser/samples/whitespace-after-style-tag/output.json b/packages/svelte/test/parser/samples/whitespace-after-style-tag/output.json similarity index 100% rename from test/parser/samples/whitespace-after-style-tag/output.json rename to packages/svelte/test/parser/samples/whitespace-after-style-tag/output.json diff --git a/test/parser/samples/whitespace-leading-trailing/input.svelte b/packages/svelte/test/parser/samples/whitespace-leading-trailing/input.svelte similarity index 100% rename from test/parser/samples/whitespace-leading-trailing/input.svelte rename to packages/svelte/test/parser/samples/whitespace-leading-trailing/input.svelte diff --git a/test/parser/samples/whitespace-leading-trailing/output.json b/packages/svelte/test/parser/samples/whitespace-leading-trailing/output.json similarity index 100% rename from test/parser/samples/whitespace-leading-trailing/output.json rename to packages/svelte/test/parser/samples/whitespace-leading-trailing/output.json diff --git a/test/parser/samples/whitespace-normal/input.svelte b/packages/svelte/test/parser/samples/whitespace-normal/input.svelte similarity index 100% rename from test/parser/samples/whitespace-normal/input.svelte rename to packages/svelte/test/parser/samples/whitespace-normal/input.svelte diff --git a/test/parser/samples/whitespace-normal/output.json b/packages/svelte/test/parser/samples/whitespace-normal/output.json similarity index 100% rename from test/parser/samples/whitespace-normal/output.json rename to packages/svelte/test/parser/samples/whitespace-normal/output.json diff --git a/test/parser/update.js b/packages/svelte/test/parser/update.js similarity index 100% rename from test/parser/update.js rename to packages/svelte/test/parser/update.js diff --git a/test/preprocess/preprocess.test.js b/packages/svelte/test/preprocess/preprocess.test.js similarity index 100% rename from test/preprocess/preprocess.test.js rename to packages/svelte/test/preprocess/preprocess.test.js diff --git a/test/preprocess/samples/attributes-with-equals/_config.js b/packages/svelte/test/preprocess/samples/attributes-with-equals/_config.js similarity index 100% rename from test/preprocess/samples/attributes-with-equals/_config.js rename to packages/svelte/test/preprocess/samples/attributes-with-equals/_config.js diff --git a/test/preprocess/samples/attributes-with-equals/input.svelte b/packages/svelte/test/preprocess/samples/attributes-with-equals/input.svelte similarity index 100% rename from test/preprocess/samples/attributes-with-equals/input.svelte rename to packages/svelte/test/preprocess/samples/attributes-with-equals/input.svelte diff --git a/test/preprocess/samples/attributes-with-equals/output.svelte b/packages/svelte/test/preprocess/samples/attributes-with-equals/output.svelte similarity index 100% rename from test/preprocess/samples/attributes-with-equals/output.svelte rename to packages/svelte/test/preprocess/samples/attributes-with-equals/output.svelte diff --git a/test/preprocess/samples/comments/_config.js b/packages/svelte/test/preprocess/samples/comments/_config.js similarity index 100% rename from test/preprocess/samples/comments/_config.js rename to packages/svelte/test/preprocess/samples/comments/_config.js diff --git a/test/preprocess/samples/comments/input.svelte b/packages/svelte/test/preprocess/samples/comments/input.svelte similarity index 100% rename from test/preprocess/samples/comments/input.svelte rename to packages/svelte/test/preprocess/samples/comments/input.svelte diff --git a/test/preprocess/samples/comments/output.svelte b/packages/svelte/test/preprocess/samples/comments/output.svelte similarity index 100% rename from test/preprocess/samples/comments/output.svelte rename to packages/svelte/test/preprocess/samples/comments/output.svelte diff --git a/test/preprocess/samples/dependencies/_config.js b/packages/svelte/test/preprocess/samples/dependencies/_config.js similarity index 100% rename from test/preprocess/samples/dependencies/_config.js rename to packages/svelte/test/preprocess/samples/dependencies/_config.js diff --git a/test/preprocess/samples/dependencies/input.svelte b/packages/svelte/test/preprocess/samples/dependencies/input.svelte similarity index 100% rename from test/preprocess/samples/dependencies/input.svelte rename to packages/svelte/test/preprocess/samples/dependencies/input.svelte diff --git a/test/preprocess/samples/dependencies/output.svelte b/packages/svelte/test/preprocess/samples/dependencies/output.svelte similarity index 100% rename from test/preprocess/samples/dependencies/output.svelte rename to packages/svelte/test/preprocess/samples/dependencies/output.svelte diff --git a/test/preprocess/samples/empty-sourcemap/_config.js b/packages/svelte/test/preprocess/samples/empty-sourcemap/_config.js similarity index 100% rename from test/preprocess/samples/empty-sourcemap/_config.js rename to packages/svelte/test/preprocess/samples/empty-sourcemap/_config.js diff --git a/test/preprocess/samples/empty-sourcemap/input.svelte b/packages/svelte/test/preprocess/samples/empty-sourcemap/input.svelte similarity index 100% rename from test/preprocess/samples/empty-sourcemap/input.svelte rename to packages/svelte/test/preprocess/samples/empty-sourcemap/input.svelte diff --git a/test/preprocess/samples/empty-sourcemap/output.svelte b/packages/svelte/test/preprocess/samples/empty-sourcemap/output.svelte similarity index 100% rename from test/preprocess/samples/empty-sourcemap/output.svelte rename to packages/svelte/test/preprocess/samples/empty-sourcemap/output.svelte diff --git a/test/preprocess/samples/filename/_config.js b/packages/svelte/test/preprocess/samples/filename/_config.js similarity index 100% rename from test/preprocess/samples/filename/_config.js rename to packages/svelte/test/preprocess/samples/filename/_config.js diff --git a/test/preprocess/samples/filename/input.svelte b/packages/svelte/test/preprocess/samples/filename/input.svelte similarity index 100% rename from test/preprocess/samples/filename/input.svelte rename to packages/svelte/test/preprocess/samples/filename/input.svelte diff --git a/test/preprocess/samples/filename/output.svelte b/packages/svelte/test/preprocess/samples/filename/output.svelte similarity index 100% rename from test/preprocess/samples/filename/output.svelte rename to packages/svelte/test/preprocess/samples/filename/output.svelte diff --git a/test/preprocess/samples/ignores-null/_config.js b/packages/svelte/test/preprocess/samples/ignores-null/_config.js similarity index 100% rename from test/preprocess/samples/ignores-null/_config.js rename to packages/svelte/test/preprocess/samples/ignores-null/_config.js diff --git a/test/preprocess/samples/ignores-null/input.svelte b/packages/svelte/test/preprocess/samples/ignores-null/input.svelte similarity index 100% rename from test/preprocess/samples/ignores-null/input.svelte rename to packages/svelte/test/preprocess/samples/ignores-null/input.svelte diff --git a/test/preprocess/samples/ignores-null/output.svelte b/packages/svelte/test/preprocess/samples/ignores-null/output.svelte similarity index 100% rename from test/preprocess/samples/ignores-null/output.svelte rename to packages/svelte/test/preprocess/samples/ignores-null/output.svelte diff --git a/test/preprocess/samples/markup/_config.js b/packages/svelte/test/preprocess/samples/markup/_config.js similarity index 100% rename from test/preprocess/samples/markup/_config.js rename to packages/svelte/test/preprocess/samples/markup/_config.js diff --git a/test/preprocess/samples/markup/input.svelte b/packages/svelte/test/preprocess/samples/markup/input.svelte similarity index 100% rename from test/preprocess/samples/markup/input.svelte rename to packages/svelte/test/preprocess/samples/markup/input.svelte diff --git a/test/preprocess/samples/markup/output.svelte b/packages/svelte/test/preprocess/samples/markup/output.svelte similarity index 100% rename from test/preprocess/samples/markup/output.svelte rename to packages/svelte/test/preprocess/samples/markup/output.svelte diff --git a/test/preprocess/samples/multiple-preprocessors/_config.js b/packages/svelte/test/preprocess/samples/multiple-preprocessors/_config.js similarity index 100% rename from test/preprocess/samples/multiple-preprocessors/_config.js rename to packages/svelte/test/preprocess/samples/multiple-preprocessors/_config.js diff --git a/test/preprocess/samples/multiple-preprocessors/input.svelte b/packages/svelte/test/preprocess/samples/multiple-preprocessors/input.svelte similarity index 100% rename from test/preprocess/samples/multiple-preprocessors/input.svelte rename to packages/svelte/test/preprocess/samples/multiple-preprocessors/input.svelte diff --git a/test/preprocess/samples/multiple-preprocessors/output.svelte b/packages/svelte/test/preprocess/samples/multiple-preprocessors/output.svelte similarity index 100% rename from test/preprocess/samples/multiple-preprocessors/output.svelte rename to packages/svelte/test/preprocess/samples/multiple-preprocessors/output.svelte diff --git a/test/preprocess/samples/partial-names/_config.js b/packages/svelte/test/preprocess/samples/partial-names/_config.js similarity index 100% rename from test/preprocess/samples/partial-names/_config.js rename to packages/svelte/test/preprocess/samples/partial-names/_config.js diff --git a/test/preprocess/samples/partial-names/input.svelte b/packages/svelte/test/preprocess/samples/partial-names/input.svelte similarity index 100% rename from test/preprocess/samples/partial-names/input.svelte rename to packages/svelte/test/preprocess/samples/partial-names/input.svelte diff --git a/test/preprocess/samples/partial-names/output.svelte b/packages/svelte/test/preprocess/samples/partial-names/output.svelte similarity index 100% rename from test/preprocess/samples/partial-names/output.svelte rename to packages/svelte/test/preprocess/samples/partial-names/output.svelte diff --git a/test/preprocess/samples/script-multiple/_config.js b/packages/svelte/test/preprocess/samples/script-multiple/_config.js similarity index 100% rename from test/preprocess/samples/script-multiple/_config.js rename to packages/svelte/test/preprocess/samples/script-multiple/_config.js diff --git a/test/preprocess/samples/script-multiple/input.svelte b/packages/svelte/test/preprocess/samples/script-multiple/input.svelte similarity index 100% rename from test/preprocess/samples/script-multiple/input.svelte rename to packages/svelte/test/preprocess/samples/script-multiple/input.svelte diff --git a/test/preprocess/samples/script-multiple/output.svelte b/packages/svelte/test/preprocess/samples/script-multiple/output.svelte similarity index 100% rename from test/preprocess/samples/script-multiple/output.svelte rename to packages/svelte/test/preprocess/samples/script-multiple/output.svelte diff --git a/test/preprocess/samples/script-self-closing/_config.js b/packages/svelte/test/preprocess/samples/script-self-closing/_config.js similarity index 100% rename from test/preprocess/samples/script-self-closing/_config.js rename to packages/svelte/test/preprocess/samples/script-self-closing/_config.js diff --git a/test/preprocess/samples/script-self-closing/input.svelte b/packages/svelte/test/preprocess/samples/script-self-closing/input.svelte similarity index 100% rename from test/preprocess/samples/script-self-closing/input.svelte rename to packages/svelte/test/preprocess/samples/script-self-closing/input.svelte diff --git a/test/preprocess/samples/script-self-closing/output.svelte b/packages/svelte/test/preprocess/samples/script-self-closing/output.svelte similarity index 100% rename from test/preprocess/samples/script-self-closing/output.svelte rename to packages/svelte/test/preprocess/samples/script-self-closing/output.svelte diff --git a/test/preprocess/samples/script/_config.js b/packages/svelte/test/preprocess/samples/script/_config.js similarity index 100% rename from test/preprocess/samples/script/_config.js rename to packages/svelte/test/preprocess/samples/script/_config.js diff --git a/test/preprocess/samples/script/expected_map.json b/packages/svelte/test/preprocess/samples/script/expected_map.json similarity index 100% rename from test/preprocess/samples/script/expected_map.json rename to packages/svelte/test/preprocess/samples/script/expected_map.json diff --git a/test/preprocess/samples/script/input.svelte b/packages/svelte/test/preprocess/samples/script/input.svelte similarity index 100% rename from test/preprocess/samples/script/input.svelte rename to packages/svelte/test/preprocess/samples/script/input.svelte diff --git a/test/preprocess/samples/script/output.svelte b/packages/svelte/test/preprocess/samples/script/output.svelte similarity index 100% rename from test/preprocess/samples/script/output.svelte rename to packages/svelte/test/preprocess/samples/script/output.svelte diff --git a/test/preprocess/samples/style-async/_config.js b/packages/svelte/test/preprocess/samples/style-async/_config.js similarity index 100% rename from test/preprocess/samples/style-async/_config.js rename to packages/svelte/test/preprocess/samples/style-async/_config.js diff --git a/test/preprocess/samples/style-async/input.svelte b/packages/svelte/test/preprocess/samples/style-async/input.svelte similarity index 100% rename from test/preprocess/samples/style-async/input.svelte rename to packages/svelte/test/preprocess/samples/style-async/input.svelte diff --git a/test/preprocess/samples/style-async/output.svelte b/packages/svelte/test/preprocess/samples/style-async/output.svelte similarity index 100% rename from test/preprocess/samples/style-async/output.svelte rename to packages/svelte/test/preprocess/samples/style-async/output.svelte diff --git a/test/preprocess/samples/style-attributes-modified-longer/_config.js b/packages/svelte/test/preprocess/samples/style-attributes-modified-longer/_config.js similarity index 100% rename from test/preprocess/samples/style-attributes-modified-longer/_config.js rename to packages/svelte/test/preprocess/samples/style-attributes-modified-longer/_config.js diff --git a/test/preprocess/samples/style-attributes-modified-longer/expected_map.json b/packages/svelte/test/preprocess/samples/style-attributes-modified-longer/expected_map.json similarity index 100% rename from test/preprocess/samples/style-attributes-modified-longer/expected_map.json rename to packages/svelte/test/preprocess/samples/style-attributes-modified-longer/expected_map.json diff --git a/test/preprocess/samples/style-attributes-modified-longer/input.svelte b/packages/svelte/test/preprocess/samples/style-attributes-modified-longer/input.svelte similarity index 100% rename from test/preprocess/samples/style-attributes-modified-longer/input.svelte rename to packages/svelte/test/preprocess/samples/style-attributes-modified-longer/input.svelte diff --git a/test/preprocess/samples/style-attributes-modified-longer/output.svelte b/packages/svelte/test/preprocess/samples/style-attributes-modified-longer/output.svelte similarity index 100% rename from test/preprocess/samples/style-attributes-modified-longer/output.svelte rename to packages/svelte/test/preprocess/samples/style-attributes-modified-longer/output.svelte diff --git a/test/preprocess/samples/style-attributes-modified/_config.js b/packages/svelte/test/preprocess/samples/style-attributes-modified/_config.js similarity index 100% rename from test/preprocess/samples/style-attributes-modified/_config.js rename to packages/svelte/test/preprocess/samples/style-attributes-modified/_config.js diff --git a/test/preprocess/samples/style-attributes-modified/expected_map.json b/packages/svelte/test/preprocess/samples/style-attributes-modified/expected_map.json similarity index 100% rename from test/preprocess/samples/style-attributes-modified/expected_map.json rename to packages/svelte/test/preprocess/samples/style-attributes-modified/expected_map.json diff --git a/test/preprocess/samples/style-attributes-modified/input.svelte b/packages/svelte/test/preprocess/samples/style-attributes-modified/input.svelte similarity index 100% rename from test/preprocess/samples/style-attributes-modified/input.svelte rename to packages/svelte/test/preprocess/samples/style-attributes-modified/input.svelte diff --git a/test/preprocess/samples/style-attributes-modified/output.svelte b/packages/svelte/test/preprocess/samples/style-attributes-modified/output.svelte similarity index 100% rename from test/preprocess/samples/style-attributes-modified/output.svelte rename to packages/svelte/test/preprocess/samples/style-attributes-modified/output.svelte diff --git a/test/preprocess/samples/style-attributes/_config.js b/packages/svelte/test/preprocess/samples/style-attributes/_config.js similarity index 100% rename from test/preprocess/samples/style-attributes/_config.js rename to packages/svelte/test/preprocess/samples/style-attributes/_config.js diff --git a/test/preprocess/samples/style-attributes/expected_map.json b/packages/svelte/test/preprocess/samples/style-attributes/expected_map.json similarity index 100% rename from test/preprocess/samples/style-attributes/expected_map.json rename to packages/svelte/test/preprocess/samples/style-attributes/expected_map.json diff --git a/test/preprocess/samples/style-attributes/input.svelte b/packages/svelte/test/preprocess/samples/style-attributes/input.svelte similarity index 100% rename from test/preprocess/samples/style-attributes/input.svelte rename to packages/svelte/test/preprocess/samples/style-attributes/input.svelte diff --git a/test/preprocess/samples/style-attributes/output.svelte b/packages/svelte/test/preprocess/samples/style-attributes/output.svelte similarity index 100% rename from test/preprocess/samples/style-attributes/output.svelte rename to packages/svelte/test/preprocess/samples/style-attributes/output.svelte diff --git a/test/preprocess/samples/style-self-closing/_config.js b/packages/svelte/test/preprocess/samples/style-self-closing/_config.js similarity index 100% rename from test/preprocess/samples/style-self-closing/_config.js rename to packages/svelte/test/preprocess/samples/style-self-closing/_config.js diff --git a/test/preprocess/samples/style-self-closing/input.svelte b/packages/svelte/test/preprocess/samples/style-self-closing/input.svelte similarity index 100% rename from test/preprocess/samples/style-self-closing/input.svelte rename to packages/svelte/test/preprocess/samples/style-self-closing/input.svelte diff --git a/test/preprocess/samples/style-self-closing/output.svelte b/packages/svelte/test/preprocess/samples/style-self-closing/output.svelte similarity index 100% rename from test/preprocess/samples/style-self-closing/output.svelte rename to packages/svelte/test/preprocess/samples/style-self-closing/output.svelte diff --git a/test/preprocess/samples/style/_config.js b/packages/svelte/test/preprocess/samples/style/_config.js similarity index 100% rename from test/preprocess/samples/style/_config.js rename to packages/svelte/test/preprocess/samples/style/_config.js diff --git a/test/preprocess/samples/style/input.svelte b/packages/svelte/test/preprocess/samples/style/input.svelte similarity index 100% rename from test/preprocess/samples/style/input.svelte rename to packages/svelte/test/preprocess/samples/style/input.svelte diff --git a/test/preprocess/samples/style/output.svelte b/packages/svelte/test/preprocess/samples/style/output.svelte similarity index 100% rename from test/preprocess/samples/style/output.svelte rename to packages/svelte/test/preprocess/samples/style/output.svelte diff --git a/test/runtime-browser/assert.js b/packages/svelte/test/runtime-browser/assert.js similarity index 100% rename from test/runtime-browser/assert.js rename to packages/svelte/test/runtime-browser/assert.js diff --git a/test/runtime-browser/browser.test.js b/packages/svelte/test/runtime-browser/browser.test.js similarity index 100% rename from test/runtime-browser/browser.test.js rename to packages/svelte/test/runtime-browser/browser.test.js diff --git a/test/runtime-browser/custom-elements-samples/$$props/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/$$props/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/$$props/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/$$props/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/$$props/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/$$props/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/$$props/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/$$props/test.js diff --git a/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/my-widget.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/my-widget.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/my-widget.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/my-widget.svelte diff --git a/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/$$slot-dynamic-content/test.js diff --git a/test/runtime-browser/custom-elements-samples/$$slot/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/$$slot/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/$$slot/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/$$slot/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/$$slot/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/$$slot/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/$$slot/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/$$slot/test.js diff --git a/test/runtime-browser/custom-elements-samples/action/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/action/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/action/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/action/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/action/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/action/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/action/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/action/test.js diff --git a/test/runtime-browser/custom-elements-samples/camel-case-attribute/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/camel-case-attribute/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/camel-case-attribute/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/camel-case-attribute/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/camel-case-attribute/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/camel-case-attribute/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/camel-case-attribute/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/camel-case-attribute/test.js diff --git a/test/runtime-browser/custom-elements-samples/ce-options-valid/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/ce-options-valid/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/ce-options-valid/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/ce-options-valid/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/ce-options-valid/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/ce-options-valid/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/ce-options-valid/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/ce-options-valid/test.js diff --git a/test/runtime-browser/custom-elements-samples/custom-method/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/custom-method/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/custom-method/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/custom-method/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/custom-method/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/custom-method/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/custom-method/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/custom-method/test.js diff --git a/test/runtime-browser/custom-elements-samples/escaped-css/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/escaped-css/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/escaped-css/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/escaped-css/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/escaped-css/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/escaped-css/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/escaped-css/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/escaped-css/test.js diff --git a/test/runtime-browser/custom-elements-samples/events/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/events/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/events/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/events/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/events/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/events/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/events/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/events/test.js diff --git a/test/runtime-browser/custom-elements-samples/extended-builtin/_config.js b/packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/_config.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/extended-builtin/_config.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/_config.js diff --git a/test/runtime-browser/custom-elements-samples/extended-builtin/custom-button.js b/packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/custom-button.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/extended-builtin/custom-button.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/custom-button.js diff --git a/test/runtime-browser/custom-elements-samples/extended-builtin/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/extended-builtin/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/extended-builtin/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/extended-builtin/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/extended-builtin/test.js diff --git a/test/runtime-browser/custom-elements-samples/html-slots/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/html-slots/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/html-slots/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/html-slots/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/html-slots/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/html-slots/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/html-slots/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/html-slots/test.js diff --git a/test/runtime-browser/custom-elements-samples/html/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/html/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/html/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/html/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/html/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/html/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/html/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/html/test.js diff --git a/test/runtime-browser/custom-elements-samples/nested/Counter.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/nested/Counter.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/nested/Counter.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/nested/Counter.svelte diff --git a/test/runtime-browser/custom-elements-samples/nested/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/nested/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/nested/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/nested/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/nested/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/nested/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/nested/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/nested/test.js diff --git a/test/runtime-browser/custom-elements-samples/new-styled/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/new-styled/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/new-styled/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/new-styled/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/new-styled/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/new-styled/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/new-styled/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/new-styled/test.js diff --git a/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/_config.js b/packages/svelte/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/_config.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/_config.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/_config.js diff --git a/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-missing-prop-warnings/test.js diff --git a/test/runtime-browser/custom-elements-samples/no-shadow-dom/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/no-shadow-dom/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-shadow-dom/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-shadow-dom/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/no-shadow-dom/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/no-shadow-dom/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-shadow-dom/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-shadow-dom/test.js diff --git a/test/runtime-browser/custom-elements-samples/no-tag/_config.js b/packages/svelte/test/runtime-browser/custom-elements-samples/no-tag/_config.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-tag/_config.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-tag/_config.js diff --git a/test/runtime-browser/custom-elements-samples/no-tag/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/no-tag/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-tag/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-tag/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/no-tag/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/no-tag/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/no-tag/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/no-tag/test.js diff --git a/test/runtime-browser/custom-elements-samples/oncreate/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/oncreate/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/oncreate/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/oncreate/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/oncreate/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/oncreate/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/oncreate/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/oncreate/test.js diff --git a/test/runtime-browser/custom-elements-samples/ondestroy/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/ondestroy/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/ondestroy/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/ondestroy/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/ondestroy/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/ondestroy/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/ondestroy/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/ondestroy/test.js diff --git a/test/runtime-browser/custom-elements-samples/props/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/props/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/props/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/props/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/props/my-widget.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/props/my-widget.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/props/my-widget.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/props/my-widget.svelte diff --git a/test/runtime-browser/custom-elements-samples/props/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/props/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/props/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/props/test.js diff --git a/test/runtime-browser/custom-elements-samples/reflect-attributes/main.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/reflect-attributes/main.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/reflect-attributes/main.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/reflect-attributes/main.svelte diff --git a/test/runtime-browser/custom-elements-samples/reflect-attributes/my-widget.svelte b/packages/svelte/test/runtime-browser/custom-elements-samples/reflect-attributes/my-widget.svelte similarity index 100% rename from test/runtime-browser/custom-elements-samples/reflect-attributes/my-widget.svelte rename to packages/svelte/test/runtime-browser/custom-elements-samples/reflect-attributes/my-widget.svelte diff --git a/test/runtime-browser/custom-elements-samples/reflect-attributes/test.js b/packages/svelte/test/runtime-browser/custom-elements-samples/reflect-attributes/test.js similarity index 100% rename from test/runtime-browser/custom-elements-samples/reflect-attributes/test.js rename to packages/svelte/test/runtime-browser/custom-elements-samples/reflect-attributes/test.js diff --git a/test/runtime-browser/driver.js b/packages/svelte/test/runtime-browser/driver.js similarity index 100% rename from test/runtime-browser/driver.js rename to packages/svelte/test/runtime-browser/driver.js diff --git a/test/runtime-browser/samples/binding-width-height-initialize/_config.js b/packages/svelte/test/runtime-browser/samples/binding-width-height-initialize/_config.js similarity index 100% rename from test/runtime-browser/samples/binding-width-height-initialize/_config.js rename to packages/svelte/test/runtime-browser/samples/binding-width-height-initialize/_config.js diff --git a/test/runtime-browser/samples/binding-width-height-initialize/main.svelte b/packages/svelte/test/runtime-browser/samples/binding-width-height-initialize/main.svelte similarity index 100% rename from test/runtime-browser/samples/binding-width-height-initialize/main.svelte rename to packages/svelte/test/runtime-browser/samples/binding-width-height-initialize/main.svelte diff --git a/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/Svg.svelte b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/Svg.svelte similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/Svg.svelte rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/Svg.svelte diff --git a/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/_config.js b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/_config.js similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/_config.js rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/_config.js diff --git a/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/main.svelte b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/main.svelte similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/main.svelte rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic-svg/main.svelte diff --git a/test/runtime-browser/samples/component-css-custom-properties-dynamic/Slider.svelte b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic/Slider.svelte similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties-dynamic/Slider.svelte rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic/Slider.svelte diff --git a/test/runtime-browser/samples/component-css-custom-properties-dynamic/_config.js b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic/_config.js similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties-dynamic/_config.js rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic/_config.js diff --git a/test/runtime-browser/samples/component-css-custom-properties-dynamic/main.svelte b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic/main.svelte similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties-dynamic/main.svelte rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties-dynamic/main.svelte diff --git a/test/runtime-browser/samples/component-css-custom-properties/Slider.svelte b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties/Slider.svelte similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties/Slider.svelte rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties/Slider.svelte diff --git a/test/runtime-browser/samples/component-css-custom-properties/_config.js b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties/_config.js similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties/_config.js rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties/_config.js diff --git a/test/runtime-browser/samples/component-css-custom-properties/main.svelte b/packages/svelte/test/runtime-browser/samples/component-css-custom-properties/main.svelte similarity index 100% rename from test/runtime-browser/samples/component-css-custom-properties/main.svelte rename to packages/svelte/test/runtime-browser/samples/component-css-custom-properties/main.svelte diff --git a/test/runtime-browser/samples/component-event-handler-contenteditable-false/_config.js b/packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-false/_config.js similarity index 100% rename from test/runtime-browser/samples/component-event-handler-contenteditable-false/_config.js rename to packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-false/_config.js diff --git a/test/runtime-browser/samples/component-event-handler-contenteditable-false/main.svelte b/packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-false/main.svelte similarity index 100% rename from test/runtime-browser/samples/component-event-handler-contenteditable-false/main.svelte rename to packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-false/main.svelte diff --git a/test/runtime-browser/samples/component-event-handler-contenteditable-spread/_config.js b/packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-spread/_config.js similarity index 100% rename from test/runtime-browser/samples/component-event-handler-contenteditable-spread/_config.js rename to packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-spread/_config.js diff --git a/test/runtime-browser/samples/component-event-handler-contenteditable-spread/main.svelte b/packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-spread/main.svelte similarity index 100% rename from test/runtime-browser/samples/component-event-handler-contenteditable-spread/main.svelte rename to packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable-spread/main.svelte diff --git a/test/runtime-browser/samples/component-event-handler-contenteditable/_config.js b/packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable/_config.js similarity index 100% rename from test/runtime-browser/samples/component-event-handler-contenteditable/_config.js rename to packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable/_config.js diff --git a/test/runtime-browser/samples/component-event-handler-contenteditable/main.svelte b/packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable/main.svelte similarity index 100% rename from test/runtime-browser/samples/component-event-handler-contenteditable/main.svelte rename to packages/svelte/test/runtime-browser/samples/component-event-handler-contenteditable/main.svelte diff --git a/test/runtime-browser/samples/dynamic-element-custom-element/_config.js b/packages/svelte/test/runtime-browser/samples/dynamic-element-custom-element/_config.js similarity index 100% rename from test/runtime-browser/samples/dynamic-element-custom-element/_config.js rename to packages/svelte/test/runtime-browser/samples/dynamic-element-custom-element/_config.js diff --git a/test/runtime-browser/samples/dynamic-element-custom-element/main.svelte b/packages/svelte/test/runtime-browser/samples/dynamic-element-custom-element/main.svelte similarity index 100% rename from test/runtime-browser/samples/dynamic-element-custom-element/main.svelte rename to packages/svelte/test/runtime-browser/samples/dynamic-element-custom-element/main.svelte diff --git a/test/runtime-browser/samples/inline-style-directive-important/_config.js b/packages/svelte/test/runtime-browser/samples/inline-style-directive-important/_config.js similarity index 100% rename from test/runtime-browser/samples/inline-style-directive-important/_config.js rename to packages/svelte/test/runtime-browser/samples/inline-style-directive-important/_config.js diff --git a/test/runtime-browser/samples/inline-style-directive-important/main.svelte b/packages/svelte/test/runtime-browser/samples/inline-style-directive-important/main.svelte similarity index 100% rename from test/runtime-browser/samples/inline-style-directive-important/main.svelte rename to packages/svelte/test/runtime-browser/samples/inline-style-directive-important/main.svelte diff --git a/test/runtime-browser/samples/inline-style-directive-precedence/_config.js b/packages/svelte/test/runtime-browser/samples/inline-style-directive-precedence/_config.js similarity index 100% rename from test/runtime-browser/samples/inline-style-directive-precedence/_config.js rename to packages/svelte/test/runtime-browser/samples/inline-style-directive-precedence/_config.js diff --git a/test/runtime-browser/samples/inline-style-directive-precedence/main.svelte b/packages/svelte/test/runtime-browser/samples/inline-style-directive-precedence/main.svelte similarity index 100% rename from test/runtime-browser/samples/inline-style-directive-precedence/main.svelte rename to packages/svelte/test/runtime-browser/samples/inline-style-directive-precedence/main.svelte diff --git a/test/runtime-browser/samples/inline-style-directive-update-with-spread/_config.js b/packages/svelte/test/runtime-browser/samples/inline-style-directive-update-with-spread/_config.js similarity index 100% rename from test/runtime-browser/samples/inline-style-directive-update-with-spread/_config.js rename to packages/svelte/test/runtime-browser/samples/inline-style-directive-update-with-spread/_config.js diff --git a/test/runtime-browser/samples/inline-style-directive-update-with-spread/main.svelte b/packages/svelte/test/runtime-browser/samples/inline-style-directive-update-with-spread/main.svelte similarity index 100% rename from test/runtime-browser/samples/inline-style-directive-update-with-spread/main.svelte rename to packages/svelte/test/runtime-browser/samples/inline-style-directive-update-with-spread/main.svelte diff --git a/test/runtime-browser/samples/style_manager-cleanup/_config.js b/packages/svelte/test/runtime-browser/samples/style_manager-cleanup/_config.js similarity index 100% rename from test/runtime-browser/samples/style_manager-cleanup/_config.js rename to packages/svelte/test/runtime-browser/samples/style_manager-cleanup/_config.js diff --git a/test/runtime-browser/samples/style_manager-cleanup/main.svelte b/packages/svelte/test/runtime-browser/samples/style_manager-cleanup/main.svelte similarity index 100% rename from test/runtime-browser/samples/style_manager-cleanup/main.svelte rename to packages/svelte/test/runtime-browser/samples/style_manager-cleanup/main.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/Slider.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/Slider.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/Slider.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/Slider.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/_config.js b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/_config.js similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/_config.js rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/_config.js diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/main.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/main.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/main.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties-dynamic/main.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties/Slider1.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/Slider1.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties/Slider1.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/Slider1.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties/Slider2.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/Slider2.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties/Slider2.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/Slider2.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties/_config.js b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/_config.js similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties/_config.js rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/_config.js diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties/main.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/main.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties/main.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties/main.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider1.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider1.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider1.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider1.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider2.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider2.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider2.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/Slider2.svelte diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties2/_config.js b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/_config.js similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties2/_config.js rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/_config.js diff --git a/test/runtime-browser/samples/svelte-component-css-custom-properties2/main.svelte b/packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/main.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-component-css-custom-properties2/main.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-component-css-custom-properties2/main.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/Slider.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/Slider.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/Slider.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/Slider.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/_config.js b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/_config.js similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/_config.js rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/_config.js diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/main.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/main.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/main.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties-dynamic/main.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties/Slider1.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/Slider1.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties/Slider1.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/Slider1.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties/Slider2.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/Slider2.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties/Slider2.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/Slider2.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties/_config.js b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/_config.js similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties/_config.js rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/_config.js diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties/main.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/main.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties/main.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties/main.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider1.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider1.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider1.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider1.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider2.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider2.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider2.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/Slider2.svelte diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties2/_config.js b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/_config.js similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties2/_config.js rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/_config.js diff --git a/test/runtime-browser/samples/svelte-self-css-custom-properties2/main.svelte b/packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/main.svelte similarity index 100% rename from test/runtime-browser/samples/svelte-self-css-custom-properties2/main.svelte rename to packages/svelte/test/runtime-browser/samples/svelte-self-css-custom-properties2/main.svelte diff --git a/test/runtime-browser/samples/transition-css-out-in/_config.js b/packages/svelte/test/runtime-browser/samples/transition-css-out-in/_config.js similarity index 100% rename from test/runtime-browser/samples/transition-css-out-in/_config.js rename to packages/svelte/test/runtime-browser/samples/transition-css-out-in/_config.js diff --git a/test/runtime-browser/samples/transition-css-out-in/main.svelte b/packages/svelte/test/runtime-browser/samples/transition-css-out-in/main.svelte similarity index 100% rename from test/runtime-browser/samples/transition-css-out-in/main.svelte rename to packages/svelte/test/runtime-browser/samples/transition-css-out-in/main.svelte diff --git a/test/runtime/App.svelte b/packages/svelte/test/runtime/App.svelte similarity index 100% rename from test/runtime/App.svelte rename to packages/svelte/test/runtime/App.svelte diff --git a/test/runtime/runtime.shared.js b/packages/svelte/test/runtime/runtime.shared.js similarity index 98% rename from test/runtime/runtime.shared.js rename to packages/svelte/test/runtime/runtime.shared.js index 0d317fb360..b02dfb81ff 100644 --- a/test/runtime/runtime.shared.js +++ b/packages/svelte/test/runtime/runtime.shared.js @@ -214,7 +214,7 @@ async function run_test(dir) { const dir = `${cwd}/_output/${hydrate ? 'hydratable' : 'normal'}`; const out = `${dir}/${file.replace(/\.svelte$/, '.js')}`; - mkdirp(dir); + mkdirp(path.dirname(out)); // file could be in subdirectory, therefore don't use dir const { js } = compile(fs.readFileSync(`${cwd}/${file}`, 'utf-8').replace(/\r/g, ''), { ...compileOptions, diff --git a/test/runtime/runtime_base.test.js b/packages/svelte/test/runtime/runtime_base.test.js similarity index 100% rename from test/runtime/runtime_base.test.js rename to packages/svelte/test/runtime/runtime_base.test.js diff --git a/test/runtime/samples/$$rest-without-props/App.svelte b/packages/svelte/test/runtime/samples/$$rest-without-props/App.svelte similarity index 100% rename from test/runtime/samples/$$rest-without-props/App.svelte rename to packages/svelte/test/runtime/samples/$$rest-without-props/App.svelte diff --git a/test/runtime/samples/$$rest-without-props/_config.js b/packages/svelte/test/runtime/samples/$$rest-without-props/_config.js similarity index 100% rename from test/runtime/samples/$$rest-without-props/_config.js rename to packages/svelte/test/runtime/samples/$$rest-without-props/_config.js diff --git a/test/runtime/samples/$$rest-without-props/main.svelte b/packages/svelte/test/runtime/samples/$$rest-without-props/main.svelte similarity index 100% rename from test/runtime/samples/$$rest-without-props/main.svelte rename to packages/svelte/test/runtime/samples/$$rest-without-props/main.svelte diff --git a/test/runtime/samples/$$rest/App.svelte b/packages/svelte/test/runtime/samples/$$rest/App.svelte similarity index 100% rename from test/runtime/samples/$$rest/App.svelte rename to packages/svelte/test/runtime/samples/$$rest/App.svelte diff --git a/test/runtime/samples/$$rest/_config.js b/packages/svelte/test/runtime/samples/$$rest/_config.js similarity index 100% rename from test/runtime/samples/$$rest/_config.js rename to packages/svelte/test/runtime/samples/$$rest/_config.js diff --git a/test/runtime/samples/$$rest/main.svelte b/packages/svelte/test/runtime/samples/$$rest/main.svelte similarity index 100% rename from test/runtime/samples/$$rest/main.svelte rename to packages/svelte/test/runtime/samples/$$rest/main.svelte diff --git a/test/runtime/samples/$$slot/A.svelte b/packages/svelte/test/runtime/samples/$$slot/A.svelte similarity index 100% rename from test/runtime/samples/$$slot/A.svelte rename to packages/svelte/test/runtime/samples/$$slot/A.svelte diff --git a/test/runtime/samples/$$slot/_config.js b/packages/svelte/test/runtime/samples/$$slot/_config.js similarity index 100% rename from test/runtime/samples/$$slot/_config.js rename to packages/svelte/test/runtime/samples/$$slot/_config.js diff --git a/test/runtime/samples/$$slot/main.svelte b/packages/svelte/test/runtime/samples/$$slot/main.svelte similarity index 100% rename from test/runtime/samples/$$slot/main.svelte rename to packages/svelte/test/runtime/samples/$$slot/main.svelte diff --git a/test/runtime/samples/action-body/_config.js b/packages/svelte/test/runtime/samples/action-body/_config.js similarity index 100% rename from test/runtime/samples/action-body/_config.js rename to packages/svelte/test/runtime/samples/action-body/_config.js diff --git a/test/runtime/samples/action-body/main.svelte b/packages/svelte/test/runtime/samples/action-body/main.svelte similarity index 100% rename from test/runtime/samples/action-body/main.svelte rename to packages/svelte/test/runtime/samples/action-body/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-in-each-destructured/_config.js b/packages/svelte/test/runtime/samples/action-custom-event-handler-in-each-destructured/_config.js similarity index 100% rename from test/runtime/samples/action-custom-event-handler-in-each-destructured/_config.js rename to packages/svelte/test/runtime/samples/action-custom-event-handler-in-each-destructured/_config.js diff --git a/test/runtime/samples/action-custom-event-handler-in-each-destructured/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/action-custom-event-handler-in-each-destructured/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-in-each/_config.js b/packages/svelte/test/runtime/samples/action-custom-event-handler-in-each/_config.js similarity index 100% rename from test/runtime/samples/action-custom-event-handler-in-each/_config.js rename to packages/svelte/test/runtime/samples/action-custom-event-handler-in-each/_config.js diff --git a/test/runtime/samples/action-custom-event-handler-in-each/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/action-custom-event-handler-in-each/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-node-context/_config.js b/packages/svelte/test/runtime/samples/action-custom-event-handler-node-context/_config.js similarity index 100% rename from test/runtime/samples/action-custom-event-handler-node-context/_config.js rename to packages/svelte/test/runtime/samples/action-custom-event-handler-node-context/_config.js diff --git a/test/runtime/samples/action-custom-event-handler-node-context/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/action-custom-event-handler-node-context/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-this/_config.js b/packages/svelte/test/runtime/samples/action-custom-event-handler-this/_config.js similarity index 100% rename from test/runtime/samples/action-custom-event-handler-this/_config.js rename to packages/svelte/test/runtime/samples/action-custom-event-handler-this/_config.js diff --git a/test/runtime/samples/action-custom-event-handler-this/main.svelte b/packages/svelte/test/runtime/samples/action-custom-event-handler-this/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler-this/main.svelte rename to packages/svelte/test/runtime/samples/action-custom-event-handler-this/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler-with-context/_config.js b/packages/svelte/test/runtime/samples/action-custom-event-handler-with-context/_config.js similarity index 100% rename from test/runtime/samples/action-custom-event-handler-with-context/_config.js rename to packages/svelte/test/runtime/samples/action-custom-event-handler-with-context/_config.js diff --git a/test/runtime/samples/action-custom-event-handler-with-context/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/action-custom-event-handler-with-context/main.svelte diff --git a/test/runtime/samples/action-custom-event-handler/_config.js b/packages/svelte/test/runtime/samples/action-custom-event-handler/_config.js similarity index 100% rename from test/runtime/samples/action-custom-event-handler/_config.js rename to packages/svelte/test/runtime/samples/action-custom-event-handler/_config.js diff --git a/test/runtime/samples/action-custom-event-handler/main.svelte b/packages/svelte/test/runtime/samples/action-custom-event-handler/main.svelte similarity index 100% rename from test/runtime/samples/action-custom-event-handler/main.svelte rename to packages/svelte/test/runtime/samples/action-custom-event-handler/main.svelte diff --git a/test/runtime/samples/action-document/_config.js b/packages/svelte/test/runtime/samples/action-document/_config.js similarity index 100% rename from test/runtime/samples/action-document/_config.js rename to packages/svelte/test/runtime/samples/action-document/_config.js diff --git a/test/runtime/samples/action-document/main.svelte b/packages/svelte/test/runtime/samples/action-document/main.svelte similarity index 100% rename from test/runtime/samples/action-document/main.svelte rename to packages/svelte/test/runtime/samples/action-document/main.svelte diff --git a/test/runtime/samples/action-function/_config.js b/packages/svelte/test/runtime/samples/action-function/_config.js similarity index 100% rename from test/runtime/samples/action-function/_config.js rename to packages/svelte/test/runtime/samples/action-function/_config.js diff --git a/test/runtime/samples/action-function/main.svelte b/packages/svelte/test/runtime/samples/action-function/main.svelte similarity index 100% rename from test/runtime/samples/action-function/main.svelte rename to packages/svelte/test/runtime/samples/action-function/main.svelte diff --git a/test/runtime/samples/action-object-deep/_config.js b/packages/svelte/test/runtime/samples/action-object-deep/_config.js similarity index 100% rename from test/runtime/samples/action-object-deep/_config.js rename to packages/svelte/test/runtime/samples/action-object-deep/_config.js diff --git a/test/runtime/samples/action-object-deep/main.svelte b/packages/svelte/test/runtime/samples/action-object-deep/main.svelte similarity index 100% rename from test/runtime/samples/action-object-deep/main.svelte rename to packages/svelte/test/runtime/samples/action-object-deep/main.svelte diff --git a/test/runtime/samples/action-object/_config.js b/packages/svelte/test/runtime/samples/action-object/_config.js similarity index 100% rename from test/runtime/samples/action-object/_config.js rename to packages/svelte/test/runtime/samples/action-object/_config.js diff --git a/test/runtime/samples/action-object/main.svelte b/packages/svelte/test/runtime/samples/action-object/main.svelte similarity index 100% rename from test/runtime/samples/action-object/main.svelte rename to packages/svelte/test/runtime/samples/action-object/main.svelte diff --git a/test/runtime/samples/action-receives-element-mounted/_config.js b/packages/svelte/test/runtime/samples/action-receives-element-mounted/_config.js similarity index 100% rename from test/runtime/samples/action-receives-element-mounted/_config.js rename to packages/svelte/test/runtime/samples/action-receives-element-mounted/_config.js diff --git a/test/runtime/samples/action-receives-element-mounted/main.svelte b/packages/svelte/test/runtime/samples/action-receives-element-mounted/main.svelte similarity index 100% rename from test/runtime/samples/action-receives-element-mounted/main.svelte rename to packages/svelte/test/runtime/samples/action-receives-element-mounted/main.svelte diff --git a/test/runtime/samples/action-ternary-template/_config.js b/packages/svelte/test/runtime/samples/action-ternary-template/_config.js similarity index 100% rename from test/runtime/samples/action-ternary-template/_config.js rename to packages/svelte/test/runtime/samples/action-ternary-template/_config.js diff --git a/test/runtime/samples/action-ternary-template/main.svelte b/packages/svelte/test/runtime/samples/action-ternary-template/main.svelte similarity index 100% rename from test/runtime/samples/action-ternary-template/main.svelte rename to packages/svelte/test/runtime/samples/action-ternary-template/main.svelte diff --git a/test/runtime/samples/action-this/_config.js b/packages/svelte/test/runtime/samples/action-this/_config.js similarity index 100% rename from test/runtime/samples/action-this/_config.js rename to packages/svelte/test/runtime/samples/action-this/_config.js diff --git a/test/runtime/samples/action-this/main.svelte b/packages/svelte/test/runtime/samples/action-this/main.svelte similarity index 100% rename from test/runtime/samples/action-this/main.svelte rename to packages/svelte/test/runtime/samples/action-this/main.svelte diff --git a/test/runtime/samples/action-update-before-destroy/Component.svelte b/packages/svelte/test/runtime/samples/action-update-before-destroy/Component.svelte similarity index 100% rename from test/runtime/samples/action-update-before-destroy/Component.svelte rename to packages/svelte/test/runtime/samples/action-update-before-destroy/Component.svelte diff --git a/test/runtime/samples/action-update-before-destroy/_config.js b/packages/svelte/test/runtime/samples/action-update-before-destroy/_config.js similarity index 100% rename from test/runtime/samples/action-update-before-destroy/_config.js rename to packages/svelte/test/runtime/samples/action-update-before-destroy/_config.js diff --git a/test/runtime/samples/action-update-before-destroy/main.svelte b/packages/svelte/test/runtime/samples/action-update-before-destroy/main.svelte similarity index 100% rename from test/runtime/samples/action-update-before-destroy/main.svelte rename to packages/svelte/test/runtime/samples/action-update-before-destroy/main.svelte diff --git a/test/runtime/samples/action-update/_config.js b/packages/svelte/test/runtime/samples/action-update/_config.js similarity index 100% rename from test/runtime/samples/action-update/_config.js rename to packages/svelte/test/runtime/samples/action-update/_config.js diff --git a/test/runtime/samples/action-update/main.svelte b/packages/svelte/test/runtime/samples/action-update/main.svelte similarity index 100% rename from test/runtime/samples/action-update/main.svelte rename to packages/svelte/test/runtime/samples/action-update/main.svelte diff --git a/test/runtime/samples/action/_config.js b/packages/svelte/test/runtime/samples/action/_config.js similarity index 100% rename from test/runtime/samples/action/_config.js rename to packages/svelte/test/runtime/samples/action/_config.js diff --git a/test/runtime/samples/action/main.svelte b/packages/svelte/test/runtime/samples/action/main.svelte similarity index 100% rename from test/runtime/samples/action/main.svelte rename to packages/svelte/test/runtime/samples/action/main.svelte diff --git a/test/runtime/samples/after-render-prevents-loop/_config.js b/packages/svelte/test/runtime/samples/after-render-prevents-loop/_config.js similarity index 100% rename from test/runtime/samples/after-render-prevents-loop/_config.js rename to packages/svelte/test/runtime/samples/after-render-prevents-loop/_config.js diff --git a/test/runtime/samples/after-render-prevents-loop/main.svelte b/packages/svelte/test/runtime/samples/after-render-prevents-loop/main.svelte similarity index 100% rename from test/runtime/samples/after-render-prevents-loop/main.svelte rename to packages/svelte/test/runtime/samples/after-render-prevents-loop/main.svelte diff --git a/test/runtime/samples/after-render-triggers-update/_config.js b/packages/svelte/test/runtime/samples/after-render-triggers-update/_config.js similarity index 100% rename from test/runtime/samples/after-render-triggers-update/_config.js rename to packages/svelte/test/runtime/samples/after-render-triggers-update/_config.js diff --git a/test/runtime/samples/after-render-triggers-update/main.svelte b/packages/svelte/test/runtime/samples/after-render-triggers-update/main.svelte similarity index 100% rename from test/runtime/samples/after-render-triggers-update/main.svelte rename to packages/svelte/test/runtime/samples/after-render-triggers-update/main.svelte diff --git a/test/runtime/samples/animation-css/_config.js b/packages/svelte/test/runtime/samples/animation-css/_config.js similarity index 100% rename from test/runtime/samples/animation-css/_config.js rename to packages/svelte/test/runtime/samples/animation-css/_config.js diff --git a/test/runtime/samples/animation-css/main.svelte b/packages/svelte/test/runtime/samples/animation-css/main.svelte similarity index 100% rename from test/runtime/samples/animation-css/main.svelte rename to packages/svelte/test/runtime/samples/animation-css/main.svelte diff --git a/test/runtime/samples/animation-js-delay/_config.js b/packages/svelte/test/runtime/samples/animation-js-delay/_config.js similarity index 100% rename from test/runtime/samples/animation-js-delay/_config.js rename to packages/svelte/test/runtime/samples/animation-js-delay/_config.js diff --git a/test/runtime/samples/animation-js-delay/main.svelte b/packages/svelte/test/runtime/samples/animation-js-delay/main.svelte similarity index 100% rename from test/runtime/samples/animation-js-delay/main.svelte rename to packages/svelte/test/runtime/samples/animation-js-delay/main.svelte diff --git a/test/runtime/samples/animation-js-easing/_config.js b/packages/svelte/test/runtime/samples/animation-js-easing/_config.js similarity index 100% rename from test/runtime/samples/animation-js-easing/_config.js rename to packages/svelte/test/runtime/samples/animation-js-easing/_config.js diff --git a/test/runtime/samples/animation-js-easing/main.svelte b/packages/svelte/test/runtime/samples/animation-js-easing/main.svelte similarity index 100% rename from test/runtime/samples/animation-js-easing/main.svelte rename to packages/svelte/test/runtime/samples/animation-js-easing/main.svelte diff --git a/test/runtime/samples/animation-js/_config.js b/packages/svelte/test/runtime/samples/animation-js/_config.js similarity index 100% rename from test/runtime/samples/animation-js/_config.js rename to packages/svelte/test/runtime/samples/animation-js/_config.js diff --git a/test/runtime/samples/animation-js/main.svelte b/packages/svelte/test/runtime/samples/animation-js/main.svelte similarity index 100% rename from test/runtime/samples/animation-js/main.svelte rename to packages/svelte/test/runtime/samples/animation-js/main.svelte diff --git a/test/runtime/samples/apply-directives-in-order-2/_config.js b/packages/svelte/test/runtime/samples/apply-directives-in-order-2/_config.js similarity index 100% rename from test/runtime/samples/apply-directives-in-order-2/_config.js rename to packages/svelte/test/runtime/samples/apply-directives-in-order-2/_config.js diff --git a/test/runtime/samples/apply-directives-in-order-2/main.svelte b/packages/svelte/test/runtime/samples/apply-directives-in-order-2/main.svelte similarity index 100% rename from test/runtime/samples/apply-directives-in-order-2/main.svelte rename to packages/svelte/test/runtime/samples/apply-directives-in-order-2/main.svelte diff --git a/test/runtime/samples/apply-directives-in-order/_config.js b/packages/svelte/test/runtime/samples/apply-directives-in-order/_config.js similarity index 100% rename from test/runtime/samples/apply-directives-in-order/_config.js rename to packages/svelte/test/runtime/samples/apply-directives-in-order/_config.js diff --git a/test/runtime/samples/apply-directives-in-order/main.svelte b/packages/svelte/test/runtime/samples/apply-directives-in-order/main.svelte similarity index 100% rename from test/runtime/samples/apply-directives-in-order/main.svelte rename to packages/svelte/test/runtime/samples/apply-directives-in-order/main.svelte diff --git a/test/runtime/samples/array-literal-spread-deopt/_config.js b/packages/svelte/test/runtime/samples/array-literal-spread-deopt/_config.js similarity index 100% rename from test/runtime/samples/array-literal-spread-deopt/_config.js rename to packages/svelte/test/runtime/samples/array-literal-spread-deopt/_config.js diff --git a/test/runtime/samples/array-literal-spread-deopt/main.svelte b/packages/svelte/test/runtime/samples/array-literal-spread-deopt/main.svelte similarity index 100% rename from test/runtime/samples/array-literal-spread-deopt/main.svelte rename to packages/svelte/test/runtime/samples/array-literal-spread-deopt/main.svelte diff --git a/test/runtime/samples/array-rest-is-array-or-object/_config.js b/packages/svelte/test/runtime/samples/array-rest-is-array-or-object/_config.js similarity index 100% rename from test/runtime/samples/array-rest-is-array-or-object/_config.js rename to packages/svelte/test/runtime/samples/array-rest-is-array-or-object/_config.js diff --git a/test/runtime/samples/array-rest-is-array-or-object/main.svelte b/packages/svelte/test/runtime/samples/array-rest-is-array-or-object/main.svelte similarity index 100% rename from test/runtime/samples/array-rest-is-array-or-object/main.svelte rename to packages/svelte/test/runtime/samples/array-rest-is-array-or-object/main.svelte diff --git a/test/runtime/samples/assignment-in-init/_config.js b/packages/svelte/test/runtime/samples/assignment-in-init/_config.js similarity index 100% rename from test/runtime/samples/assignment-in-init/_config.js rename to packages/svelte/test/runtime/samples/assignment-in-init/_config.js diff --git a/test/runtime/samples/assignment-in-init/main.svelte b/packages/svelte/test/runtime/samples/assignment-in-init/main.svelte similarity index 100% rename from test/runtime/samples/assignment-in-init/main.svelte rename to packages/svelte/test/runtime/samples/assignment-in-init/main.svelte diff --git a/test/runtime/samples/assignment-to-computed-property/_config.js b/packages/svelte/test/runtime/samples/assignment-to-computed-property/_config.js similarity index 100% rename from test/runtime/samples/assignment-to-computed-property/_config.js rename to packages/svelte/test/runtime/samples/assignment-to-computed-property/_config.js diff --git a/test/runtime/samples/assignment-to-computed-property/main.svelte b/packages/svelte/test/runtime/samples/assignment-to-computed-property/main.svelte similarity index 100% rename from test/runtime/samples/assignment-to-computed-property/main.svelte rename to packages/svelte/test/runtime/samples/assignment-to-computed-property/main.svelte diff --git a/test/runtime/samples/assignment-to-const1/_config.js b/packages/svelte/test/runtime/samples/assignment-to-const1/_config.js similarity index 100% rename from test/runtime/samples/assignment-to-const1/_config.js rename to packages/svelte/test/runtime/samples/assignment-to-const1/_config.js diff --git a/test/runtime/samples/assignment-to-const1/main.svelte b/packages/svelte/test/runtime/samples/assignment-to-const1/main.svelte similarity index 100% rename from test/runtime/samples/assignment-to-const1/main.svelte rename to packages/svelte/test/runtime/samples/assignment-to-const1/main.svelte diff --git a/test/runtime/samples/assignment-to-const2/_config.js b/packages/svelte/test/runtime/samples/assignment-to-const2/_config.js similarity index 100% rename from test/runtime/samples/assignment-to-const2/_config.js rename to packages/svelte/test/runtime/samples/assignment-to-const2/_config.js diff --git a/test/runtime/samples/assignment-to-const2/main.svelte b/packages/svelte/test/runtime/samples/assignment-to-const2/main.svelte similarity index 100% rename from test/runtime/samples/assignment-to-const2/main.svelte rename to packages/svelte/test/runtime/samples/assignment-to-const2/main.svelte diff --git a/test/runtime/samples/async-generator-object-methods/main.svelte b/packages/svelte/test/runtime/samples/async-generator-object-methods/main.svelte similarity index 100% rename from test/runtime/samples/async-generator-object-methods/main.svelte rename to packages/svelte/test/runtime/samples/async-generator-object-methods/main.svelte diff --git a/test/runtime/samples/attribute-boolean-case-insensitive/_config.js b/packages/svelte/test/runtime/samples/attribute-boolean-case-insensitive/_config.js similarity index 100% rename from test/runtime/samples/attribute-boolean-case-insensitive/_config.js rename to packages/svelte/test/runtime/samples/attribute-boolean-case-insensitive/_config.js diff --git a/test/runtime/samples/attribute-boolean-case-insensitive/main.svelte b/packages/svelte/test/runtime/samples/attribute-boolean-case-insensitive/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-case-insensitive/main.svelte rename to packages/svelte/test/runtime/samples/attribute-boolean-case-insensitive/main.svelte diff --git a/test/runtime/samples/attribute-boolean-false/_config.js b/packages/svelte/test/runtime/samples/attribute-boolean-false/_config.js similarity index 100% rename from test/runtime/samples/attribute-boolean-false/_config.js rename to packages/svelte/test/runtime/samples/attribute-boolean-false/_config.js diff --git a/test/runtime/samples/attribute-boolean-false/main.svelte b/packages/svelte/test/runtime/samples/attribute-boolean-false/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-false/main.svelte rename to packages/svelte/test/runtime/samples/attribute-boolean-false/main.svelte diff --git a/test/runtime/samples/attribute-boolean-hidden/_config.js b/packages/svelte/test/runtime/samples/attribute-boolean-hidden/_config.js similarity index 100% rename from test/runtime/samples/attribute-boolean-hidden/_config.js rename to packages/svelte/test/runtime/samples/attribute-boolean-hidden/_config.js diff --git a/test/runtime/samples/attribute-boolean-hidden/main.svelte b/packages/svelte/test/runtime/samples/attribute-boolean-hidden/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-hidden/main.svelte rename to packages/svelte/test/runtime/samples/attribute-boolean-hidden/main.svelte diff --git a/test/runtime/samples/attribute-boolean-indeterminate/_config.js b/packages/svelte/test/runtime/samples/attribute-boolean-indeterminate/_config.js similarity index 100% rename from test/runtime/samples/attribute-boolean-indeterminate/_config.js rename to packages/svelte/test/runtime/samples/attribute-boolean-indeterminate/_config.js diff --git a/test/runtime/samples/attribute-boolean-indeterminate/main.svelte b/packages/svelte/test/runtime/samples/attribute-boolean-indeterminate/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-indeterminate/main.svelte rename to packages/svelte/test/runtime/samples/attribute-boolean-indeterminate/main.svelte diff --git a/test/runtime/samples/attribute-boolean-inert/_config.js b/packages/svelte/test/runtime/samples/attribute-boolean-inert/_config.js similarity index 100% rename from test/runtime/samples/attribute-boolean-inert/_config.js rename to packages/svelte/test/runtime/samples/attribute-boolean-inert/_config.js diff --git a/test/runtime/samples/attribute-boolean-inert/main.svelte b/packages/svelte/test/runtime/samples/attribute-boolean-inert/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-inert/main.svelte rename to packages/svelte/test/runtime/samples/attribute-boolean-inert/main.svelte diff --git a/test/runtime/samples/attribute-boolean-true/_config.js b/packages/svelte/test/runtime/samples/attribute-boolean-true/_config.js similarity index 100% rename from test/runtime/samples/attribute-boolean-true/_config.js rename to packages/svelte/test/runtime/samples/attribute-boolean-true/_config.js diff --git a/test/runtime/samples/attribute-boolean-true/main.svelte b/packages/svelte/test/runtime/samples/attribute-boolean-true/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-true/main.svelte rename to packages/svelte/test/runtime/samples/attribute-boolean-true/main.svelte diff --git a/test/runtime/samples/attribute-boolean-with-spread/_config.js b/packages/svelte/test/runtime/samples/attribute-boolean-with-spread/_config.js similarity index 100% rename from test/runtime/samples/attribute-boolean-with-spread/_config.js rename to packages/svelte/test/runtime/samples/attribute-boolean-with-spread/_config.js diff --git a/test/runtime/samples/attribute-boolean-with-spread/main.svelte b/packages/svelte/test/runtime/samples/attribute-boolean-with-spread/main.svelte similarity index 100% rename from test/runtime/samples/attribute-boolean-with-spread/main.svelte rename to packages/svelte/test/runtime/samples/attribute-boolean-with-spread/main.svelte diff --git a/test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/_config.js b/packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/_config.js similarity index 100% rename from test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/_config.js rename to packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/_config.js diff --git a/test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/main.svelte b/packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/main.svelte similarity index 100% rename from test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/main.svelte rename to packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace-compiler-option/main.svelte diff --git a/test/runtime/samples/attribute-casing-foreign-namespace/_config.js b/packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace/_config.js similarity index 100% rename from test/runtime/samples/attribute-casing-foreign-namespace/_config.js rename to packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace/_config.js diff --git a/test/runtime/samples/attribute-casing-foreign-namespace/main.svelte b/packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace/main.svelte similarity index 100% rename from test/runtime/samples/attribute-casing-foreign-namespace/main.svelte rename to packages/svelte/test/runtime/samples/attribute-casing-foreign-namespace/main.svelte diff --git a/test/runtime/samples/attribute-casing/_config.js b/packages/svelte/test/runtime/samples/attribute-casing/_config.js similarity index 100% rename from test/runtime/samples/attribute-casing/_config.js rename to packages/svelte/test/runtime/samples/attribute-casing/_config.js diff --git a/test/runtime/samples/attribute-casing/main.svelte b/packages/svelte/test/runtime/samples/attribute-casing/main.svelte similarity index 100% rename from test/runtime/samples/attribute-casing/main.svelte rename to packages/svelte/test/runtime/samples/attribute-casing/main.svelte diff --git a/test/runtime/samples/attribute-dataset-without-value/_config.js b/packages/svelte/test/runtime/samples/attribute-dataset-without-value/_config.js similarity index 100% rename from test/runtime/samples/attribute-dataset-without-value/_config.js rename to packages/svelte/test/runtime/samples/attribute-dataset-without-value/_config.js diff --git a/test/runtime/samples/attribute-dataset-without-value/main.svelte b/packages/svelte/test/runtime/samples/attribute-dataset-without-value/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dataset-without-value/main.svelte rename to packages/svelte/test/runtime/samples/attribute-dataset-without-value/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-multiple/_config.js b/packages/svelte/test/runtime/samples/attribute-dynamic-multiple/_config.js similarity index 100% rename from test/runtime/samples/attribute-dynamic-multiple/_config.js rename to packages/svelte/test/runtime/samples/attribute-dynamic-multiple/_config.js diff --git a/test/runtime/samples/attribute-dynamic-multiple/main.svelte b/packages/svelte/test/runtime/samples/attribute-dynamic-multiple/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-multiple/main.svelte rename to packages/svelte/test/runtime/samples/attribute-dynamic-multiple/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-no-dependencies/_config.js b/packages/svelte/test/runtime/samples/attribute-dynamic-no-dependencies/_config.js similarity index 100% rename from test/runtime/samples/attribute-dynamic-no-dependencies/_config.js rename to packages/svelte/test/runtime/samples/attribute-dynamic-no-dependencies/_config.js diff --git a/test/runtime/samples/attribute-dynamic-no-dependencies/main.svelte b/packages/svelte/test/runtime/samples/attribute-dynamic-no-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-no-dependencies/main.svelte rename to packages/svelte/test/runtime/samples/attribute-dynamic-no-dependencies/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-quotemarks/_config.js b/packages/svelte/test/runtime/samples/attribute-dynamic-quotemarks/_config.js similarity index 100% rename from test/runtime/samples/attribute-dynamic-quotemarks/_config.js rename to packages/svelte/test/runtime/samples/attribute-dynamic-quotemarks/_config.js diff --git a/test/runtime/samples/attribute-dynamic-quotemarks/main.svelte b/packages/svelte/test/runtime/samples/attribute-dynamic-quotemarks/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-quotemarks/main.svelte rename to packages/svelte/test/runtime/samples/attribute-dynamic-quotemarks/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-shorthand/_config.js b/packages/svelte/test/runtime/samples/attribute-dynamic-shorthand/_config.js similarity index 100% rename from test/runtime/samples/attribute-dynamic-shorthand/_config.js rename to packages/svelte/test/runtime/samples/attribute-dynamic-shorthand/_config.js diff --git a/test/runtime/samples/attribute-dynamic-shorthand/main.svelte b/packages/svelte/test/runtime/samples/attribute-dynamic-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-shorthand/main.svelte rename to packages/svelte/test/runtime/samples/attribute-dynamic-shorthand/main.svelte diff --git a/test/runtime/samples/attribute-dynamic-type/_config.js b/packages/svelte/test/runtime/samples/attribute-dynamic-type/_config.js similarity index 100% rename from test/runtime/samples/attribute-dynamic-type/_config.js rename to packages/svelte/test/runtime/samples/attribute-dynamic-type/_config.js diff --git a/test/runtime/samples/attribute-dynamic-type/main.svelte b/packages/svelte/test/runtime/samples/attribute-dynamic-type/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic-type/main.svelte rename to packages/svelte/test/runtime/samples/attribute-dynamic-type/main.svelte diff --git a/test/runtime/samples/attribute-dynamic/_config.js b/packages/svelte/test/runtime/samples/attribute-dynamic/_config.js similarity index 100% rename from test/runtime/samples/attribute-dynamic/_config.js rename to packages/svelte/test/runtime/samples/attribute-dynamic/_config.js diff --git a/test/runtime/samples/attribute-dynamic/main.svelte b/packages/svelte/test/runtime/samples/attribute-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/attribute-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/attribute-dynamic/main.svelte diff --git a/test/runtime/samples/attribute-empty-svg/_config.js b/packages/svelte/test/runtime/samples/attribute-empty-svg/_config.js similarity index 100% rename from test/runtime/samples/attribute-empty-svg/_config.js rename to packages/svelte/test/runtime/samples/attribute-empty-svg/_config.js diff --git a/test/runtime/samples/attribute-empty-svg/main.svelte b/packages/svelte/test/runtime/samples/attribute-empty-svg/main.svelte similarity index 100% rename from test/runtime/samples/attribute-empty-svg/main.svelte rename to packages/svelte/test/runtime/samples/attribute-empty-svg/main.svelte diff --git a/test/runtime/samples/attribute-empty/_config.js b/packages/svelte/test/runtime/samples/attribute-empty/_config.js similarity index 100% rename from test/runtime/samples/attribute-empty/_config.js rename to packages/svelte/test/runtime/samples/attribute-empty/_config.js diff --git a/test/runtime/samples/attribute-empty/main.svelte b/packages/svelte/test/runtime/samples/attribute-empty/main.svelte similarity index 100% rename from test/runtime/samples/attribute-empty/main.svelte rename to packages/svelte/test/runtime/samples/attribute-empty/main.svelte diff --git a/test/runtime/samples/attribute-escape/_config.js b/packages/svelte/test/runtime/samples/attribute-escape/_config.js similarity index 100% rename from test/runtime/samples/attribute-escape/_config.js rename to packages/svelte/test/runtime/samples/attribute-escape/_config.js diff --git a/test/runtime/samples/attribute-escape/main.svelte b/packages/svelte/test/runtime/samples/attribute-escape/main.svelte similarity index 100% rename from test/runtime/samples/attribute-escape/main.svelte rename to packages/svelte/test/runtime/samples/attribute-escape/main.svelte diff --git a/test/runtime/samples/attribute-false/_config.js b/packages/svelte/test/runtime/samples/attribute-false/_config.js similarity index 100% rename from test/runtime/samples/attribute-false/_config.js rename to packages/svelte/test/runtime/samples/attribute-false/_config.js diff --git a/test/runtime/samples/attribute-false/main.svelte b/packages/svelte/test/runtime/samples/attribute-false/main.svelte similarity index 100% rename from test/runtime/samples/attribute-false/main.svelte rename to packages/svelte/test/runtime/samples/attribute-false/main.svelte diff --git a/test/runtime/samples/attribute-microdata/_config.js b/packages/svelte/test/runtime/samples/attribute-microdata/_config.js similarity index 100% rename from test/runtime/samples/attribute-microdata/_config.js rename to packages/svelte/test/runtime/samples/attribute-microdata/_config.js diff --git a/test/runtime/samples/attribute-microdata/main.svelte b/packages/svelte/test/runtime/samples/attribute-microdata/main.svelte similarity index 100% rename from test/runtime/samples/attribute-microdata/main.svelte rename to packages/svelte/test/runtime/samples/attribute-microdata/main.svelte diff --git a/test/runtime/samples/attribute-namespaced/_config.js b/packages/svelte/test/runtime/samples/attribute-namespaced/_config.js similarity index 100% rename from test/runtime/samples/attribute-namespaced/_config.js rename to packages/svelte/test/runtime/samples/attribute-namespaced/_config.js diff --git a/test/runtime/samples/attribute-namespaced/main.svelte b/packages/svelte/test/runtime/samples/attribute-namespaced/main.svelte similarity index 100% rename from test/runtime/samples/attribute-namespaced/main.svelte rename to packages/svelte/test/runtime/samples/attribute-namespaced/main.svelte diff --git a/test/runtime/samples/attribute-null-classname-no-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-classname-no-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-classname-no-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-classname-no-style/_config.js diff --git a/test/runtime/samples/attribute-null-classname-no-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-classname-no-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-classname-no-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-classname-no-style/main.svelte diff --git a/test/runtime/samples/attribute-null-classname-with-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-classname-with-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-classname-with-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-classname-with-style/_config.js diff --git a/test/runtime/samples/attribute-null-classname-with-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-classname-with-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-classname-with-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-classname-with-style/main.svelte diff --git a/test/runtime/samples/attribute-null-classnames-no-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-classnames-no-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-classnames-no-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-classnames-no-style/_config.js diff --git a/test/runtime/samples/attribute-null-classnames-no-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-classnames-no-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-classnames-no-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-classnames-no-style/main.svelte diff --git a/test/runtime/samples/attribute-null-classnames-with-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-classnames-with-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-classnames-with-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-classnames-with-style/_config.js diff --git a/test/runtime/samples/attribute-null-classnames-with-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-classnames-with-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-classnames-with-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-classnames-with-style/main.svelte diff --git a/test/runtime/samples/attribute-null-func-classname-no-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-func-classname-no-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-func-classname-no-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-func-classname-no-style/_config.js diff --git a/test/runtime/samples/attribute-null-func-classname-no-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-func-classname-no-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-func-classname-no-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-func-classname-no-style/main.svelte diff --git a/test/runtime/samples/attribute-null-func-classname-with-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-func-classname-with-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-func-classname-with-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-func-classname-with-style/_config.js diff --git a/test/runtime/samples/attribute-null-func-classname-with-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-func-classname-with-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-func-classname-with-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-func-classname-with-style/main.svelte diff --git a/test/runtime/samples/attribute-null-func-classnames-no-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-func-classnames-no-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-func-classnames-no-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-func-classnames-no-style/_config.js diff --git a/test/runtime/samples/attribute-null-func-classnames-no-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-func-classnames-no-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-func-classnames-no-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-func-classnames-no-style/main.svelte diff --git a/test/runtime/samples/attribute-null-func-classnames-with-style/_config.js b/packages/svelte/test/runtime/samples/attribute-null-func-classnames-with-style/_config.js similarity index 100% rename from test/runtime/samples/attribute-null-func-classnames-with-style/_config.js rename to packages/svelte/test/runtime/samples/attribute-null-func-classnames-with-style/_config.js diff --git a/test/runtime/samples/attribute-null-func-classnames-with-style/main.svelte b/packages/svelte/test/runtime/samples/attribute-null-func-classnames-with-style/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null-func-classnames-with-style/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null-func-classnames-with-style/main.svelte diff --git a/test/runtime/samples/attribute-null/_config.js b/packages/svelte/test/runtime/samples/attribute-null/_config.js similarity index 100% rename from test/runtime/samples/attribute-null/_config.js rename to packages/svelte/test/runtime/samples/attribute-null/_config.js diff --git a/test/runtime/samples/attribute-null/main.svelte b/packages/svelte/test/runtime/samples/attribute-null/main.svelte similarity index 100% rename from test/runtime/samples/attribute-null/main.svelte rename to packages/svelte/test/runtime/samples/attribute-null/main.svelte diff --git a/test/runtime/samples/attribute-partial-number/Component.svelte b/packages/svelte/test/runtime/samples/attribute-partial-number/Component.svelte similarity index 100% rename from test/runtime/samples/attribute-partial-number/Component.svelte rename to packages/svelte/test/runtime/samples/attribute-partial-number/Component.svelte diff --git a/test/runtime/samples/attribute-partial-number/_config.js b/packages/svelte/test/runtime/samples/attribute-partial-number/_config.js similarity index 100% rename from test/runtime/samples/attribute-partial-number/_config.js rename to packages/svelte/test/runtime/samples/attribute-partial-number/_config.js diff --git a/test/runtime/samples/attribute-partial-number/main.svelte b/packages/svelte/test/runtime/samples/attribute-partial-number/main.svelte similarity index 100% rename from test/runtime/samples/attribute-partial-number/main.svelte rename to packages/svelte/test/runtime/samples/attribute-partial-number/main.svelte diff --git a/test/runtime/samples/attribute-prefer-expression/_config.js b/packages/svelte/test/runtime/samples/attribute-prefer-expression/_config.js similarity index 100% rename from test/runtime/samples/attribute-prefer-expression/_config.js rename to packages/svelte/test/runtime/samples/attribute-prefer-expression/_config.js diff --git a/test/runtime/samples/attribute-prefer-expression/main.svelte b/packages/svelte/test/runtime/samples/attribute-prefer-expression/main.svelte similarity index 100% rename from test/runtime/samples/attribute-prefer-expression/main.svelte rename to packages/svelte/test/runtime/samples/attribute-prefer-expression/main.svelte diff --git a/test/runtime/samples/attribute-static-at-symbol/_config.js b/packages/svelte/test/runtime/samples/attribute-static-at-symbol/_config.js similarity index 100% rename from test/runtime/samples/attribute-static-at-symbol/_config.js rename to packages/svelte/test/runtime/samples/attribute-static-at-symbol/_config.js diff --git a/test/runtime/samples/attribute-static-at-symbol/main.svelte b/packages/svelte/test/runtime/samples/attribute-static-at-symbol/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static-at-symbol/main.svelte rename to packages/svelte/test/runtime/samples/attribute-static-at-symbol/main.svelte diff --git a/test/runtime/samples/attribute-static-boolean/_config.js b/packages/svelte/test/runtime/samples/attribute-static-boolean/_config.js similarity index 100% rename from test/runtime/samples/attribute-static-boolean/_config.js rename to packages/svelte/test/runtime/samples/attribute-static-boolean/_config.js diff --git a/test/runtime/samples/attribute-static-boolean/main.svelte b/packages/svelte/test/runtime/samples/attribute-static-boolean/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static-boolean/main.svelte rename to packages/svelte/test/runtime/samples/attribute-static-boolean/main.svelte diff --git a/test/runtime/samples/attribute-static-quotemarks/_config.js b/packages/svelte/test/runtime/samples/attribute-static-quotemarks/_config.js similarity index 100% rename from test/runtime/samples/attribute-static-quotemarks/_config.js rename to packages/svelte/test/runtime/samples/attribute-static-quotemarks/_config.js diff --git a/test/runtime/samples/attribute-static-quotemarks/main.svelte b/packages/svelte/test/runtime/samples/attribute-static-quotemarks/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static-quotemarks/main.svelte rename to packages/svelte/test/runtime/samples/attribute-static-quotemarks/main.svelte diff --git a/test/runtime/samples/attribute-static/_config.js b/packages/svelte/test/runtime/samples/attribute-static/_config.js similarity index 100% rename from test/runtime/samples/attribute-static/_config.js rename to packages/svelte/test/runtime/samples/attribute-static/_config.js diff --git a/test/runtime/samples/attribute-static/main.svelte b/packages/svelte/test/runtime/samples/attribute-static/main.svelte similarity index 100% rename from test/runtime/samples/attribute-static/main.svelte rename to packages/svelte/test/runtime/samples/attribute-static/main.svelte diff --git a/test/runtime/samples/attribute-undefined/_config.js b/packages/svelte/test/runtime/samples/attribute-undefined/_config.js similarity index 100% rename from test/runtime/samples/attribute-undefined/_config.js rename to packages/svelte/test/runtime/samples/attribute-undefined/_config.js diff --git a/test/runtime/samples/attribute-undefined/main.svelte b/packages/svelte/test/runtime/samples/attribute-undefined/main.svelte similarity index 100% rename from test/runtime/samples/attribute-undefined/main.svelte rename to packages/svelte/test/runtime/samples/attribute-undefined/main.svelte diff --git a/test/runtime/samples/attribute-unknown-without-value/_config.js b/packages/svelte/test/runtime/samples/attribute-unknown-without-value/_config.js similarity index 100% rename from test/runtime/samples/attribute-unknown-without-value/_config.js rename to packages/svelte/test/runtime/samples/attribute-unknown-without-value/_config.js diff --git a/test/runtime/samples/attribute-unknown-without-value/main.svelte b/packages/svelte/test/runtime/samples/attribute-unknown-without-value/main.svelte similarity index 100% rename from test/runtime/samples/attribute-unknown-without-value/main.svelte rename to packages/svelte/test/runtime/samples/attribute-unknown-without-value/main.svelte diff --git a/test/runtime/samples/attribute-url/_config.js b/packages/svelte/test/runtime/samples/attribute-url/_config.js similarity index 100% rename from test/runtime/samples/attribute-url/_config.js rename to packages/svelte/test/runtime/samples/attribute-url/_config.js diff --git a/test/runtime/samples/attribute-url/main.svelte b/packages/svelte/test/runtime/samples/attribute-url/main.svelte similarity index 100% rename from test/runtime/samples/attribute-url/main.svelte rename to packages/svelte/test/runtime/samples/attribute-url/main.svelte diff --git a/test/runtime/samples/autofocus/_config.js b/packages/svelte/test/runtime/samples/autofocus/_config.js similarity index 100% rename from test/runtime/samples/autofocus/_config.js rename to packages/svelte/test/runtime/samples/autofocus/_config.js diff --git a/test/runtime/samples/autofocus/main.svelte b/packages/svelte/test/runtime/samples/autofocus/main.svelte similarity index 100% rename from test/runtime/samples/autofocus/main.svelte rename to packages/svelte/test/runtime/samples/autofocus/main.svelte diff --git a/test/runtime/samples/await-catch-no-expression/_config.js b/packages/svelte/test/runtime/samples/await-catch-no-expression/_config.js similarity index 100% rename from test/runtime/samples/await-catch-no-expression/_config.js rename to packages/svelte/test/runtime/samples/await-catch-no-expression/_config.js diff --git a/test/runtime/samples/await-catch-no-expression/main.svelte b/packages/svelte/test/runtime/samples/await-catch-no-expression/main.svelte similarity index 100% rename from test/runtime/samples/await-catch-no-expression/main.svelte rename to packages/svelte/test/runtime/samples/await-catch-no-expression/main.svelte diff --git a/test/runtime/samples/await-catch-shorthand/_config.js b/packages/svelte/test/runtime/samples/await-catch-shorthand/_config.js similarity index 100% rename from test/runtime/samples/await-catch-shorthand/_config.js rename to packages/svelte/test/runtime/samples/await-catch-shorthand/_config.js diff --git a/test/runtime/samples/await-catch-shorthand/main.svelte b/packages/svelte/test/runtime/samples/await-catch-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/await-catch-shorthand/main.svelte rename to packages/svelte/test/runtime/samples/await-catch-shorthand/main.svelte diff --git a/test/runtime/samples/await-component-oncreate/Foo.svelte b/packages/svelte/test/runtime/samples/await-component-oncreate/Foo.svelte similarity index 100% rename from test/runtime/samples/await-component-oncreate/Foo.svelte rename to packages/svelte/test/runtime/samples/await-component-oncreate/Foo.svelte diff --git a/test/runtime/samples/await-component-oncreate/_config.js b/packages/svelte/test/runtime/samples/await-component-oncreate/_config.js similarity index 100% rename from test/runtime/samples/await-component-oncreate/_config.js rename to packages/svelte/test/runtime/samples/await-component-oncreate/_config.js diff --git a/test/runtime/samples/await-component-oncreate/main.svelte b/packages/svelte/test/runtime/samples/await-component-oncreate/main.svelte similarity index 100% rename from test/runtime/samples/await-component-oncreate/main.svelte rename to packages/svelte/test/runtime/samples/await-component-oncreate/main.svelte diff --git a/test/runtime/samples/await-conservative-update/_config.js b/packages/svelte/test/runtime/samples/await-conservative-update/_config.js similarity index 100% rename from test/runtime/samples/await-conservative-update/_config.js rename to packages/svelte/test/runtime/samples/await-conservative-update/_config.js diff --git a/test/runtime/samples/await-conservative-update/main.svelte b/packages/svelte/test/runtime/samples/await-conservative-update/main.svelte similarity index 100% rename from test/runtime/samples/await-conservative-update/main.svelte rename to packages/svelte/test/runtime/samples/await-conservative-update/main.svelte diff --git a/test/runtime/samples/await-conservative-update/sleep.js b/packages/svelte/test/runtime/samples/await-conservative-update/sleep.js similarity index 100% rename from test/runtime/samples/await-conservative-update/sleep.js rename to packages/svelte/test/runtime/samples/await-conservative-update/sleep.js diff --git a/test/runtime/samples/await-containing-if/_config.js b/packages/svelte/test/runtime/samples/await-containing-if/_config.js similarity index 100% rename from test/runtime/samples/await-containing-if/_config.js rename to packages/svelte/test/runtime/samples/await-containing-if/_config.js diff --git a/test/runtime/samples/await-containing-if/main.svelte b/packages/svelte/test/runtime/samples/await-containing-if/main.svelte similarity index 100% rename from test/runtime/samples/await-containing-if/main.svelte rename to packages/svelte/test/runtime/samples/await-containing-if/main.svelte diff --git a/test/runtime/samples/await-function-promise/_config.js b/packages/svelte/test/runtime/samples/await-function-promise/_config.js similarity index 100% rename from test/runtime/samples/await-function-promise/_config.js rename to packages/svelte/test/runtime/samples/await-function-promise/_config.js diff --git a/test/runtime/samples/await-function-promise/main.svelte b/packages/svelte/test/runtime/samples/await-function-promise/main.svelte similarity index 100% rename from test/runtime/samples/await-function-promise/main.svelte rename to packages/svelte/test/runtime/samples/await-function-promise/main.svelte diff --git a/test/runtime/samples/await-in-dynamic-component/Widget.svelte b/packages/svelte/test/runtime/samples/await-in-dynamic-component/Widget.svelte similarity index 100% rename from test/runtime/samples/await-in-dynamic-component/Widget.svelte rename to packages/svelte/test/runtime/samples/await-in-dynamic-component/Widget.svelte diff --git a/test/runtime/samples/await-in-dynamic-component/_config.js b/packages/svelte/test/runtime/samples/await-in-dynamic-component/_config.js similarity index 100% rename from test/runtime/samples/await-in-dynamic-component/_config.js rename to packages/svelte/test/runtime/samples/await-in-dynamic-component/_config.js diff --git a/test/runtime/samples/await-in-dynamic-component/main.svelte b/packages/svelte/test/runtime/samples/await-in-dynamic-component/main.svelte similarity index 100% rename from test/runtime/samples/await-in-dynamic-component/main.svelte rename to packages/svelte/test/runtime/samples/await-in-dynamic-component/main.svelte diff --git a/test/runtime/samples/await-in-each/_config.js b/packages/svelte/test/runtime/samples/await-in-each/_config.js similarity index 100% rename from test/runtime/samples/await-in-each/_config.js rename to packages/svelte/test/runtime/samples/await-in-each/_config.js diff --git a/test/runtime/samples/await-in-each/main.svelte b/packages/svelte/test/runtime/samples/await-in-each/main.svelte similarity index 100% rename from test/runtime/samples/await-in-each/main.svelte rename to packages/svelte/test/runtime/samples/await-in-each/main.svelte diff --git a/test/runtime/samples/await-in-removed-if/_config.js b/packages/svelte/test/runtime/samples/await-in-removed-if/_config.js similarity index 100% rename from test/runtime/samples/await-in-removed-if/_config.js rename to packages/svelte/test/runtime/samples/await-in-removed-if/_config.js diff --git a/test/runtime/samples/await-in-removed-if/main.svelte b/packages/svelte/test/runtime/samples/await-in-removed-if/main.svelte similarity index 100% rename from test/runtime/samples/await-in-removed-if/main.svelte rename to packages/svelte/test/runtime/samples/await-in-removed-if/main.svelte diff --git a/test/runtime/samples/await-mount-and-unmount-immediately/Component.svelte b/packages/svelte/test/runtime/samples/await-mount-and-unmount-immediately/Component.svelte similarity index 100% rename from test/runtime/samples/await-mount-and-unmount-immediately/Component.svelte rename to packages/svelte/test/runtime/samples/await-mount-and-unmount-immediately/Component.svelte diff --git a/test/runtime/samples/await-mount-and-unmount-immediately/_config.js b/packages/svelte/test/runtime/samples/await-mount-and-unmount-immediately/_config.js similarity index 100% rename from test/runtime/samples/await-mount-and-unmount-immediately/_config.js rename to packages/svelte/test/runtime/samples/await-mount-and-unmount-immediately/_config.js diff --git a/test/runtime/samples/await-mount-and-unmount-immediately/main.svelte b/packages/svelte/test/runtime/samples/await-mount-and-unmount-immediately/main.svelte similarity index 100% rename from test/runtime/samples/await-mount-and-unmount-immediately/main.svelte rename to packages/svelte/test/runtime/samples/await-mount-and-unmount-immediately/main.svelte diff --git a/test/runtime/samples/await-set-simultaneous-reactive/_config.js b/packages/svelte/test/runtime/samples/await-set-simultaneous-reactive/_config.js similarity index 100% rename from test/runtime/samples/await-set-simultaneous-reactive/_config.js rename to packages/svelte/test/runtime/samples/await-set-simultaneous-reactive/_config.js diff --git a/test/runtime/samples/await-set-simultaneous-reactive/main.svelte b/packages/svelte/test/runtime/samples/await-set-simultaneous-reactive/main.svelte similarity index 100% rename from test/runtime/samples/await-set-simultaneous-reactive/main.svelte rename to packages/svelte/test/runtime/samples/await-set-simultaneous-reactive/main.svelte diff --git a/test/runtime/samples/await-set-simultaneous/_config.js b/packages/svelte/test/runtime/samples/await-set-simultaneous/_config.js similarity index 100% rename from test/runtime/samples/await-set-simultaneous/_config.js rename to packages/svelte/test/runtime/samples/await-set-simultaneous/_config.js diff --git a/test/runtime/samples/await-set-simultaneous/main.svelte b/packages/svelte/test/runtime/samples/await-set-simultaneous/main.svelte similarity index 100% rename from test/runtime/samples/await-set-simultaneous/main.svelte rename to packages/svelte/test/runtime/samples/await-set-simultaneous/main.svelte diff --git a/test/runtime/samples/await-then-blowback-reactive/Widget.svelte b/packages/svelte/test/runtime/samples/await-then-blowback-reactive/Widget.svelte similarity index 100% rename from test/runtime/samples/await-then-blowback-reactive/Widget.svelte rename to packages/svelte/test/runtime/samples/await-then-blowback-reactive/Widget.svelte diff --git a/test/runtime/samples/await-then-blowback-reactive/_config.js b/packages/svelte/test/runtime/samples/await-then-blowback-reactive/_config.js similarity index 100% rename from test/runtime/samples/await-then-blowback-reactive/_config.js rename to packages/svelte/test/runtime/samples/await-then-blowback-reactive/_config.js diff --git a/test/runtime/samples/await-then-blowback-reactive/main.svelte b/packages/svelte/test/runtime/samples/await-then-blowback-reactive/main.svelte similarity index 100% rename from test/runtime/samples/await-then-blowback-reactive/main.svelte rename to packages/svelte/test/runtime/samples/await-then-blowback-reactive/main.svelte diff --git a/test/runtime/samples/await-then-catch-anchor/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-anchor/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-anchor/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-anchor/_config.js diff --git a/test/runtime/samples/await-then-catch-anchor/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-anchor/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-anchor/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-anchor/main.svelte diff --git a/test/runtime/samples/await-then-catch-event/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-event/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-event/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-event/_config.js diff --git a/test/runtime/samples/await-then-catch-event/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-event/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-event/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-event/main.svelte diff --git a/test/runtime/samples/await-then-catch-if/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-if/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-if/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-if/_config.js diff --git a/test/runtime/samples/await-then-catch-if/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-if/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-if/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-if/main.svelte diff --git a/test/runtime/samples/await-then-catch-in-slot/Foo.svelte b/packages/svelte/test/runtime/samples/await-then-catch-in-slot/Foo.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-in-slot/Foo.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-in-slot/Foo.svelte diff --git a/test/runtime/samples/await-then-catch-in-slot/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-in-slot/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-in-slot/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-in-slot/_config.js diff --git a/test/runtime/samples/await-then-catch-in-slot/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-in-slot/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-in-slot/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-in-slot/main.svelte diff --git a/test/runtime/samples/await-then-catch-multiple/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-multiple/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-multiple/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-multiple/_config.js diff --git a/test/runtime/samples/await-then-catch-multiple/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-multiple/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-multiple/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-multiple/main.svelte diff --git a/test/runtime/samples/await-then-catch-no-values/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-no-values/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-no-values/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-no-values/_config.js diff --git a/test/runtime/samples/await-then-catch-no-values/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-no-values/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-no-values/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-no-values/main.svelte diff --git a/test/runtime/samples/await-then-catch-non-promise/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-non-promise/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-non-promise/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-non-promise/_config.js diff --git a/test/runtime/samples/await-then-catch-non-promise/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-non-promise/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-non-promise/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-non-promise/main.svelte diff --git a/test/runtime/samples/await-then-catch-order/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-order/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-order/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-order/_config.js diff --git a/test/runtime/samples/await-then-catch-order/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-order/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-order/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-order/main.svelte diff --git a/test/runtime/samples/await-then-catch-static/_config.js b/packages/svelte/test/runtime/samples/await-then-catch-static/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch-static/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch-static/_config.js diff --git a/test/runtime/samples/await-then-catch-static/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch-static/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch-static/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch-static/main.svelte diff --git a/test/runtime/samples/await-then-catch/_config.js b/packages/svelte/test/runtime/samples/await-then-catch/_config.js similarity index 100% rename from test/runtime/samples/await-then-catch/_config.js rename to packages/svelte/test/runtime/samples/await-then-catch/_config.js diff --git a/test/runtime/samples/await-then-catch/main.svelte b/packages/svelte/test/runtime/samples/await-then-catch/main.svelte similarity index 100% rename from test/runtime/samples/await-then-catch/main.svelte rename to packages/svelte/test/runtime/samples/await-then-catch/main.svelte diff --git a/test/runtime/samples/await-then-destruct-array-nested-rest/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-array-nested-rest/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-array-nested-rest/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-array-nested-rest/_config.js diff --git a/test/runtime/samples/await-then-destruct-array-nested-rest/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-array-nested-rest/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-array-nested-rest/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-array-nested-rest/main.svelte diff --git a/test/runtime/samples/await-then-destruct-array/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-array/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-array/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-array/_config.js diff --git a/test/runtime/samples/await-then-destruct-array/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-array/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-array/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-array/main.svelte diff --git a/test/runtime/samples/await-then-destruct-computed-props/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-computed-props/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-computed-props/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-computed-props/_config.js diff --git a/test/runtime/samples/await-then-destruct-computed-props/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-computed-props/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-computed-props/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-computed-props/main.svelte diff --git a/test/runtime/samples/await-then-destruct-default/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-default/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-default/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-default/_config.js diff --git a/test/runtime/samples/await-then-destruct-default/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-default/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-default/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-default/main.svelte diff --git a/test/runtime/samples/await-then-destruct-number-props/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-number-props/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-number-props/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-number-props/_config.js diff --git a/test/runtime/samples/await-then-destruct-number-props/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-number-props/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-number-props/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-number-props/main.svelte diff --git a/test/runtime/samples/await-then-destruct-object-if/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-object-if/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-object-if/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-object-if/_config.js diff --git a/test/runtime/samples/await-then-destruct-object-if/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-object-if/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-object-if/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-object-if/main.svelte diff --git a/test/runtime/samples/await-then-destruct-object/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-object/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-object/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-object/_config.js diff --git a/test/runtime/samples/await-then-destruct-object/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-object/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-object/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-object/main.svelte diff --git a/test/runtime/samples/await-then-destruct-rest/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-rest/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-rest/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-rest/_config.js diff --git a/test/runtime/samples/await-then-destruct-rest/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-rest/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-rest/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-rest/main.svelte diff --git a/test/runtime/samples/await-then-destruct-string-props/_config.js b/packages/svelte/test/runtime/samples/await-then-destruct-string-props/_config.js similarity index 100% rename from test/runtime/samples/await-then-destruct-string-props/_config.js rename to packages/svelte/test/runtime/samples/await-then-destruct-string-props/_config.js diff --git a/test/runtime/samples/await-then-destruct-string-props/main.svelte b/packages/svelte/test/runtime/samples/await-then-destruct-string-props/main.svelte similarity index 100% rename from test/runtime/samples/await-then-destruct-string-props/main.svelte rename to packages/svelte/test/runtime/samples/await-then-destruct-string-props/main.svelte diff --git a/test/runtime/samples/await-then-if/_config.js b/packages/svelte/test/runtime/samples/await-then-if/_config.js similarity index 100% rename from test/runtime/samples/await-then-if/_config.js rename to packages/svelte/test/runtime/samples/await-then-if/_config.js diff --git a/test/runtime/samples/await-then-if/main.svelte b/packages/svelte/test/runtime/samples/await-then-if/main.svelte similarity index 100% rename from test/runtime/samples/await-then-if/main.svelte rename to packages/svelte/test/runtime/samples/await-then-if/main.svelte diff --git a/test/runtime/samples/await-then-no-context/main.svelte b/packages/svelte/test/runtime/samples/await-then-no-context/main.svelte similarity index 100% rename from test/runtime/samples/await-then-no-context/main.svelte rename to packages/svelte/test/runtime/samples/await-then-no-context/main.svelte diff --git a/test/runtime/samples/await-then-no-expression/_config.js b/packages/svelte/test/runtime/samples/await-then-no-expression/_config.js similarity index 100% rename from test/runtime/samples/await-then-no-expression/_config.js rename to packages/svelte/test/runtime/samples/await-then-no-expression/_config.js diff --git a/test/runtime/samples/await-then-no-expression/main.svelte b/packages/svelte/test/runtime/samples/await-then-no-expression/main.svelte similarity index 100% rename from test/runtime/samples/await-then-no-expression/main.svelte rename to packages/svelte/test/runtime/samples/await-then-no-expression/main.svelte diff --git a/test/runtime/samples/await-then-shorthand/_config.js b/packages/svelte/test/runtime/samples/await-then-shorthand/_config.js similarity index 100% rename from test/runtime/samples/await-then-shorthand/_config.js rename to packages/svelte/test/runtime/samples/await-then-shorthand/_config.js diff --git a/test/runtime/samples/await-then-shorthand/main.svelte b/packages/svelte/test/runtime/samples/await-then-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/await-then-shorthand/main.svelte rename to packages/svelte/test/runtime/samples/await-then-shorthand/main.svelte diff --git a/test/runtime/samples/await-with-components/Widget.svelte b/packages/svelte/test/runtime/samples/await-with-components/Widget.svelte similarity index 100% rename from test/runtime/samples/await-with-components/Widget.svelte rename to packages/svelte/test/runtime/samples/await-with-components/Widget.svelte diff --git a/test/runtime/samples/await-with-components/_config.js b/packages/svelte/test/runtime/samples/await-with-components/_config.js similarity index 100% rename from test/runtime/samples/await-with-components/_config.js rename to packages/svelte/test/runtime/samples/await-with-components/_config.js diff --git a/test/runtime/samples/await-with-components/main.svelte b/packages/svelte/test/runtime/samples/await-with-components/main.svelte similarity index 100% rename from test/runtime/samples/await-with-components/main.svelte rename to packages/svelte/test/runtime/samples/await-with-components/main.svelte diff --git a/test/runtime/samples/await-with-update-2/Component.svelte b/packages/svelte/test/runtime/samples/await-with-update-2/Component.svelte similarity index 100% rename from test/runtime/samples/await-with-update-2/Component.svelte rename to packages/svelte/test/runtime/samples/await-with-update-2/Component.svelte diff --git a/test/runtime/samples/await-with-update-2/_config.js b/packages/svelte/test/runtime/samples/await-with-update-2/_config.js similarity index 100% rename from test/runtime/samples/await-with-update-2/_config.js rename to packages/svelte/test/runtime/samples/await-with-update-2/_config.js diff --git a/test/runtime/samples/await-with-update-2/main.svelte b/packages/svelte/test/runtime/samples/await-with-update-2/main.svelte similarity index 100% rename from test/runtime/samples/await-with-update-2/main.svelte rename to packages/svelte/test/runtime/samples/await-with-update-2/main.svelte diff --git a/test/runtime/samples/await-with-update-catch-scope/_config.js b/packages/svelte/test/runtime/samples/await-with-update-catch-scope/_config.js similarity index 100% rename from test/runtime/samples/await-with-update-catch-scope/_config.js rename to packages/svelte/test/runtime/samples/await-with-update-catch-scope/_config.js diff --git a/test/runtime/samples/await-with-update-catch-scope/main.svelte b/packages/svelte/test/runtime/samples/await-with-update-catch-scope/main.svelte similarity index 100% rename from test/runtime/samples/await-with-update-catch-scope/main.svelte rename to packages/svelte/test/runtime/samples/await-with-update-catch-scope/main.svelte diff --git a/test/runtime/samples/await-with-update/Component.svelte b/packages/svelte/test/runtime/samples/await-with-update/Component.svelte similarity index 100% rename from test/runtime/samples/await-with-update/Component.svelte rename to packages/svelte/test/runtime/samples/await-with-update/Component.svelte diff --git a/test/runtime/samples/await-with-update/_config.js b/packages/svelte/test/runtime/samples/await-with-update/_config.js similarity index 100% rename from test/runtime/samples/await-with-update/_config.js rename to packages/svelte/test/runtime/samples/await-with-update/_config.js diff --git a/test/runtime/samples/await-with-update/main.svelte b/packages/svelte/test/runtime/samples/await-with-update/main.svelte similarity index 100% rename from test/runtime/samples/await-with-update/main.svelte rename to packages/svelte/test/runtime/samples/await-with-update/main.svelte diff --git a/test/runtime/samples/await-without-catch/_config.js b/packages/svelte/test/runtime/samples/await-without-catch/_config.js similarity index 100% rename from test/runtime/samples/await-without-catch/_config.js rename to packages/svelte/test/runtime/samples/await-without-catch/_config.js diff --git a/test/runtime/samples/await-without-catch/main.svelte b/packages/svelte/test/runtime/samples/await-without-catch/main.svelte similarity index 100% rename from test/runtime/samples/await-without-catch/main.svelte rename to packages/svelte/test/runtime/samples/await-without-catch/main.svelte diff --git a/test/runtime/samples/before-render-chain/Item.svelte b/packages/svelte/test/runtime/samples/before-render-chain/Item.svelte similarity index 100% rename from test/runtime/samples/before-render-chain/Item.svelte rename to packages/svelte/test/runtime/samples/before-render-chain/Item.svelte diff --git a/test/runtime/samples/before-render-chain/List.svelte b/packages/svelte/test/runtime/samples/before-render-chain/List.svelte similarity index 100% rename from test/runtime/samples/before-render-chain/List.svelte rename to packages/svelte/test/runtime/samples/before-render-chain/List.svelte diff --git a/test/runtime/samples/before-render-chain/_config.js b/packages/svelte/test/runtime/samples/before-render-chain/_config.js similarity index 100% rename from test/runtime/samples/before-render-chain/_config.js rename to packages/svelte/test/runtime/samples/before-render-chain/_config.js diff --git a/test/runtime/samples/before-render-chain/main.svelte b/packages/svelte/test/runtime/samples/before-render-chain/main.svelte similarity index 100% rename from test/runtime/samples/before-render-chain/main.svelte rename to packages/svelte/test/runtime/samples/before-render-chain/main.svelte diff --git a/test/runtime/samples/before-render-prevents-loop/_config.js b/packages/svelte/test/runtime/samples/before-render-prevents-loop/_config.js similarity index 100% rename from test/runtime/samples/before-render-prevents-loop/_config.js rename to packages/svelte/test/runtime/samples/before-render-prevents-loop/_config.js diff --git a/test/runtime/samples/before-render-prevents-loop/main.svelte b/packages/svelte/test/runtime/samples/before-render-prevents-loop/main.svelte similarity index 100% rename from test/runtime/samples/before-render-prevents-loop/main.svelte rename to packages/svelte/test/runtime/samples/before-render-prevents-loop/main.svelte diff --git a/test/runtime/samples/binding-audio-currenttime-duration-volume/_config.js b/packages/svelte/test/runtime/samples/binding-audio-currenttime-duration-volume/_config.js similarity index 100% rename from test/runtime/samples/binding-audio-currenttime-duration-volume/_config.js rename to packages/svelte/test/runtime/samples/binding-audio-currenttime-duration-volume/_config.js diff --git a/test/runtime/samples/binding-audio-currenttime-duration-volume/main.svelte b/packages/svelte/test/runtime/samples/binding-audio-currenttime-duration-volume/main.svelte similarity index 100% rename from test/runtime/samples/binding-audio-currenttime-duration-volume/main.svelte rename to packages/svelte/test/runtime/samples/binding-audio-currenttime-duration-volume/main.svelte diff --git a/test/runtime/samples/binding-circular/_config.js b/packages/svelte/test/runtime/samples/binding-circular/_config.js similarity index 100% rename from test/runtime/samples/binding-circular/_config.js rename to packages/svelte/test/runtime/samples/binding-circular/_config.js diff --git a/test/runtime/samples/binding-circular/main.svelte b/packages/svelte/test/runtime/samples/binding-circular/main.svelte similarity index 100% rename from test/runtime/samples/binding-circular/main.svelte rename to packages/svelte/test/runtime/samples/binding-circular/main.svelte diff --git a/test/runtime/samples/binding-contenteditable-html-initial/_config.js b/packages/svelte/test/runtime/samples/binding-contenteditable-html-initial/_config.js similarity index 100% rename from test/runtime/samples/binding-contenteditable-html-initial/_config.js rename to packages/svelte/test/runtime/samples/binding-contenteditable-html-initial/_config.js diff --git a/test/runtime/samples/binding-contenteditable-html-initial/main.svelte b/packages/svelte/test/runtime/samples/binding-contenteditable-html-initial/main.svelte similarity index 100% rename from test/runtime/samples/binding-contenteditable-html-initial/main.svelte rename to packages/svelte/test/runtime/samples/binding-contenteditable-html-initial/main.svelte diff --git a/test/runtime/samples/binding-contenteditable-html/_config.js b/packages/svelte/test/runtime/samples/binding-contenteditable-html/_config.js similarity index 100% rename from test/runtime/samples/binding-contenteditable-html/_config.js rename to packages/svelte/test/runtime/samples/binding-contenteditable-html/_config.js diff --git a/test/runtime/samples/binding-contenteditable-html/main.svelte b/packages/svelte/test/runtime/samples/binding-contenteditable-html/main.svelte similarity index 100% rename from test/runtime/samples/binding-contenteditable-html/main.svelte rename to packages/svelte/test/runtime/samples/binding-contenteditable-html/main.svelte diff --git a/test/runtime/samples/binding-contenteditable-innertext/_config.js b/packages/svelte/test/runtime/samples/binding-contenteditable-innertext/_config.js similarity index 100% rename from test/runtime/samples/binding-contenteditable-innertext/_config.js rename to packages/svelte/test/runtime/samples/binding-contenteditable-innertext/_config.js diff --git a/test/runtime/samples/binding-contenteditable-innertext/main.svelte b/packages/svelte/test/runtime/samples/binding-contenteditable-innertext/main.svelte similarity index 100% rename from test/runtime/samples/binding-contenteditable-innertext/main.svelte rename to packages/svelte/test/runtime/samples/binding-contenteditable-innertext/main.svelte diff --git a/test/runtime/samples/binding-contenteditable-text-initial/_config.js b/packages/svelte/test/runtime/samples/binding-contenteditable-text-initial/_config.js similarity index 100% rename from test/runtime/samples/binding-contenteditable-text-initial/_config.js rename to packages/svelte/test/runtime/samples/binding-contenteditable-text-initial/_config.js diff --git a/test/runtime/samples/binding-contenteditable-text-initial/main.svelte b/packages/svelte/test/runtime/samples/binding-contenteditable-text-initial/main.svelte similarity index 100% rename from test/runtime/samples/binding-contenteditable-text-initial/main.svelte rename to packages/svelte/test/runtime/samples/binding-contenteditable-text-initial/main.svelte diff --git a/test/runtime/samples/binding-contenteditable-text/_config.js b/packages/svelte/test/runtime/samples/binding-contenteditable-text/_config.js similarity index 100% rename from test/runtime/samples/binding-contenteditable-text/_config.js rename to packages/svelte/test/runtime/samples/binding-contenteditable-text/_config.js diff --git a/test/runtime/samples/binding-contenteditable-text/main.svelte b/packages/svelte/test/runtime/samples/binding-contenteditable-text/main.svelte similarity index 100% rename from test/runtime/samples/binding-contenteditable-text/main.svelte rename to packages/svelte/test/runtime/samples/binding-contenteditable-text/main.svelte diff --git a/test/runtime/samples/binding-details-open/_config.js b/packages/svelte/test/runtime/samples/binding-details-open/_config.js similarity index 100% rename from test/runtime/samples/binding-details-open/_config.js rename to packages/svelte/test/runtime/samples/binding-details-open/_config.js diff --git a/test/runtime/samples/binding-details-open/main.svelte b/packages/svelte/test/runtime/samples/binding-details-open/main.svelte similarity index 100% rename from test/runtime/samples/binding-details-open/main.svelte rename to packages/svelte/test/runtime/samples/binding-details-open/main.svelte diff --git a/test/runtime/samples/binding-indirect-computed/_config.js b/packages/svelte/test/runtime/samples/binding-indirect-computed/_config.js similarity index 100% rename from test/runtime/samples/binding-indirect-computed/_config.js rename to packages/svelte/test/runtime/samples/binding-indirect-computed/_config.js diff --git a/test/runtime/samples/binding-indirect-computed/main.svelte b/packages/svelte/test/runtime/samples/binding-indirect-computed/main.svelte similarity index 100% rename from test/runtime/samples/binding-indirect-computed/main.svelte rename to packages/svelte/test/runtime/samples/binding-indirect-computed/main.svelte diff --git a/test/runtime/samples/binding-indirect-spread/_config.js b/packages/svelte/test/runtime/samples/binding-indirect-spread/_config.js similarity index 100% rename from test/runtime/samples/binding-indirect-spread/_config.js rename to packages/svelte/test/runtime/samples/binding-indirect-spread/_config.js diff --git a/test/runtime/samples/binding-indirect-spread/main.svelte b/packages/svelte/test/runtime/samples/binding-indirect-spread/main.svelte similarity index 100% rename from test/runtime/samples/binding-indirect-spread/main.svelte rename to packages/svelte/test/runtime/samples/binding-indirect-spread/main.svelte diff --git a/test/runtime/samples/binding-indirect-value/Component.svelte b/packages/svelte/test/runtime/samples/binding-indirect-value/Component.svelte similarity index 100% rename from test/runtime/samples/binding-indirect-value/Component.svelte rename to packages/svelte/test/runtime/samples/binding-indirect-value/Component.svelte diff --git a/test/runtime/samples/binding-indirect-value/_config.js b/packages/svelte/test/runtime/samples/binding-indirect-value/_config.js similarity index 100% rename from test/runtime/samples/binding-indirect-value/_config.js rename to packages/svelte/test/runtime/samples/binding-indirect-value/_config.js diff --git a/test/runtime/samples/binding-indirect-value/main.svelte b/packages/svelte/test/runtime/samples/binding-indirect-value/main.svelte similarity index 100% rename from test/runtime/samples/binding-indirect-value/main.svelte rename to packages/svelte/test/runtime/samples/binding-indirect-value/main.svelte diff --git a/test/runtime/samples/binding-indirect/_config.js b/packages/svelte/test/runtime/samples/binding-indirect/_config.js similarity index 100% rename from test/runtime/samples/binding-indirect/_config.js rename to packages/svelte/test/runtime/samples/binding-indirect/_config.js diff --git a/test/runtime/samples/binding-indirect/main.svelte b/packages/svelte/test/runtime/samples/binding-indirect/main.svelte similarity index 100% rename from test/runtime/samples/binding-indirect/main.svelte rename to packages/svelte/test/runtime/samples/binding-indirect/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-deep-contextual-b/_config.js b/packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual-b/_config.js similarity index 100% rename from test/runtime/samples/binding-input-checkbox-deep-contextual-b/_config.js rename to packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual-b/_config.js diff --git a/test/runtime/samples/binding-input-checkbox-deep-contextual-b/main.svelte b/packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual-b/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-deep-contextual-b/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual-b/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-deep-contextual/_config.js b/packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual/_config.js similarity index 100% rename from test/runtime/samples/binding-input-checkbox-deep-contextual/_config.js rename to packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual/_config.js diff --git a/test/runtime/samples/binding-input-checkbox-deep-contextual/main.svelte b/packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-deep-contextual/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-checkbox-deep-contextual/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-group-outside-each/_config.js b/packages/svelte/test/runtime/samples/binding-input-checkbox-group-outside-each/_config.js similarity index 100% rename from test/runtime/samples/binding-input-checkbox-group-outside-each/_config.js rename to packages/svelte/test/runtime/samples/binding-input-checkbox-group-outside-each/_config.js diff --git a/test/runtime/samples/binding-input-checkbox-group-outside-each/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/binding-input-checkbox-group-outside-each/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-group/_config.js b/packages/svelte/test/runtime/samples/binding-input-checkbox-group/_config.js similarity index 100% rename from test/runtime/samples/binding-input-checkbox-group/_config.js rename to packages/svelte/test/runtime/samples/binding-input-checkbox-group/_config.js diff --git a/test/runtime/samples/binding-input-checkbox-group/main.svelte b/packages/svelte/test/runtime/samples/binding-input-checkbox-group/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-group/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-checkbox-group/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-indeterminate/_config.js b/packages/svelte/test/runtime/samples/binding-input-checkbox-indeterminate/_config.js similarity index 100% rename from test/runtime/samples/binding-input-checkbox-indeterminate/_config.js rename to packages/svelte/test/runtime/samples/binding-input-checkbox-indeterminate/_config.js diff --git a/test/runtime/samples/binding-input-checkbox-indeterminate/main.svelte b/packages/svelte/test/runtime/samples/binding-input-checkbox-indeterminate/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox-indeterminate/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-checkbox-indeterminate/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox-with-event-in-each/_config.js b/packages/svelte/test/runtime/samples/binding-input-checkbox-with-event-in-each/_config.js similarity index 100% rename from test/runtime/samples/binding-input-checkbox-with-event-in-each/_config.js rename to packages/svelte/test/runtime/samples/binding-input-checkbox-with-event-in-each/_config.js diff --git a/test/runtime/samples/binding-input-checkbox-with-event-in-each/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/binding-input-checkbox-with-event-in-each/main.svelte diff --git a/test/runtime/samples/binding-input-checkbox/_config.js b/packages/svelte/test/runtime/samples/binding-input-checkbox/_config.js similarity index 100% rename from test/runtime/samples/binding-input-checkbox/_config.js rename to packages/svelte/test/runtime/samples/binding-input-checkbox/_config.js diff --git a/test/runtime/samples/binding-input-checkbox/main.svelte b/packages/svelte/test/runtime/samples/binding-input-checkbox/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-checkbox/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-checkbox/main.svelte diff --git a/test/runtime/samples/binding-input-group-duplicate-value/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-duplicate-value/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-duplicate-value/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-duplicate-value/_config.js diff --git a/test/runtime/samples/binding-input-group-duplicate-value/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-duplicate-value/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-duplicate-value/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-duplicate-value/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-1/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-1/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-1/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-1/_config.js diff --git a/test/runtime/samples/binding-input-group-each-1/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-1/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-1/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-1/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-10/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-10/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-10/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-10/_config.js diff --git a/test/runtime/samples/binding-input-group-each-10/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-10/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-10/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-10/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-11/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-11/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-11/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-11/_config.js diff --git a/test/runtime/samples/binding-input-group-each-11/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-11/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-11/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-11/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-12/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-12/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-12/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-12/_config.js diff --git a/test/runtime/samples/binding-input-group-each-12/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-12/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-12/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-12/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-13/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-13/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-13/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-13/_config.js diff --git a/test/runtime/samples/binding-input-group-each-13/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-13/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-13/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-13/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-2/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-2/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-2/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-2/_config.js diff --git a/test/runtime/samples/binding-input-group-each-2/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-2/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-2/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-2/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-3/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-3/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-3/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-3/_config.js diff --git a/test/runtime/samples/binding-input-group-each-3/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-3/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-3/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-3/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-4/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-4/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-4/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-4/_config.js diff --git a/test/runtime/samples/binding-input-group-each-4/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-4/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-4/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-4/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-5/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-5/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-5/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-5/_config.js diff --git a/test/runtime/samples/binding-input-group-each-5/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-5/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-5/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-5/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-6/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-6/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-6/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-6/_config.js diff --git a/test/runtime/samples/binding-input-group-each-6/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-6/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-6/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-6/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-7/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-7/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-7/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-7/_config.js diff --git a/test/runtime/samples/binding-input-group-each-7/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-7/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-7/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-7/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-8/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-8/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-8/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-8/_config.js diff --git a/test/runtime/samples/binding-input-group-each-8/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-8/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-8/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-8/main.svelte diff --git a/test/runtime/samples/binding-input-group-each-9/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-each-9/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-each-9/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-each-9/_config.js diff --git a/test/runtime/samples/binding-input-group-each-9/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-each-9/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-each-9/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-each-9/main.svelte diff --git a/test/runtime/samples/binding-input-group-if-gh-8372-1/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-1/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-if-gh-8372-1/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-1/_config.js diff --git a/test/runtime/samples/binding-input-group-if-gh-8372-1/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-1/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-if-gh-8372-1/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-1/main.svelte diff --git a/test/runtime/samples/binding-input-group-if-gh-8372-2/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-2/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-if-gh-8372-2/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-2/_config.js diff --git a/test/runtime/samples/binding-input-group-if-gh-8372-2/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-2/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-if-gh-8372-2/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-if-gh-8372-2/main.svelte diff --git a/test/runtime/samples/binding-input-group-undefined/_config.js b/packages/svelte/test/runtime/samples/binding-input-group-undefined/_config.js similarity index 100% rename from test/runtime/samples/binding-input-group-undefined/_config.js rename to packages/svelte/test/runtime/samples/binding-input-group-undefined/_config.js diff --git a/test/runtime/samples/binding-input-group-undefined/main.svelte b/packages/svelte/test/runtime/samples/binding-input-group-undefined/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-group-undefined/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-group-undefined/main.svelte diff --git a/test/runtime/samples/binding-input-member-expression-update/_config.js b/packages/svelte/test/runtime/samples/binding-input-member-expression-update/_config.js similarity index 100% rename from test/runtime/samples/binding-input-member-expression-update/_config.js rename to packages/svelte/test/runtime/samples/binding-input-member-expression-update/_config.js diff --git a/test/runtime/samples/binding-input-member-expression-update/main.svelte b/packages/svelte/test/runtime/samples/binding-input-member-expression-update/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-member-expression-update/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-member-expression-update/main.svelte diff --git a/test/runtime/samples/binding-input-number-2/_config.js b/packages/svelte/test/runtime/samples/binding-input-number-2/_config.js similarity index 100% rename from test/runtime/samples/binding-input-number-2/_config.js rename to packages/svelte/test/runtime/samples/binding-input-number-2/_config.js diff --git a/test/runtime/samples/binding-input-number-2/main.svelte b/packages/svelte/test/runtime/samples/binding-input-number-2/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-number-2/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-number-2/main.svelte diff --git a/test/runtime/samples/binding-input-number/_config.js b/packages/svelte/test/runtime/samples/binding-input-number/_config.js similarity index 100% rename from test/runtime/samples/binding-input-number/_config.js rename to packages/svelte/test/runtime/samples/binding-input-number/_config.js diff --git a/test/runtime/samples/binding-input-number/main.svelte b/packages/svelte/test/runtime/samples/binding-input-number/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-number/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-number/main.svelte diff --git a/test/runtime/samples/binding-input-radio-group/_config.js b/packages/svelte/test/runtime/samples/binding-input-radio-group/_config.js similarity index 100% rename from test/runtime/samples/binding-input-radio-group/_config.js rename to packages/svelte/test/runtime/samples/binding-input-radio-group/_config.js diff --git a/test/runtime/samples/binding-input-radio-group/main.svelte b/packages/svelte/test/runtime/samples/binding-input-radio-group/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-radio-group/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-radio-group/main.svelte diff --git a/test/runtime/samples/binding-input-range-change-with-max/_config.js b/packages/svelte/test/runtime/samples/binding-input-range-change-with-max/_config.js similarity index 100% rename from test/runtime/samples/binding-input-range-change-with-max/_config.js rename to packages/svelte/test/runtime/samples/binding-input-range-change-with-max/_config.js diff --git a/test/runtime/samples/binding-input-range-change-with-max/main.svelte b/packages/svelte/test/runtime/samples/binding-input-range-change-with-max/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-range-change-with-max/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-range-change-with-max/main.svelte diff --git a/test/runtime/samples/binding-input-range-change/_config.js b/packages/svelte/test/runtime/samples/binding-input-range-change/_config.js similarity index 100% rename from test/runtime/samples/binding-input-range-change/_config.js rename to packages/svelte/test/runtime/samples/binding-input-range-change/_config.js diff --git a/test/runtime/samples/binding-input-range-change/main.svelte b/packages/svelte/test/runtime/samples/binding-input-range-change/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-range-change/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-range-change/main.svelte diff --git a/test/runtime/samples/binding-input-range/_config.js b/packages/svelte/test/runtime/samples/binding-input-range/_config.js similarity index 100% rename from test/runtime/samples/binding-input-range/_config.js rename to packages/svelte/test/runtime/samples/binding-input-range/_config.js diff --git a/test/runtime/samples/binding-input-range/main.svelte b/packages/svelte/test/runtime/samples/binding-input-range/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-range/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-range/main.svelte diff --git a/test/runtime/samples/binding-input-text-contextual-deconflicted/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-contextual-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-contextual-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-contextual-deconflicted/_config.js diff --git a/test/runtime/samples/binding-input-text-contextual-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-contextual-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-contextual-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-contextual-deconflicted/main.svelte diff --git a/test/runtime/samples/binding-input-text-contextual-reactive/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-contextual-reactive/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-contextual-reactive/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-contextual-reactive/_config.js diff --git a/test/runtime/samples/binding-input-text-contextual-reactive/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-contextual-reactive/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-contextual-reactive/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-contextual-reactive/main.svelte diff --git a/test/runtime/samples/binding-input-text-contextual/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-contextual/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-contextual/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-contextual/_config.js diff --git a/test/runtime/samples/binding-input-text-contextual/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-contextual/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-contextual/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-contextual/main.svelte diff --git a/test/runtime/samples/binding-input-text-deconflicted/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-deconflicted/_config.js diff --git a/test/runtime/samples/binding-input-text-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-deconflicted/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-computed-dynamic/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-deep-computed-dynamic/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-deep-computed-dynamic/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-deep-computed-dynamic/_config.js diff --git a/test/runtime/samples/binding-input-text-deep-computed-dynamic/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-deep-computed-dynamic/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-computed/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-deep-computed/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-deep-computed/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-deep-computed/_config.js diff --git a/test/runtime/samples/binding-input-text-deep-computed/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-deep-computed/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep-computed/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-deep-computed/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/_config.js diff --git a/test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-deep-contextual-computed-dynamic/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep-contextual/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-deep-contextual/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-deep-contextual/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-deep-contextual/_config.js diff --git a/test/runtime/samples/binding-input-text-deep-contextual/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-deep-contextual/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep-contextual/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-deep-contextual/main.svelte diff --git a/test/runtime/samples/binding-input-text-deep/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-deep/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-deep/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-deep/_config.js diff --git a/test/runtime/samples/binding-input-text-deep/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-deep/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-deep/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-deep/main.svelte diff --git a/test/runtime/samples/binding-input-text-undefined/_config.js b/packages/svelte/test/runtime/samples/binding-input-text-undefined/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text-undefined/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text-undefined/_config.js diff --git a/test/runtime/samples/binding-input-text-undefined/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text-undefined/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text-undefined/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text-undefined/main.svelte diff --git a/test/runtime/samples/binding-input-text/_config.js b/packages/svelte/test/runtime/samples/binding-input-text/_config.js similarity index 100% rename from test/runtime/samples/binding-input-text/_config.js rename to packages/svelte/test/runtime/samples/binding-input-text/_config.js diff --git a/test/runtime/samples/binding-input-text/main.svelte b/packages/svelte/test/runtime/samples/binding-input-text/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-text/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-text/main.svelte diff --git a/test/runtime/samples/binding-input-with-event/_config.js b/packages/svelte/test/runtime/samples/binding-input-with-event/_config.js similarity index 100% rename from test/runtime/samples/binding-input-with-event/_config.js rename to packages/svelte/test/runtime/samples/binding-input-with-event/_config.js diff --git a/test/runtime/samples/binding-input-with-event/main.svelte b/packages/svelte/test/runtime/samples/binding-input-with-event/main.svelte similarity index 100% rename from test/runtime/samples/binding-input-with-event/main.svelte rename to packages/svelte/test/runtime/samples/binding-input-with-event/main.svelte diff --git a/test/runtime/samples/binding-no-unnecessary-invalidation.skip/Tab.svelte b/packages/svelte/test/runtime/samples/binding-no-unnecessary-invalidation.skip/Tab.svelte similarity index 100% rename from test/runtime/samples/binding-no-unnecessary-invalidation.skip/Tab.svelte rename to packages/svelte/test/runtime/samples/binding-no-unnecessary-invalidation.skip/Tab.svelte diff --git a/test/runtime/samples/binding-no-unnecessary-invalidation.skip/_config.js b/packages/svelte/test/runtime/samples/binding-no-unnecessary-invalidation.skip/_config.js similarity index 100% rename from test/runtime/samples/binding-no-unnecessary-invalidation.skip/_config.js rename to packages/svelte/test/runtime/samples/binding-no-unnecessary-invalidation.skip/_config.js diff --git a/test/runtime/samples/binding-no-unnecessary-invalidation.skip/main.svelte b/packages/svelte/test/runtime/samples/binding-no-unnecessary-invalidation.skip/main.svelte similarity index 100% rename from test/runtime/samples/binding-no-unnecessary-invalidation.skip/main.svelte rename to packages/svelte/test/runtime/samples/binding-no-unnecessary-invalidation.skip/main.svelte diff --git a/test/runtime/samples/binding-select-implicit-option-value/_config.js b/packages/svelte/test/runtime/samples/binding-select-implicit-option-value/_config.js similarity index 100% rename from test/runtime/samples/binding-select-implicit-option-value/_config.js rename to packages/svelte/test/runtime/samples/binding-select-implicit-option-value/_config.js diff --git a/test/runtime/samples/binding-select-implicit-option-value/main.svelte b/packages/svelte/test/runtime/samples/binding-select-implicit-option-value/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-implicit-option-value/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-implicit-option-value/main.svelte diff --git a/test/runtime/samples/binding-select-in-each-block/_config.js b/packages/svelte/test/runtime/samples/binding-select-in-each-block/_config.js similarity index 100% rename from test/runtime/samples/binding-select-in-each-block/_config.js rename to packages/svelte/test/runtime/samples/binding-select-in-each-block/_config.js diff --git a/test/runtime/samples/binding-select-in-each-block/main.svelte b/packages/svelte/test/runtime/samples/binding-select-in-each-block/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-in-each-block/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-in-each-block/main.svelte diff --git a/test/runtime/samples/binding-select-in-yield/Modal.svelte b/packages/svelte/test/runtime/samples/binding-select-in-yield/Modal.svelte similarity index 100% rename from test/runtime/samples/binding-select-in-yield/Modal.svelte rename to packages/svelte/test/runtime/samples/binding-select-in-yield/Modal.svelte diff --git a/test/runtime/samples/binding-select-in-yield/_config.js b/packages/svelte/test/runtime/samples/binding-select-in-yield/_config.js similarity index 100% rename from test/runtime/samples/binding-select-in-yield/_config.js rename to packages/svelte/test/runtime/samples/binding-select-in-yield/_config.js diff --git a/test/runtime/samples/binding-select-in-yield/main.svelte b/packages/svelte/test/runtime/samples/binding-select-in-yield/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-in-yield/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-in-yield/main.svelte diff --git a/test/runtime/samples/binding-select-initial-value-undefined-2/_config.js b/packages/svelte/test/runtime/samples/binding-select-initial-value-undefined-2/_config.js similarity index 100% rename from test/runtime/samples/binding-select-initial-value-undefined-2/_config.js rename to packages/svelte/test/runtime/samples/binding-select-initial-value-undefined-2/_config.js diff --git a/test/runtime/samples/binding-select-initial-value-undefined-2/main.svelte b/packages/svelte/test/runtime/samples/binding-select-initial-value-undefined-2/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-initial-value-undefined-2/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-initial-value-undefined-2/main.svelte diff --git a/test/runtime/samples/binding-select-initial-value-undefined/_config.js b/packages/svelte/test/runtime/samples/binding-select-initial-value-undefined/_config.js similarity index 100% rename from test/runtime/samples/binding-select-initial-value-undefined/_config.js rename to packages/svelte/test/runtime/samples/binding-select-initial-value-undefined/_config.js diff --git a/test/runtime/samples/binding-select-initial-value-undefined/main.svelte b/packages/svelte/test/runtime/samples/binding-select-initial-value-undefined/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-initial-value-undefined/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-initial-value-undefined/main.svelte diff --git a/test/runtime/samples/binding-select-initial-value/_config.js b/packages/svelte/test/runtime/samples/binding-select-initial-value/_config.js similarity index 100% rename from test/runtime/samples/binding-select-initial-value/_config.js rename to packages/svelte/test/runtime/samples/binding-select-initial-value/_config.js diff --git a/test/runtime/samples/binding-select-initial-value/main.svelte b/packages/svelte/test/runtime/samples/binding-select-initial-value/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-initial-value/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-initial-value/main.svelte diff --git a/test/runtime/samples/binding-select-late-2/_config.js b/packages/svelte/test/runtime/samples/binding-select-late-2/_config.js similarity index 100% rename from test/runtime/samples/binding-select-late-2/_config.js rename to packages/svelte/test/runtime/samples/binding-select-late-2/_config.js diff --git a/test/runtime/samples/binding-select-late-2/main.svelte b/packages/svelte/test/runtime/samples/binding-select-late-2/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-late-2/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-late-2/main.svelte diff --git a/test/runtime/samples/binding-select-late-3/_config.js b/packages/svelte/test/runtime/samples/binding-select-late-3/_config.js similarity index 100% rename from test/runtime/samples/binding-select-late-3/_config.js rename to packages/svelte/test/runtime/samples/binding-select-late-3/_config.js diff --git a/test/runtime/samples/binding-select-late-3/main.svelte b/packages/svelte/test/runtime/samples/binding-select-late-3/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-late-3/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-late-3/main.svelte diff --git a/test/runtime/samples/binding-select-late/_config.js b/packages/svelte/test/runtime/samples/binding-select-late/_config.js similarity index 100% rename from test/runtime/samples/binding-select-late/_config.js rename to packages/svelte/test/runtime/samples/binding-select-late/_config.js diff --git a/test/runtime/samples/binding-select-late/main.svelte b/packages/svelte/test/runtime/samples/binding-select-late/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-late/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-late/main.svelte diff --git a/test/runtime/samples/binding-select-multiple/_config.js b/packages/svelte/test/runtime/samples/binding-select-multiple/_config.js similarity index 100% rename from test/runtime/samples/binding-select-multiple/_config.js rename to packages/svelte/test/runtime/samples/binding-select-multiple/_config.js diff --git a/test/runtime/samples/binding-select-multiple/main.svelte b/packages/svelte/test/runtime/samples/binding-select-multiple/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-multiple/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-multiple/main.svelte diff --git a/test/runtime/samples/binding-select-null-placeholder/_config.js b/packages/svelte/test/runtime/samples/binding-select-null-placeholder/_config.js similarity index 100% rename from test/runtime/samples/binding-select-null-placeholder/_config.js rename to packages/svelte/test/runtime/samples/binding-select-null-placeholder/_config.js diff --git a/test/runtime/samples/binding-select-null-placeholder/main.svelte b/packages/svelte/test/runtime/samples/binding-select-null-placeholder/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-null-placeholder/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-null-placeholder/main.svelte diff --git a/test/runtime/samples/binding-select-optgroup/_config.js b/packages/svelte/test/runtime/samples/binding-select-optgroup/_config.js similarity index 100% rename from test/runtime/samples/binding-select-optgroup/_config.js rename to packages/svelte/test/runtime/samples/binding-select-optgroup/_config.js diff --git a/test/runtime/samples/binding-select-optgroup/main.svelte b/packages/svelte/test/runtime/samples/binding-select-optgroup/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-optgroup/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-optgroup/main.svelte diff --git a/test/runtime/samples/binding-select-unmatched/_config.js b/packages/svelte/test/runtime/samples/binding-select-unmatched/_config.js similarity index 100% rename from test/runtime/samples/binding-select-unmatched/_config.js rename to packages/svelte/test/runtime/samples/binding-select-unmatched/_config.js diff --git a/test/runtime/samples/binding-select-unmatched/main.svelte b/packages/svelte/test/runtime/samples/binding-select-unmatched/main.svelte similarity index 100% rename from test/runtime/samples/binding-select-unmatched/main.svelte rename to packages/svelte/test/runtime/samples/binding-select-unmatched/main.svelte diff --git a/test/runtime/samples/binding-select/_config.js b/packages/svelte/test/runtime/samples/binding-select/_config.js similarity index 100% rename from test/runtime/samples/binding-select/_config.js rename to packages/svelte/test/runtime/samples/binding-select/_config.js diff --git a/test/runtime/samples/binding-select/main.svelte b/packages/svelte/test/runtime/samples/binding-select/main.svelte similarity index 100% rename from test/runtime/samples/binding-select/main.svelte rename to packages/svelte/test/runtime/samples/binding-select/main.svelte diff --git a/test/runtime/samples/binding-store-deep/_config.js b/packages/svelte/test/runtime/samples/binding-store-deep/_config.js similarity index 100% rename from test/runtime/samples/binding-store-deep/_config.js rename to packages/svelte/test/runtime/samples/binding-store-deep/_config.js diff --git a/test/runtime/samples/binding-store-deep/main.svelte b/packages/svelte/test/runtime/samples/binding-store-deep/main.svelte similarity index 100% rename from test/runtime/samples/binding-store-deep/main.svelte rename to packages/svelte/test/runtime/samples/binding-store-deep/main.svelte diff --git a/test/runtime/samples/binding-store/_config.js b/packages/svelte/test/runtime/samples/binding-store/_config.js similarity index 100% rename from test/runtime/samples/binding-store/_config.js rename to packages/svelte/test/runtime/samples/binding-store/_config.js diff --git a/test/runtime/samples/binding-store/main.svelte b/packages/svelte/test/runtime/samples/binding-store/main.svelte similarity index 100% rename from test/runtime/samples/binding-store/main.svelte rename to packages/svelte/test/runtime/samples/binding-store/main.svelte diff --git a/test/runtime/samples/binding-textarea/_config.js b/packages/svelte/test/runtime/samples/binding-textarea/_config.js similarity index 100% rename from test/runtime/samples/binding-textarea/_config.js rename to packages/svelte/test/runtime/samples/binding-textarea/_config.js diff --git a/test/runtime/samples/binding-textarea/main.svelte b/packages/svelte/test/runtime/samples/binding-textarea/main.svelte similarity index 100% rename from test/runtime/samples/binding-textarea/main.svelte rename to packages/svelte/test/runtime/samples/binding-textarea/main.svelte diff --git a/test/runtime/samples/binding-this-and-value/_config.js b/packages/svelte/test/runtime/samples/binding-this-and-value/_config.js similarity index 100% rename from test/runtime/samples/binding-this-and-value/_config.js rename to packages/svelte/test/runtime/samples/binding-this-and-value/_config.js diff --git a/test/runtime/samples/binding-this-and-value/main.svelte b/packages/svelte/test/runtime/samples/binding-this-and-value/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-and-value/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-and-value/main.svelte diff --git a/test/runtime/samples/binding-this-component-computed-key/Foo.svelte b/packages/svelte/test/runtime/samples/binding-this-component-computed-key/Foo.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-computed-key/Foo.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-computed-key/Foo.svelte diff --git a/test/runtime/samples/binding-this-component-computed-key/_config.js b/packages/svelte/test/runtime/samples/binding-this-component-computed-key/_config.js similarity index 100% rename from test/runtime/samples/binding-this-component-computed-key/_config.js rename to packages/svelte/test/runtime/samples/binding-this-component-computed-key/_config.js diff --git a/test/runtime/samples/binding-this-component-computed-key/main.svelte b/packages/svelte/test/runtime/samples/binding-this-component-computed-key/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-computed-key/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-computed-key/main.svelte diff --git a/test/runtime/samples/binding-this-component-each-block-value/Foo.svelte b/packages/svelte/test/runtime/samples/binding-this-component-each-block-value/Foo.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-each-block-value/Foo.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-each-block-value/Foo.svelte diff --git a/test/runtime/samples/binding-this-component-each-block-value/_config.js b/packages/svelte/test/runtime/samples/binding-this-component-each-block-value/_config.js similarity index 100% rename from test/runtime/samples/binding-this-component-each-block-value/_config.js rename to packages/svelte/test/runtime/samples/binding-this-component-each-block-value/_config.js diff --git a/test/runtime/samples/binding-this-component-each-block-value/main.svelte b/packages/svelte/test/runtime/samples/binding-this-component-each-block-value/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-each-block-value/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-each-block-value/main.svelte diff --git a/test/runtime/samples/binding-this-component-each-block/Foo.svelte b/packages/svelte/test/runtime/samples/binding-this-component-each-block/Foo.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-each-block/Foo.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-each-block/Foo.svelte diff --git a/test/runtime/samples/binding-this-component-each-block/_config.js b/packages/svelte/test/runtime/samples/binding-this-component-each-block/_config.js similarity index 100% rename from test/runtime/samples/binding-this-component-each-block/_config.js rename to packages/svelte/test/runtime/samples/binding-this-component-each-block/_config.js diff --git a/test/runtime/samples/binding-this-component-each-block/main.svelte b/packages/svelte/test/runtime/samples/binding-this-component-each-block/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-each-block/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-each-block/main.svelte diff --git a/test/runtime/samples/binding-this-component-reactive/Foo.svelte b/packages/svelte/test/runtime/samples/binding-this-component-reactive/Foo.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-reactive/Foo.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-reactive/Foo.svelte diff --git a/test/runtime/samples/binding-this-component-reactive/_config.js b/packages/svelte/test/runtime/samples/binding-this-component-reactive/_config.js similarity index 100% rename from test/runtime/samples/binding-this-component-reactive/_config.js rename to packages/svelte/test/runtime/samples/binding-this-component-reactive/_config.js diff --git a/test/runtime/samples/binding-this-component-reactive/main.svelte b/packages/svelte/test/runtime/samples/binding-this-component-reactive/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-component-reactive/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-component-reactive/main.svelte diff --git a/test/runtime/samples/binding-this-each-block-property-2/_config.js b/packages/svelte/test/runtime/samples/binding-this-each-block-property-2/_config.js similarity index 100% rename from test/runtime/samples/binding-this-each-block-property-2/_config.js rename to packages/svelte/test/runtime/samples/binding-this-each-block-property-2/_config.js diff --git a/test/runtime/samples/binding-this-each-block-property-2/main.svelte b/packages/svelte/test/runtime/samples/binding-this-each-block-property-2/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-each-block-property-2/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-each-block-property-2/main.svelte diff --git a/test/runtime/samples/binding-this-each-block-property-component/Foo.svelte b/packages/svelte/test/runtime/samples/binding-this-each-block-property-component/Foo.svelte similarity index 100% rename from test/runtime/samples/binding-this-each-block-property-component/Foo.svelte rename to packages/svelte/test/runtime/samples/binding-this-each-block-property-component/Foo.svelte diff --git a/test/runtime/samples/binding-this-each-block-property-component/_config.js b/packages/svelte/test/runtime/samples/binding-this-each-block-property-component/_config.js similarity index 100% rename from test/runtime/samples/binding-this-each-block-property-component/_config.js rename to packages/svelte/test/runtime/samples/binding-this-each-block-property-component/_config.js diff --git a/test/runtime/samples/binding-this-each-block-property-component/main.svelte b/packages/svelte/test/runtime/samples/binding-this-each-block-property-component/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-each-block-property-component/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-each-block-property-component/main.svelte diff --git a/test/runtime/samples/binding-this-each-block-property/_config.js b/packages/svelte/test/runtime/samples/binding-this-each-block-property/_config.js similarity index 100% rename from test/runtime/samples/binding-this-each-block-property/_config.js rename to packages/svelte/test/runtime/samples/binding-this-each-block-property/_config.js diff --git a/test/runtime/samples/binding-this-each-block-property/main.svelte b/packages/svelte/test/runtime/samples/binding-this-each-block-property/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-each-block-property/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-each-block-property/main.svelte diff --git a/test/runtime/samples/binding-this-each-key/_config.js b/packages/svelte/test/runtime/samples/binding-this-each-key/_config.js similarity index 100% rename from test/runtime/samples/binding-this-each-key/_config.js rename to packages/svelte/test/runtime/samples/binding-this-each-key/_config.js diff --git a/test/runtime/samples/binding-this-each-key/main.svelte b/packages/svelte/test/runtime/samples/binding-this-each-key/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-each-key/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-each-key/main.svelte diff --git a/test/runtime/samples/binding-this-each-object-props/_config.js b/packages/svelte/test/runtime/samples/binding-this-each-object-props/_config.js similarity index 100% rename from test/runtime/samples/binding-this-each-object-props/_config.js rename to packages/svelte/test/runtime/samples/binding-this-each-object-props/_config.js diff --git a/test/runtime/samples/binding-this-each-object-props/main.svelte b/packages/svelte/test/runtime/samples/binding-this-each-object-props/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-each-object-props/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-each-object-props/main.svelte diff --git a/test/runtime/samples/binding-this-each-object-spread/_config.js b/packages/svelte/test/runtime/samples/binding-this-each-object-spread/_config.js similarity index 100% rename from test/runtime/samples/binding-this-each-object-spread/_config.js rename to packages/svelte/test/runtime/samples/binding-this-each-object-spread/_config.js diff --git a/test/runtime/samples/binding-this-each-object-spread/main.svelte b/packages/svelte/test/runtime/samples/binding-this-each-object-spread/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-each-object-spread/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-each-object-spread/main.svelte diff --git a/test/runtime/samples/binding-this-element-reactive-b/_config.js b/packages/svelte/test/runtime/samples/binding-this-element-reactive-b/_config.js similarity index 100% rename from test/runtime/samples/binding-this-element-reactive-b/_config.js rename to packages/svelte/test/runtime/samples/binding-this-element-reactive-b/_config.js diff --git a/test/runtime/samples/binding-this-element-reactive-b/main.svelte b/packages/svelte/test/runtime/samples/binding-this-element-reactive-b/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-element-reactive-b/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-element-reactive-b/main.svelte diff --git a/test/runtime/samples/binding-this-element-reactive/_config.js b/packages/svelte/test/runtime/samples/binding-this-element-reactive/_config.js similarity index 100% rename from test/runtime/samples/binding-this-element-reactive/_config.js rename to packages/svelte/test/runtime/samples/binding-this-element-reactive/_config.js diff --git a/test/runtime/samples/binding-this-element-reactive/main.svelte b/packages/svelte/test/runtime/samples/binding-this-element-reactive/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-element-reactive/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-element-reactive/main.svelte diff --git a/test/runtime/samples/binding-this-member-expression-update/_config.js b/packages/svelte/test/runtime/samples/binding-this-member-expression-update/_config.js similarity index 100% rename from test/runtime/samples/binding-this-member-expression-update/_config.js rename to packages/svelte/test/runtime/samples/binding-this-member-expression-update/_config.js diff --git a/test/runtime/samples/binding-this-member-expression-update/main.svelte b/packages/svelte/test/runtime/samples/binding-this-member-expression-update/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-member-expression-update/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-member-expression-update/main.svelte diff --git a/test/runtime/samples/binding-this-no-innerhtml/_config.js b/packages/svelte/test/runtime/samples/binding-this-no-innerhtml/_config.js similarity index 100% rename from test/runtime/samples/binding-this-no-innerhtml/_config.js rename to packages/svelte/test/runtime/samples/binding-this-no-innerhtml/_config.js diff --git a/test/runtime/samples/binding-this-no-innerhtml/main.svelte b/packages/svelte/test/runtime/samples/binding-this-no-innerhtml/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-no-innerhtml/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-no-innerhtml/main.svelte diff --git a/test/runtime/samples/binding-this-store/_config.js b/packages/svelte/test/runtime/samples/binding-this-store/_config.js similarity index 100% rename from test/runtime/samples/binding-this-store/_config.js rename to packages/svelte/test/runtime/samples/binding-this-store/_config.js diff --git a/test/runtime/samples/binding-this-store/main.svelte b/packages/svelte/test/runtime/samples/binding-this-store/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-store/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-store/main.svelte diff --git a/test/runtime/samples/binding-this-unset/_config.js b/packages/svelte/test/runtime/samples/binding-this-unset/_config.js similarity index 100% rename from test/runtime/samples/binding-this-unset/_config.js rename to packages/svelte/test/runtime/samples/binding-this-unset/_config.js diff --git a/test/runtime/samples/binding-this-unset/main.svelte b/packages/svelte/test/runtime/samples/binding-this-unset/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-unset/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-unset/main.svelte diff --git a/test/runtime/samples/binding-this-with-context/_config.js b/packages/svelte/test/runtime/samples/binding-this-with-context/_config.js similarity index 100% rename from test/runtime/samples/binding-this-with-context/_config.js rename to packages/svelte/test/runtime/samples/binding-this-with-context/_config.js diff --git a/test/runtime/samples/binding-this-with-context/main.svelte b/packages/svelte/test/runtime/samples/binding-this-with-context/main.svelte similarity index 100% rename from test/runtime/samples/binding-this-with-context/main.svelte rename to packages/svelte/test/runtime/samples/binding-this-with-context/main.svelte diff --git a/test/runtime/samples/binding-this/_config.js b/packages/svelte/test/runtime/samples/binding-this/_config.js similarity index 100% rename from test/runtime/samples/binding-this/_config.js rename to packages/svelte/test/runtime/samples/binding-this/_config.js diff --git a/test/runtime/samples/binding-this/main.svelte b/packages/svelte/test/runtime/samples/binding-this/main.svelte similarity index 100% rename from test/runtime/samples/binding-this/main.svelte rename to packages/svelte/test/runtime/samples/binding-this/main.svelte diff --git a/test/runtime/samples/binding-using-props/TextInput.svelte b/packages/svelte/test/runtime/samples/binding-using-props/TextInput.svelte similarity index 100% rename from test/runtime/samples/binding-using-props/TextInput.svelte rename to packages/svelte/test/runtime/samples/binding-using-props/TextInput.svelte diff --git a/test/runtime/samples/binding-using-props/_config.js b/packages/svelte/test/runtime/samples/binding-using-props/_config.js similarity index 100% rename from test/runtime/samples/binding-using-props/_config.js rename to packages/svelte/test/runtime/samples/binding-using-props/_config.js diff --git a/test/runtime/samples/binding-using-props/main.svelte b/packages/svelte/test/runtime/samples/binding-using-props/main.svelte similarity index 100% rename from test/runtime/samples/binding-using-props/main.svelte rename to packages/svelte/test/runtime/samples/binding-using-props/main.svelte diff --git a/test/runtime/samples/binding-width-height-a11y/_config.js b/packages/svelte/test/runtime/samples/binding-width-height-a11y/_config.js similarity index 100% rename from test/runtime/samples/binding-width-height-a11y/_config.js rename to packages/svelte/test/runtime/samples/binding-width-height-a11y/_config.js diff --git a/test/runtime/samples/binding-width-height-a11y/main.svelte b/packages/svelte/test/runtime/samples/binding-width-height-a11y/main.svelte similarity index 100% rename from test/runtime/samples/binding-width-height-a11y/main.svelte rename to packages/svelte/test/runtime/samples/binding-width-height-a11y/main.svelte diff --git a/test/runtime/samples/binding-width-height-z-index/_config.js b/packages/svelte/test/runtime/samples/binding-width-height-z-index/_config.js similarity index 100% rename from test/runtime/samples/binding-width-height-z-index/_config.js rename to packages/svelte/test/runtime/samples/binding-width-height-z-index/_config.js diff --git a/test/runtime/samples/binding-width-height-z-index/main.svelte b/packages/svelte/test/runtime/samples/binding-width-height-z-index/main.svelte similarity index 100% rename from test/runtime/samples/binding-width-height-z-index/main.svelte rename to packages/svelte/test/runtime/samples/binding-width-height-z-index/main.svelte diff --git a/test/runtime/samples/bindings-before-onmount/One.svelte b/packages/svelte/test/runtime/samples/bindings-before-onmount/One.svelte similarity index 100% rename from test/runtime/samples/bindings-before-onmount/One.svelte rename to packages/svelte/test/runtime/samples/bindings-before-onmount/One.svelte diff --git a/test/runtime/samples/bindings-before-onmount/Two.svelte b/packages/svelte/test/runtime/samples/bindings-before-onmount/Two.svelte similarity index 100% rename from test/runtime/samples/bindings-before-onmount/Two.svelte rename to packages/svelte/test/runtime/samples/bindings-before-onmount/Two.svelte diff --git a/test/runtime/samples/bindings-before-onmount/_config.js b/packages/svelte/test/runtime/samples/bindings-before-onmount/_config.js similarity index 100% rename from test/runtime/samples/bindings-before-onmount/_config.js rename to packages/svelte/test/runtime/samples/bindings-before-onmount/_config.js diff --git a/test/runtime/samples/bindings-before-onmount/main.svelte b/packages/svelte/test/runtime/samples/bindings-before-onmount/main.svelte similarity index 100% rename from test/runtime/samples/bindings-before-onmount/main.svelte rename to packages/svelte/test/runtime/samples/bindings-before-onmount/main.svelte diff --git a/test/runtime/samples/bindings-coalesced/Foo.svelte b/packages/svelte/test/runtime/samples/bindings-coalesced/Foo.svelte similarity index 100% rename from test/runtime/samples/bindings-coalesced/Foo.svelte rename to packages/svelte/test/runtime/samples/bindings-coalesced/Foo.svelte diff --git a/test/runtime/samples/bindings-coalesced/_config.js b/packages/svelte/test/runtime/samples/bindings-coalesced/_config.js similarity index 100% rename from test/runtime/samples/bindings-coalesced/_config.js rename to packages/svelte/test/runtime/samples/bindings-coalesced/_config.js diff --git a/test/runtime/samples/bindings-coalesced/main.svelte b/packages/svelte/test/runtime/samples/bindings-coalesced/main.svelte similarity index 100% rename from test/runtime/samples/bindings-coalesced/main.svelte rename to packages/svelte/test/runtime/samples/bindings-coalesced/main.svelte diff --git a/test/runtime/samples/bindings-global-dependency/_config.js b/packages/svelte/test/runtime/samples/bindings-global-dependency/_config.js similarity index 100% rename from test/runtime/samples/bindings-global-dependency/_config.js rename to packages/svelte/test/runtime/samples/bindings-global-dependency/_config.js diff --git a/test/runtime/samples/bindings-global-dependency/main.svelte b/packages/svelte/test/runtime/samples/bindings-global-dependency/main.svelte similarity index 100% rename from test/runtime/samples/bindings-global-dependency/main.svelte rename to packages/svelte/test/runtime/samples/bindings-global-dependency/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-2/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-2/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-2/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-2/_config.js diff --git a/test/runtime/samples/bitmask-overflow-2/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-2/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-2/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-2/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-3/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-3/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-3/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-3/_config.js diff --git a/test/runtime/samples/bitmask-overflow-3/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-3/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-3/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-3/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-if-2/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-if-2/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-if-2/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-if-2/_config.js diff --git a/test/runtime/samples/bitmask-overflow-if-2/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-if-2/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-if-2/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-if-2/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-if/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-if/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-if/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-if/_config.js diff --git a/test/runtime/samples/bitmask-overflow-if/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-if/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-if/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-if/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-2/Echo.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-2/Echo.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-2/Echo.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-2/Echo.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-2/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-2/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-2/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-2/_config.js diff --git a/test/runtime/samples/bitmask-overflow-slot-2/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-2/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-2/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-2/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-3/Echo.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-3/Echo.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-3/Echo.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-3/Echo.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-3/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-3/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-3/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-3/_config.js diff --git a/test/runtime/samples/bitmask-overflow-slot-3/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-3/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-3/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-3/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-4/Echo.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-4/Echo.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-4/Echo.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-4/Echo.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-4/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-4/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-4/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-4/_config.js diff --git a/test/runtime/samples/bitmask-overflow-slot-4/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-4/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-4/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-4/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-5/Echo.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-5/Echo.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-5/Echo.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-5/Echo.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-5/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-5/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-5/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-5/_config.js diff --git a/test/runtime/samples/bitmask-overflow-slot-5/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-5/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-5/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-5/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-6/Slotted.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-6/Slotted.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-6/Slotted.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-6/Slotted.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot-6/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-6/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-6/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-6/_config.js diff --git a/test/runtime/samples/bitmask-overflow-slot-6/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot-6/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot-6/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot-6/main.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot/Echo.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot/Echo.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot/Echo.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot/Echo.svelte diff --git a/test/runtime/samples/bitmask-overflow-slot/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow-slot/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot/_config.js diff --git a/test/runtime/samples/bitmask-overflow-slot/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow-slot/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow-slot/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow-slot/main.svelte diff --git a/test/runtime/samples/bitmask-overflow/_config.js b/packages/svelte/test/runtime/samples/bitmask-overflow/_config.js similarity index 100% rename from test/runtime/samples/bitmask-overflow/_config.js rename to packages/svelte/test/runtime/samples/bitmask-overflow/_config.js diff --git a/test/runtime/samples/bitmask-overflow/main.svelte b/packages/svelte/test/runtime/samples/bitmask-overflow/main.svelte similarity index 100% rename from test/runtime/samples/bitmask-overflow/main.svelte rename to packages/svelte/test/runtime/samples/bitmask-overflow/main.svelte diff --git a/test/runtime/samples/class-boolean/_config.js b/packages/svelte/test/runtime/samples/class-boolean/_config.js similarity index 100% rename from test/runtime/samples/class-boolean/_config.js rename to packages/svelte/test/runtime/samples/class-boolean/_config.js diff --git a/test/runtime/samples/class-boolean/main.svelte b/packages/svelte/test/runtime/samples/class-boolean/main.svelte similarity index 100% rename from test/runtime/samples/class-boolean/main.svelte rename to packages/svelte/test/runtime/samples/class-boolean/main.svelte diff --git a/test/runtime/samples/class-helper/_config.js b/packages/svelte/test/runtime/samples/class-helper/_config.js similarity index 100% rename from test/runtime/samples/class-helper/_config.js rename to packages/svelte/test/runtime/samples/class-helper/_config.js diff --git a/test/runtime/samples/class-helper/main.svelte b/packages/svelte/test/runtime/samples/class-helper/main.svelte similarity index 100% rename from test/runtime/samples/class-helper/main.svelte rename to packages/svelte/test/runtime/samples/class-helper/main.svelte diff --git a/test/runtime/samples/class-in-each/_config.js b/packages/svelte/test/runtime/samples/class-in-each/_config.js similarity index 100% rename from test/runtime/samples/class-in-each/_config.js rename to packages/svelte/test/runtime/samples/class-in-each/_config.js diff --git a/test/runtime/samples/class-in-each/main.svelte b/packages/svelte/test/runtime/samples/class-in-each/main.svelte similarity index 100% rename from test/runtime/samples/class-in-each/main.svelte rename to packages/svelte/test/runtime/samples/class-in-each/main.svelte diff --git a/test/runtime/samples/class-shortcut-with-class/_config.js b/packages/svelte/test/runtime/samples/class-shortcut-with-class/_config.js similarity index 100% rename from test/runtime/samples/class-shortcut-with-class/_config.js rename to packages/svelte/test/runtime/samples/class-shortcut-with-class/_config.js diff --git a/test/runtime/samples/class-shortcut-with-class/main.svelte b/packages/svelte/test/runtime/samples/class-shortcut-with-class/main.svelte similarity index 100% rename from test/runtime/samples/class-shortcut-with-class/main.svelte rename to packages/svelte/test/runtime/samples/class-shortcut-with-class/main.svelte diff --git a/test/runtime/samples/class-shortcut-with-transition/_config.js b/packages/svelte/test/runtime/samples/class-shortcut-with-transition/_config.js similarity index 100% rename from test/runtime/samples/class-shortcut-with-transition/_config.js rename to packages/svelte/test/runtime/samples/class-shortcut-with-transition/_config.js diff --git a/test/runtime/samples/class-shortcut-with-transition/main.svelte b/packages/svelte/test/runtime/samples/class-shortcut-with-transition/main.svelte similarity index 100% rename from test/runtime/samples/class-shortcut-with-transition/main.svelte rename to packages/svelte/test/runtime/samples/class-shortcut-with-transition/main.svelte diff --git a/test/runtime/samples/class-shortcut/_config.js b/packages/svelte/test/runtime/samples/class-shortcut/_config.js similarity index 100% rename from test/runtime/samples/class-shortcut/_config.js rename to packages/svelte/test/runtime/samples/class-shortcut/_config.js diff --git a/test/runtime/samples/class-shortcut/main.svelte b/packages/svelte/test/runtime/samples/class-shortcut/main.svelte similarity index 100% rename from test/runtime/samples/class-shortcut/main.svelte rename to packages/svelte/test/runtime/samples/class-shortcut/main.svelte diff --git a/test/runtime/samples/class-with-attribute/_config.js b/packages/svelte/test/runtime/samples/class-with-attribute/_config.js similarity index 100% rename from test/runtime/samples/class-with-attribute/_config.js rename to packages/svelte/test/runtime/samples/class-with-attribute/_config.js diff --git a/test/runtime/samples/class-with-attribute/main.svelte b/packages/svelte/test/runtime/samples/class-with-attribute/main.svelte similarity index 100% rename from test/runtime/samples/class-with-attribute/main.svelte rename to packages/svelte/test/runtime/samples/class-with-attribute/main.svelte diff --git a/test/runtime/samples/class-with-dynamic-attribute-and-spread/_config.js b/packages/svelte/test/runtime/samples/class-with-dynamic-attribute-and-spread/_config.js similarity index 100% rename from test/runtime/samples/class-with-dynamic-attribute-and-spread/_config.js rename to packages/svelte/test/runtime/samples/class-with-dynamic-attribute-and-spread/_config.js diff --git a/test/runtime/samples/class-with-dynamic-attribute-and-spread/main.svelte b/packages/svelte/test/runtime/samples/class-with-dynamic-attribute-and-spread/main.svelte similarity index 100% rename from test/runtime/samples/class-with-dynamic-attribute-and-spread/main.svelte rename to packages/svelte/test/runtime/samples/class-with-dynamic-attribute-and-spread/main.svelte diff --git a/test/runtime/samples/class-with-dynamic-attribute/_config.js b/packages/svelte/test/runtime/samples/class-with-dynamic-attribute/_config.js similarity index 100% rename from test/runtime/samples/class-with-dynamic-attribute/_config.js rename to packages/svelte/test/runtime/samples/class-with-dynamic-attribute/_config.js diff --git a/test/runtime/samples/class-with-dynamic-attribute/main.svelte b/packages/svelte/test/runtime/samples/class-with-dynamic-attribute/main.svelte similarity index 100% rename from test/runtime/samples/class-with-dynamic-attribute/main.svelte rename to packages/svelte/test/runtime/samples/class-with-dynamic-attribute/main.svelte diff --git a/test/runtime/samples/class-with-spread-and-bind/_config.js b/packages/svelte/test/runtime/samples/class-with-spread-and-bind/_config.js similarity index 100% rename from test/runtime/samples/class-with-spread-and-bind/_config.js rename to packages/svelte/test/runtime/samples/class-with-spread-and-bind/_config.js diff --git a/test/runtime/samples/class-with-spread-and-bind/main.svelte b/packages/svelte/test/runtime/samples/class-with-spread-and-bind/main.svelte similarity index 100% rename from test/runtime/samples/class-with-spread-and-bind/main.svelte rename to packages/svelte/test/runtime/samples/class-with-spread-and-bind/main.svelte diff --git a/test/runtime/samples/class-with-spread/_config.js b/packages/svelte/test/runtime/samples/class-with-spread/_config.js similarity index 100% rename from test/runtime/samples/class-with-spread/_config.js rename to packages/svelte/test/runtime/samples/class-with-spread/_config.js diff --git a/test/runtime/samples/class-with-spread/main.svelte b/packages/svelte/test/runtime/samples/class-with-spread/main.svelte similarity index 100% rename from test/runtime/samples/class-with-spread/main.svelte rename to packages/svelte/test/runtime/samples/class-with-spread/main.svelte diff --git a/test/runtime/samples/component-binding-accessors/Nested.svelte b/packages/svelte/test/runtime/samples/component-binding-accessors/Nested.svelte similarity index 100% rename from test/runtime/samples/component-binding-accessors/Nested.svelte rename to packages/svelte/test/runtime/samples/component-binding-accessors/Nested.svelte diff --git a/test/runtime/samples/component-binding-accessors/_config.js b/packages/svelte/test/runtime/samples/component-binding-accessors/_config.js similarity index 100% rename from test/runtime/samples/component-binding-accessors/_config.js rename to packages/svelte/test/runtime/samples/component-binding-accessors/_config.js diff --git a/test/runtime/samples/component-binding-accessors/main.svelte b/packages/svelte/test/runtime/samples/component-binding-accessors/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-accessors/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-accessors/main.svelte diff --git a/test/runtime/samples/component-binding-aliased/Widget.svelte b/packages/svelte/test/runtime/samples/component-binding-aliased/Widget.svelte similarity index 100% rename from test/runtime/samples/component-binding-aliased/Widget.svelte rename to packages/svelte/test/runtime/samples/component-binding-aliased/Widget.svelte diff --git a/test/runtime/samples/component-binding-aliased/_config.js b/packages/svelte/test/runtime/samples/component-binding-aliased/_config.js similarity index 100% rename from test/runtime/samples/component-binding-aliased/_config.js rename to packages/svelte/test/runtime/samples/component-binding-aliased/_config.js diff --git a/test/runtime/samples/component-binding-aliased/main.svelte b/packages/svelte/test/runtime/samples/component-binding-aliased/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-aliased/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-aliased/main.svelte diff --git a/test/runtime/samples/component-binding-blowback-b/Nested.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-b/Nested.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-b/Nested.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-b/Nested.svelte diff --git a/test/runtime/samples/component-binding-blowback-b/_config.js b/packages/svelte/test/runtime/samples/component-binding-blowback-b/_config.js similarity index 100% rename from test/runtime/samples/component-binding-blowback-b/_config.js rename to packages/svelte/test/runtime/samples/component-binding-blowback-b/_config.js diff --git a/test/runtime/samples/component-binding-blowback-b/main.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-b/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-b/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-b/main.svelte diff --git a/test/runtime/samples/component-binding-blowback-c/Nested.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-c/Nested.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-c/Nested.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-c/Nested.svelte diff --git a/test/runtime/samples/component-binding-blowback-c/_config.js b/packages/svelte/test/runtime/samples/component-binding-blowback-c/_config.js similarity index 100% rename from test/runtime/samples/component-binding-blowback-c/_config.js rename to packages/svelte/test/runtime/samples/component-binding-blowback-c/_config.js diff --git a/test/runtime/samples/component-binding-blowback-c/main.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-c/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-c/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-c/main.svelte diff --git a/test/runtime/samples/component-binding-blowback-d/One.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-d/One.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-d/One.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-d/One.svelte diff --git a/test/runtime/samples/component-binding-blowback-d/Two.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-d/Two.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-d/Two.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-d/Two.svelte diff --git a/test/runtime/samples/component-binding-blowback-d/_config.js b/packages/svelte/test/runtime/samples/component-binding-blowback-d/_config.js similarity index 100% rename from test/runtime/samples/component-binding-blowback-d/_config.js rename to packages/svelte/test/runtime/samples/component-binding-blowback-d/_config.js diff --git a/test/runtime/samples/component-binding-blowback-d/main.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-d/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-d/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-d/main.svelte diff --git a/test/runtime/samples/component-binding-blowback-e/One.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-e/One.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-e/One.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-e/One.svelte diff --git a/test/runtime/samples/component-binding-blowback-e/Two.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-e/Two.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-e/Two.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-e/Two.svelte diff --git a/test/runtime/samples/component-binding-blowback-e/_config.js b/packages/svelte/test/runtime/samples/component-binding-blowback-e/_config.js similarity index 100% rename from test/runtime/samples/component-binding-blowback-e/_config.js rename to packages/svelte/test/runtime/samples/component-binding-blowback-e/_config.js diff --git a/test/runtime/samples/component-binding-blowback-e/main.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-e/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-e/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-e/main.svelte diff --git a/test/runtime/samples/component-binding-blowback-f/One.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-f/One.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-f/One.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-f/One.svelte diff --git a/test/runtime/samples/component-binding-blowback-f/Two.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-f/Two.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-f/Two.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-f/Two.svelte diff --git a/test/runtime/samples/component-binding-blowback-f/_config.js b/packages/svelte/test/runtime/samples/component-binding-blowback-f/_config.js similarity index 100% rename from test/runtime/samples/component-binding-blowback-f/_config.js rename to packages/svelte/test/runtime/samples/component-binding-blowback-f/_config.js diff --git a/test/runtime/samples/component-binding-blowback-f/main.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback-f/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback-f/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback-f/main.svelte diff --git a/test/runtime/samples/component-binding-blowback/Widget.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback/Widget.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback/Widget.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback/Widget.svelte diff --git a/test/runtime/samples/component-binding-blowback/_config.js b/packages/svelte/test/runtime/samples/component-binding-blowback/_config.js similarity index 100% rename from test/runtime/samples/component-binding-blowback/_config.js rename to packages/svelte/test/runtime/samples/component-binding-blowback/_config.js diff --git a/test/runtime/samples/component-binding-blowback/main.svelte b/packages/svelte/test/runtime/samples/component-binding-blowback/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-blowback/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-blowback/main.svelte diff --git a/test/runtime/samples/component-binding-computed/Nested.svelte b/packages/svelte/test/runtime/samples/component-binding-computed/Nested.svelte similarity index 100% rename from test/runtime/samples/component-binding-computed/Nested.svelte rename to packages/svelte/test/runtime/samples/component-binding-computed/Nested.svelte diff --git a/test/runtime/samples/component-binding-computed/_config.js b/packages/svelte/test/runtime/samples/component-binding-computed/_config.js similarity index 100% rename from test/runtime/samples/component-binding-computed/_config.js rename to packages/svelte/test/runtime/samples/component-binding-computed/_config.js diff --git a/test/runtime/samples/component-binding-computed/main.svelte b/packages/svelte/test/runtime/samples/component-binding-computed/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-computed/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-computed/main.svelte diff --git a/test/runtime/samples/component-binding-conditional-b/Bar.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional-b/Bar.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional-b/Bar.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional-b/Bar.svelte diff --git a/test/runtime/samples/component-binding-conditional-b/Baz.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional-b/Baz.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional-b/Baz.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional-b/Baz.svelte diff --git a/test/runtime/samples/component-binding-conditional-b/Foo.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional-b/Foo.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional-b/Foo.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional-b/Foo.svelte diff --git a/test/runtime/samples/component-binding-conditional-b/_config.js b/packages/svelte/test/runtime/samples/component-binding-conditional-b/_config.js similarity index 100% rename from test/runtime/samples/component-binding-conditional-b/_config.js rename to packages/svelte/test/runtime/samples/component-binding-conditional-b/_config.js diff --git a/test/runtime/samples/component-binding-conditional-b/main.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional-b/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional-b/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional-b/main.svelte diff --git a/test/runtime/samples/component-binding-conditional/Bar.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional/Bar.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional/Bar.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional/Bar.svelte diff --git a/test/runtime/samples/component-binding-conditional/Baz.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional/Baz.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional/Baz.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional/Baz.svelte diff --git a/test/runtime/samples/component-binding-conditional/Foo.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional/Foo.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional/Foo.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional/Foo.svelte diff --git a/test/runtime/samples/component-binding-conditional/_config.js b/packages/svelte/test/runtime/samples/component-binding-conditional/_config.js similarity index 100% rename from test/runtime/samples/component-binding-conditional/_config.js rename to packages/svelte/test/runtime/samples/component-binding-conditional/_config.js diff --git a/test/runtime/samples/component-binding-conditional/main.svelte b/packages/svelte/test/runtime/samples/component-binding-conditional/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-conditional/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-conditional/main.svelte diff --git a/test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte b/packages/svelte/test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte similarity index 100% rename from test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte rename to packages/svelte/test/runtime/samples/component-binding-deep-b/ComponentSelector.svelte diff --git a/test/runtime/samples/component-binding-deep-b/Editor.svelte b/packages/svelte/test/runtime/samples/component-binding-deep-b/Editor.svelte similarity index 100% rename from test/runtime/samples/component-binding-deep-b/Editor.svelte rename to packages/svelte/test/runtime/samples/component-binding-deep-b/Editor.svelte diff --git a/test/runtime/samples/component-binding-deep-b/_config.js b/packages/svelte/test/runtime/samples/component-binding-deep-b/_config.js similarity index 100% rename from test/runtime/samples/component-binding-deep-b/_config.js rename to packages/svelte/test/runtime/samples/component-binding-deep-b/_config.js diff --git a/test/runtime/samples/component-binding-deep-b/main.svelte b/packages/svelte/test/runtime/samples/component-binding-deep-b/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-deep-b/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-deep-b/main.svelte diff --git a/test/runtime/samples/component-binding-deep/Widget.svelte b/packages/svelte/test/runtime/samples/component-binding-deep/Widget.svelte similarity index 100% rename from test/runtime/samples/component-binding-deep/Widget.svelte rename to packages/svelte/test/runtime/samples/component-binding-deep/Widget.svelte diff --git a/test/runtime/samples/component-binding-deep/_config.js b/packages/svelte/test/runtime/samples/component-binding-deep/_config.js similarity index 100% rename from test/runtime/samples/component-binding-deep/_config.js rename to packages/svelte/test/runtime/samples/component-binding-deep/_config.js diff --git a/test/runtime/samples/component-binding-deep/main.svelte b/packages/svelte/test/runtime/samples/component-binding-deep/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-deep/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-deep/main.svelte diff --git a/test/runtime/samples/component-binding-each-nested/Widget.svelte b/packages/svelte/test/runtime/samples/component-binding-each-nested/Widget.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-nested/Widget.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-nested/Widget.svelte diff --git a/test/runtime/samples/component-binding-each-nested/_config.js b/packages/svelte/test/runtime/samples/component-binding-each-nested/_config.js similarity index 100% rename from test/runtime/samples/component-binding-each-nested/_config.js rename to packages/svelte/test/runtime/samples/component-binding-each-nested/_config.js diff --git a/test/runtime/samples/component-binding-each-nested/main.svelte b/packages/svelte/test/runtime/samples/component-binding-each-nested/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-nested/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-nested/main.svelte diff --git a/test/runtime/samples/component-binding-each-object/Widget.svelte b/packages/svelte/test/runtime/samples/component-binding-each-object/Widget.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-object/Widget.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-object/Widget.svelte diff --git a/test/runtime/samples/component-binding-each-object/_config.js b/packages/svelte/test/runtime/samples/component-binding-each-object/_config.js similarity index 100% rename from test/runtime/samples/component-binding-each-object/_config.js rename to packages/svelte/test/runtime/samples/component-binding-each-object/_config.js diff --git a/test/runtime/samples/component-binding-each-object/main.svelte b/packages/svelte/test/runtime/samples/component-binding-each-object/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-object/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-object/main.svelte diff --git a/test/runtime/samples/component-binding-each-remount-keyed/Child.svelte b/packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/Child.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-remount-keyed/Child.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/Child.svelte diff --git a/test/runtime/samples/component-binding-each-remount-keyed/InnerChild.svelte b/packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/InnerChild.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-remount-keyed/InnerChild.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/InnerChild.svelte diff --git a/test/runtime/samples/component-binding-each-remount-keyed/_config.js b/packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/_config.js similarity index 100% rename from test/runtime/samples/component-binding-each-remount-keyed/_config.js rename to packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/_config.js diff --git a/test/runtime/samples/component-binding-each-remount-keyed/main.svelte b/packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-remount-keyed/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-remount-keyed/main.svelte diff --git a/test/runtime/samples/component-binding-each-remount-unkeyed/Child.svelte b/packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/Child.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-remount-unkeyed/Child.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/Child.svelte diff --git a/test/runtime/samples/component-binding-each-remount-unkeyed/InnerChild.svelte b/packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/InnerChild.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-remount-unkeyed/InnerChild.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/InnerChild.svelte diff --git a/test/runtime/samples/component-binding-each-remount-unkeyed/_config.js b/packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/_config.js similarity index 100% rename from test/runtime/samples/component-binding-each-remount-unkeyed/_config.js rename to packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/_config.js diff --git a/test/runtime/samples/component-binding-each-remount-unkeyed/main.svelte b/packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-each-remount-unkeyed/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-each-remount-unkeyed/main.svelte diff --git a/test/runtime/samples/component-binding-each/Widget.svelte b/packages/svelte/test/runtime/samples/component-binding-each/Widget.svelte similarity index 100% rename from test/runtime/samples/component-binding-each/Widget.svelte rename to packages/svelte/test/runtime/samples/component-binding-each/Widget.svelte diff --git a/test/runtime/samples/component-binding-each/_config.js b/packages/svelte/test/runtime/samples/component-binding-each/_config.js similarity index 100% rename from test/runtime/samples/component-binding-each/_config.js rename to packages/svelte/test/runtime/samples/component-binding-each/_config.js diff --git a/test/runtime/samples/component-binding-each/main.svelte b/packages/svelte/test/runtime/samples/component-binding-each/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-each/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-each/main.svelte diff --git a/test/runtime/samples/component-binding-infinite-loop/A.svelte b/packages/svelte/test/runtime/samples/component-binding-infinite-loop/A.svelte similarity index 100% rename from test/runtime/samples/component-binding-infinite-loop/A.svelte rename to packages/svelte/test/runtime/samples/component-binding-infinite-loop/A.svelte diff --git a/test/runtime/samples/component-binding-infinite-loop/B.svelte b/packages/svelte/test/runtime/samples/component-binding-infinite-loop/B.svelte similarity index 100% rename from test/runtime/samples/component-binding-infinite-loop/B.svelte rename to packages/svelte/test/runtime/samples/component-binding-infinite-loop/B.svelte diff --git a/test/runtime/samples/component-binding-infinite-loop/C.svelte b/packages/svelte/test/runtime/samples/component-binding-infinite-loop/C.svelte similarity index 100% rename from test/runtime/samples/component-binding-infinite-loop/C.svelte rename to packages/svelte/test/runtime/samples/component-binding-infinite-loop/C.svelte diff --git a/test/runtime/samples/component-binding-infinite-loop/_config.js b/packages/svelte/test/runtime/samples/component-binding-infinite-loop/_config.js similarity index 100% rename from test/runtime/samples/component-binding-infinite-loop/_config.js rename to packages/svelte/test/runtime/samples/component-binding-infinite-loop/_config.js diff --git a/test/runtime/samples/component-binding-infinite-loop/main.svelte b/packages/svelte/test/runtime/samples/component-binding-infinite-loop/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-infinite-loop/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-infinite-loop/main.svelte diff --git a/test/runtime/samples/component-binding-nested/Bar.svelte b/packages/svelte/test/runtime/samples/component-binding-nested/Bar.svelte similarity index 100% rename from test/runtime/samples/component-binding-nested/Bar.svelte rename to packages/svelte/test/runtime/samples/component-binding-nested/Bar.svelte diff --git a/test/runtime/samples/component-binding-nested/Baz.svelte b/packages/svelte/test/runtime/samples/component-binding-nested/Baz.svelte similarity index 100% rename from test/runtime/samples/component-binding-nested/Baz.svelte rename to packages/svelte/test/runtime/samples/component-binding-nested/Baz.svelte diff --git a/test/runtime/samples/component-binding-nested/Foo.svelte b/packages/svelte/test/runtime/samples/component-binding-nested/Foo.svelte similarity index 100% rename from test/runtime/samples/component-binding-nested/Foo.svelte rename to packages/svelte/test/runtime/samples/component-binding-nested/Foo.svelte diff --git a/test/runtime/samples/component-binding-nested/_config.js b/packages/svelte/test/runtime/samples/component-binding-nested/_config.js similarity index 100% rename from test/runtime/samples/component-binding-nested/_config.js rename to packages/svelte/test/runtime/samples/component-binding-nested/_config.js diff --git a/test/runtime/samples/component-binding-nested/main.svelte b/packages/svelte/test/runtime/samples/component-binding-nested/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-nested/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-nested/main.svelte diff --git a/test/runtime/samples/component-binding-non-leaky/Counter.svelte b/packages/svelte/test/runtime/samples/component-binding-non-leaky/Counter.svelte similarity index 100% rename from test/runtime/samples/component-binding-non-leaky/Counter.svelte rename to packages/svelte/test/runtime/samples/component-binding-non-leaky/Counter.svelte diff --git a/test/runtime/samples/component-binding-non-leaky/_config.js b/packages/svelte/test/runtime/samples/component-binding-non-leaky/_config.js similarity index 100% rename from test/runtime/samples/component-binding-non-leaky/_config.js rename to packages/svelte/test/runtime/samples/component-binding-non-leaky/_config.js diff --git a/test/runtime/samples/component-binding-non-leaky/main.svelte b/packages/svelte/test/runtime/samples/component-binding-non-leaky/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-non-leaky/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-non-leaky/main.svelte diff --git a/test/runtime/samples/component-binding-onMount/Mount.svelte b/packages/svelte/test/runtime/samples/component-binding-onMount/Mount.svelte similarity index 100% rename from test/runtime/samples/component-binding-onMount/Mount.svelte rename to packages/svelte/test/runtime/samples/component-binding-onMount/Mount.svelte diff --git a/test/runtime/samples/component-binding-onMount/_config.js b/packages/svelte/test/runtime/samples/component-binding-onMount/_config.js similarity index 100% rename from test/runtime/samples/component-binding-onMount/_config.js rename to packages/svelte/test/runtime/samples/component-binding-onMount/_config.js diff --git a/test/runtime/samples/component-binding-onMount/main.svelte b/packages/svelte/test/runtime/samples/component-binding-onMount/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-onMount/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-onMount/main.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-b/Bar.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-b/Bar.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-b/Foo.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-b/Foo.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-b/_config.js b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-b/_config.js similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-b/_config.js rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-b/_config.js diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-b/main.svelte b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-b/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-b/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-b/main.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-c/Bar.svelte b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/Bar.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-c/Bar.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/Bar.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-c/Foo.svelte b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/Foo.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-c/Foo.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/Foo.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-c/_config.js b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/_config.js similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-c/_config.js rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/_config.js diff --git a/test/runtime/samples/component-binding-parent-supercedes-child-c/main.svelte b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child-c/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child-c/main.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child/Counter.svelte b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child/Counter.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child/Counter.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child/Counter.svelte diff --git a/test/runtime/samples/component-binding-parent-supercedes-child/_config.js b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child/_config.js similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child/_config.js rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child/_config.js diff --git a/test/runtime/samples/component-binding-parent-supercedes-child/main.svelte b/packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-parent-supercedes-child/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-parent-supercedes-child/main.svelte diff --git a/test/runtime/samples/component-binding-private-state/Bar.svelte b/packages/svelte/test/runtime/samples/component-binding-private-state/Bar.svelte similarity index 100% rename from test/runtime/samples/component-binding-private-state/Bar.svelte rename to packages/svelte/test/runtime/samples/component-binding-private-state/Bar.svelte diff --git a/test/runtime/samples/component-binding-private-state/Foo.svelte b/packages/svelte/test/runtime/samples/component-binding-private-state/Foo.svelte similarity index 100% rename from test/runtime/samples/component-binding-private-state/Foo.svelte rename to packages/svelte/test/runtime/samples/component-binding-private-state/Foo.svelte diff --git a/test/runtime/samples/component-binding-private-state/_config.js b/packages/svelte/test/runtime/samples/component-binding-private-state/_config.js similarity index 100% rename from test/runtime/samples/component-binding-private-state/_config.js rename to packages/svelte/test/runtime/samples/component-binding-private-state/_config.js diff --git a/test/runtime/samples/component-binding-private-state/main.svelte b/packages/svelte/test/runtime/samples/component-binding-private-state/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-private-state/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-private-state/main.svelte diff --git a/test/runtime/samples/component-binding-reactive-property-no-extra-call/Component.svelte b/packages/svelte/test/runtime/samples/component-binding-reactive-property-no-extra-call/Component.svelte similarity index 100% rename from test/runtime/samples/component-binding-reactive-property-no-extra-call/Component.svelte rename to packages/svelte/test/runtime/samples/component-binding-reactive-property-no-extra-call/Component.svelte diff --git a/test/runtime/samples/component-binding-reactive-property-no-extra-call/_config.js b/packages/svelte/test/runtime/samples/component-binding-reactive-property-no-extra-call/_config.js similarity index 100% rename from test/runtime/samples/component-binding-reactive-property-no-extra-call/_config.js rename to packages/svelte/test/runtime/samples/component-binding-reactive-property-no-extra-call/_config.js diff --git a/test/runtime/samples/component-binding-reactive-property-no-extra-call/main.svelte b/packages/svelte/test/runtime/samples/component-binding-reactive-property-no-extra-call/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-reactive-property-no-extra-call/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-reactive-property-no-extra-call/main.svelte diff --git a/test/runtime/samples/component-binding-reactive-statement/Button.svelte b/packages/svelte/test/runtime/samples/component-binding-reactive-statement/Button.svelte similarity index 100% rename from test/runtime/samples/component-binding-reactive-statement/Button.svelte rename to packages/svelte/test/runtime/samples/component-binding-reactive-statement/Button.svelte diff --git a/test/runtime/samples/component-binding-reactive-statement/_config.js b/packages/svelte/test/runtime/samples/component-binding-reactive-statement/_config.js similarity index 100% rename from test/runtime/samples/component-binding-reactive-statement/_config.js rename to packages/svelte/test/runtime/samples/component-binding-reactive-statement/_config.js diff --git a/test/runtime/samples/component-binding-reactive-statement/main.svelte b/packages/svelte/test/runtime/samples/component-binding-reactive-statement/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-reactive-statement/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-reactive-statement/main.svelte diff --git a/test/runtime/samples/component-binding-self-destroying/Nested.svelte b/packages/svelte/test/runtime/samples/component-binding-self-destroying/Nested.svelte similarity index 100% rename from test/runtime/samples/component-binding-self-destroying/Nested.svelte rename to packages/svelte/test/runtime/samples/component-binding-self-destroying/Nested.svelte diff --git a/test/runtime/samples/component-binding-self-destroying/_config.js b/packages/svelte/test/runtime/samples/component-binding-self-destroying/_config.js similarity index 100% rename from test/runtime/samples/component-binding-self-destroying/_config.js rename to packages/svelte/test/runtime/samples/component-binding-self-destroying/_config.js diff --git a/test/runtime/samples/component-binding-self-destroying/main.svelte b/packages/svelte/test/runtime/samples/component-binding-self-destroying/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-self-destroying/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-self-destroying/main.svelte diff --git a/test/runtime/samples/component-binding-store/Input.svelte b/packages/svelte/test/runtime/samples/component-binding-store/Input.svelte similarity index 100% rename from test/runtime/samples/component-binding-store/Input.svelte rename to packages/svelte/test/runtime/samples/component-binding-store/Input.svelte diff --git a/test/runtime/samples/component-binding-store/_config.js b/packages/svelte/test/runtime/samples/component-binding-store/_config.js similarity index 100% rename from test/runtime/samples/component-binding-store/_config.js rename to packages/svelte/test/runtime/samples/component-binding-store/_config.js diff --git a/test/runtime/samples/component-binding-store/main.svelte b/packages/svelte/test/runtime/samples/component-binding-store/main.svelte similarity index 100% rename from test/runtime/samples/component-binding-store/main.svelte rename to packages/svelte/test/runtime/samples/component-binding-store/main.svelte diff --git a/test/runtime/samples/component-binding/Counter.svelte b/packages/svelte/test/runtime/samples/component-binding/Counter.svelte similarity index 100% rename from test/runtime/samples/component-binding/Counter.svelte rename to packages/svelte/test/runtime/samples/component-binding/Counter.svelte diff --git a/test/runtime/samples/component-binding/_config.js b/packages/svelte/test/runtime/samples/component-binding/_config.js similarity index 100% rename from test/runtime/samples/component-binding/_config.js rename to packages/svelte/test/runtime/samples/component-binding/_config.js diff --git a/test/runtime/samples/component-binding/main.svelte b/packages/svelte/test/runtime/samples/component-binding/main.svelte similarity index 100% rename from test/runtime/samples/component-binding/main.svelte rename to packages/svelte/test/runtime/samples/component-binding/main.svelte diff --git a/test/runtime/samples/component-data-dynamic-late/Widget.svelte b/packages/svelte/test/runtime/samples/component-data-dynamic-late/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic-late/Widget.svelte rename to packages/svelte/test/runtime/samples/component-data-dynamic-late/Widget.svelte diff --git a/test/runtime/samples/component-data-dynamic-late/_config.js b/packages/svelte/test/runtime/samples/component-data-dynamic-late/_config.js similarity index 100% rename from test/runtime/samples/component-data-dynamic-late/_config.js rename to packages/svelte/test/runtime/samples/component-data-dynamic-late/_config.js diff --git a/test/runtime/samples/component-data-dynamic-late/main.svelte b/packages/svelte/test/runtime/samples/component-data-dynamic-late/main.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic-late/main.svelte rename to packages/svelte/test/runtime/samples/component-data-dynamic-late/main.svelte diff --git a/test/runtime/samples/component-data-dynamic-shorthand/Widget.svelte b/packages/svelte/test/runtime/samples/component-data-dynamic-shorthand/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic-shorthand/Widget.svelte rename to packages/svelte/test/runtime/samples/component-data-dynamic-shorthand/Widget.svelte diff --git a/test/runtime/samples/component-data-dynamic-shorthand/_config.js b/packages/svelte/test/runtime/samples/component-data-dynamic-shorthand/_config.js similarity index 100% rename from test/runtime/samples/component-data-dynamic-shorthand/_config.js rename to packages/svelte/test/runtime/samples/component-data-dynamic-shorthand/_config.js diff --git a/test/runtime/samples/component-data-dynamic-shorthand/main.svelte b/packages/svelte/test/runtime/samples/component-data-dynamic-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic-shorthand/main.svelte rename to packages/svelte/test/runtime/samples/component-data-dynamic-shorthand/main.svelte diff --git a/test/runtime/samples/component-data-dynamic/Widget.svelte b/packages/svelte/test/runtime/samples/component-data-dynamic/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic/Widget.svelte rename to packages/svelte/test/runtime/samples/component-data-dynamic/Widget.svelte diff --git a/test/runtime/samples/component-data-dynamic/_config.js b/packages/svelte/test/runtime/samples/component-data-dynamic/_config.js similarity index 100% rename from test/runtime/samples/component-data-dynamic/_config.js rename to packages/svelte/test/runtime/samples/component-data-dynamic/_config.js diff --git a/test/runtime/samples/component-data-dynamic/main.svelte b/packages/svelte/test/runtime/samples/component-data-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/component-data-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/component-data-dynamic/main.svelte diff --git a/test/runtime/samples/component-data-empty/Widget.svelte b/packages/svelte/test/runtime/samples/component-data-empty/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-empty/Widget.svelte rename to packages/svelte/test/runtime/samples/component-data-empty/Widget.svelte diff --git a/test/runtime/samples/component-data-empty/_config.js b/packages/svelte/test/runtime/samples/component-data-empty/_config.js similarity index 100% rename from test/runtime/samples/component-data-empty/_config.js rename to packages/svelte/test/runtime/samples/component-data-empty/_config.js diff --git a/test/runtime/samples/component-data-empty/main.svelte b/packages/svelte/test/runtime/samples/component-data-empty/main.svelte similarity index 100% rename from test/runtime/samples/component-data-empty/main.svelte rename to packages/svelte/test/runtime/samples/component-data-empty/main.svelte diff --git a/test/runtime/samples/component-data-static-boolean-regression/Link.svelte b/packages/svelte/test/runtime/samples/component-data-static-boolean-regression/Link.svelte similarity index 100% rename from test/runtime/samples/component-data-static-boolean-regression/Link.svelte rename to packages/svelte/test/runtime/samples/component-data-static-boolean-regression/Link.svelte diff --git a/test/runtime/samples/component-data-static-boolean-regression/_config.js b/packages/svelte/test/runtime/samples/component-data-static-boolean-regression/_config.js similarity index 100% rename from test/runtime/samples/component-data-static-boolean-regression/_config.js rename to packages/svelte/test/runtime/samples/component-data-static-boolean-regression/_config.js diff --git a/test/runtime/samples/component-data-static-boolean-regression/main.svelte b/packages/svelte/test/runtime/samples/component-data-static-boolean-regression/main.svelte similarity index 100% rename from test/runtime/samples/component-data-static-boolean-regression/main.svelte rename to packages/svelte/test/runtime/samples/component-data-static-boolean-regression/main.svelte diff --git a/test/runtime/samples/component-data-static-boolean/Foo.svelte b/packages/svelte/test/runtime/samples/component-data-static-boolean/Foo.svelte similarity index 100% rename from test/runtime/samples/component-data-static-boolean/Foo.svelte rename to packages/svelte/test/runtime/samples/component-data-static-boolean/Foo.svelte diff --git a/test/runtime/samples/component-data-static-boolean/_config.js b/packages/svelte/test/runtime/samples/component-data-static-boolean/_config.js similarity index 100% rename from test/runtime/samples/component-data-static-boolean/_config.js rename to packages/svelte/test/runtime/samples/component-data-static-boolean/_config.js diff --git a/test/runtime/samples/component-data-static-boolean/main.svelte b/packages/svelte/test/runtime/samples/component-data-static-boolean/main.svelte similarity index 100% rename from test/runtime/samples/component-data-static-boolean/main.svelte rename to packages/svelte/test/runtime/samples/component-data-static-boolean/main.svelte diff --git a/test/runtime/samples/component-data-static/Widget.svelte b/packages/svelte/test/runtime/samples/component-data-static/Widget.svelte similarity index 100% rename from test/runtime/samples/component-data-static/Widget.svelte rename to packages/svelte/test/runtime/samples/component-data-static/Widget.svelte diff --git a/test/runtime/samples/component-data-static/_config.js b/packages/svelte/test/runtime/samples/component-data-static/_config.js similarity index 100% rename from test/runtime/samples/component-data-static/_config.js rename to packages/svelte/test/runtime/samples/component-data-static/_config.js diff --git a/test/runtime/samples/component-data-static/main.svelte b/packages/svelte/test/runtime/samples/component-data-static/main.svelte similarity index 100% rename from test/runtime/samples/component-data-static/main.svelte rename to packages/svelte/test/runtime/samples/component-data-static/main.svelte diff --git a/test/runtime/samples/component-event-handler-dynamic/Button.svelte b/packages/svelte/test/runtime/samples/component-event-handler-dynamic/Button.svelte similarity index 100% rename from test/runtime/samples/component-event-handler-dynamic/Button.svelte rename to packages/svelte/test/runtime/samples/component-event-handler-dynamic/Button.svelte diff --git a/test/runtime/samples/component-event-handler-dynamic/_config.js b/packages/svelte/test/runtime/samples/component-event-handler-dynamic/_config.js similarity index 100% rename from test/runtime/samples/component-event-handler-dynamic/_config.js rename to packages/svelte/test/runtime/samples/component-event-handler-dynamic/_config.js diff --git a/test/runtime/samples/component-event-handler-dynamic/main.svelte b/packages/svelte/test/runtime/samples/component-event-handler-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/component-event-handler-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/component-event-handler-dynamic/main.svelte diff --git a/test/runtime/samples/component-event-handler-modifier-once-dynamic/Button.svelte b/packages/svelte/test/runtime/samples/component-event-handler-modifier-once-dynamic/Button.svelte similarity index 100% rename from test/runtime/samples/component-event-handler-modifier-once-dynamic/Button.svelte rename to packages/svelte/test/runtime/samples/component-event-handler-modifier-once-dynamic/Button.svelte diff --git a/test/runtime/samples/component-event-handler-modifier-once-dynamic/_config.js b/packages/svelte/test/runtime/samples/component-event-handler-modifier-once-dynamic/_config.js similarity index 100% rename from test/runtime/samples/component-event-handler-modifier-once-dynamic/_config.js rename to packages/svelte/test/runtime/samples/component-event-handler-modifier-once-dynamic/_config.js diff --git a/test/runtime/samples/component-event-handler-modifier-once-dynamic/main.svelte b/packages/svelte/test/runtime/samples/component-event-handler-modifier-once-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/component-event-handler-modifier-once-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/component-event-handler-modifier-once-dynamic/main.svelte diff --git a/test/runtime/samples/component-event-handler-modifier-once/Button.svelte b/packages/svelte/test/runtime/samples/component-event-handler-modifier-once/Button.svelte similarity index 100% rename from test/runtime/samples/component-event-handler-modifier-once/Button.svelte rename to packages/svelte/test/runtime/samples/component-event-handler-modifier-once/Button.svelte diff --git a/test/runtime/samples/component-event-handler-modifier-once/_config.js b/packages/svelte/test/runtime/samples/component-event-handler-modifier-once/_config.js similarity index 100% rename from test/runtime/samples/component-event-handler-modifier-once/_config.js rename to packages/svelte/test/runtime/samples/component-event-handler-modifier-once/_config.js diff --git a/test/runtime/samples/component-event-handler-modifier-once/main.svelte b/packages/svelte/test/runtime/samples/component-event-handler-modifier-once/main.svelte similarity index 100% rename from test/runtime/samples/component-event-handler-modifier-once/main.svelte rename to packages/svelte/test/runtime/samples/component-event-handler-modifier-once/main.svelte diff --git a/test/runtime/samples/component-event-not-stale/Button.svelte b/packages/svelte/test/runtime/samples/component-event-not-stale/Button.svelte similarity index 100% rename from test/runtime/samples/component-event-not-stale/Button.svelte rename to packages/svelte/test/runtime/samples/component-event-not-stale/Button.svelte diff --git a/test/runtime/samples/component-event-not-stale/_config.js b/packages/svelte/test/runtime/samples/component-event-not-stale/_config.js similarity index 100% rename from test/runtime/samples/component-event-not-stale/_config.js rename to packages/svelte/test/runtime/samples/component-event-not-stale/_config.js diff --git a/test/runtime/samples/component-event-not-stale/main.svelte b/packages/svelte/test/runtime/samples/component-event-not-stale/main.svelte similarity index 100% rename from test/runtime/samples/component-event-not-stale/main.svelte rename to packages/svelte/test/runtime/samples/component-event-not-stale/main.svelte diff --git a/test/runtime/samples/component-events-console/Widget.svelte b/packages/svelte/test/runtime/samples/component-events-console/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events-console/Widget.svelte rename to packages/svelte/test/runtime/samples/component-events-console/Widget.svelte diff --git a/test/runtime/samples/component-events-console/_config.js b/packages/svelte/test/runtime/samples/component-events-console/_config.js similarity index 100% rename from test/runtime/samples/component-events-console/_config.js rename to packages/svelte/test/runtime/samples/component-events-console/_config.js diff --git a/test/runtime/samples/component-events-console/main.svelte b/packages/svelte/test/runtime/samples/component-events-console/main.svelte similarity index 100% rename from test/runtime/samples/component-events-console/main.svelte rename to packages/svelte/test/runtime/samples/component-events-console/main.svelte diff --git a/test/runtime/samples/component-events-data/Widget.svelte b/packages/svelte/test/runtime/samples/component-events-data/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events-data/Widget.svelte rename to packages/svelte/test/runtime/samples/component-events-data/Widget.svelte diff --git a/test/runtime/samples/component-events-data/_config.js b/packages/svelte/test/runtime/samples/component-events-data/_config.js similarity index 100% rename from test/runtime/samples/component-events-data/_config.js rename to packages/svelte/test/runtime/samples/component-events-data/_config.js diff --git a/test/runtime/samples/component-events-data/main.svelte b/packages/svelte/test/runtime/samples/component-events-data/main.svelte similarity index 100% rename from test/runtime/samples/component-events-data/main.svelte rename to packages/svelte/test/runtime/samples/component-events-data/main.svelte diff --git a/test/runtime/samples/component-events-each/Widget.svelte b/packages/svelte/test/runtime/samples/component-events-each/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events-each/Widget.svelte rename to packages/svelte/test/runtime/samples/component-events-each/Widget.svelte diff --git a/test/runtime/samples/component-events-each/_config.js b/packages/svelte/test/runtime/samples/component-events-each/_config.js similarity index 100% rename from test/runtime/samples/component-events-each/_config.js rename to packages/svelte/test/runtime/samples/component-events-each/_config.js diff --git a/test/runtime/samples/component-events-each/main.svelte b/packages/svelte/test/runtime/samples/component-events-each/main.svelte similarity index 100% rename from test/runtime/samples/component-events-each/main.svelte rename to packages/svelte/test/runtime/samples/component-events-each/main.svelte diff --git a/test/runtime/samples/component-events-nullish/Widget.svelte b/packages/svelte/test/runtime/samples/component-events-nullish/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events-nullish/Widget.svelte rename to packages/svelte/test/runtime/samples/component-events-nullish/Widget.svelte diff --git a/test/runtime/samples/component-events-nullish/_config.js b/packages/svelte/test/runtime/samples/component-events-nullish/_config.js similarity index 100% rename from test/runtime/samples/component-events-nullish/_config.js rename to packages/svelte/test/runtime/samples/component-events-nullish/_config.js diff --git a/test/runtime/samples/component-events-nullish/main.svelte b/packages/svelte/test/runtime/samples/component-events-nullish/main.svelte similarity index 100% rename from test/runtime/samples/component-events-nullish/main.svelte rename to packages/svelte/test/runtime/samples/component-events-nullish/main.svelte diff --git a/test/runtime/samples/component-events-this/Inner.svelte b/packages/svelte/test/runtime/samples/component-events-this/Inner.svelte similarity index 100% rename from test/runtime/samples/component-events-this/Inner.svelte rename to packages/svelte/test/runtime/samples/component-events-this/Inner.svelte diff --git a/test/runtime/samples/component-events-this/Widget.svelte b/packages/svelte/test/runtime/samples/component-events-this/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events-this/Widget.svelte rename to packages/svelte/test/runtime/samples/component-events-this/Widget.svelte diff --git a/test/runtime/samples/component-events-this/_config.js b/packages/svelte/test/runtime/samples/component-events-this/_config.js similarity index 100% rename from test/runtime/samples/component-events-this/_config.js rename to packages/svelte/test/runtime/samples/component-events-this/_config.js diff --git a/test/runtime/samples/component-events-this/main.svelte b/packages/svelte/test/runtime/samples/component-events-this/main.svelte similarity index 100% rename from test/runtime/samples/component-events-this/main.svelte rename to packages/svelte/test/runtime/samples/component-events-this/main.svelte diff --git a/test/runtime/samples/component-events/Widget.svelte b/packages/svelte/test/runtime/samples/component-events/Widget.svelte similarity index 100% rename from test/runtime/samples/component-events/Widget.svelte rename to packages/svelte/test/runtime/samples/component-events/Widget.svelte diff --git a/test/runtime/samples/component-events/_config.js b/packages/svelte/test/runtime/samples/component-events/_config.js similarity index 100% rename from test/runtime/samples/component-events/_config.js rename to packages/svelte/test/runtime/samples/component-events/_config.js diff --git a/test/runtime/samples/component-events/main.svelte b/packages/svelte/test/runtime/samples/component-events/main.svelte similarity index 100% rename from test/runtime/samples/component-events/main.svelte rename to packages/svelte/test/runtime/samples/component-events/main.svelte diff --git a/test/runtime/samples/component-if-placement/Component.svelte b/packages/svelte/test/runtime/samples/component-if-placement/Component.svelte similarity index 100% rename from test/runtime/samples/component-if-placement/Component.svelte rename to packages/svelte/test/runtime/samples/component-if-placement/Component.svelte diff --git a/test/runtime/samples/component-if-placement/_config.js b/packages/svelte/test/runtime/samples/component-if-placement/_config.js similarity index 100% rename from test/runtime/samples/component-if-placement/_config.js rename to packages/svelte/test/runtime/samples/component-if-placement/_config.js diff --git a/test/runtime/samples/component-if-placement/main.svelte b/packages/svelte/test/runtime/samples/component-if-placement/main.svelte similarity index 100% rename from test/runtime/samples/component-if-placement/main.svelte rename to packages/svelte/test/runtime/samples/component-if-placement/main.svelte diff --git a/test/runtime/samples/component-name-deconflicted-globals/Countdown.svelte b/packages/svelte/test/runtime/samples/component-name-deconflicted-globals/Countdown.svelte similarity index 100% rename from test/runtime/samples/component-name-deconflicted-globals/Countdown.svelte rename to packages/svelte/test/runtime/samples/component-name-deconflicted-globals/Countdown.svelte diff --git a/test/runtime/samples/component-name-deconflicted-globals/_config.js b/packages/svelte/test/runtime/samples/component-name-deconflicted-globals/_config.js similarity index 100% rename from test/runtime/samples/component-name-deconflicted-globals/_config.js rename to packages/svelte/test/runtime/samples/component-name-deconflicted-globals/_config.js diff --git a/test/runtime/samples/component-name-deconflicted-globals/main.svelte b/packages/svelte/test/runtime/samples/component-name-deconflicted-globals/main.svelte similarity index 100% rename from test/runtime/samples/component-name-deconflicted-globals/main.svelte rename to packages/svelte/test/runtime/samples/component-name-deconflicted-globals/main.svelte diff --git a/test/runtime/samples/component-name-deconflicted/Nested.svelte b/packages/svelte/test/runtime/samples/component-name-deconflicted/Nested.svelte similarity index 100% rename from test/runtime/samples/component-name-deconflicted/Nested.svelte rename to packages/svelte/test/runtime/samples/component-name-deconflicted/Nested.svelte diff --git a/test/runtime/samples/component-name-deconflicted/_config.js b/packages/svelte/test/runtime/samples/component-name-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/component-name-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/component-name-deconflicted/_config.js diff --git a/test/runtime/samples/component-name-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/component-name-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/component-name-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/component-name-deconflicted/main.svelte diff --git a/test/runtime/samples/component-namespace/Tooltip.svelte b/packages/svelte/test/runtime/samples/component-namespace/Tooltip.svelte similarity index 100% rename from test/runtime/samples/component-namespace/Tooltip.svelte rename to packages/svelte/test/runtime/samples/component-namespace/Tooltip.svelte diff --git a/test/runtime/samples/component-namespace/Widget.svelte b/packages/svelte/test/runtime/samples/component-namespace/Widget.svelte similarity index 100% rename from test/runtime/samples/component-namespace/Widget.svelte rename to packages/svelte/test/runtime/samples/component-namespace/Widget.svelte diff --git a/test/runtime/samples/component-namespace/_config.js b/packages/svelte/test/runtime/samples/component-namespace/_config.js similarity index 100% rename from test/runtime/samples/component-namespace/_config.js rename to packages/svelte/test/runtime/samples/component-namespace/_config.js diff --git a/test/runtime/samples/component-namespace/main.svelte b/packages/svelte/test/runtime/samples/component-namespace/main.svelte similarity index 100% rename from test/runtime/samples/component-namespace/main.svelte rename to packages/svelte/test/runtime/samples/component-namespace/main.svelte diff --git a/test/runtime/samples/component-namespaced/Foo.svelte b/packages/svelte/test/runtime/samples/component-namespaced/Foo.svelte similarity index 100% rename from test/runtime/samples/component-namespaced/Foo.svelte rename to packages/svelte/test/runtime/samples/component-namespaced/Foo.svelte diff --git a/test/runtime/samples/component-namespaced/_config.js b/packages/svelte/test/runtime/samples/component-namespaced/_config.js similarity index 100% rename from test/runtime/samples/component-namespaced/_config.js rename to packages/svelte/test/runtime/samples/component-namespaced/_config.js diff --git a/test/runtime/samples/component-namespaced/components.svelte b/packages/svelte/test/runtime/samples/component-namespaced/components.svelte similarity index 100% rename from test/runtime/samples/component-namespaced/components.svelte rename to packages/svelte/test/runtime/samples/component-namespaced/components.svelte diff --git a/test/runtime/samples/component-namespaced/main.svelte b/packages/svelte/test/runtime/samples/component-namespaced/main.svelte similarity index 100% rename from test/runtime/samples/component-namespaced/main.svelte rename to packages/svelte/test/runtime/samples/component-namespaced/main.svelte diff --git a/test/runtime/samples/component-nested-deep/Level1.svelte b/packages/svelte/test/runtime/samples/component-nested-deep/Level1.svelte similarity index 100% rename from test/runtime/samples/component-nested-deep/Level1.svelte rename to packages/svelte/test/runtime/samples/component-nested-deep/Level1.svelte diff --git a/test/runtime/samples/component-nested-deep/Level2.svelte b/packages/svelte/test/runtime/samples/component-nested-deep/Level2.svelte similarity index 100% rename from test/runtime/samples/component-nested-deep/Level2.svelte rename to packages/svelte/test/runtime/samples/component-nested-deep/Level2.svelte diff --git a/test/runtime/samples/component-nested-deep/Level3.svelte b/packages/svelte/test/runtime/samples/component-nested-deep/Level3.svelte similarity index 100% rename from test/runtime/samples/component-nested-deep/Level3.svelte rename to packages/svelte/test/runtime/samples/component-nested-deep/Level3.svelte diff --git a/test/runtime/samples/component-nested-deep/_config.js b/packages/svelte/test/runtime/samples/component-nested-deep/_config.js similarity index 100% rename from test/runtime/samples/component-nested-deep/_config.js rename to packages/svelte/test/runtime/samples/component-nested-deep/_config.js diff --git a/test/runtime/samples/component-nested-deep/main.svelte b/packages/svelte/test/runtime/samples/component-nested-deep/main.svelte similarity index 100% rename from test/runtime/samples/component-nested-deep/main.svelte rename to packages/svelte/test/runtime/samples/component-nested-deep/main.svelte diff --git a/test/runtime/samples/component-nested-deeper/Level1.svelte b/packages/svelte/test/runtime/samples/component-nested-deeper/Level1.svelte similarity index 100% rename from test/runtime/samples/component-nested-deeper/Level1.svelte rename to packages/svelte/test/runtime/samples/component-nested-deeper/Level1.svelte diff --git a/test/runtime/samples/component-nested-deeper/Level2.svelte b/packages/svelte/test/runtime/samples/component-nested-deeper/Level2.svelte similarity index 100% rename from test/runtime/samples/component-nested-deeper/Level2.svelte rename to packages/svelte/test/runtime/samples/component-nested-deeper/Level2.svelte diff --git a/test/runtime/samples/component-nested-deeper/Level3.svelte b/packages/svelte/test/runtime/samples/component-nested-deeper/Level3.svelte similarity index 100% rename from test/runtime/samples/component-nested-deeper/Level3.svelte rename to packages/svelte/test/runtime/samples/component-nested-deeper/Level3.svelte diff --git a/test/runtime/samples/component-nested-deeper/_config.js b/packages/svelte/test/runtime/samples/component-nested-deeper/_config.js similarity index 100% rename from test/runtime/samples/component-nested-deeper/_config.js rename to packages/svelte/test/runtime/samples/component-nested-deeper/_config.js diff --git a/test/runtime/samples/component-nested-deeper/main.svelte b/packages/svelte/test/runtime/samples/component-nested-deeper/main.svelte similarity index 100% rename from test/runtime/samples/component-nested-deeper/main.svelte rename to packages/svelte/test/runtime/samples/component-nested-deeper/main.svelte diff --git a/test/runtime/samples/component-not-constructor-dev/_config.js b/packages/svelte/test/runtime/samples/component-not-constructor-dev/_config.js similarity index 100% rename from test/runtime/samples/component-not-constructor-dev/_config.js rename to packages/svelte/test/runtime/samples/component-not-constructor-dev/_config.js diff --git a/test/runtime/samples/component-not-constructor-dev/main.svelte b/packages/svelte/test/runtime/samples/component-not-constructor-dev/main.svelte similarity index 100% rename from test/runtime/samples/component-not-constructor-dev/main.svelte rename to packages/svelte/test/runtime/samples/component-not-constructor-dev/main.svelte diff --git a/test/runtime/samples/component-not-constructor/Sub.svelte b/packages/svelte/test/runtime/samples/component-not-constructor/Sub.svelte similarity index 100% rename from test/runtime/samples/component-not-constructor/Sub.svelte rename to packages/svelte/test/runtime/samples/component-not-constructor/Sub.svelte diff --git a/test/runtime/samples/component-not-constructor/_config.js b/packages/svelte/test/runtime/samples/component-not-constructor/_config.js similarity index 100% rename from test/runtime/samples/component-not-constructor/_config.js rename to packages/svelte/test/runtime/samples/component-not-constructor/_config.js diff --git a/test/runtime/samples/component-not-constructor/main.svelte b/packages/svelte/test/runtime/samples/component-not-constructor/main.svelte similarity index 100% rename from test/runtime/samples/component-not-constructor/main.svelte rename to packages/svelte/test/runtime/samples/component-not-constructor/main.svelte diff --git a/test/runtime/samples/component-not-constructor2-dev/Sub.svelte b/packages/svelte/test/runtime/samples/component-not-constructor2-dev/Sub.svelte similarity index 100% rename from test/runtime/samples/component-not-constructor2-dev/Sub.svelte rename to packages/svelte/test/runtime/samples/component-not-constructor2-dev/Sub.svelte diff --git a/test/runtime/samples/component-not-constructor2-dev/_config.js b/packages/svelte/test/runtime/samples/component-not-constructor2-dev/_config.js similarity index 100% rename from test/runtime/samples/component-not-constructor2-dev/_config.js rename to packages/svelte/test/runtime/samples/component-not-constructor2-dev/_config.js diff --git a/test/runtime/samples/component-not-constructor2-dev/main.svelte b/packages/svelte/test/runtime/samples/component-not-constructor2-dev/main.svelte similarity index 100% rename from test/runtime/samples/component-not-constructor2-dev/main.svelte rename to packages/svelte/test/runtime/samples/component-not-constructor2-dev/main.svelte diff --git a/test/runtime/samples/component-not-constructor2/Sub.svelte b/packages/svelte/test/runtime/samples/component-not-constructor2/Sub.svelte similarity index 100% rename from test/runtime/samples/component-not-constructor2/Sub.svelte rename to packages/svelte/test/runtime/samples/component-not-constructor2/Sub.svelte diff --git a/test/runtime/samples/component-not-constructor2/_config.js b/packages/svelte/test/runtime/samples/component-not-constructor2/_config.js similarity index 100% rename from test/runtime/samples/component-not-constructor2/_config.js rename to packages/svelte/test/runtime/samples/component-not-constructor2/_config.js diff --git a/test/runtime/samples/component-not-constructor2/main.svelte b/packages/svelte/test/runtime/samples/component-not-constructor2/main.svelte similarity index 100% rename from test/runtime/samples/component-not-constructor2/main.svelte rename to packages/svelte/test/runtime/samples/component-not-constructor2/main.svelte diff --git a/test/runtime/samples/component-not-void/Link.svelte b/packages/svelte/test/runtime/samples/component-not-void/Link.svelte similarity index 100% rename from test/runtime/samples/component-not-void/Link.svelte rename to packages/svelte/test/runtime/samples/component-not-void/Link.svelte diff --git a/test/runtime/samples/component-not-void/_config.js b/packages/svelte/test/runtime/samples/component-not-void/_config.js similarity index 100% rename from test/runtime/samples/component-not-void/_config.js rename to packages/svelte/test/runtime/samples/component-not-void/_config.js diff --git a/test/runtime/samples/component-not-void/main.svelte b/packages/svelte/test/runtime/samples/component-not-void/main.svelte similarity index 100% rename from test/runtime/samples/component-not-void/main.svelte rename to packages/svelte/test/runtime/samples/component-not-void/main.svelte diff --git a/test/runtime/samples/component-ref/Widget.svelte b/packages/svelte/test/runtime/samples/component-ref/Widget.svelte similarity index 100% rename from test/runtime/samples/component-ref/Widget.svelte rename to packages/svelte/test/runtime/samples/component-ref/Widget.svelte diff --git a/test/runtime/samples/component-ref/_config.js b/packages/svelte/test/runtime/samples/component-ref/_config.js similarity index 100% rename from test/runtime/samples/component-ref/_config.js rename to packages/svelte/test/runtime/samples/component-ref/_config.js diff --git a/test/runtime/samples/component-ref/main.svelte b/packages/svelte/test/runtime/samples/component-ref/main.svelte similarity index 100% rename from test/runtime/samples/component-ref/main.svelte rename to packages/svelte/test/runtime/samples/component-ref/main.svelte diff --git a/test/runtime/samples/component-shorthand-import/Widget.svelte b/packages/svelte/test/runtime/samples/component-shorthand-import/Widget.svelte similarity index 100% rename from test/runtime/samples/component-shorthand-import/Widget.svelte rename to packages/svelte/test/runtime/samples/component-shorthand-import/Widget.svelte diff --git a/test/runtime/samples/component-shorthand-import/_config.js b/packages/svelte/test/runtime/samples/component-shorthand-import/_config.js similarity index 100% rename from test/runtime/samples/component-shorthand-import/_config.js rename to packages/svelte/test/runtime/samples/component-shorthand-import/_config.js diff --git a/test/runtime/samples/component-shorthand-import/main.svelte b/packages/svelte/test/runtime/samples/component-shorthand-import/main.svelte similarity index 100% rename from test/runtime/samples/component-shorthand-import/main.svelte rename to packages/svelte/test/runtime/samples/component-shorthand-import/main.svelte diff --git a/test/runtime/samples/component-slot-attribute-order/Component.svelte b/packages/svelte/test/runtime/samples/component-slot-attribute-order/Component.svelte similarity index 100% rename from test/runtime/samples/component-slot-attribute-order/Component.svelte rename to packages/svelte/test/runtime/samples/component-slot-attribute-order/Component.svelte diff --git a/test/runtime/samples/component-slot-attribute-order/_config.js b/packages/svelte/test/runtime/samples/component-slot-attribute-order/_config.js similarity index 100% rename from test/runtime/samples/component-slot-attribute-order/_config.js rename to packages/svelte/test/runtime/samples/component-slot-attribute-order/_config.js diff --git a/test/runtime/samples/component-slot-attribute-order/main.svelte b/packages/svelte/test/runtime/samples/component-slot-attribute-order/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-attribute-order/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-attribute-order/main.svelte diff --git a/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/Nested.svelte diff --git a/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/_config.js b/packages/svelte/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/_config.js similarity index 100% rename from test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/_config.js rename to packages/svelte/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/_config.js diff --git a/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/main.svelte b/packages/svelte/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-binding-dimensions-destroys-cleanly/main.svelte diff --git a/test/runtime/samples/component-slot-chained/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-chained/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-chained/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-chained/Inner.svelte diff --git a/test/runtime/samples/component-slot-chained/Outer.svelte b/packages/svelte/test/runtime/samples/component-slot-chained/Outer.svelte similarity index 100% rename from test/runtime/samples/component-slot-chained/Outer.svelte rename to packages/svelte/test/runtime/samples/component-slot-chained/Outer.svelte diff --git a/test/runtime/samples/component-slot-chained/_config.js b/packages/svelte/test/runtime/samples/component-slot-chained/_config.js similarity index 100% rename from test/runtime/samples/component-slot-chained/_config.js rename to packages/svelte/test/runtime/samples/component-slot-chained/_config.js diff --git a/test/runtime/samples/component-slot-chained/main.svelte b/packages/svelte/test/runtime/samples/component-slot-chained/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-chained/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-chained/main.svelte diff --git a/test/runtime/samples/component-slot-component-named-b/Hello.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named-b/Hello.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named-b/Hello.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named-b/Hello.svelte diff --git a/test/runtime/samples/component-slot-component-named-b/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named-b/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named-b/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named-b/Nested.svelte diff --git a/test/runtime/samples/component-slot-component-named-b/_config.js b/packages/svelte/test/runtime/samples/component-slot-component-named-b/_config.js similarity index 100% rename from test/runtime/samples/component-slot-component-named-b/_config.js rename to packages/svelte/test/runtime/samples/component-slot-component-named-b/_config.js diff --git a/test/runtime/samples/component-slot-component-named-b/main.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named-b/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named-b/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named-b/main.svelte diff --git a/test/runtime/samples/component-slot-component-named-c/Hello.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named-c/Hello.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named-c/Hello.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named-c/Hello.svelte diff --git a/test/runtime/samples/component-slot-component-named-c/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named-c/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named-c/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named-c/Nested.svelte diff --git a/test/runtime/samples/component-slot-component-named-c/World.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named-c/World.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named-c/World.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named-c/World.svelte diff --git a/test/runtime/samples/component-slot-component-named-c/_config.js b/packages/svelte/test/runtime/samples/component-slot-component-named-c/_config.js similarity index 100% rename from test/runtime/samples/component-slot-component-named-c/_config.js rename to packages/svelte/test/runtime/samples/component-slot-component-named-c/_config.js diff --git a/test/runtime/samples/component-slot-component-named-c/main.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named-c/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named-c/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named-c/main.svelte diff --git a/test/runtime/samples/component-slot-component-named/Bar.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named/Bar.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named/Bar.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named/Bar.svelte diff --git a/test/runtime/samples/component-slot-component-named/Foo.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named/Foo.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named/Foo.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named/Foo.svelte diff --git a/test/runtime/samples/component-slot-component-named/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named/Nested.svelte diff --git a/test/runtime/samples/component-slot-component-named/_config.js b/packages/svelte/test/runtime/samples/component-slot-component-named/_config.js similarity index 100% rename from test/runtime/samples/component-slot-component-named/_config.js rename to packages/svelte/test/runtime/samples/component-slot-component-named/_config.js diff --git a/test/runtime/samples/component-slot-component-named/main.svelte b/packages/svelte/test/runtime/samples/component-slot-component-named/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-component-named/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-component-named/main.svelte diff --git a/test/runtime/samples/component-slot-context-props-each-nested/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-context-props-each-nested/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-context-props-each-nested/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-context-props-each-nested/Nested.svelte diff --git a/test/runtime/samples/component-slot-context-props-each-nested/_config.js b/packages/svelte/test/runtime/samples/component-slot-context-props-each-nested/_config.js similarity index 100% rename from test/runtime/samples/component-slot-context-props-each-nested/_config.js rename to packages/svelte/test/runtime/samples/component-slot-context-props-each-nested/_config.js diff --git a/test/runtime/samples/component-slot-context-props-each-nested/main.svelte b/packages/svelte/test/runtime/samples/component-slot-context-props-each-nested/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-context-props-each-nested/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-context-props-each-nested/main.svelte diff --git a/test/runtime/samples/component-slot-context-props-each/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-context-props-each/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-context-props-each/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-context-props-each/Nested.svelte diff --git a/test/runtime/samples/component-slot-context-props-each/_config.js b/packages/svelte/test/runtime/samples/component-slot-context-props-each/_config.js similarity index 100% rename from test/runtime/samples/component-slot-context-props-each/_config.js rename to packages/svelte/test/runtime/samples/component-slot-context-props-each/_config.js diff --git a/test/runtime/samples/component-slot-context-props-each/main.svelte b/packages/svelte/test/runtime/samples/component-slot-context-props-each/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-context-props-each/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-context-props-each/main.svelte diff --git a/test/runtime/samples/component-slot-context-props-let/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-context-props-let/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-context-props-let/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-context-props-let/Inner.svelte diff --git a/test/runtime/samples/component-slot-context-props-let/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-context-props-let/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-context-props-let/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-context-props-let/Nested.svelte diff --git a/test/runtime/samples/component-slot-context-props-let/_config.js b/packages/svelte/test/runtime/samples/component-slot-context-props-let/_config.js similarity index 100% rename from test/runtime/samples/component-slot-context-props-let/_config.js rename to packages/svelte/test/runtime/samples/component-slot-context-props-let/_config.js diff --git a/test/runtime/samples/component-slot-context-props-let/main.svelte b/packages/svelte/test/runtime/samples/component-slot-context-props-let/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-context-props-let/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-context-props-let/main.svelte diff --git a/packages/svelte/test/runtime/samples/component-slot-default-in-each/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-default-in-each/Nested.svelte new file mode 100644 index 0000000000..d216843101 --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-default-in-each/Nested.svelte @@ -0,0 +1,11 @@ + + +{#each {length: 3} as _, i} + +{/each} + +{#await promise then value} + +{/await} diff --git a/packages/svelte/test/runtime/samples/component-slot-default-in-each/_config.js b/packages/svelte/test/runtime/samples/component-slot-default-in-each/_config.js new file mode 100644 index 0000000000..5c0fd13871 --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-default-in-each/_config.js @@ -0,0 +1,7 @@ +export default { + html: ` +
0 - undefined
+
1 - undefined
+
2 - undefined
+ ` +}; diff --git a/packages/svelte/test/runtime/samples/component-slot-default-in-each/main.svelte b/packages/svelte/test/runtime/samples/component-slot-default-in-each/main.svelte new file mode 100644 index 0000000000..2ff707e04d --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-default-in-each/main.svelte @@ -0,0 +1,7 @@ + + + +
{item} - {value}
+
\ No newline at end of file diff --git a/test/runtime/samples/component-slot-default/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-default/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-default/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-default/Nested.svelte diff --git a/test/runtime/samples/component-slot-default/_config.js b/packages/svelte/test/runtime/samples/component-slot-default/_config.js similarity index 100% rename from test/runtime/samples/component-slot-default/_config.js rename to packages/svelte/test/runtime/samples/component-slot-default/_config.js diff --git a/test/runtime/samples/component-slot-default/main.svelte b/packages/svelte/test/runtime/samples/component-slot-default/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-default/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-default/main.svelte diff --git a/test/runtime/samples/component-slot-dynamic/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-dynamic/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-dynamic/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-dynamic/Nested.svelte diff --git a/test/runtime/samples/component-slot-dynamic/_config.js b/packages/svelte/test/runtime/samples/component-slot-dynamic/_config.js similarity index 100% rename from test/runtime/samples/component-slot-dynamic/_config.js rename to packages/svelte/test/runtime/samples/component-slot-dynamic/_config.js diff --git a/test/runtime/samples/component-slot-dynamic/main.svelte b/packages/svelte/test/runtime/samples/component-slot-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-dynamic/main.svelte diff --git a/test/runtime/samples/component-slot-each-block/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-each-block/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-each-block/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-each-block/Nested.svelte diff --git a/test/runtime/samples/component-slot-each-block/_config.js b/packages/svelte/test/runtime/samples/component-slot-each-block/_config.js similarity index 100% rename from test/runtime/samples/component-slot-each-block/_config.js rename to packages/svelte/test/runtime/samples/component-slot-each-block/_config.js diff --git a/test/runtime/samples/component-slot-each-block/main.svelte b/packages/svelte/test/runtime/samples/component-slot-each-block/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-each-block/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-each-block/main.svelte diff --git a/test/runtime/samples/component-slot-empty-b/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-empty-b/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-empty-b/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-empty-b/Nested.svelte diff --git a/test/runtime/samples/component-slot-empty-b/_config.js b/packages/svelte/test/runtime/samples/component-slot-empty-b/_config.js similarity index 100% rename from test/runtime/samples/component-slot-empty-b/_config.js rename to packages/svelte/test/runtime/samples/component-slot-empty-b/_config.js diff --git a/test/runtime/samples/component-slot-empty-b/main.svelte b/packages/svelte/test/runtime/samples/component-slot-empty-b/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-empty-b/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-empty-b/main.svelte diff --git a/test/runtime/samples/component-slot-empty/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-empty/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-empty/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-empty/Nested.svelte diff --git a/test/runtime/samples/component-slot-empty/_config.js b/packages/svelte/test/runtime/samples/component-slot-empty/_config.js similarity index 100% rename from test/runtime/samples/component-slot-empty/_config.js rename to packages/svelte/test/runtime/samples/component-slot-empty/_config.js diff --git a/test/runtime/samples/component-slot-empty/main.svelte b/packages/svelte/test/runtime/samples/component-slot-empty/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-empty/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-empty/main.svelte diff --git a/test/runtime/samples/component-slot-fallback-2/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-2/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-2/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-2/Inner.svelte diff --git a/test/runtime/samples/component-slot-fallback-2/Outer.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-2/Outer.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-2/Outer.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-2/Outer.svelte diff --git a/test/runtime/samples/component-slot-fallback-2/_config.js b/packages/svelte/test/runtime/samples/component-slot-fallback-2/_config.js similarity index 100% rename from test/runtime/samples/component-slot-fallback-2/_config.js rename to packages/svelte/test/runtime/samples/component-slot-fallback-2/_config.js diff --git a/test/runtime/samples/component-slot-fallback-2/main.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-2/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-2/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-2/main.svelte diff --git a/test/runtime/samples/component-slot-fallback-2/store.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-2/store.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-2/store.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-2/store.svelte diff --git a/test/runtime/samples/component-slot-fallback-3/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-3/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-3/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-3/Inner.svelte diff --git a/test/runtime/samples/component-slot-fallback-3/_config.js b/packages/svelte/test/runtime/samples/component-slot-fallback-3/_config.js similarity index 100% rename from test/runtime/samples/component-slot-fallback-3/_config.js rename to packages/svelte/test/runtime/samples/component-slot-fallback-3/_config.js diff --git a/test/runtime/samples/component-slot-fallback-3/main.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-3/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-3/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-3/main.svelte diff --git a/test/runtime/samples/component-slot-fallback-4/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-4/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-4/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-4/Inner.svelte diff --git a/test/runtime/samples/component-slot-fallback-4/_config.js b/packages/svelte/test/runtime/samples/component-slot-fallback-4/_config.js similarity index 100% rename from test/runtime/samples/component-slot-fallback-4/_config.js rename to packages/svelte/test/runtime/samples/component-slot-fallback-4/_config.js diff --git a/test/runtime/samples/component-slot-fallback-4/main.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-4/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-4/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-4/main.svelte diff --git a/test/runtime/samples/component-slot-fallback-5/IconA.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-5/IconA.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-5/IconA.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-5/IconA.svelte diff --git a/test/runtime/samples/component-slot-fallback-5/IconB.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-5/IconB.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-5/IconB.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-5/IconB.svelte diff --git a/test/runtime/samples/component-slot-fallback-5/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-5/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-5/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-5/Inner.svelte diff --git a/test/runtime/samples/component-slot-fallback-5/_config.js b/packages/svelte/test/runtime/samples/component-slot-fallback-5/_config.js similarity index 100% rename from test/runtime/samples/component-slot-fallback-5/_config.js rename to packages/svelte/test/runtime/samples/component-slot-fallback-5/_config.js diff --git a/test/runtime/samples/component-slot-fallback-5/main.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-5/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-5/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-5/main.svelte diff --git a/test/runtime/samples/component-slot-fallback-6/Foo.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-6/Foo.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-6/Foo.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-6/Foo.svelte diff --git a/test/runtime/samples/component-slot-fallback-6/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-6/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-6/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-6/Inner.svelte diff --git a/test/runtime/samples/component-slot-fallback-6/_config.js b/packages/svelte/test/runtime/samples/component-slot-fallback-6/_config.js similarity index 100% rename from test/runtime/samples/component-slot-fallback-6/_config.js rename to packages/svelte/test/runtime/samples/component-slot-fallback-6/_config.js diff --git a/test/runtime/samples/component-slot-fallback-6/main.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-6/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-6/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-6/main.svelte diff --git a/test/runtime/samples/component-slot-fallback-empty/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-empty/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-empty/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-empty/Nested.svelte diff --git a/test/runtime/samples/component-slot-fallback-empty/_config.js b/packages/svelte/test/runtime/samples/component-slot-fallback-empty/_config.js similarity index 100% rename from test/runtime/samples/component-slot-fallback-empty/_config.js rename to packages/svelte/test/runtime/samples/component-slot-fallback-empty/_config.js diff --git a/test/runtime/samples/component-slot-fallback-empty/main.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback-empty/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback-empty/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback-empty/main.svelte diff --git a/test/runtime/samples/component-slot-fallback/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback/Nested.svelte diff --git a/test/runtime/samples/component-slot-fallback/_config.js b/packages/svelte/test/runtime/samples/component-slot-fallback/_config.js similarity index 100% rename from test/runtime/samples/component-slot-fallback/_config.js rename to packages/svelte/test/runtime/samples/component-slot-fallback/_config.js diff --git a/test/runtime/samples/component-slot-fallback/main.svelte b/packages/svelte/test/runtime/samples/component-slot-fallback/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-fallback/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-fallback/main.svelte diff --git a/test/runtime/samples/component-slot-if-block-before-node/Nested.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/component-slot-if-block-before-node/Nested.svelte diff --git a/test/runtime/samples/component-slot-if-block-before-node/_config.js b/packages/svelte/test/runtime/samples/component-slot-if-block-before-node/_config.js similarity index 100% rename from test/runtime/samples/component-slot-if-block-before-node/_config.js rename to packages/svelte/test/runtime/samples/component-slot-if-block-before-node/_config.js diff --git a/test/runtime/samples/component-slot-if-block-before-node/main.svelte b/packages/svelte/test/runtime/samples/component-slot-if-block-before-node/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-if-block-before-node/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-if-block-before-node/main.svelte diff --git a/test/runtime/samples/component-slot-if-block/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-if-block/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-if-block/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-if-block/Nested.svelte diff --git a/test/runtime/samples/component-slot-if-block/_config.js b/packages/svelte/test/runtime/samples/component-slot-if-block/_config.js similarity index 100% rename from test/runtime/samples/component-slot-if-block/_config.js rename to packages/svelte/test/runtime/samples/component-slot-if-block/_config.js diff --git a/test/runtime/samples/component-slot-if-block/main.svelte b/packages/svelte/test/runtime/samples/component-slot-if-block/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-if-block/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-if-block/main.svelte diff --git a/test/runtime/samples/component-slot-if-else-block-before-node/Nested.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/runtime/samples/component-slot-if-else-block-before-node/_config.js similarity index 100% rename from test/runtime/samples/component-slot-if-else-block-before-node/_config.js rename to packages/svelte/test/runtime/samples/component-slot-if-else-block-before-node/_config.js diff --git a/test/runtime/samples/component-slot-if-else-block-before-node/main.svelte b/packages/svelte/test/runtime/samples/component-slot-if-else-block-before-node/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-if-else-block-before-node/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-if-else-block-before-node/main.svelte diff --git a/test/runtime/samples/component-slot-let-aliased/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-aliased/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-aliased/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-aliased/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-aliased/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-aliased/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-aliased/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-aliased/_config.js diff --git a/test/runtime/samples/component-slot-let-aliased/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-aliased/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-aliased/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-aliased/main.svelte diff --git a/test/runtime/samples/component-slot-let-b/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-b/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-b/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-b/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-b/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-b/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-b/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-b/_config.js diff --git a/test/runtime/samples/component-slot-let-b/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-b/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-b/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-b/main.svelte diff --git a/test/runtime/samples/component-slot-let-c/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-c/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-c/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-c/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-c/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-c/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-c/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-c/_config.js diff --git a/test/runtime/samples/component-slot-let-c/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-c/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-c/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-c/main.svelte diff --git a/test/runtime/samples/component-slot-let-d/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-d/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-d/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-d/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-d/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-d/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-d/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-d/_config.js diff --git a/test/runtime/samples/component-slot-let-d/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-d/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-d/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-d/main.svelte diff --git a/test/runtime/samples/component-slot-let-destructured-2/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-destructured-2/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-destructured-2/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-destructured-2/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-destructured-2/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-destructured-2/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-destructured-2/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-destructured-2/_config.js diff --git a/test/runtime/samples/component-slot-let-destructured-2/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-destructured-2/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-destructured-2/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-destructured-2/main.svelte diff --git a/test/runtime/samples/component-slot-let-destructured/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-destructured/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-destructured/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-destructured/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-destructured/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-destructured/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-destructured/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-destructured/_config.js diff --git a/test/runtime/samples/component-slot-let-destructured/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-destructured/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-destructured/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-destructured/main.svelte diff --git a/test/runtime/samples/component-slot-let-e/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-e/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-e/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-e/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-e/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-e/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-e/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-e/_config.js diff --git a/test/runtime/samples/component-slot-let-e/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-e/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-e/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-e/main.svelte diff --git a/test/runtime/samples/component-slot-let-f/A.svelte b/packages/svelte/test/runtime/samples/component-slot-let-f/A.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-f/A.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-f/A.svelte diff --git a/test/runtime/samples/component-slot-let-f/B.svelte b/packages/svelte/test/runtime/samples/component-slot-let-f/B.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-f/B.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-f/B.svelte diff --git a/test/runtime/samples/component-slot-let-f/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-f/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-f/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-f/_config.js diff --git a/test/runtime/samples/component-slot-let-f/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-f/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-f/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-f/main.svelte diff --git a/test/runtime/samples/component-slot-let-g/A.svelte b/packages/svelte/test/runtime/samples/component-slot-let-g/A.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-g/A.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-g/A.svelte diff --git a/test/runtime/samples/component-slot-let-g/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-g/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-g/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-g/_config.js diff --git a/test/runtime/samples/component-slot-let-g/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-g/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-g/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-g/main.svelte diff --git a/test/runtime/samples/component-slot-let-in-binding/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-binding/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-binding/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-binding/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-in-binding/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-in-binding/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-in-binding/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-in-binding/_config.js diff --git a/test/runtime/samples/component-slot-let-in-binding/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-binding/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-binding/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-binding/main.svelte diff --git a/test/runtime/samples/component-slot-let-in-slot-2/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot-2/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/Inner.svelte diff --git a/test/runtime/samples/component-slot-let-in-slot-2/Outer.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/Outer.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot-2/Outer.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/Outer.svelte diff --git a/test/runtime/samples/component-slot-let-in-slot-2/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot-2/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/_config.js diff --git a/test/runtime/samples/component-slot-let-in-slot-2/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot-2/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot-2/main.svelte diff --git a/test/runtime/samples/component-slot-let-in-slot/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-slot/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot/Inner.svelte diff --git a/test/runtime/samples/component-slot-let-in-slot/Outer.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-slot/Outer.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot/Outer.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot/Outer.svelte diff --git a/test/runtime/samples/component-slot-let-in-slot/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-in-slot/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot/_config.js diff --git a/test/runtime/samples/component-slot-let-in-slot/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-in-slot/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-in-slot/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-in-slot/main.svelte diff --git a/test/runtime/samples/component-slot-let-inline-function/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-let-inline-function/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-inline-function/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-inline-function/Inner.svelte diff --git a/test/runtime/samples/component-slot-let-inline-function/Outer.svelte b/packages/svelte/test/runtime/samples/component-slot-let-inline-function/Outer.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-inline-function/Outer.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-inline-function/Outer.svelte diff --git a/test/runtime/samples/component-slot-let-inline-function/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-inline-function/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-inline-function/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-inline-function/_config.js diff --git a/test/runtime/samples/component-slot-let-inline-function/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-inline-function/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-inline-function/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-inline-function/main.svelte diff --git a/test/runtime/samples/component-slot-let-missing-prop/Bar.svelte b/packages/svelte/test/runtime/samples/component-slot-let-missing-prop/Bar.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-missing-prop/Bar.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-missing-prop/Bar.svelte diff --git a/test/runtime/samples/component-slot-let-missing-prop/Foo.svelte b/packages/svelte/test/runtime/samples/component-slot-let-missing-prop/Foo.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-missing-prop/Foo.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-missing-prop/Foo.svelte diff --git a/test/runtime/samples/component-slot-let-missing-prop/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-missing-prop/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-missing-prop/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-missing-prop/_config.js diff --git a/test/runtime/samples/component-slot-let-missing-prop/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-missing-prop/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-missing-prop/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-missing-prop/main.svelte diff --git a/test/runtime/samples/component-slot-let-named/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-named/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-named/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-named/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-named/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-named/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-named/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-named/_config.js diff --git a/test/runtime/samples/component-slot-let-named/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-named/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-named/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-named/main.svelte diff --git a/packages/svelte/test/runtime/samples/component-slot-let-scope-2/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-scope-2/Nested.svelte new file mode 100644 index 0000000000..e231bf1a7f --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-let-scope-2/Nested.svelte @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/packages/svelte/test/runtime/samples/component-slot-let-scope-2/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-scope-2/_config.js new file mode 100644 index 0000000000..6b2059f03d --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-let-scope-2/_config.js @@ -0,0 +1,3 @@ +export default { + html: 'undefined2' +}; diff --git a/packages/svelte/test/runtime/samples/component-slot-let-scope-2/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-scope-2/main.svelte new file mode 100644 index 0000000000..8454c4acd1 --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-let-scope-2/main.svelte @@ -0,0 +1,8 @@ + + + + {thing} + {thing} + \ No newline at end of file diff --git a/test/runtime/samples/component-slot-named-inherits-default-lets/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-scope-3/Nested.svelte similarity index 82% rename from test/runtime/samples/component-slot-named-inherits-default-lets/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-scope-3/Nested.svelte index 472af6278e..cecce8db01 100644 --- a/test/runtime/samples/component-slot-named-inherits-default-lets/Nested.svelte +++ b/packages/svelte/test/runtime/samples/component-slot-let-scope-3/Nested.svelte @@ -1,6 +1,4 @@ diff --git a/packages/svelte/test/runtime/samples/component-slot-let-scope/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-scope/Nested.svelte new file mode 100644 index 0000000000..772955e06e --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-let-scope/Nested.svelte @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/packages/svelte/test/runtime/samples/component-slot-let-scope/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-scope/_config.js new file mode 100644 index 0000000000..c0f4d29305 --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-let-scope/_config.js @@ -0,0 +1,3 @@ +export default { + error: 'thing is not defined' +}; diff --git a/packages/svelte/test/runtime/samples/component-slot-let-scope/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-scope/main.svelte new file mode 100644 index 0000000000..e10a9a8584 --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-let-scope/main.svelte @@ -0,0 +1,8 @@ + + + + {thing} + \ No newline at end of file diff --git a/test/runtime/samples/component-slot-let-static/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let-static/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-static/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-static/Nested.svelte diff --git a/test/runtime/samples/component-slot-let-static/_config.js b/packages/svelte/test/runtime/samples/component-slot-let-static/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let-static/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let-static/_config.js diff --git a/test/runtime/samples/component-slot-let-static/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let-static/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let-static/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let-static/main.svelte diff --git a/test/runtime/samples/component-slot-let/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-let/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-let/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-let/Nested.svelte diff --git a/test/runtime/samples/component-slot-let/_config.js b/packages/svelte/test/runtime/samples/component-slot-let/_config.js similarity index 100% rename from test/runtime/samples/component-slot-let/_config.js rename to packages/svelte/test/runtime/samples/component-slot-let/_config.js diff --git a/test/runtime/samples/component-slot-let/main.svelte b/packages/svelte/test/runtime/samples/component-slot-let/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-let/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-let/main.svelte diff --git a/test/runtime/samples/component-slot-name-with-hyphen/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-name-with-hyphen/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-name-with-hyphen/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-name-with-hyphen/Nested.svelte diff --git a/test/runtime/samples/component-slot-name-with-hyphen/_config.js b/packages/svelte/test/runtime/samples/component-slot-name-with-hyphen/_config.js similarity index 100% rename from test/runtime/samples/component-slot-name-with-hyphen/_config.js rename to packages/svelte/test/runtime/samples/component-slot-name-with-hyphen/_config.js diff --git a/test/runtime/samples/component-slot-name-with-hyphen/main.svelte b/packages/svelte/test/runtime/samples/component-slot-name-with-hyphen/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-name-with-hyphen/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-name-with-hyphen/main.svelte diff --git a/test/runtime/samples/component-slot-named-b/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-named-b/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-named-b/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-named-b/Nested.svelte diff --git a/test/runtime/samples/component-slot-named-b/_config.js b/packages/svelte/test/runtime/samples/component-slot-named-b/_config.js similarity index 100% rename from test/runtime/samples/component-slot-named-b/_config.js rename to packages/svelte/test/runtime/samples/component-slot-named-b/_config.js diff --git a/test/runtime/samples/component-slot-named-b/main.svelte b/packages/svelte/test/runtime/samples/component-slot-named-b/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-named-b/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-named-b/main.svelte diff --git a/test/runtime/samples/component-slot-named-c/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-named-c/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-named-c/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-named-c/Nested.svelte diff --git a/test/runtime/samples/component-slot-named-c/_config.js b/packages/svelte/test/runtime/samples/component-slot-named-c/_config.js similarity index 100% rename from test/runtime/samples/component-slot-named-c/_config.js rename to packages/svelte/test/runtime/samples/component-slot-named-c/_config.js diff --git a/test/runtime/samples/component-slot-named-c/main.svelte b/packages/svelte/test/runtime/samples/component-slot-named-c/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-named-c/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-named-c/main.svelte diff --git a/test/runtime/samples/component-slot-named/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-named/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-named/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-named/Nested.svelte diff --git a/test/runtime/samples/component-slot-named/_config.js b/packages/svelte/test/runtime/samples/component-slot-named/_config.js similarity index 100% rename from test/runtime/samples/component-slot-named/_config.js rename to packages/svelte/test/runtime/samples/component-slot-named/_config.js diff --git a/test/runtime/samples/component-slot-named/main.svelte b/packages/svelte/test/runtime/samples/component-slot-named/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-named/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-named/main.svelte diff --git a/test/runtime/samples/component-slot-names-sanitized/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-names-sanitized/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-names-sanitized/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-names-sanitized/Nested.svelte diff --git a/test/runtime/samples/component-slot-names-sanitized/_config.js b/packages/svelte/test/runtime/samples/component-slot-names-sanitized/_config.js similarity index 100% rename from test/runtime/samples/component-slot-names-sanitized/_config.js rename to packages/svelte/test/runtime/samples/component-slot-names-sanitized/_config.js diff --git a/test/runtime/samples/component-slot-names-sanitized/main.svelte b/packages/svelte/test/runtime/samples/component-slot-names-sanitized/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-names-sanitized/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-names-sanitized/main.svelte diff --git a/test/runtime/samples/component-slot-nested-component/Inner.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-component/Inner.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-component/Inner.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-component/Inner.svelte diff --git a/test/runtime/samples/component-slot-nested-component/Outer.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-component/Outer.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-component/Outer.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-component/Outer.svelte diff --git a/test/runtime/samples/component-slot-nested-component/_config.js b/packages/svelte/test/runtime/samples/component-slot-nested-component/_config.js similarity index 100% rename from test/runtime/samples/component-slot-nested-component/_config.js rename to packages/svelte/test/runtime/samples/component-slot-nested-component/_config.js diff --git a/test/runtime/samples/component-slot-nested-component/main.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-component/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-component/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-component/main.svelte diff --git a/test/runtime/samples/component-slot-nested-if/Display.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-if/Display.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-if/Display.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-if/Display.svelte diff --git a/test/runtime/samples/component-slot-nested-if/Input.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-if/Input.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-if/Input.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-if/Input.svelte diff --git a/test/runtime/samples/component-slot-nested-if/_config.js b/packages/svelte/test/runtime/samples/component-slot-nested-if/_config.js similarity index 100% rename from test/runtime/samples/component-slot-nested-if/_config.js rename to packages/svelte/test/runtime/samples/component-slot-nested-if/_config.js diff --git a/test/runtime/samples/component-slot-nested-if/main.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-if/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-if/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-if/main.svelte diff --git a/test/runtime/samples/component-slot-nested-in-element/One.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-in-element/One.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-in-element/One.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-in-element/One.svelte diff --git a/test/runtime/samples/component-slot-nested-in-element/Two.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-in-element/Two.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-in-element/Two.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-in-element/Two.svelte diff --git a/test/runtime/samples/component-slot-nested-in-element/_config.js b/packages/svelte/test/runtime/samples/component-slot-nested-in-element/_config.js similarity index 100% rename from test/runtime/samples/component-slot-nested-in-element/_config.js rename to packages/svelte/test/runtime/samples/component-slot-nested-in-element/_config.js diff --git a/test/runtime/samples/component-slot-nested-in-element/main.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-in-element/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-in-element/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-in-element/main.svelte diff --git a/packages/svelte/test/runtime/samples/component-slot-nested-in-slot/One.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-in-slot/One.svelte new file mode 100644 index 0000000000..acb6a03358 --- /dev/null +++ b/packages/svelte/test/runtime/samples/component-slot-nested-in-slot/One.svelte @@ -0,0 +1,10 @@ + + + + + + + diff --git a/test/runtime/samples/component-slot-nested-in-slot/Two.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-in-slot/Two.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-in-slot/Two.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-in-slot/Two.svelte diff --git a/test/runtime/samples/component-slot-nested-in-slot/_config.js b/packages/svelte/test/runtime/samples/component-slot-nested-in-slot/_config.js similarity index 100% rename from test/runtime/samples/component-slot-nested-in-slot/_config.js rename to packages/svelte/test/runtime/samples/component-slot-nested-in-slot/_config.js diff --git a/test/runtime/samples/component-slot-nested-in-slot/main.svelte b/packages/svelte/test/runtime/samples/component-slot-nested-in-slot/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested-in-slot/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested-in-slot/main.svelte diff --git a/test/runtime/samples/component-slot-nested/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-nested/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested/Nested.svelte diff --git a/test/runtime/samples/component-slot-nested/_config.js b/packages/svelte/test/runtime/samples/component-slot-nested/_config.js similarity index 100% rename from test/runtime/samples/component-slot-nested/_config.js rename to packages/svelte/test/runtime/samples/component-slot-nested/_config.js diff --git a/test/runtime/samples/component-slot-nested/main.svelte b/packages/svelte/test/runtime/samples/component-slot-nested/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-nested/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-nested/main.svelte diff --git a/test/runtime/samples/component-slot-slot/Component.svelte b/packages/svelte/test/runtime/samples/component-slot-slot/Component.svelte similarity index 100% rename from test/runtime/samples/component-slot-slot/Component.svelte rename to packages/svelte/test/runtime/samples/component-slot-slot/Component.svelte diff --git a/test/runtime/samples/component-slot-slot/Forward.svelte b/packages/svelte/test/runtime/samples/component-slot-slot/Forward.svelte similarity index 100% rename from test/runtime/samples/component-slot-slot/Forward.svelte rename to packages/svelte/test/runtime/samples/component-slot-slot/Forward.svelte diff --git a/test/runtime/samples/component-slot-slot/_config.js b/packages/svelte/test/runtime/samples/component-slot-slot/_config.js similarity index 100% rename from test/runtime/samples/component-slot-slot/_config.js rename to packages/svelte/test/runtime/samples/component-slot-slot/_config.js diff --git a/test/runtime/samples/component-slot-slot/main.svelte b/packages/svelte/test/runtime/samples/component-slot-slot/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-slot/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-slot/main.svelte diff --git a/test/runtime/samples/component-slot-spread-props/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-spread-props/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-spread-props/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-spread-props/Nested.svelte diff --git a/test/runtime/samples/component-slot-spread-props/_config.js b/packages/svelte/test/runtime/samples/component-slot-spread-props/_config.js similarity index 100% rename from test/runtime/samples/component-slot-spread-props/_config.js rename to packages/svelte/test/runtime/samples/component-slot-spread-props/_config.js diff --git a/test/runtime/samples/component-slot-spread-props/main.svelte b/packages/svelte/test/runtime/samples/component-slot-spread-props/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-spread-props/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-spread-props/main.svelte diff --git a/test/runtime/samples/component-slot-spread/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-spread/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-spread/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-spread/Nested.svelte diff --git a/test/runtime/samples/component-slot-spread/_config.js b/packages/svelte/test/runtime/samples/component-slot-spread/_config.js similarity index 100% rename from test/runtime/samples/component-slot-spread/_config.js rename to packages/svelte/test/runtime/samples/component-slot-spread/_config.js diff --git a/test/runtime/samples/component-slot-spread/main.svelte b/packages/svelte/test/runtime/samples/component-slot-spread/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-spread/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-spread/main.svelte diff --git a/test/runtime/samples/component-slot-static-and-dynamic/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-static-and-dynamic/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-static-and-dynamic/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-static-and-dynamic/Nested.svelte diff --git a/test/runtime/samples/component-slot-static-and-dynamic/_config.js b/packages/svelte/test/runtime/samples/component-slot-static-and-dynamic/_config.js similarity index 100% rename from test/runtime/samples/component-slot-static-and-dynamic/_config.js rename to packages/svelte/test/runtime/samples/component-slot-static-and-dynamic/_config.js diff --git a/test/runtime/samples/component-slot-static-and-dynamic/main.svelte b/packages/svelte/test/runtime/samples/component-slot-static-and-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-static-and-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-static-and-dynamic/main.svelte diff --git a/test/runtime/samples/component-slot-used-with-default-event/Nested.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/component-slot-used-with-default-event/Nested.svelte diff --git a/test/runtime/samples/component-slot-used-with-default-event/_config.js b/packages/svelte/test/runtime/samples/component-slot-used-with-default-event/_config.js similarity index 100% rename from test/runtime/samples/component-slot-used-with-default-event/_config.js rename to packages/svelte/test/runtime/samples/component-slot-used-with-default-event/_config.js diff --git a/test/runtime/samples/component-slot-used-with-default-event/main.svelte b/packages/svelte/test/runtime/samples/component-slot-used-with-default-event/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-used-with-default-event/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-used-with-default-event/main.svelte diff --git a/test/runtime/samples/component-slot-warning/Nested.svelte b/packages/svelte/test/runtime/samples/component-slot-warning/Nested.svelte similarity index 100% rename from test/runtime/samples/component-slot-warning/Nested.svelte rename to packages/svelte/test/runtime/samples/component-slot-warning/Nested.svelte diff --git a/test/runtime/samples/component-slot-warning/_config.js b/packages/svelte/test/runtime/samples/component-slot-warning/_config.js similarity index 100% rename from test/runtime/samples/component-slot-warning/_config.js rename to packages/svelte/test/runtime/samples/component-slot-warning/_config.js diff --git a/test/runtime/samples/component-slot-warning/main.svelte b/packages/svelte/test/runtime/samples/component-slot-warning/main.svelte similarity index 100% rename from test/runtime/samples/component-slot-warning/main.svelte rename to packages/svelte/test/runtime/samples/component-slot-warning/main.svelte diff --git a/test/runtime/samples/component-static-at-symbol/Email.svelte b/packages/svelte/test/runtime/samples/component-static-at-symbol/Email.svelte similarity index 100% rename from test/runtime/samples/component-static-at-symbol/Email.svelte rename to packages/svelte/test/runtime/samples/component-static-at-symbol/Email.svelte diff --git a/test/runtime/samples/component-static-at-symbol/_config.js b/packages/svelte/test/runtime/samples/component-static-at-symbol/_config.js similarity index 100% rename from test/runtime/samples/component-static-at-symbol/_config.js rename to packages/svelte/test/runtime/samples/component-static-at-symbol/_config.js diff --git a/test/runtime/samples/component-static-at-symbol/main.svelte b/packages/svelte/test/runtime/samples/component-static-at-symbol/main.svelte similarity index 100% rename from test/runtime/samples/component-static-at-symbol/main.svelte rename to packages/svelte/test/runtime/samples/component-static-at-symbol/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-2/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-2/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-2/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-2/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-2/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-2/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-2/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-2/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-2/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-2/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-2/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-2/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-aliased/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-aliased/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-aliased/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-aliased/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-aliased/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-aliased/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-aliased/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-aliased/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-aliased/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-aliased/main.svelte similarity index 62% rename from test/runtime/samples/component-svelte-fragment-let-aliased/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-aliased/main.svelte index dabf1d65ef..5ca0cbbd10 100644 --- a/test/runtime/samples/component-svelte-fragment-let-aliased/main.svelte +++ b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-aliased/main.svelte @@ -4,8 +4,8 @@ export let things; - - + + {x} \ No newline at end of file diff --git a/test/runtime/samples/component-svelte-fragment-let-b/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-b/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-b/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-b/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-b/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-b/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-b/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-b/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-b/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-b/main.svelte similarity index 63% rename from test/runtime/samples/component-svelte-fragment-let-b/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-b/main.svelte index 584240d14d..bb24b97a3b 100644 --- a/test/runtime/samples/component-svelte-fragment-let-b/main.svelte +++ b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-b/main.svelte @@ -2,8 +2,8 @@ import Nested from './Nested.svelte'; - - + + {count} \ No newline at end of file diff --git a/test/runtime/samples/component-svelte-fragment-let-c/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-c/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-c/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-c/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-c/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-c/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-c/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-c/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-c/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-c/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-c/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-c/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-d/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-d/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-d/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-d/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-d/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-d/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-d/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-d/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-d/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-d/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-d/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-d/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-destructured-2/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured-2/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-destructured-2/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured-2/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-destructured-2/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured-2/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-destructured-2/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured-2/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-destructured-2/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured-2/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-destructured-2/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured-2/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-destructured/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-destructured/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-destructured/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-destructured/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-destructured/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-destructured/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-destructured/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-e/A.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/A.svelte similarity index 71% rename from test/runtime/samples/component-svelte-fragment-let-e/A.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/A.svelte index 3ba0e62cd9..f982aef7b1 100644 --- a/test/runtime/samples/component-svelte-fragment-let-e/A.svelte +++ b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/A.svelte @@ -3,8 +3,8 @@ export let x; - - + + {reflected} diff --git a/test/runtime/samples/component-svelte-fragment-let-e/B.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/B.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-e/B.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/B.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-e/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/_config.js similarity index 76% rename from test/runtime/samples/component-svelte-fragment-let-e/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/_config.js index 92c7028eae..1ececbb3ef 100644 --- a/test/runtime/samples/component-svelte-fragment-let-e/_config.js +++ b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/_config.js @@ -2,8 +2,6 @@ export default { html: ` 1 1 - 1 - 1 `, async test({ assert, target, component }) { @@ -14,8 +12,6 @@ export default { ` 2 2 - 2 - 2 ` ); } diff --git a/test/runtime/samples/component-svelte-fragment-let-e/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/main.svelte similarity index 62% rename from test/runtime/samples/component-svelte-fragment-let-e/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/main.svelte index 80c9a868cd..e95c8d9274 100644 --- a/test/runtime/samples/component-svelte-fragment-let-e/main.svelte +++ b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-e/main.svelte @@ -8,9 +8,3 @@ {reflected} - - - - {reflected} - - \ No newline at end of file diff --git a/test/runtime/samples/component-svelte-fragment-let-f/A.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-f/A.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-f/A.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-f/A.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-f/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-f/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-f/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-f/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-f/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-f/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-f/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-f/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-in-binding/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-binding/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-in-binding/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-binding/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-in-binding/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-binding/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-in-binding/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-binding/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-in-binding/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-binding/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-in-binding/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-binding/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-in-slot/Inner.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/Inner.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-in-slot/Inner.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/Inner.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-in-slot/Outer.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/Outer.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-in-slot/Outer.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/Outer.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-in-slot/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-in-slot/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-in-slot/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-in-slot/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-in-slot/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-named/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-named/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-named/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-named/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-named/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-named/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-named/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-named/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-named/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-named/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-named/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-named/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-static/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-static/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-static/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-static/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let-static/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-static/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-static/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-static/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let-static/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let-static/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let-static/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let-static/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-let/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-let/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-let/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-let/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-let/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-let/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment-nested/Child.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-nested/Child.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-nested/Child.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-nested/Child.svelte diff --git a/test/runtime/samples/component-svelte-fragment-nested/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-nested/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-nested/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-nested/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment-nested/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment-nested/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment-nested/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment-nested/_config.js diff --git a/test/runtime/samples/component-svelte-fragment-nested/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment-nested/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment-nested/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment-nested/main.svelte diff --git a/test/runtime/samples/component-svelte-fragment/B.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment/B.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment/B.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment/B.svelte diff --git a/test/runtime/samples/component-svelte-fragment/Nested.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment/Nested.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment/Nested.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment/Nested.svelte diff --git a/test/runtime/samples/component-svelte-fragment/_config.js b/packages/svelte/test/runtime/samples/component-svelte-fragment/_config.js similarity index 100% rename from test/runtime/samples/component-svelte-fragment/_config.js rename to packages/svelte/test/runtime/samples/component-svelte-fragment/_config.js diff --git a/test/runtime/samples/component-svelte-fragment/main.svelte b/packages/svelte/test/runtime/samples/component-svelte-fragment/main.svelte similarity index 100% rename from test/runtime/samples/component-svelte-fragment/main.svelte rename to packages/svelte/test/runtime/samples/component-svelte-fragment/main.svelte diff --git a/test/runtime/samples/component-template-inline-mutation/Widget.svelte b/packages/svelte/test/runtime/samples/component-template-inline-mutation/Widget.svelte similarity index 100% rename from test/runtime/samples/component-template-inline-mutation/Widget.svelte rename to packages/svelte/test/runtime/samples/component-template-inline-mutation/Widget.svelte diff --git a/test/runtime/samples/component-template-inline-mutation/_config.js b/packages/svelte/test/runtime/samples/component-template-inline-mutation/_config.js similarity index 100% rename from test/runtime/samples/component-template-inline-mutation/_config.js rename to packages/svelte/test/runtime/samples/component-template-inline-mutation/_config.js diff --git a/test/runtime/samples/component-template-inline-mutation/main.svelte b/packages/svelte/test/runtime/samples/component-template-inline-mutation/main.svelte similarity index 100% rename from test/runtime/samples/component-template-inline-mutation/main.svelte rename to packages/svelte/test/runtime/samples/component-template-inline-mutation/main.svelte diff --git a/test/runtime/samples/component-transition/_config.js b/packages/svelte/test/runtime/samples/component-transition/_config.js similarity index 100% rename from test/runtime/samples/component-transition/_config.js rename to packages/svelte/test/runtime/samples/component-transition/_config.js diff --git a/test/runtime/samples/component-transition/main.svelte b/packages/svelte/test/runtime/samples/component-transition/main.svelte similarity index 100% rename from test/runtime/samples/component-transition/main.svelte rename to packages/svelte/test/runtime/samples/component-transition/main.svelte diff --git a/test/runtime/samples/component-yield-follows-element/Foo.svelte b/packages/svelte/test/runtime/samples/component-yield-follows-element/Foo.svelte similarity index 100% rename from test/runtime/samples/component-yield-follows-element/Foo.svelte rename to packages/svelte/test/runtime/samples/component-yield-follows-element/Foo.svelte diff --git a/test/runtime/samples/component-yield-follows-element/_config.js b/packages/svelte/test/runtime/samples/component-yield-follows-element/_config.js similarity index 100% rename from test/runtime/samples/component-yield-follows-element/_config.js rename to packages/svelte/test/runtime/samples/component-yield-follows-element/_config.js diff --git a/test/runtime/samples/component-yield-follows-element/main.svelte b/packages/svelte/test/runtime/samples/component-yield-follows-element/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-follows-element/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-follows-element/main.svelte diff --git a/test/runtime/samples/component-yield-if/Widget.svelte b/packages/svelte/test/runtime/samples/component-yield-if/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-if/Widget.svelte rename to packages/svelte/test/runtime/samples/component-yield-if/Widget.svelte diff --git a/test/runtime/samples/component-yield-if/_config.js b/packages/svelte/test/runtime/samples/component-yield-if/_config.js similarity index 100% rename from test/runtime/samples/component-yield-if/_config.js rename to packages/svelte/test/runtime/samples/component-yield-if/_config.js diff --git a/test/runtime/samples/component-yield-if/main.svelte b/packages/svelte/test/runtime/samples/component-yield-if/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-if/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-if/main.svelte diff --git a/test/runtime/samples/component-yield-multiple-in-each/Widget.svelte b/packages/svelte/test/runtime/samples/component-yield-multiple-in-each/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-multiple-in-each/Widget.svelte rename to packages/svelte/test/runtime/samples/component-yield-multiple-in-each/Widget.svelte diff --git a/test/runtime/samples/component-yield-multiple-in-each/_config.js b/packages/svelte/test/runtime/samples/component-yield-multiple-in-each/_config.js similarity index 100% rename from test/runtime/samples/component-yield-multiple-in-each/_config.js rename to packages/svelte/test/runtime/samples/component-yield-multiple-in-each/_config.js diff --git a/test/runtime/samples/component-yield-multiple-in-each/main.svelte b/packages/svelte/test/runtime/samples/component-yield-multiple-in-each/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-multiple-in-each/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-multiple-in-each/main.svelte diff --git a/test/runtime/samples/component-yield-multiple-in-if/Widget.svelte b/packages/svelte/test/runtime/samples/component-yield-multiple-in-if/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-multiple-in-if/Widget.svelte rename to packages/svelte/test/runtime/samples/component-yield-multiple-in-if/Widget.svelte diff --git a/test/runtime/samples/component-yield-multiple-in-if/_config.js b/packages/svelte/test/runtime/samples/component-yield-multiple-in-if/_config.js similarity index 100% rename from test/runtime/samples/component-yield-multiple-in-if/_config.js rename to packages/svelte/test/runtime/samples/component-yield-multiple-in-if/_config.js diff --git a/test/runtime/samples/component-yield-multiple-in-if/main.svelte b/packages/svelte/test/runtime/samples/component-yield-multiple-in-if/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-multiple-in-if/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-multiple-in-if/main.svelte diff --git a/test/runtime/samples/component-yield-nested-if/Inner.svelte b/packages/svelte/test/runtime/samples/component-yield-nested-if/Inner.svelte similarity index 100% rename from test/runtime/samples/component-yield-nested-if/Inner.svelte rename to packages/svelte/test/runtime/samples/component-yield-nested-if/Inner.svelte diff --git a/test/runtime/samples/component-yield-nested-if/Outer.svelte b/packages/svelte/test/runtime/samples/component-yield-nested-if/Outer.svelte similarity index 100% rename from test/runtime/samples/component-yield-nested-if/Outer.svelte rename to packages/svelte/test/runtime/samples/component-yield-nested-if/Outer.svelte diff --git a/test/runtime/samples/component-yield-nested-if/_config.js b/packages/svelte/test/runtime/samples/component-yield-nested-if/_config.js similarity index 100% rename from test/runtime/samples/component-yield-nested-if/_config.js rename to packages/svelte/test/runtime/samples/component-yield-nested-if/_config.js diff --git a/test/runtime/samples/component-yield-nested-if/main.svelte b/packages/svelte/test/runtime/samples/component-yield-nested-if/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-nested-if/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-nested-if/main.svelte diff --git a/test/runtime/samples/component-yield-parent/Widget.svelte b/packages/svelte/test/runtime/samples/component-yield-parent/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-parent/Widget.svelte rename to packages/svelte/test/runtime/samples/component-yield-parent/Widget.svelte diff --git a/test/runtime/samples/component-yield-parent/_config.js b/packages/svelte/test/runtime/samples/component-yield-parent/_config.js similarity index 100% rename from test/runtime/samples/component-yield-parent/_config.js rename to packages/svelte/test/runtime/samples/component-yield-parent/_config.js diff --git a/test/runtime/samples/component-yield-parent/main.svelte b/packages/svelte/test/runtime/samples/component-yield-parent/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-parent/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-parent/main.svelte diff --git a/test/runtime/samples/component-yield-placement/Modal.svelte b/packages/svelte/test/runtime/samples/component-yield-placement/Modal.svelte similarity index 100% rename from test/runtime/samples/component-yield-placement/Modal.svelte rename to packages/svelte/test/runtime/samples/component-yield-placement/Modal.svelte diff --git a/test/runtime/samples/component-yield-placement/_config.js b/packages/svelte/test/runtime/samples/component-yield-placement/_config.js similarity index 100% rename from test/runtime/samples/component-yield-placement/_config.js rename to packages/svelte/test/runtime/samples/component-yield-placement/_config.js diff --git a/test/runtime/samples/component-yield-placement/main.svelte b/packages/svelte/test/runtime/samples/component-yield-placement/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-placement/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-placement/main.svelte diff --git a/test/runtime/samples/component-yield-static/Widget.svelte b/packages/svelte/test/runtime/samples/component-yield-static/Widget.svelte similarity index 100% rename from test/runtime/samples/component-yield-static/Widget.svelte rename to packages/svelte/test/runtime/samples/component-yield-static/Widget.svelte diff --git a/test/runtime/samples/component-yield-static/_config.js b/packages/svelte/test/runtime/samples/component-yield-static/_config.js similarity index 100% rename from test/runtime/samples/component-yield-static/_config.js rename to packages/svelte/test/runtime/samples/component-yield-static/_config.js diff --git a/test/runtime/samples/component-yield-static/main.svelte b/packages/svelte/test/runtime/samples/component-yield-static/main.svelte similarity index 100% rename from test/runtime/samples/component-yield-static/main.svelte rename to packages/svelte/test/runtime/samples/component-yield-static/main.svelte diff --git a/test/runtime/samples/component-yield/_config.js b/packages/svelte/test/runtime/samples/component-yield/_config.js similarity index 100% rename from test/runtime/samples/component-yield/_config.js rename to packages/svelte/test/runtime/samples/component-yield/_config.js diff --git a/test/runtime/samples/component-yield/main.svelte b/packages/svelte/test/runtime/samples/component-yield/main.svelte similarity index 100% rename from test/runtime/samples/component-yield/main.svelte rename to packages/svelte/test/runtime/samples/component-yield/main.svelte diff --git a/test/runtime/samples/component/Widget.svelte b/packages/svelte/test/runtime/samples/component/Widget.svelte similarity index 100% rename from test/runtime/samples/component/Widget.svelte rename to packages/svelte/test/runtime/samples/component/Widget.svelte diff --git a/test/runtime/samples/component/_config.js b/packages/svelte/test/runtime/samples/component/_config.js similarity index 100% rename from test/runtime/samples/component/_config.js rename to packages/svelte/test/runtime/samples/component/_config.js diff --git a/test/runtime/samples/component/main.svelte b/packages/svelte/test/runtime/samples/component/main.svelte similarity index 100% rename from test/runtime/samples/component/main.svelte rename to packages/svelte/test/runtime/samples/component/main.svelte diff --git a/test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/_config.js b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/_config.js similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/_config.js rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/_config.js diff --git a/test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/main.svelte b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-in-computed/main.svelte diff --git a/test/runtime/samples/const-tag-await-then-destructuring-computed-props/_config.js b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-props/_config.js similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-computed-props/_config.js rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-props/_config.js diff --git a/test/runtime/samples/const-tag-await-then-destructuring-computed-props/main.svelte b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-props/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-computed-props/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-computed-props/main.svelte diff --git a/test/runtime/samples/const-tag-await-then-destructuring-literals/_config.js b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-literals/_config.js similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-literals/_config.js rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-literals/_config.js diff --git a/test/runtime/samples/const-tag-await-then-destructuring-literals/main.svelte b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-literals/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-literals/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-literals/main.svelte diff --git a/test/runtime/samples/const-tag-await-then-destructuring-nested-rest/_config.js b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-nested-rest/_config.js similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-nested-rest/_config.js rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-nested-rest/_config.js diff --git a/test/runtime/samples/const-tag-await-then-destructuring-nested-rest/main.svelte b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-nested-rest/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring-nested-rest/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring-nested-rest/main.svelte diff --git a/test/runtime/samples/const-tag-await-then-destructuring/_config.js b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring/_config.js similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring/_config.js rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring/_config.js diff --git a/test/runtime/samples/const-tag-await-then-destructuring/main.svelte b/packages/svelte/test/runtime/samples/const-tag-await-then-destructuring/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-await-then-destructuring/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-await-then-destructuring/main.svelte diff --git a/test/runtime/samples/const-tag-await-then/_config.js b/packages/svelte/test/runtime/samples/const-tag-await-then/_config.js similarity index 100% rename from test/runtime/samples/const-tag-await-then/_config.js rename to packages/svelte/test/runtime/samples/const-tag-await-then/_config.js diff --git a/test/runtime/samples/const-tag-await-then/main.svelte b/packages/svelte/test/runtime/samples/const-tag-await-then/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-await-then/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-await-then/main.svelte diff --git a/test/runtime/samples/const-tag-component-without-let/Component.svelte b/packages/svelte/test/runtime/samples/const-tag-component-without-let/Component.svelte similarity index 100% rename from test/runtime/samples/const-tag-component-without-let/Component.svelte rename to packages/svelte/test/runtime/samples/const-tag-component-without-let/Component.svelte diff --git a/test/runtime/samples/const-tag-component-without-let/_config.js b/packages/svelte/test/runtime/samples/const-tag-component-without-let/_config.js similarity index 100% rename from test/runtime/samples/const-tag-component-without-let/_config.js rename to packages/svelte/test/runtime/samples/const-tag-component-without-let/_config.js diff --git a/test/runtime/samples/const-tag-component-without-let/main.svelte b/packages/svelte/test/runtime/samples/const-tag-component-without-let/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-component-without-let/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-component-without-let/main.svelte diff --git a/test/runtime/samples/const-tag-component/Component.svelte b/packages/svelte/test/runtime/samples/const-tag-component/Component.svelte similarity index 100% rename from test/runtime/samples/const-tag-component/Component.svelte rename to packages/svelte/test/runtime/samples/const-tag-component/Component.svelte diff --git a/test/runtime/samples/const-tag-component/_config.js b/packages/svelte/test/runtime/samples/const-tag-component/_config.js similarity index 100% rename from test/runtime/samples/const-tag-component/_config.js rename to packages/svelte/test/runtime/samples/const-tag-component/_config.js diff --git a/test/runtime/samples/const-tag-component/main.svelte b/packages/svelte/test/runtime/samples/const-tag-component/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-component/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-component/main.svelte diff --git a/test/runtime/samples/const-tag-dependencies/_config.js b/packages/svelte/test/runtime/samples/const-tag-dependencies/_config.js similarity index 100% rename from test/runtime/samples/const-tag-dependencies/_config.js rename to packages/svelte/test/runtime/samples/const-tag-dependencies/_config.js diff --git a/test/runtime/samples/const-tag-dependencies/main.svelte b/packages/svelte/test/runtime/samples/const-tag-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-dependencies/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-dependencies/main.svelte diff --git a/test/runtime/samples/const-tag-each-arrow/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-arrow/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-arrow/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-arrow/_config.js diff --git a/test/runtime/samples/const-tag-each-arrow/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-arrow/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-arrow/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-arrow/main.svelte diff --git a/test/runtime/samples/const-tag-each-const/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-const/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-const/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-const/_config.js diff --git a/test/runtime/samples/const-tag-each-const/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-const/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-const/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-const/main.svelte diff --git a/test/runtime/samples/const-tag-each-destructure-computed-in-computed/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-in-computed/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-computed-in-computed/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-in-computed/_config.js diff --git a/test/runtime/samples/const-tag-each-destructure-computed-in-computed/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-in-computed/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-computed-in-computed/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-in-computed/main.svelte diff --git a/test/runtime/samples/const-tag-each-destructure-computed-props/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-props/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-computed-props/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-props/_config.js diff --git a/test/runtime/samples/const-tag-each-destructure-computed-props/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-props/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-computed-props/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-computed-props/main.svelte diff --git a/test/runtime/samples/const-tag-each-destructure-literals/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-destructure-literals/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-literals/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-literals/_config.js diff --git a/test/runtime/samples/const-tag-each-destructure-literals/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-destructure-literals/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-literals/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-literals/main.svelte diff --git a/test/runtime/samples/const-tag-each-destructure-nested-rest/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-destructure-nested-rest/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-nested-rest/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-nested-rest/_config.js diff --git a/test/runtime/samples/const-tag-each-destructure-nested-rest/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-destructure-nested-rest/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-destructure-nested-rest/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-destructure-nested-rest/main.svelte diff --git a/test/runtime/samples/const-tag-each-destructure/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-destructure/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-destructure/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-destructure/_config.js diff --git a/test/runtime/samples/const-tag-each-destructure/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-destructure/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-destructure/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-destructure/main.svelte diff --git a/test/runtime/samples/const-tag-each-duplicated-variable1/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable1/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-duplicated-variable1/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable1/_config.js diff --git a/test/runtime/samples/const-tag-each-duplicated-variable1/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable1/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-duplicated-variable1/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable1/main.svelte diff --git a/test/runtime/samples/const-tag-each-duplicated-variable2/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable2/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-duplicated-variable2/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable2/_config.js diff --git a/test/runtime/samples/const-tag-each-duplicated-variable2/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable2/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-duplicated-variable2/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable2/main.svelte diff --git a/test/runtime/samples/const-tag-each-duplicated-variable3/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable3/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-duplicated-variable3/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable3/_config.js diff --git a/test/runtime/samples/const-tag-each-duplicated-variable3/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable3/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-duplicated-variable3/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-duplicated-variable3/main.svelte diff --git a/test/runtime/samples/const-tag-each-else/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-else/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-else/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-else/_config.js diff --git a/test/runtime/samples/const-tag-each-else/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-else/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-else/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-else/main.svelte diff --git a/test/runtime/samples/const-tag-each-function/_config.js b/packages/svelte/test/runtime/samples/const-tag-each-function/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each-function/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each-function/_config.js diff --git a/test/runtime/samples/const-tag-each-function/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each-function/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each-function/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each-function/main.svelte diff --git a/test/runtime/samples/const-tag-each/_config.js b/packages/svelte/test/runtime/samples/const-tag-each/_config.js similarity index 100% rename from test/runtime/samples/const-tag-each/_config.js rename to packages/svelte/test/runtime/samples/const-tag-each/_config.js diff --git a/test/runtime/samples/const-tag-each/main.svelte b/packages/svelte/test/runtime/samples/const-tag-each/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-each/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-each/main.svelte diff --git a/test/runtime/samples/const-tag-hoisting/_config.js b/packages/svelte/test/runtime/samples/const-tag-hoisting/_config.js similarity index 100% rename from test/runtime/samples/const-tag-hoisting/_config.js rename to packages/svelte/test/runtime/samples/const-tag-hoisting/_config.js diff --git a/test/runtime/samples/const-tag-hoisting/main.svelte b/packages/svelte/test/runtime/samples/const-tag-hoisting/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-hoisting/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-hoisting/main.svelte diff --git a/test/runtime/samples/const-tag-if-else-if/_config.js b/packages/svelte/test/runtime/samples/const-tag-if-else-if/_config.js similarity index 100% rename from test/runtime/samples/const-tag-if-else-if/_config.js rename to packages/svelte/test/runtime/samples/const-tag-if-else-if/_config.js diff --git a/test/runtime/samples/const-tag-if-else-if/main.svelte b/packages/svelte/test/runtime/samples/const-tag-if-else-if/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-if-else-if/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-if-else-if/main.svelte diff --git a/test/runtime/samples/const-tag-if-else-outro/_config.js b/packages/svelte/test/runtime/samples/const-tag-if-else-outro/_config.js similarity index 100% rename from test/runtime/samples/const-tag-if-else-outro/_config.js rename to packages/svelte/test/runtime/samples/const-tag-if-else-outro/_config.js diff --git a/test/runtime/samples/const-tag-if-else-outro/main.svelte b/packages/svelte/test/runtime/samples/const-tag-if-else-outro/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-if-else-outro/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-if-else-outro/main.svelte diff --git a/test/runtime/samples/const-tag-if-else/_config.js b/packages/svelte/test/runtime/samples/const-tag-if-else/_config.js similarity index 100% rename from test/runtime/samples/const-tag-if-else/_config.js rename to packages/svelte/test/runtime/samples/const-tag-if-else/_config.js diff --git a/test/runtime/samples/const-tag-if-else/main.svelte b/packages/svelte/test/runtime/samples/const-tag-if-else/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-if-else/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-if-else/main.svelte diff --git a/test/runtime/samples/const-tag-if/_config.js b/packages/svelte/test/runtime/samples/const-tag-if/_config.js similarity index 100% rename from test/runtime/samples/const-tag-if/_config.js rename to packages/svelte/test/runtime/samples/const-tag-if/_config.js diff --git a/test/runtime/samples/const-tag-if/main.svelte b/packages/svelte/test/runtime/samples/const-tag-if/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-if/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-if/main.svelte diff --git a/test/runtime/samples/const-tag-invalidate/_config.js b/packages/svelte/test/runtime/samples/const-tag-invalidate/_config.js similarity index 100% rename from test/runtime/samples/const-tag-invalidate/_config.js rename to packages/svelte/test/runtime/samples/const-tag-invalidate/_config.js diff --git a/test/runtime/samples/const-tag-invalidate/main.svelte b/packages/svelte/test/runtime/samples/const-tag-invalidate/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-invalidate/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-invalidate/main.svelte diff --git a/test/runtime/samples/const-tag-ordering/_config.js b/packages/svelte/test/runtime/samples/const-tag-ordering/_config.js similarity index 100% rename from test/runtime/samples/const-tag-ordering/_config.js rename to packages/svelte/test/runtime/samples/const-tag-ordering/_config.js diff --git a/test/runtime/samples/const-tag-ordering/main.svelte b/packages/svelte/test/runtime/samples/const-tag-ordering/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-ordering/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-ordering/main.svelte diff --git a/test/runtime/samples/const-tag-shadow-2/_config.js b/packages/svelte/test/runtime/samples/const-tag-shadow-2/_config.js similarity index 100% rename from test/runtime/samples/const-tag-shadow-2/_config.js rename to packages/svelte/test/runtime/samples/const-tag-shadow-2/_config.js diff --git a/test/runtime/samples/const-tag-shadow-2/main.svelte b/packages/svelte/test/runtime/samples/const-tag-shadow-2/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-shadow-2/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-shadow-2/main.svelte diff --git a/test/runtime/samples/const-tag-shadow/_config.js b/packages/svelte/test/runtime/samples/const-tag-shadow/_config.js similarity index 100% rename from test/runtime/samples/const-tag-shadow/_config.js rename to packages/svelte/test/runtime/samples/const-tag-shadow/_config.js diff --git a/test/runtime/samples/const-tag-shadow/main.svelte b/packages/svelte/test/runtime/samples/const-tag-shadow/main.svelte similarity index 100% rename from test/runtime/samples/const-tag-shadow/main.svelte rename to packages/svelte/test/runtime/samples/const-tag-shadow/main.svelte diff --git a/test/runtime/samples/constructor-pass-context/Component.svelte b/packages/svelte/test/runtime/samples/constructor-pass-context/Component.svelte similarity index 100% rename from test/runtime/samples/constructor-pass-context/Component.svelte rename to packages/svelte/test/runtime/samples/constructor-pass-context/Component.svelte diff --git a/test/runtime/samples/constructor-pass-context/_config.js b/packages/svelte/test/runtime/samples/constructor-pass-context/_config.js similarity index 100% rename from test/runtime/samples/constructor-pass-context/_config.js rename to packages/svelte/test/runtime/samples/constructor-pass-context/_config.js diff --git a/test/runtime/samples/constructor-pass-context/main.svelte b/packages/svelte/test/runtime/samples/constructor-pass-context/main.svelte similarity index 100% rename from test/runtime/samples/constructor-pass-context/main.svelte rename to packages/svelte/test/runtime/samples/constructor-pass-context/main.svelte diff --git a/test/runtime/samples/constructor-prefer-passed-context/ChildComponent.svelte b/packages/svelte/test/runtime/samples/constructor-prefer-passed-context/ChildComponent.svelte similarity index 100% rename from test/runtime/samples/constructor-prefer-passed-context/ChildComponent.svelte rename to packages/svelte/test/runtime/samples/constructor-prefer-passed-context/ChildComponent.svelte diff --git a/test/runtime/samples/constructor-prefer-passed-context/_config.js b/packages/svelte/test/runtime/samples/constructor-prefer-passed-context/_config.js similarity index 100% rename from test/runtime/samples/constructor-prefer-passed-context/_config.js rename to packages/svelte/test/runtime/samples/constructor-prefer-passed-context/_config.js diff --git a/test/runtime/samples/constructor-prefer-passed-context/main.svelte b/packages/svelte/test/runtime/samples/constructor-prefer-passed-context/main.svelte similarity index 100% rename from test/runtime/samples/constructor-prefer-passed-context/main.svelte rename to packages/svelte/test/runtime/samples/constructor-prefer-passed-context/main.svelte diff --git a/test/runtime/samples/context-api-b/Leaf.svelte b/packages/svelte/test/runtime/samples/context-api-b/Leaf.svelte similarity index 100% rename from test/runtime/samples/context-api-b/Leaf.svelte rename to packages/svelte/test/runtime/samples/context-api-b/Leaf.svelte diff --git a/test/runtime/samples/context-api-b/Nested.svelte b/packages/svelte/test/runtime/samples/context-api-b/Nested.svelte similarity index 100% rename from test/runtime/samples/context-api-b/Nested.svelte rename to packages/svelte/test/runtime/samples/context-api-b/Nested.svelte diff --git a/test/runtime/samples/context-api-b/_config.js b/packages/svelte/test/runtime/samples/context-api-b/_config.js similarity index 100% rename from test/runtime/samples/context-api-b/_config.js rename to packages/svelte/test/runtime/samples/context-api-b/_config.js diff --git a/test/runtime/samples/context-api-b/main.svelte b/packages/svelte/test/runtime/samples/context-api-b/main.svelte similarity index 100% rename from test/runtime/samples/context-api-b/main.svelte rename to packages/svelte/test/runtime/samples/context-api-b/main.svelte diff --git a/test/runtime/samples/context-api-c/Leaf.svelte b/packages/svelte/test/runtime/samples/context-api-c/Leaf.svelte similarity index 100% rename from test/runtime/samples/context-api-c/Leaf.svelte rename to packages/svelte/test/runtime/samples/context-api-c/Leaf.svelte diff --git a/test/runtime/samples/context-api-c/Nested.svelte b/packages/svelte/test/runtime/samples/context-api-c/Nested.svelte similarity index 100% rename from test/runtime/samples/context-api-c/Nested.svelte rename to packages/svelte/test/runtime/samples/context-api-c/Nested.svelte diff --git a/test/runtime/samples/context-api-c/_config.js b/packages/svelte/test/runtime/samples/context-api-c/_config.js similarity index 100% rename from test/runtime/samples/context-api-c/_config.js rename to packages/svelte/test/runtime/samples/context-api-c/_config.js diff --git a/test/runtime/samples/context-api-c/main.svelte b/packages/svelte/test/runtime/samples/context-api-c/main.svelte similarity index 100% rename from test/runtime/samples/context-api-c/main.svelte rename to packages/svelte/test/runtime/samples/context-api-c/main.svelte diff --git a/test/runtime/samples/context-api-d/Leaf.svelte b/packages/svelte/test/runtime/samples/context-api-d/Leaf.svelte similarity index 100% rename from test/runtime/samples/context-api-d/Leaf.svelte rename to packages/svelte/test/runtime/samples/context-api-d/Leaf.svelte diff --git a/test/runtime/samples/context-api-d/Nested.svelte b/packages/svelte/test/runtime/samples/context-api-d/Nested.svelte similarity index 100% rename from test/runtime/samples/context-api-d/Nested.svelte rename to packages/svelte/test/runtime/samples/context-api-d/Nested.svelte diff --git a/test/runtime/samples/context-api-d/_config.js b/packages/svelte/test/runtime/samples/context-api-d/_config.js similarity index 100% rename from test/runtime/samples/context-api-d/_config.js rename to packages/svelte/test/runtime/samples/context-api-d/_config.js diff --git a/test/runtime/samples/context-api-d/main.svelte b/packages/svelte/test/runtime/samples/context-api-d/main.svelte similarity index 100% rename from test/runtime/samples/context-api-d/main.svelte rename to packages/svelte/test/runtime/samples/context-api-d/main.svelte diff --git a/test/runtime/samples/context-api/Tab.svelte b/packages/svelte/test/runtime/samples/context-api/Tab.svelte similarity index 100% rename from test/runtime/samples/context-api/Tab.svelte rename to packages/svelte/test/runtime/samples/context-api/Tab.svelte diff --git a/test/runtime/samples/context-api/TabList.svelte b/packages/svelte/test/runtime/samples/context-api/TabList.svelte similarity index 100% rename from test/runtime/samples/context-api/TabList.svelte rename to packages/svelte/test/runtime/samples/context-api/TabList.svelte diff --git a/test/runtime/samples/context-api/TabPanel.svelte b/packages/svelte/test/runtime/samples/context-api/TabPanel.svelte similarity index 100% rename from test/runtime/samples/context-api/TabPanel.svelte rename to packages/svelte/test/runtime/samples/context-api/TabPanel.svelte diff --git a/test/runtime/samples/context-api/Tabs.svelte b/packages/svelte/test/runtime/samples/context-api/Tabs.svelte similarity index 100% rename from test/runtime/samples/context-api/Tabs.svelte rename to packages/svelte/test/runtime/samples/context-api/Tabs.svelte diff --git a/test/runtime/samples/context-api/_config.js b/packages/svelte/test/runtime/samples/context-api/_config.js similarity index 100% rename from test/runtime/samples/context-api/_config.js rename to packages/svelte/test/runtime/samples/context-api/_config.js diff --git a/test/runtime/samples/context-api/main.svelte b/packages/svelte/test/runtime/samples/context-api/main.svelte similarity index 100% rename from test/runtime/samples/context-api/main.svelte rename to packages/svelte/test/runtime/samples/context-api/main.svelte diff --git a/test/runtime/samples/context-in-await/Child.svelte b/packages/svelte/test/runtime/samples/context-in-await/Child.svelte similarity index 100% rename from test/runtime/samples/context-in-await/Child.svelte rename to packages/svelte/test/runtime/samples/context-in-await/Child.svelte diff --git a/test/runtime/samples/context-in-await/_config.js b/packages/svelte/test/runtime/samples/context-in-await/_config.js similarity index 100% rename from test/runtime/samples/context-in-await/_config.js rename to packages/svelte/test/runtime/samples/context-in-await/_config.js diff --git a/test/runtime/samples/context-in-await/main.svelte b/packages/svelte/test/runtime/samples/context-in-await/main.svelte similarity index 100% rename from test/runtime/samples/context-in-await/main.svelte rename to packages/svelte/test/runtime/samples/context-in-await/main.svelte diff --git a/test/runtime/samples/context-setcontext-return/_config.js b/packages/svelte/test/runtime/samples/context-setcontext-return/_config.js similarity index 100% rename from test/runtime/samples/context-setcontext-return/_config.js rename to packages/svelte/test/runtime/samples/context-setcontext-return/_config.js diff --git a/test/runtime/samples/context-setcontext-return/main.svelte b/packages/svelte/test/runtime/samples/context-setcontext-return/main.svelte similarity index 100% rename from test/runtime/samples/context-setcontext-return/main.svelte rename to packages/svelte/test/runtime/samples/context-setcontext-return/main.svelte diff --git a/test/runtime/samples/contextual-callback-b/_config.js b/packages/svelte/test/runtime/samples/contextual-callback-b/_config.js similarity index 100% rename from test/runtime/samples/contextual-callback-b/_config.js rename to packages/svelte/test/runtime/samples/contextual-callback-b/_config.js diff --git a/test/runtime/samples/contextual-callback-b/main.svelte b/packages/svelte/test/runtime/samples/contextual-callback-b/main.svelte similarity index 100% rename from test/runtime/samples/contextual-callback-b/main.svelte rename to packages/svelte/test/runtime/samples/contextual-callback-b/main.svelte diff --git a/test/runtime/samples/contextual-callback/Widget.svelte b/packages/svelte/test/runtime/samples/contextual-callback/Widget.svelte similarity index 100% rename from test/runtime/samples/contextual-callback/Widget.svelte rename to packages/svelte/test/runtime/samples/contextual-callback/Widget.svelte diff --git a/test/runtime/samples/contextual-callback/_config.js b/packages/svelte/test/runtime/samples/contextual-callback/_config.js similarity index 100% rename from test/runtime/samples/contextual-callback/_config.js rename to packages/svelte/test/runtime/samples/contextual-callback/_config.js diff --git a/test/runtime/samples/contextual-callback/main.svelte b/packages/svelte/test/runtime/samples/contextual-callback/main.svelte similarity index 100% rename from test/runtime/samples/contextual-callback/main.svelte rename to packages/svelte/test/runtime/samples/contextual-callback/main.svelte diff --git a/test/runtime/samples/css-comments/_config.js b/packages/svelte/test/runtime/samples/css-comments/_config.js similarity index 100% rename from test/runtime/samples/css-comments/_config.js rename to packages/svelte/test/runtime/samples/css-comments/_config.js diff --git a/test/runtime/samples/css-comments/main.svelte b/packages/svelte/test/runtime/samples/css-comments/main.svelte similarity index 100% rename from test/runtime/samples/css-comments/main.svelte rename to packages/svelte/test/runtime/samples/css-comments/main.svelte diff --git a/test/runtime/samples/css-false/Widget.svelte b/packages/svelte/test/runtime/samples/css-false/Widget.svelte similarity index 100% rename from test/runtime/samples/css-false/Widget.svelte rename to packages/svelte/test/runtime/samples/css-false/Widget.svelte diff --git a/test/runtime/samples/css-false/_config.js b/packages/svelte/test/runtime/samples/css-false/_config.js similarity index 100% rename from test/runtime/samples/css-false/_config.js rename to packages/svelte/test/runtime/samples/css-false/_config.js diff --git a/test/runtime/samples/css-false/main.svelte b/packages/svelte/test/runtime/samples/css-false/main.svelte similarity index 100% rename from test/runtime/samples/css-false/main.svelte rename to packages/svelte/test/runtime/samples/css-false/main.svelte diff --git a/test/runtime/samples/css-space-in-attribute/Widget.svelte b/packages/svelte/test/runtime/samples/css-space-in-attribute/Widget.svelte similarity index 100% rename from test/runtime/samples/css-space-in-attribute/Widget.svelte rename to packages/svelte/test/runtime/samples/css-space-in-attribute/Widget.svelte diff --git a/test/runtime/samples/css-space-in-attribute/_config.js b/packages/svelte/test/runtime/samples/css-space-in-attribute/_config.js similarity index 100% rename from test/runtime/samples/css-space-in-attribute/_config.js rename to packages/svelte/test/runtime/samples/css-space-in-attribute/_config.js diff --git a/test/runtime/samples/css-space-in-attribute/main.svelte b/packages/svelte/test/runtime/samples/css-space-in-attribute/main.svelte similarity index 100% rename from test/runtime/samples/css-space-in-attribute/main.svelte rename to packages/svelte/test/runtime/samples/css-space-in-attribute/main.svelte diff --git a/test/runtime/samples/css-vars-escape/Sub.svelte b/packages/svelte/test/runtime/samples/css-vars-escape/Sub.svelte similarity index 100% rename from test/runtime/samples/css-vars-escape/Sub.svelte rename to packages/svelte/test/runtime/samples/css-vars-escape/Sub.svelte diff --git a/test/runtime/samples/css-vars-escape/_config.js b/packages/svelte/test/runtime/samples/css-vars-escape/_config.js similarity index 100% rename from test/runtime/samples/css-vars-escape/_config.js rename to packages/svelte/test/runtime/samples/css-vars-escape/_config.js diff --git a/test/runtime/samples/css-vars-escape/main.svelte b/packages/svelte/test/runtime/samples/css-vars-escape/main.svelte similarity index 100% rename from test/runtime/samples/css-vars-escape/main.svelte rename to packages/svelte/test/runtime/samples/css-vars-escape/main.svelte diff --git a/test/runtime/samples/css/Widget.svelte b/packages/svelte/test/runtime/samples/css/Widget.svelte similarity index 100% rename from test/runtime/samples/css/Widget.svelte rename to packages/svelte/test/runtime/samples/css/Widget.svelte diff --git a/test/runtime/samples/css/_config.js b/packages/svelte/test/runtime/samples/css/_config.js similarity index 100% rename from test/runtime/samples/css/_config.js rename to packages/svelte/test/runtime/samples/css/_config.js diff --git a/test/runtime/samples/css/main.svelte b/packages/svelte/test/runtime/samples/css/main.svelte similarity index 100% rename from test/runtime/samples/css/main.svelte rename to packages/svelte/test/runtime/samples/css/main.svelte diff --git a/test/runtime/samples/custom-method/_config.js b/packages/svelte/test/runtime/samples/custom-method/_config.js similarity index 100% rename from test/runtime/samples/custom-method/_config.js rename to packages/svelte/test/runtime/samples/custom-method/_config.js diff --git a/test/runtime/samples/custom-method/main.svelte b/packages/svelte/test/runtime/samples/custom-method/main.svelte similarity index 100% rename from test/runtime/samples/custom-method/main.svelte rename to packages/svelte/test/runtime/samples/custom-method/main.svelte diff --git a/test/runtime/samples/deconflict-anchor/Anchor.svelte b/packages/svelte/test/runtime/samples/deconflict-anchor/Anchor.svelte similarity index 100% rename from test/runtime/samples/deconflict-anchor/Anchor.svelte rename to packages/svelte/test/runtime/samples/deconflict-anchor/Anchor.svelte diff --git a/test/runtime/samples/deconflict-anchor/_config.js b/packages/svelte/test/runtime/samples/deconflict-anchor/_config.js similarity index 100% rename from test/runtime/samples/deconflict-anchor/_config.js rename to packages/svelte/test/runtime/samples/deconflict-anchor/_config.js diff --git a/test/runtime/samples/deconflict-anchor/main.svelte b/packages/svelte/test/runtime/samples/deconflict-anchor/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-anchor/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-anchor/main.svelte diff --git a/test/runtime/samples/deconflict-block-methods/_config.js b/packages/svelte/test/runtime/samples/deconflict-block-methods/_config.js similarity index 100% rename from test/runtime/samples/deconflict-block-methods/_config.js rename to packages/svelte/test/runtime/samples/deconflict-block-methods/_config.js diff --git a/test/runtime/samples/deconflict-block-methods/main.svelte b/packages/svelte/test/runtime/samples/deconflict-block-methods/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-block-methods/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-block-methods/main.svelte diff --git a/test/runtime/samples/deconflict-builtins-2/_config.js b/packages/svelte/test/runtime/samples/deconflict-builtins-2/_config.js similarity index 100% rename from test/runtime/samples/deconflict-builtins-2/_config.js rename to packages/svelte/test/runtime/samples/deconflict-builtins-2/_config.js diff --git a/test/runtime/samples/deconflict-builtins-2/main.svelte b/packages/svelte/test/runtime/samples/deconflict-builtins-2/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-builtins-2/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-builtins-2/main.svelte diff --git a/test/runtime/samples/deconflict-builtins/_config.js b/packages/svelte/test/runtime/samples/deconflict-builtins/_config.js similarity index 100% rename from test/runtime/samples/deconflict-builtins/_config.js rename to packages/svelte/test/runtime/samples/deconflict-builtins/_config.js diff --git a/test/runtime/samples/deconflict-builtins/get.js b/packages/svelte/test/runtime/samples/deconflict-builtins/get.js similarity index 100% rename from test/runtime/samples/deconflict-builtins/get.js rename to packages/svelte/test/runtime/samples/deconflict-builtins/get.js diff --git a/test/runtime/samples/deconflict-builtins/main.svelte b/packages/svelte/test/runtime/samples/deconflict-builtins/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-builtins/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-builtins/main.svelte diff --git a/test/runtime/samples/deconflict-component-name-with-global/_config.js b/packages/svelte/test/runtime/samples/deconflict-component-name-with-global/_config.js similarity index 100% rename from test/runtime/samples/deconflict-component-name-with-global/_config.js rename to packages/svelte/test/runtime/samples/deconflict-component-name-with-global/_config.js diff --git a/test/runtime/samples/deconflict-component-name-with-global/main.svelte b/packages/svelte/test/runtime/samples/deconflict-component-name-with-global/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-component-name-with-global/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-component-name-with-global/main.svelte diff --git a/test/runtime/samples/deconflict-component-name-with-module-global/_config.js b/packages/svelte/test/runtime/samples/deconflict-component-name-with-module-global/_config.js similarity index 100% rename from test/runtime/samples/deconflict-component-name-with-module-global/_config.js rename to packages/svelte/test/runtime/samples/deconflict-component-name-with-module-global/_config.js diff --git a/test/runtime/samples/deconflict-component-name-with-module-global/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/deconflict-component-name-with-module-global/main.svelte diff --git a/test/runtime/samples/deconflict-component-refs/_config.js b/packages/svelte/test/runtime/samples/deconflict-component-refs/_config.js similarity index 100% rename from test/runtime/samples/deconflict-component-refs/_config.js rename to packages/svelte/test/runtime/samples/deconflict-component-refs/_config.js diff --git a/test/runtime/samples/deconflict-component-refs/main.svelte b/packages/svelte/test/runtime/samples/deconflict-component-refs/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-component-refs/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-component-refs/main.svelte diff --git a/test/runtime/samples/deconflict-contexts/_config.js b/packages/svelte/test/runtime/samples/deconflict-contexts/_config.js similarity index 100% rename from test/runtime/samples/deconflict-contexts/_config.js rename to packages/svelte/test/runtime/samples/deconflict-contexts/_config.js diff --git a/test/runtime/samples/deconflict-contexts/main.svelte b/packages/svelte/test/runtime/samples/deconflict-contexts/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-contexts/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-contexts/main.svelte diff --git a/test/runtime/samples/deconflict-contextual-action/_config.js b/packages/svelte/test/runtime/samples/deconflict-contextual-action/_config.js similarity index 100% rename from test/runtime/samples/deconflict-contextual-action/_config.js rename to packages/svelte/test/runtime/samples/deconflict-contextual-action/_config.js diff --git a/test/runtime/samples/deconflict-contextual-action/main.svelte b/packages/svelte/test/runtime/samples/deconflict-contextual-action/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-contextual-action/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-contextual-action/main.svelte diff --git a/test/runtime/samples/deconflict-contextual-action/util.js b/packages/svelte/test/runtime/samples/deconflict-contextual-action/util.js similarity index 100% rename from test/runtime/samples/deconflict-contextual-action/util.js rename to packages/svelte/test/runtime/samples/deconflict-contextual-action/util.js diff --git a/test/runtime/samples/deconflict-contextual-bind/Widget.svelte b/packages/svelte/test/runtime/samples/deconflict-contextual-bind/Widget.svelte similarity index 100% rename from test/runtime/samples/deconflict-contextual-bind/Widget.svelte rename to packages/svelte/test/runtime/samples/deconflict-contextual-bind/Widget.svelte diff --git a/test/runtime/samples/deconflict-contextual-bind/_config.js b/packages/svelte/test/runtime/samples/deconflict-contextual-bind/_config.js similarity index 100% rename from test/runtime/samples/deconflict-contextual-bind/_config.js rename to packages/svelte/test/runtime/samples/deconflict-contextual-bind/_config.js diff --git a/test/runtime/samples/deconflict-contextual-bind/main.svelte b/packages/svelte/test/runtime/samples/deconflict-contextual-bind/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-contextual-bind/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-contextual-bind/main.svelte diff --git a/test/runtime/samples/deconflict-ctx/_config.js b/packages/svelte/test/runtime/samples/deconflict-ctx/_config.js similarity index 100% rename from test/runtime/samples/deconflict-ctx/_config.js rename to packages/svelte/test/runtime/samples/deconflict-ctx/_config.js diff --git a/test/runtime/samples/deconflict-ctx/main.svelte b/packages/svelte/test/runtime/samples/deconflict-ctx/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-ctx/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-ctx/main.svelte diff --git a/test/runtime/samples/deconflict-elements-indexes/_config.js b/packages/svelte/test/runtime/samples/deconflict-elements-indexes/_config.js similarity index 100% rename from test/runtime/samples/deconflict-elements-indexes/_config.js rename to packages/svelte/test/runtime/samples/deconflict-elements-indexes/_config.js diff --git a/test/runtime/samples/deconflict-elements-indexes/main.svelte b/packages/svelte/test/runtime/samples/deconflict-elements-indexes/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-elements-indexes/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-elements-indexes/main.svelte diff --git a/test/runtime/samples/deconflict-globals/_config.js b/packages/svelte/test/runtime/samples/deconflict-globals/_config.js similarity index 100% rename from test/runtime/samples/deconflict-globals/_config.js rename to packages/svelte/test/runtime/samples/deconflict-globals/_config.js diff --git a/test/runtime/samples/deconflict-globals/main.svelte b/packages/svelte/test/runtime/samples/deconflict-globals/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-globals/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-globals/main.svelte diff --git a/test/runtime/samples/deconflict-non-helpers/_config.js b/packages/svelte/test/runtime/samples/deconflict-non-helpers/_config.js similarity index 100% rename from test/runtime/samples/deconflict-non-helpers/_config.js rename to packages/svelte/test/runtime/samples/deconflict-non-helpers/_config.js diff --git a/test/runtime/samples/deconflict-non-helpers/main.svelte b/packages/svelte/test/runtime/samples/deconflict-non-helpers/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-non-helpers/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-non-helpers/main.svelte diff --git a/test/runtime/samples/deconflict-non-helpers/module.js b/packages/svelte/test/runtime/samples/deconflict-non-helpers/module.js similarity index 100% rename from test/runtime/samples/deconflict-non-helpers/module.js rename to packages/svelte/test/runtime/samples/deconflict-non-helpers/module.js diff --git a/test/runtime/samples/deconflict-self/_config.js b/packages/svelte/test/runtime/samples/deconflict-self/_config.js similarity index 100% rename from test/runtime/samples/deconflict-self/_config.js rename to packages/svelte/test/runtime/samples/deconflict-self/_config.js diff --git a/test/runtime/samples/deconflict-self/main.svelte b/packages/svelte/test/runtime/samples/deconflict-self/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-self/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-self/main.svelte diff --git a/test/runtime/samples/deconflict-self/nested/main.svelte b/packages/svelte/test/runtime/samples/deconflict-self/nested/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-self/nested/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-self/nested/main.svelte diff --git a/test/runtime/samples/deconflict-spread-i/_config.js b/packages/svelte/test/runtime/samples/deconflict-spread-i/_config.js similarity index 100% rename from test/runtime/samples/deconflict-spread-i/_config.js rename to packages/svelte/test/runtime/samples/deconflict-spread-i/_config.js diff --git a/test/runtime/samples/deconflict-spread-i/main.svelte b/packages/svelte/test/runtime/samples/deconflict-spread-i/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-spread-i/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-spread-i/main.svelte diff --git a/test/runtime/samples/deconflict-template-1/_config.js b/packages/svelte/test/runtime/samples/deconflict-template-1/_config.js similarity index 100% rename from test/runtime/samples/deconflict-template-1/_config.js rename to packages/svelte/test/runtime/samples/deconflict-template-1/_config.js diff --git a/test/runtime/samples/deconflict-template-1/main.svelte b/packages/svelte/test/runtime/samples/deconflict-template-1/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-template-1/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-template-1/main.svelte diff --git a/test/runtime/samples/deconflict-template-1/module.js b/packages/svelte/test/runtime/samples/deconflict-template-1/module.js similarity index 100% rename from test/runtime/samples/deconflict-template-1/module.js rename to packages/svelte/test/runtime/samples/deconflict-template-1/module.js diff --git a/test/runtime/samples/deconflict-template-2/_config.js b/packages/svelte/test/runtime/samples/deconflict-template-2/_config.js similarity index 100% rename from test/runtime/samples/deconflict-template-2/_config.js rename to packages/svelte/test/runtime/samples/deconflict-template-2/_config.js diff --git a/test/runtime/samples/deconflict-template-2/main.svelte b/packages/svelte/test/runtime/samples/deconflict-template-2/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-template-2/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-template-2/main.svelte diff --git a/test/runtime/samples/deconflict-value/Widget.svelte b/packages/svelte/test/runtime/samples/deconflict-value/Widget.svelte similarity index 100% rename from test/runtime/samples/deconflict-value/Widget.svelte rename to packages/svelte/test/runtime/samples/deconflict-value/Widget.svelte diff --git a/test/runtime/samples/deconflict-value/_config.js b/packages/svelte/test/runtime/samples/deconflict-value/_config.js similarity index 100% rename from test/runtime/samples/deconflict-value/_config.js rename to packages/svelte/test/runtime/samples/deconflict-value/_config.js diff --git a/test/runtime/samples/deconflict-value/main.svelte b/packages/svelte/test/runtime/samples/deconflict-value/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-value/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-value/main.svelte diff --git a/test/runtime/samples/deconflict-vars/_config.js b/packages/svelte/test/runtime/samples/deconflict-vars/_config.js similarity index 100% rename from test/runtime/samples/deconflict-vars/_config.js rename to packages/svelte/test/runtime/samples/deconflict-vars/_config.js diff --git a/test/runtime/samples/deconflict-vars/main.svelte b/packages/svelte/test/runtime/samples/deconflict-vars/main.svelte similarity index 100% rename from test/runtime/samples/deconflict-vars/main.svelte rename to packages/svelte/test/runtime/samples/deconflict-vars/main.svelte diff --git a/test/runtime/samples/default-data-function/_config.js b/packages/svelte/test/runtime/samples/default-data-function/_config.js similarity index 100% rename from test/runtime/samples/default-data-function/_config.js rename to packages/svelte/test/runtime/samples/default-data-function/_config.js diff --git a/test/runtime/samples/default-data-function/main.svelte b/packages/svelte/test/runtime/samples/default-data-function/main.svelte similarity index 100% rename from test/runtime/samples/default-data-function/main.svelte rename to packages/svelte/test/runtime/samples/default-data-function/main.svelte diff --git a/test/runtime/samples/default-data-override/_config.js b/packages/svelte/test/runtime/samples/default-data-override/_config.js similarity index 100% rename from test/runtime/samples/default-data-override/_config.js rename to packages/svelte/test/runtime/samples/default-data-override/_config.js diff --git a/test/runtime/samples/default-data-override/main.svelte b/packages/svelte/test/runtime/samples/default-data-override/main.svelte similarity index 100% rename from test/runtime/samples/default-data-override/main.svelte rename to packages/svelte/test/runtime/samples/default-data-override/main.svelte diff --git a/test/runtime/samples/default-data/_config.js b/packages/svelte/test/runtime/samples/default-data/_config.js similarity index 100% rename from test/runtime/samples/default-data/_config.js rename to packages/svelte/test/runtime/samples/default-data/_config.js diff --git a/test/runtime/samples/default-data/main.svelte b/packages/svelte/test/runtime/samples/default-data/main.svelte similarity index 100% rename from test/runtime/samples/default-data/main.svelte rename to packages/svelte/test/runtime/samples/default-data/main.svelte diff --git a/test/runtime/samples/destroy-twice/_config.js b/packages/svelte/test/runtime/samples/destroy-twice/_config.js similarity index 100% rename from test/runtime/samples/destroy-twice/_config.js rename to packages/svelte/test/runtime/samples/destroy-twice/_config.js diff --git a/test/runtime/samples/destroy-twice/main.svelte b/packages/svelte/test/runtime/samples/destroy-twice/main.svelte similarity index 100% rename from test/runtime/samples/destroy-twice/main.svelte rename to packages/svelte/test/runtime/samples/destroy-twice/main.svelte diff --git a/test/runtime/samples/destructured-assignment-pattern-with-object-pattern/_config.js b/packages/svelte/test/runtime/samples/destructured-assignment-pattern-with-object-pattern/_config.js similarity index 100% rename from test/runtime/samples/destructured-assignment-pattern-with-object-pattern/_config.js rename to packages/svelte/test/runtime/samples/destructured-assignment-pattern-with-object-pattern/_config.js diff --git a/test/runtime/samples/destructured-assignment-pattern-with-object-pattern/main.svelte b/packages/svelte/test/runtime/samples/destructured-assignment-pattern-with-object-pattern/main.svelte similarity index 100% rename from test/runtime/samples/destructured-assignment-pattern-with-object-pattern/main.svelte rename to packages/svelte/test/runtime/samples/destructured-assignment-pattern-with-object-pattern/main.svelte diff --git a/test/runtime/samples/destructured-props-1/A.svelte b/packages/svelte/test/runtime/samples/destructured-props-1/A.svelte similarity index 100% rename from test/runtime/samples/destructured-props-1/A.svelte rename to packages/svelte/test/runtime/samples/destructured-props-1/A.svelte diff --git a/test/runtime/samples/destructured-props-1/_config.js b/packages/svelte/test/runtime/samples/destructured-props-1/_config.js similarity index 100% rename from test/runtime/samples/destructured-props-1/_config.js rename to packages/svelte/test/runtime/samples/destructured-props-1/_config.js diff --git a/test/runtime/samples/destructured-props-1/main.svelte b/packages/svelte/test/runtime/samples/destructured-props-1/main.svelte similarity index 100% rename from test/runtime/samples/destructured-props-1/main.svelte rename to packages/svelte/test/runtime/samples/destructured-props-1/main.svelte diff --git a/test/runtime/samples/destructured-props-2/A.svelte b/packages/svelte/test/runtime/samples/destructured-props-2/A.svelte similarity index 100% rename from test/runtime/samples/destructured-props-2/A.svelte rename to packages/svelte/test/runtime/samples/destructured-props-2/A.svelte diff --git a/test/runtime/samples/destructured-props-2/_config.js b/packages/svelte/test/runtime/samples/destructured-props-2/_config.js similarity index 100% rename from test/runtime/samples/destructured-props-2/_config.js rename to packages/svelte/test/runtime/samples/destructured-props-2/_config.js diff --git a/test/runtime/samples/destructured-props-2/main.svelte b/packages/svelte/test/runtime/samples/destructured-props-2/main.svelte similarity index 100% rename from test/runtime/samples/destructured-props-2/main.svelte rename to packages/svelte/test/runtime/samples/destructured-props-2/main.svelte diff --git a/test/runtime/samples/destructured-props-3/A.svelte b/packages/svelte/test/runtime/samples/destructured-props-3/A.svelte similarity index 100% rename from test/runtime/samples/destructured-props-3/A.svelte rename to packages/svelte/test/runtime/samples/destructured-props-3/A.svelte diff --git a/test/runtime/samples/destructured-props-3/_config.js b/packages/svelte/test/runtime/samples/destructured-props-3/_config.js similarity index 100% rename from test/runtime/samples/destructured-props-3/_config.js rename to packages/svelte/test/runtime/samples/destructured-props-3/_config.js diff --git a/test/runtime/samples/destructured-props-3/main.svelte b/packages/svelte/test/runtime/samples/destructured-props-3/main.svelte similarity index 100% rename from test/runtime/samples/destructured-props-3/main.svelte rename to packages/svelte/test/runtime/samples/destructured-props-3/main.svelte diff --git a/test/runtime/samples/destructured-props-4/A.svelte b/packages/svelte/test/runtime/samples/destructured-props-4/A.svelte similarity index 100% rename from test/runtime/samples/destructured-props-4/A.svelte rename to packages/svelte/test/runtime/samples/destructured-props-4/A.svelte diff --git a/test/runtime/samples/destructured-props-4/_config.js b/packages/svelte/test/runtime/samples/destructured-props-4/_config.js similarity index 100% rename from test/runtime/samples/destructured-props-4/_config.js rename to packages/svelte/test/runtime/samples/destructured-props-4/_config.js diff --git a/test/runtime/samples/destructured-props-4/main.svelte b/packages/svelte/test/runtime/samples/destructured-props-4/main.svelte similarity index 100% rename from test/runtime/samples/destructured-props-4/main.svelte rename to packages/svelte/test/runtime/samples/destructured-props-4/main.svelte diff --git a/test/runtime/samples/destructured-props-5/A.svelte b/packages/svelte/test/runtime/samples/destructured-props-5/A.svelte similarity index 100% rename from test/runtime/samples/destructured-props-5/A.svelte rename to packages/svelte/test/runtime/samples/destructured-props-5/A.svelte diff --git a/test/runtime/samples/destructured-props-5/_config.js b/packages/svelte/test/runtime/samples/destructured-props-5/_config.js similarity index 100% rename from test/runtime/samples/destructured-props-5/_config.js rename to packages/svelte/test/runtime/samples/destructured-props-5/_config.js diff --git a/test/runtime/samples/destructured-props-5/main.svelte b/packages/svelte/test/runtime/samples/destructured-props-5/main.svelte similarity index 100% rename from test/runtime/samples/destructured-props-5/main.svelte rename to packages/svelte/test/runtime/samples/destructured-props-5/main.svelte diff --git a/test/runtime/samples/destructuring-assignment-array/_config.js b/packages/svelte/test/runtime/samples/destructuring-assignment-array/_config.js similarity index 100% rename from test/runtime/samples/destructuring-assignment-array/_config.js rename to packages/svelte/test/runtime/samples/destructuring-assignment-array/_config.js diff --git a/test/runtime/samples/destructuring-assignment-array/main.svelte b/packages/svelte/test/runtime/samples/destructuring-assignment-array/main.svelte similarity index 100% rename from test/runtime/samples/destructuring-assignment-array/main.svelte rename to packages/svelte/test/runtime/samples/destructuring-assignment-array/main.svelte diff --git a/test/runtime/samples/destructuring-between-exports/_config.js b/packages/svelte/test/runtime/samples/destructuring-between-exports/_config.js similarity index 100% rename from test/runtime/samples/destructuring-between-exports/_config.js rename to packages/svelte/test/runtime/samples/destructuring-between-exports/_config.js diff --git a/test/runtime/samples/destructuring-between-exports/main.svelte b/packages/svelte/test/runtime/samples/destructuring-between-exports/main.svelte similarity index 100% rename from test/runtime/samples/destructuring-between-exports/main.svelte rename to packages/svelte/test/runtime/samples/destructuring-between-exports/main.svelte diff --git a/test/runtime/samples/destructuring/_config.js b/packages/svelte/test/runtime/samples/destructuring/_config.js similarity index 100% rename from test/runtime/samples/destructuring/_config.js rename to packages/svelte/test/runtime/samples/destructuring/_config.js diff --git a/test/runtime/samples/destructuring/main.svelte b/packages/svelte/test/runtime/samples/destructuring/main.svelte similarity index 100% rename from test/runtime/samples/destructuring/main.svelte rename to packages/svelte/test/runtime/samples/destructuring/main.svelte diff --git a/test/runtime/samples/dev-warning-destroy-twice/_config.js b/packages/svelte/test/runtime/samples/dev-warning-destroy-twice/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-destroy-twice/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-destroy-twice/_config.js diff --git a/test/runtime/samples/dev-warning-destroy-twice/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-destroy-twice/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-destroy-twice/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-destroy-twice/main.svelte diff --git a/packages/svelte/test/runtime/samples/dev-warning-each-block-require-arraylike/_config.js b/packages/svelte/test/runtime/samples/dev-warning-each-block-require-arraylike/_config.js new file mode 100644 index 0000000000..ecf16743a0 --- /dev/null +++ b/packages/svelte/test/runtime/samples/dev-warning-each-block-require-arraylike/_config.js @@ -0,0 +1,6 @@ +export default { + compileOptions: { + dev: true + }, + error: '{#each} only works with iterable values.' +}; diff --git a/test/runtime/samples/dev-warning-each-block-require-arraylike/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-each-block-require-arraylike/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-each-block-require-arraylike/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-each-block-require-arraylike/main.svelte diff --git a/test/runtime/samples/dev-warning-helper/_config.js b/packages/svelte/test/runtime/samples/dev-warning-helper/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-helper/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-helper/_config.js diff --git a/test/runtime/samples/dev-warning-helper/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-helper/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-helper/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-helper/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-binding/_config.js b/packages/svelte/test/runtime/samples/dev-warning-missing-data-binding/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-binding/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-binding/_config.js diff --git a/test/runtime/samples/dev-warning-missing-data-binding/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data-binding/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-binding/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-binding/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-component-bind/Foo.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data-component-bind/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-component-bind/Foo.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-component-bind/Foo.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-component-bind/_config.js b/packages/svelte/test/runtime/samples/dev-warning-missing-data-component-bind/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-component-bind/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-component-bind/_config.js diff --git a/test/runtime/samples/dev-warning-missing-data-component-bind/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data-component-bind/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-component-bind/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-component-bind/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-component/Foo.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data-component/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-component/Foo.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-component/Foo.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-component/_config.js b/packages/svelte/test/runtime/samples/dev-warning-missing-data-component/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-component/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-component/_config.js diff --git a/test/runtime/samples/dev-warning-missing-data-component/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data-component/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-component/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-component/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-each/_config.js b/packages/svelte/test/runtime/samples/dev-warning-missing-data-each/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-each/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-each/_config.js diff --git a/test/runtime/samples/dev-warning-missing-data-each/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data-each/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-each/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-each/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-excludes-event/_config.js b/packages/svelte/test/runtime/samples/dev-warning-missing-data-excludes-event/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-excludes-event/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-excludes-event/_config.js diff --git a/test/runtime/samples/dev-warning-missing-data-excludes-event/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-excludes-event/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data-function/_config.js b/packages/svelte/test/runtime/samples/dev-warning-missing-data-function/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-function/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-function/_config.js diff --git a/test/runtime/samples/dev-warning-missing-data-function/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data-function/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data-function/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data-function/main.svelte diff --git a/test/runtime/samples/dev-warning-missing-data/_config.js b/packages/svelte/test/runtime/samples/dev-warning-missing-data/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-missing-data/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-missing-data/_config.js diff --git a/test/runtime/samples/dev-warning-missing-data/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-missing-data/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-missing-data/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-missing-data/main.svelte diff --git a/test/runtime/samples/dev-warning-readonly-computed/_config.js b/packages/svelte/test/runtime/samples/dev-warning-readonly-computed/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-readonly-computed/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-readonly-computed/_config.js diff --git a/test/runtime/samples/dev-warning-readonly-computed/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-readonly-computed/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-readonly-computed/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-readonly-computed/main.svelte diff --git a/test/runtime/samples/dev-warning-readonly-window-binding/_config.js b/packages/svelte/test/runtime/samples/dev-warning-readonly-window-binding/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-readonly-window-binding/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-readonly-window-binding/_config.js diff --git a/test/runtime/samples/dev-warning-readonly-window-binding/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-readonly-window-binding/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-readonly-window-binding/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-readonly-window-binding/main.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-2/Foo.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-2/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-2/Foo.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-2/Foo.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-2/_config.js b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-2/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-2/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-2/_config.js diff --git a/test/runtime/samples/dev-warning-unknown-props-2/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-2/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-2/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-2/main.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$props/Foo.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$props/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$props/Foo.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$props/Foo.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$props/_config.js b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$props/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$props/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$props/_config.js diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$props/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$props/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$props/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$props/main.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$rest/Foo.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$rest/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$rest/Foo.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$rest/Foo.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$rest/_config.js b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$rest/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$rest/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$rest/_config.js diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$rest/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$rest/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$rest/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$rest/main.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$scope/Foo.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$scope/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$scope/Foo.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$scope/Foo.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$scope/_config.js b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$scope/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$scope/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$scope/_config.js diff --git a/test/runtime/samples/dev-warning-unknown-props-with-$$scope/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$scope/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props-with-$$scope/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props-with-$$scope/main.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props/Foo.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props/Foo.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props/Foo.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props/Foo.svelte diff --git a/test/runtime/samples/dev-warning-unknown-props/_config.js b/packages/svelte/test/runtime/samples/dev-warning-unknown-props/_config.js similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props/_config.js rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props/_config.js diff --git a/test/runtime/samples/dev-warning-unknown-props/main.svelte b/packages/svelte/test/runtime/samples/dev-warning-unknown-props/main.svelte similarity index 100% rename from test/runtime/samples/dev-warning-unknown-props/main.svelte rename to packages/svelte/test/runtime/samples/dev-warning-unknown-props/main.svelte diff --git a/test/runtime/samples/document-binding-fullscreen/_config.js b/packages/svelte/test/runtime/samples/document-binding-fullscreen/_config.js similarity index 100% rename from test/runtime/samples/document-binding-fullscreen/_config.js rename to packages/svelte/test/runtime/samples/document-binding-fullscreen/_config.js diff --git a/test/runtime/samples/document-binding-fullscreen/main.svelte b/packages/svelte/test/runtime/samples/document-binding-fullscreen/main.svelte similarity index 100% rename from test/runtime/samples/document-binding-fullscreen/main.svelte rename to packages/svelte/test/runtime/samples/document-binding-fullscreen/main.svelte diff --git a/test/runtime/samples/document-event/_config.js b/packages/svelte/test/runtime/samples/document-event/_config.js similarity index 100% rename from test/runtime/samples/document-event/_config.js rename to packages/svelte/test/runtime/samples/document-event/_config.js diff --git a/test/runtime/samples/document-event/main.svelte b/packages/svelte/test/runtime/samples/document-event/main.svelte similarity index 100% rename from test/runtime/samples/document-event/main.svelte rename to packages/svelte/test/runtime/samples/document-event/main.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/Green.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/Green.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated-b/Green.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/Green.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/Red.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/Red.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated-b/Red.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/Red.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/_config.js diff --git a/test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated-b/main.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/Green.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/Green.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated/Green.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/Green.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/Red.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/Red.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated/Red.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/Red.svelte diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/_config.js diff --git a/test/runtime/samples/dynamic-component-bindings-recreated/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings-recreated/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings-recreated/main.svelte diff --git a/test/runtime/samples/dynamic-component-bindings/Bar.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings/Bar.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-bindings/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-bindings/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-bindings/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-bindings/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-bindings/_config.js diff --git a/test/runtime/samples/dynamic-component-bindings/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-bindings/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-bindings/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-bindings/main.svelte diff --git a/test/runtime/samples/dynamic-component-destroy-null/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-destroy-null/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-destroy-null/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-destroy-null/_config.js diff --git a/test/runtime/samples/dynamic-component-destroy-null/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-destroy-null/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-destroy-null/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-destroy-null/main.svelte diff --git a/test/runtime/samples/dynamic-component-dirty/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-dirty/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-dirty/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-dirty/_config.js diff --git a/test/runtime/samples/dynamic-component-dirty/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-dirty/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-dirty/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-dirty/main.svelte diff --git a/test/runtime/samples/dynamic-component-events/Bar.svelte b/packages/svelte/test/runtime/samples/dynamic-component-events/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-events/Bar.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-events/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-events/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-events/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-events/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-events/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-events/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-events/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-events/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-events/_config.js diff --git a/test/runtime/samples/dynamic-component-events/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-events/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-events/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-events/main.svelte diff --git a/test/runtime/samples/dynamic-component-in-if/Bar.svelte b/packages/svelte/test/runtime/samples/dynamic-component-in-if/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-in-if/Bar.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-in-if/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-in-if/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-in-if/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-in-if/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-in-if/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-in-if/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-in-if/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-in-if/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-in-if/_config.js diff --git a/test/runtime/samples/dynamic-component-in-if/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-in-if/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-in-if/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-in-if/main.svelte diff --git a/test/runtime/samples/dynamic-component-inside-element/Bar.svelte b/packages/svelte/test/runtime/samples/dynamic-component-inside-element/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-inside-element/Bar.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-inside-element/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-inside-element/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-inside-element/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-inside-element/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-inside-element/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-inside-element/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-inside-element/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-inside-element/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-inside-element/_config.js diff --git a/test/runtime/samples/dynamic-component-inside-element/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-inside-element/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-inside-element/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-inside-element/main.svelte diff --git a/test/runtime/samples/dynamic-component-nulled-out-intro/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-nulled-out-intro/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-nulled-out-intro/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-nulled-out-intro/_config.js diff --git a/test/runtime/samples/dynamic-component-nulled-out-intro/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-nulled-out-intro/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-nulled-out-intro/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-nulled-out-intro/main.svelte diff --git a/test/runtime/samples/dynamic-component-nulled-out/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-nulled-out/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-nulled-out/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-nulled-out/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-nulled-out/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-nulled-out/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-nulled-out/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-nulled-out/_config.js diff --git a/test/runtime/samples/dynamic-component-nulled-out/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-nulled-out/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-nulled-out/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-nulled-out/main.svelte diff --git a/test/runtime/samples/dynamic-component-ref/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-ref/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-ref/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-ref/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-ref/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-ref/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-ref/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-ref/_config.js diff --git a/test/runtime/samples/dynamic-component-ref/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-ref/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-ref/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-ref/main.svelte diff --git a/test/runtime/samples/dynamic-component-slot/Bar.svelte b/packages/svelte/test/runtime/samples/dynamic-component-slot/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-slot/Bar.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-slot/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-slot/Baz.svelte b/packages/svelte/test/runtime/samples/dynamic-component-slot/Baz.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-slot/Baz.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-slot/Baz.svelte diff --git a/test/runtime/samples/dynamic-component-slot/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-slot/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-slot/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-slot/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-slot/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-slot/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-slot/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-slot/_config.js diff --git a/test/runtime/samples/dynamic-component-slot/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-slot/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-slot/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-slot/main.svelte diff --git a/test/runtime/samples/dynamic-component-update-existing-instance/Bar.svelte b/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-update-existing-instance/Bar.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/Bar.svelte diff --git a/test/runtime/samples/dynamic-component-update-existing-instance/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-update-existing-instance/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/Foo.svelte diff --git a/test/runtime/samples/dynamic-component-update-existing-instance/_config.js b/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component-update-existing-instance/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/_config.js diff --git a/test/runtime/samples/dynamic-component-update-existing-instance/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component-update-existing-instance/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component-update-existing-instance/main.svelte diff --git a/test/runtime/samples/dynamic-component/Bar.svelte b/packages/svelte/test/runtime/samples/dynamic-component/Bar.svelte similarity index 100% rename from test/runtime/samples/dynamic-component/Bar.svelte rename to packages/svelte/test/runtime/samples/dynamic-component/Bar.svelte diff --git a/test/runtime/samples/dynamic-component/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-component/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-component/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-component/Foo.svelte diff --git a/test/runtime/samples/dynamic-component/_config.js b/packages/svelte/test/runtime/samples/dynamic-component/_config.js similarity index 100% rename from test/runtime/samples/dynamic-component/_config.js rename to packages/svelte/test/runtime/samples/dynamic-component/_config.js diff --git a/test/runtime/samples/dynamic-component/main.svelte b/packages/svelte/test/runtime/samples/dynamic-component/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-component/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-component/main.svelte diff --git a/test/runtime/samples/dynamic-element-action-update/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-action-update/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-action-update/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-action-update/_config.js diff --git a/test/runtime/samples/dynamic-element-action-update/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-action-update/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-action-update/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-action-update/main.svelte diff --git a/test/runtime/samples/dynamic-element-animation-2/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-animation-2/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-animation-2/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-animation-2/_config.js diff --git a/test/runtime/samples/dynamic-element-animation-2/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-animation-2/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-animation-2/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-animation-2/main.svelte diff --git a/test/runtime/samples/dynamic-element-animation/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-animation/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-animation/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-animation/_config.js diff --git a/test/runtime/samples/dynamic-element-animation/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-animation/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-animation/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-animation/main.svelte diff --git a/test/runtime/samples/dynamic-element-attribute-boolean/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-attribute-boolean/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-attribute-boolean/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-attribute-boolean/_config.js diff --git a/test/runtime/samples/dynamic-element-attribute-boolean/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-attribute-boolean/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-attribute-boolean/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-attribute-boolean/main.svelte diff --git a/test/runtime/samples/dynamic-element-attribute-spread/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-attribute-spread/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-attribute-spread/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-attribute-spread/_config.js diff --git a/test/runtime/samples/dynamic-element-attribute-spread/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-attribute-spread/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-attribute-spread/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-attribute-spread/main.svelte diff --git a/test/runtime/samples/dynamic-element-attribute/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-attribute/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-attribute/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-attribute/_config.js diff --git a/test/runtime/samples/dynamic-element-attribute/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-attribute/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-attribute/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-attribute/main.svelte diff --git a/test/runtime/samples/dynamic-element-binding-this/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-binding-this/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-binding-this/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-binding-this/_config.js diff --git a/test/runtime/samples/dynamic-element-binding-this/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-binding-this/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-binding-this/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-binding-this/main.svelte diff --git a/test/runtime/samples/dynamic-element-change-tag/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-change-tag/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-change-tag/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-change-tag/_config.js diff --git a/test/runtime/samples/dynamic-element-change-tag/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-change-tag/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-change-tag/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-change-tag/main.svelte diff --git a/test/runtime/samples/dynamic-element-class-directive/Link.svelte b/packages/svelte/test/runtime/samples/dynamic-element-class-directive/Link.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-class-directive/Link.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-class-directive/Link.svelte diff --git a/test/runtime/samples/dynamic-element-class-directive/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-class-directive/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-class-directive/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-class-directive/_config.js diff --git a/test/runtime/samples/dynamic-element-class-directive/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-class-directive/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-class-directive/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-class-directive/main.svelte diff --git a/test/runtime/samples/dynamic-element-empty-tag/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-empty-tag/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-empty-tag/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-empty-tag/_config.js diff --git a/test/runtime/samples/dynamic-element-empty-tag/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-empty-tag/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-empty-tag/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-empty-tag/main.svelte diff --git a/test/runtime/samples/dynamic-element-event-handler1/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-event-handler1/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-event-handler1/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-event-handler1/_config.js diff --git a/test/runtime/samples/dynamic-element-event-handler1/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-event-handler1/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-event-handler1/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-event-handler1/main.svelte diff --git a/test/runtime/samples/dynamic-element-event-handler2/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-event-handler2/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-event-handler2/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-event-handler2/_config.js diff --git a/test/runtime/samples/dynamic-element-event-handler2/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-event-handler2/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-event-handler2/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-event-handler2/main.svelte diff --git a/test/runtime/samples/dynamic-element-expression/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-expression/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-expression/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-expression/_config.js diff --git a/test/runtime/samples/dynamic-element-expression/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-expression/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-expression/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-expression/main.svelte diff --git a/test/runtime/samples/dynamic-element-invalid-this/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-invalid-this/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-invalid-this/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-invalid-this/_config.js diff --git a/test/runtime/samples/dynamic-element-invalid-this/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-invalid-this/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-invalid-this/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-invalid-this/main.svelte diff --git a/test/runtime/samples/dynamic-element-null-tag/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-null-tag/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-null-tag/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-null-tag/_config.js diff --git a/test/runtime/samples/dynamic-element-null-tag/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-null-tag/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-null-tag/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-null-tag/main.svelte diff --git a/test/runtime/samples/dynamic-element-pass-props/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-pass-props/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-pass-props/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-pass-props/_config.js diff --git a/test/runtime/samples/dynamic-element-pass-props/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-pass-props/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-pass-props/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-pass-props/main.svelte diff --git a/test/runtime/samples/dynamic-element-slot/Foo.svelte b/packages/svelte/test/runtime/samples/dynamic-element-slot/Foo.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-slot/Foo.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-slot/Foo.svelte diff --git a/test/runtime/samples/dynamic-element-slot/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-slot/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-slot/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-slot/_config.js diff --git a/test/runtime/samples/dynamic-element-slot/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-slot/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-slot/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-slot/main.svelte diff --git a/test/runtime/samples/dynamic-element-store/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-store/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-store/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-store/_config.js diff --git a/test/runtime/samples/dynamic-element-store/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-store/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-store/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-store/main.svelte diff --git a/test/runtime/samples/dynamic-element-string/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-string/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-string/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-string/_config.js diff --git a/test/runtime/samples/dynamic-element-string/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-string/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-string/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-string/main.svelte diff --git a/test/runtime/samples/dynamic-element-svg/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-svg/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-svg/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-svg/_config.js diff --git a/test/runtime/samples/dynamic-element-svg/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-svg/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-svg/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-svg/main.svelte diff --git a/test/runtime/samples/dynamic-element-template-literals/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-template-literals/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-template-literals/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-template-literals/_config.js diff --git a/test/runtime/samples/dynamic-element-template-literals/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-template-literals/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-template-literals/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-template-literals/main.svelte diff --git a/test/runtime/samples/dynamic-element-transition/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-transition/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-transition/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-transition/_config.js diff --git a/test/runtime/samples/dynamic-element-transition/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-transition/main.svelte similarity index 73% rename from test/runtime/samples/dynamic-element-transition/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-transition/main.svelte index b8c0eff0bd..b30d948d6b 100644 --- a/test/runtime/samples/dynamic-element-transition/main.svelte +++ b/packages/svelte/test/runtime/samples/dynamic-element-transition/main.svelte @@ -13,5 +13,5 @@ {#if visible} - + {/if} diff --git a/test/runtime/samples/dynamic-element-undefined-tag/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-undefined-tag/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-undefined-tag/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-undefined-tag/_config.js diff --git a/test/runtime/samples/dynamic-element-undefined-tag/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-undefined-tag/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-undefined-tag/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-undefined-tag/main.svelte diff --git a/test/runtime/samples/dynamic-element-variable/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-variable/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-variable/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-variable/_config.js diff --git a/test/runtime/samples/dynamic-element-variable/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-variable/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-variable/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-variable/main.svelte diff --git a/test/runtime/samples/dynamic-element-void-tag/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-void-tag/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-void-tag/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-void-tag/_config.js diff --git a/test/runtime/samples/dynamic-element-void-tag/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-tag/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-tag/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-tag/main.svelte diff --git a/test/runtime/samples/dynamic-element-void-with-content-1/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-1/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-1/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-1/_config.js diff --git a/test/runtime/samples/dynamic-element-void-with-content-1/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-1/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-1/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-1/main.svelte diff --git a/test/runtime/samples/dynamic-element-void-with-content-2/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-2/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-2/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-2/_config.js diff --git a/test/runtime/samples/dynamic-element-void-with-content-2/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-2/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-2/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-2/main.svelte diff --git a/test/runtime/samples/dynamic-element-void-with-content-3/Nested.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-3/Nested.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-3/Nested.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-3/Nested.svelte diff --git a/test/runtime/samples/dynamic-element-void-with-content-3/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-3/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-3/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-3/_config.js diff --git a/test/runtime/samples/dynamic-element-void-with-content-3/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-3/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-3/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-3/main.svelte diff --git a/test/runtime/samples/dynamic-element-void-with-content-4/Nested.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-4/Nested.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-4/Nested.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-4/Nested.svelte diff --git a/test/runtime/samples/dynamic-element-void-with-content-4/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-4/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-4/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-4/_config.js diff --git a/test/runtime/samples/dynamic-element-void-with-content-4/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-4/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-4/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-4/main.svelte diff --git a/test/runtime/samples/dynamic-element-void-with-content-5/_config.js b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-5/_config.js similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-5/_config.js rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-5/_config.js diff --git a/test/runtime/samples/dynamic-element-void-with-content-5/main.svelte b/packages/svelte/test/runtime/samples/dynamic-element-void-with-content-5/main.svelte similarity index 100% rename from test/runtime/samples/dynamic-element-void-with-content-5/main.svelte rename to packages/svelte/test/runtime/samples/dynamic-element-void-with-content-5/main.svelte diff --git a/test/runtime/samples/each-block-after-let/Child.svelte b/packages/svelte/test/runtime/samples/each-block-after-let/Child.svelte similarity index 100% rename from test/runtime/samples/each-block-after-let/Child.svelte rename to packages/svelte/test/runtime/samples/each-block-after-let/Child.svelte diff --git a/test/runtime/samples/each-block-after-let/_config.js b/packages/svelte/test/runtime/samples/each-block-after-let/_config.js similarity index 100% rename from test/runtime/samples/each-block-after-let/_config.js rename to packages/svelte/test/runtime/samples/each-block-after-let/_config.js diff --git a/test/runtime/samples/each-block-after-let/main.svelte b/packages/svelte/test/runtime/samples/each-block-after-let/main.svelte similarity index 100% rename from test/runtime/samples/each-block-after-let/main.svelte rename to packages/svelte/test/runtime/samples/each-block-after-let/main.svelte diff --git a/test/runtime/samples/each-block-array-literal/_config.js b/packages/svelte/test/runtime/samples/each-block-array-literal/_config.js similarity index 100% rename from test/runtime/samples/each-block-array-literal/_config.js rename to packages/svelte/test/runtime/samples/each-block-array-literal/_config.js diff --git a/test/runtime/samples/each-block-array-literal/main.svelte b/packages/svelte/test/runtime/samples/each-block-array-literal/main.svelte similarity index 100% rename from test/runtime/samples/each-block-array-literal/main.svelte rename to packages/svelte/test/runtime/samples/each-block-array-literal/main.svelte diff --git a/test/runtime/samples/each-block-component-no-props/Child.svelte b/packages/svelte/test/runtime/samples/each-block-component-no-props/Child.svelte similarity index 100% rename from test/runtime/samples/each-block-component-no-props/Child.svelte rename to packages/svelte/test/runtime/samples/each-block-component-no-props/Child.svelte diff --git a/test/runtime/samples/each-block-component-no-props/_config.js b/packages/svelte/test/runtime/samples/each-block-component-no-props/_config.js similarity index 100% rename from test/runtime/samples/each-block-component-no-props/_config.js rename to packages/svelte/test/runtime/samples/each-block-component-no-props/_config.js diff --git a/test/runtime/samples/each-block-component-no-props/main.svelte b/packages/svelte/test/runtime/samples/each-block-component-no-props/main.svelte similarity index 100% rename from test/runtime/samples/each-block-component-no-props/main.svelte rename to packages/svelte/test/runtime/samples/each-block-component-no-props/main.svelte diff --git a/test/runtime/samples/each-block-containing-component-in-if/Nested.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/each-block-containing-component-in-if/Nested.svelte diff --git a/test/runtime/samples/each-block-containing-component-in-if/_config.js b/packages/svelte/test/runtime/samples/each-block-containing-component-in-if/_config.js similarity index 100% rename from test/runtime/samples/each-block-containing-component-in-if/_config.js rename to packages/svelte/test/runtime/samples/each-block-containing-component-in-if/_config.js diff --git a/test/runtime/samples/each-block-containing-component-in-if/main.svelte b/packages/svelte/test/runtime/samples/each-block-containing-component-in-if/main.svelte similarity index 100% rename from test/runtime/samples/each-block-containing-component-in-if/main.svelte rename to packages/svelte/test/runtime/samples/each-block-containing-component-in-if/main.svelte diff --git a/test/runtime/samples/each-block-containing-if/_config.js b/packages/svelte/test/runtime/samples/each-block-containing-if/_config.js similarity index 100% rename from test/runtime/samples/each-block-containing-if/_config.js rename to packages/svelte/test/runtime/samples/each-block-containing-if/_config.js diff --git a/test/runtime/samples/each-block-containing-if/main.svelte b/packages/svelte/test/runtime/samples/each-block-containing-if/main.svelte similarity index 100% rename from test/runtime/samples/each-block-containing-if/main.svelte rename to packages/svelte/test/runtime/samples/each-block-containing-if/main.svelte diff --git a/test/runtime/samples/each-block-deconflict-name-context/_config.js b/packages/svelte/test/runtime/samples/each-block-deconflict-name-context/_config.js similarity index 100% rename from test/runtime/samples/each-block-deconflict-name-context/_config.js rename to packages/svelte/test/runtime/samples/each-block-deconflict-name-context/_config.js diff --git a/test/runtime/samples/each-block-deconflict-name-context/main.svelte b/packages/svelte/test/runtime/samples/each-block-deconflict-name-context/main.svelte similarity index 100% rename from test/runtime/samples/each-block-deconflict-name-context/main.svelte rename to packages/svelte/test/runtime/samples/each-block-deconflict-name-context/main.svelte diff --git a/test/runtime/samples/each-block-destructured-array-as-object/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-array-as-object/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-array-as-object/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-array-as-object/_config.js diff --git a/test/runtime/samples/each-block-destructured-array-as-object/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-array-as-object/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-array-as-object/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-array-as-object/main.svelte diff --git a/test/runtime/samples/each-block-destructured-array-computed-props/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-array-computed-props/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-array-computed-props/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-array-computed-props/_config.js diff --git a/test/runtime/samples/each-block-destructured-array-computed-props/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-array-computed-props/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-array-computed-props/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-array-computed-props/main.svelte diff --git a/test/runtime/samples/each-block-destructured-array-nested-rest/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-array-nested-rest/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-array-nested-rest/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-array-nested-rest/_config.js diff --git a/test/runtime/samples/each-block-destructured-array-nested-rest/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-array-nested-rest/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-array-nested-rest/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-array-nested-rest/main.svelte diff --git a/test/runtime/samples/each-block-destructured-array-sparse/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-array-sparse/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-array-sparse/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-array-sparse/_config.js diff --git a/test/runtime/samples/each-block-destructured-array-sparse/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-array-sparse/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-array-sparse/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-array-sparse/main.svelte diff --git a/test/runtime/samples/each-block-destructured-array/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-array/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-array/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-array/_config.js diff --git a/test/runtime/samples/each-block-destructured-array/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-array/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-array/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-array/main.svelte diff --git a/test/runtime/samples/each-block-destructured-default-binding/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-default-binding/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-default-binding/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-default-binding/_config.js diff --git a/test/runtime/samples/each-block-destructured-default-binding/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-default-binding/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-default-binding/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-default-binding/main.svelte diff --git a/test/runtime/samples/each-block-destructured-default/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-default/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-default/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-default/_config.js diff --git a/test/runtime/samples/each-block-destructured-default/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-default/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-default/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-default/main.svelte diff --git a/test/runtime/samples/each-block-destructured-object-binding/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-object-binding/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-object-binding/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-object-binding/_config.js diff --git a/test/runtime/samples/each-block-destructured-object-binding/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-object-binding/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-object-binding/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-object-binding/main.svelte diff --git a/test/runtime/samples/each-block-destructured-object-computed-props/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-object-computed-props/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-object-computed-props/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-object-computed-props/_config.js diff --git a/test/runtime/samples/each-block-destructured-object-computed-props/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-object-computed-props/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-object-computed-props/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-object-computed-props/main.svelte diff --git a/test/runtime/samples/each-block-destructured-object-literal-props/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-object-literal-props/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-object-literal-props/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-object-literal-props/_config.js diff --git a/test/runtime/samples/each-block-destructured-object-literal-props/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-object-literal-props/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-object-literal-props/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-object-literal-props/main.svelte diff --git a/test/runtime/samples/each-block-destructured-object-literal-rest/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-object-literal-rest/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-object-literal-rest/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-object-literal-rest/_config.js diff --git a/test/runtime/samples/each-block-destructured-object-literal-rest/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-object-literal-rest/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-object-literal-rest/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-object-literal-rest/main.svelte diff --git a/test/runtime/samples/each-block-destructured-object-reserved-key/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-object-reserved-key/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-object-reserved-key/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-object-reserved-key/_config.js diff --git a/test/runtime/samples/each-block-destructured-object-reserved-key/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-object-reserved-key/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-object-reserved-key/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-object-reserved-key/main.svelte diff --git a/test/runtime/samples/each-block-destructured-object-rest/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-object-rest/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-object-rest/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-object-rest/_config.js diff --git a/test/runtime/samples/each-block-destructured-object-rest/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-object-rest/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-object-rest/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-object-rest/main.svelte diff --git a/test/runtime/samples/each-block-destructured-object/_config.js b/packages/svelte/test/runtime/samples/each-block-destructured-object/_config.js similarity index 100% rename from test/runtime/samples/each-block-destructured-object/_config.js rename to packages/svelte/test/runtime/samples/each-block-destructured-object/_config.js diff --git a/test/runtime/samples/each-block-destructured-object/main.svelte b/packages/svelte/test/runtime/samples/each-block-destructured-object/main.svelte similarity index 100% rename from test/runtime/samples/each-block-destructured-object/main.svelte rename to packages/svelte/test/runtime/samples/each-block-destructured-object/main.svelte diff --git a/test/runtime/samples/each-block-dynamic-else-static/_config.js b/packages/svelte/test/runtime/samples/each-block-dynamic-else-static/_config.js similarity index 100% rename from test/runtime/samples/each-block-dynamic-else-static/_config.js rename to packages/svelte/test/runtime/samples/each-block-dynamic-else-static/_config.js diff --git a/test/runtime/samples/each-block-dynamic-else-static/main.svelte b/packages/svelte/test/runtime/samples/each-block-dynamic-else-static/main.svelte similarity index 100% rename from test/runtime/samples/each-block-dynamic-else-static/main.svelte rename to packages/svelte/test/runtime/samples/each-block-dynamic-else-static/main.svelte diff --git a/test/runtime/samples/each-block-else-in-if/_config.js b/packages/svelte/test/runtime/samples/each-block-else-in-if/_config.js similarity index 100% rename from test/runtime/samples/each-block-else-in-if/_config.js rename to packages/svelte/test/runtime/samples/each-block-else-in-if/_config.js diff --git a/test/runtime/samples/each-block-else-in-if/main.svelte b/packages/svelte/test/runtime/samples/each-block-else-in-if/main.svelte similarity index 100% rename from test/runtime/samples/each-block-else-in-if/main.svelte rename to packages/svelte/test/runtime/samples/each-block-else-in-if/main.svelte diff --git a/test/runtime/samples/each-block-else-mount-or-intro/Widget.svelte b/packages/svelte/test/runtime/samples/each-block-else-mount-or-intro/Widget.svelte similarity index 100% rename from test/runtime/samples/each-block-else-mount-or-intro/Widget.svelte rename to packages/svelte/test/runtime/samples/each-block-else-mount-or-intro/Widget.svelte diff --git a/test/runtime/samples/each-block-else-mount-or-intro/_config.js b/packages/svelte/test/runtime/samples/each-block-else-mount-or-intro/_config.js similarity index 100% rename from test/runtime/samples/each-block-else-mount-or-intro/_config.js rename to packages/svelte/test/runtime/samples/each-block-else-mount-or-intro/_config.js diff --git a/test/runtime/samples/each-block-else-mount-or-intro/main.svelte b/packages/svelte/test/runtime/samples/each-block-else-mount-or-intro/main.svelte similarity index 100% rename from test/runtime/samples/each-block-else-mount-or-intro/main.svelte rename to packages/svelte/test/runtime/samples/each-block-else-mount-or-intro/main.svelte diff --git a/test/runtime/samples/each-block-else-starts-empty/_config.js b/packages/svelte/test/runtime/samples/each-block-else-starts-empty/_config.js similarity index 100% rename from test/runtime/samples/each-block-else-starts-empty/_config.js rename to packages/svelte/test/runtime/samples/each-block-else-starts-empty/_config.js diff --git a/test/runtime/samples/each-block-else-starts-empty/main.svelte b/packages/svelte/test/runtime/samples/each-block-else-starts-empty/main.svelte similarity index 100% rename from test/runtime/samples/each-block-else-starts-empty/main.svelte rename to packages/svelte/test/runtime/samples/each-block-else-starts-empty/main.svelte diff --git a/test/runtime/samples/each-block-else/_config.js b/packages/svelte/test/runtime/samples/each-block-else/_config.js similarity index 100% rename from test/runtime/samples/each-block-else/_config.js rename to packages/svelte/test/runtime/samples/each-block-else/_config.js diff --git a/test/runtime/samples/each-block-else/main.svelte b/packages/svelte/test/runtime/samples/each-block-else/main.svelte similarity index 100% rename from test/runtime/samples/each-block-else/main.svelte rename to packages/svelte/test/runtime/samples/each-block-else/main.svelte diff --git a/test/runtime/samples/each-block-empty-outro/Thing.svelte b/packages/svelte/test/runtime/samples/each-block-empty-outro/Thing.svelte similarity index 100% rename from test/runtime/samples/each-block-empty-outro/Thing.svelte rename to packages/svelte/test/runtime/samples/each-block-empty-outro/Thing.svelte diff --git a/test/runtime/samples/each-block-empty-outro/_config.js b/packages/svelte/test/runtime/samples/each-block-empty-outro/_config.js similarity index 100% rename from test/runtime/samples/each-block-empty-outro/_config.js rename to packages/svelte/test/runtime/samples/each-block-empty-outro/_config.js diff --git a/test/runtime/samples/each-block-empty-outro/main.svelte b/packages/svelte/test/runtime/samples/each-block-empty-outro/main.svelte similarity index 100% rename from test/runtime/samples/each-block-empty-outro/main.svelte rename to packages/svelte/test/runtime/samples/each-block-empty-outro/main.svelte diff --git a/test/runtime/samples/each-block-function/_config.js b/packages/svelte/test/runtime/samples/each-block-function/_config.js similarity index 100% rename from test/runtime/samples/each-block-function/_config.js rename to packages/svelte/test/runtime/samples/each-block-function/_config.js diff --git a/test/runtime/samples/each-block-function/main.svelte b/packages/svelte/test/runtime/samples/each-block-function/main.svelte similarity index 100% rename from test/runtime/samples/each-block-function/main.svelte rename to packages/svelte/test/runtime/samples/each-block-function/main.svelte diff --git a/test/runtime/samples/each-block-in-if-block/_config.js b/packages/svelte/test/runtime/samples/each-block-in-if-block/_config.js similarity index 100% rename from test/runtime/samples/each-block-in-if-block/_config.js rename to packages/svelte/test/runtime/samples/each-block-in-if-block/_config.js diff --git a/test/runtime/samples/each-block-in-if-block/main.svelte b/packages/svelte/test/runtime/samples/each-block-in-if-block/main.svelte similarity index 100% rename from test/runtime/samples/each-block-in-if-block/main.svelte rename to packages/svelte/test/runtime/samples/each-block-in-if-block/main.svelte diff --git a/test/runtime/samples/each-block-index-only/_config.js b/packages/svelte/test/runtime/samples/each-block-index-only/_config.js similarity index 100% rename from test/runtime/samples/each-block-index-only/_config.js rename to packages/svelte/test/runtime/samples/each-block-index-only/_config.js diff --git a/test/runtime/samples/each-block-index-only/main.svelte b/packages/svelte/test/runtime/samples/each-block-index-only/main.svelte similarity index 100% rename from test/runtime/samples/each-block-index-only/main.svelte rename to packages/svelte/test/runtime/samples/each-block-index-only/main.svelte diff --git a/test/runtime/samples/each-block-indexed/_config.js b/packages/svelte/test/runtime/samples/each-block-indexed/_config.js similarity index 100% rename from test/runtime/samples/each-block-indexed/_config.js rename to packages/svelte/test/runtime/samples/each-block-indexed/_config.js diff --git a/test/runtime/samples/each-block-indexed/main.svelte b/packages/svelte/test/runtime/samples/each-block-indexed/main.svelte similarity index 100% rename from test/runtime/samples/each-block-indexed/main.svelte rename to packages/svelte/test/runtime/samples/each-block-indexed/main.svelte diff --git a/test/runtime/samples/each-block-keyed-bind-group/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-bind-group/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-bind-group/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-bind-group/_config.js diff --git a/test/runtime/samples/each-block-keyed-bind-group/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-bind-group/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-bind-group/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-bind-group/main.svelte diff --git a/test/runtime/samples/each-block-keyed-changed/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-changed/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-changed/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-changed/_config.js diff --git a/test/runtime/samples/each-block-keyed-changed/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-changed/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-changed/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-changed/main.svelte diff --git a/test/runtime/samples/each-block-keyed-component-action/Component.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-component-action/Component.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-component-action/Component.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-component-action/Component.svelte diff --git a/test/runtime/samples/each-block-keyed-component-action/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-component-action/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-component-action/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-component-action/_config.js diff --git a/test/runtime/samples/each-block-keyed-component-action/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-component-action/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-component-action/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-component-action/main.svelte diff --git a/test/runtime/samples/each-block-keyed-dynamic-2/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-dynamic-2/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-dynamic-2/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-dynamic-2/_config.js diff --git a/test/runtime/samples/each-block-keyed-dynamic-2/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-dynamic-2/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-dynamic-2/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-dynamic-2/main.svelte diff --git a/test/runtime/samples/each-block-keyed-dynamic-key/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-dynamic-key/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-dynamic-key/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-dynamic-key/_config.js diff --git a/test/runtime/samples/each-block-keyed-dynamic-key/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-dynamic-key/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-dynamic-key/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-dynamic-key/main.svelte diff --git a/test/runtime/samples/each-block-keyed-dynamic/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-dynamic/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-dynamic/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-dynamic/_config.js diff --git a/test/runtime/samples/each-block-keyed-dynamic/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-dynamic/main.svelte diff --git a/test/runtime/samples/each-block-keyed-else/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-else/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-else/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-else/_config.js diff --git a/test/runtime/samples/each-block-keyed-else/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-else/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-else/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-else/main.svelte diff --git a/test/runtime/samples/each-block-keyed-empty/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-empty/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-empty/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-empty/_config.js diff --git a/test/runtime/samples/each-block-keyed-empty/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-empty/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-empty/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-empty/main.svelte diff --git a/test/runtime/samples/each-block-keyed-html-b/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-html-b/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-html-b/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-html-b/_config.js diff --git a/test/runtime/samples/each-block-keyed-html-b/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-html-b/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-html-b/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-html-b/main.svelte diff --git a/test/runtime/samples/each-block-keyed-html/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-html/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-html/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-html/_config.js diff --git a/test/runtime/samples/each-block-keyed-html/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-html/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-html/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-html/main.svelte diff --git a/test/runtime/samples/each-block-keyed-iife/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-iife/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-iife/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-iife/_config.js diff --git a/test/runtime/samples/each-block-keyed-iife/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-iife/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-iife/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-iife/main.svelte diff --git a/test/runtime/samples/each-block-keyed-index-in-event-handler/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-index-in-event-handler/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-index-in-event-handler/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-index-in-event-handler/_config.js diff --git a/test/runtime/samples/each-block-keyed-index-in-event-handler/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-index-in-event-handler/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-index-in-event-handler/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-index-in-event-handler/main.svelte diff --git a/test/runtime/samples/each-block-keyed-nested/Child.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-nested/Child.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-nested/Child.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-nested/Child.svelte diff --git a/test/runtime/samples/each-block-keyed-nested/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-nested/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-nested/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-nested/_config.js diff --git a/test/runtime/samples/each-block-keyed-nested/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-nested/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-nested/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-nested/main.svelte diff --git a/test/runtime/samples/each-block-keyed-non-prop/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-non-prop/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-non-prop/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-non-prop/_config.js diff --git a/test/runtime/samples/each-block-keyed-non-prop/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-non-prop/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-non-prop/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-non-prop/main.svelte diff --git a/test/runtime/samples/each-block-keyed-object-identity/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-object-identity/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-object-identity/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-object-identity/_config.js diff --git a/test/runtime/samples/each-block-keyed-object-identity/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-object-identity/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-object-identity/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-object-identity/main.svelte diff --git a/test/runtime/samples/each-block-keyed-random-permute/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-random-permute/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-random-permute/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-random-permute/_config.js diff --git a/test/runtime/samples/each-block-keyed-random-permute/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-random-permute/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-random-permute/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-random-permute/main.svelte diff --git a/test/runtime/samples/each-block-keyed-recursive/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-recursive/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-recursive/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-recursive/_config.js diff --git a/test/runtime/samples/each-block-keyed-recursive/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-recursive/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-recursive/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-recursive/main.svelte diff --git a/test/runtime/samples/each-block-keyed-shift/Nested.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-shift/Nested.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-shift/Nested.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-shift/Nested.svelte diff --git a/test/runtime/samples/each-block-keyed-shift/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-shift/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-shift/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-shift/_config.js diff --git a/test/runtime/samples/each-block-keyed-shift/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-shift/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-shift/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-shift/main.svelte diff --git a/test/runtime/samples/each-block-keyed-siblings/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-siblings/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-siblings/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-siblings/_config.js diff --git a/test/runtime/samples/each-block-keyed-siblings/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-siblings/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-siblings/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-siblings/main.svelte diff --git a/test/runtime/samples/each-block-keyed-static/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-static/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-static/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-static/_config.js diff --git a/test/runtime/samples/each-block-keyed-static/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-static/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-static/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-static/main.svelte diff --git a/test/runtime/samples/each-block-keyed-unshift/Nested.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-unshift/Nested.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-unshift/Nested.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-unshift/Nested.svelte diff --git a/test/runtime/samples/each-block-keyed-unshift/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed-unshift/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed-unshift/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed-unshift/_config.js diff --git a/test/runtime/samples/each-block-keyed-unshift/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed-unshift/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed-unshift/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed-unshift/main.svelte diff --git a/test/runtime/samples/each-block-keyed/_config.js b/packages/svelte/test/runtime/samples/each-block-keyed/_config.js similarity index 100% rename from test/runtime/samples/each-block-keyed/_config.js rename to packages/svelte/test/runtime/samples/each-block-keyed/_config.js diff --git a/test/runtime/samples/each-block-keyed/main.svelte b/packages/svelte/test/runtime/samples/each-block-keyed/main.svelte similarity index 100% rename from test/runtime/samples/each-block-keyed/main.svelte rename to packages/svelte/test/runtime/samples/each-block-keyed/main.svelte diff --git a/test/runtime/samples/each-block-random-permute/_config.js b/packages/svelte/test/runtime/samples/each-block-random-permute/_config.js similarity index 100% rename from test/runtime/samples/each-block-random-permute/_config.js rename to packages/svelte/test/runtime/samples/each-block-random-permute/_config.js diff --git a/test/runtime/samples/each-block-random-permute/main.svelte b/packages/svelte/test/runtime/samples/each-block-random-permute/main.svelte similarity index 100% rename from test/runtime/samples/each-block-random-permute/main.svelte rename to packages/svelte/test/runtime/samples/each-block-random-permute/main.svelte diff --git a/test/runtime/samples/each-block-recursive-with-function-condition/_config.js b/packages/svelte/test/runtime/samples/each-block-recursive-with-function-condition/_config.js similarity index 100% rename from test/runtime/samples/each-block-recursive-with-function-condition/_config.js rename to packages/svelte/test/runtime/samples/each-block-recursive-with-function-condition/_config.js diff --git a/test/runtime/samples/each-block-recursive-with-function-condition/main.svelte b/packages/svelte/test/runtime/samples/each-block-recursive-with-function-condition/main.svelte similarity index 100% rename from test/runtime/samples/each-block-recursive-with-function-condition/main.svelte rename to packages/svelte/test/runtime/samples/each-block-recursive-with-function-condition/main.svelte diff --git a/test/runtime/samples/each-block-scope-shadow-bind-2/_config.js b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-2/_config.js similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind-2/_config.js rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-2/_config.js diff --git a/test/runtime/samples/each-block-scope-shadow-bind-2/main.svelte b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-2/main.svelte similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind-2/main.svelte rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-2/main.svelte diff --git a/test/runtime/samples/each-block-scope-shadow-bind-3/_config.js b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-3/_config.js similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind-3/_config.js rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-3/_config.js diff --git a/test/runtime/samples/each-block-scope-shadow-bind-3/main.svelte b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-3/main.svelte similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind-3/main.svelte rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-3/main.svelte diff --git a/test/runtime/samples/each-block-scope-shadow-bind-4/_config.js b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-4/_config.js similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind-4/_config.js rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-4/_config.js diff --git a/test/runtime/samples/each-block-scope-shadow-bind-4/main.svelte b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-4/main.svelte similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind-4/main.svelte rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind-4/main.svelte diff --git a/test/runtime/samples/each-block-scope-shadow-bind/_config.js b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind/_config.js similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind/_config.js rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind/_config.js diff --git a/test/runtime/samples/each-block-scope-shadow-bind/main.svelte b/packages/svelte/test/runtime/samples/each-block-scope-shadow-bind/main.svelte similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-bind/main.svelte rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-bind/main.svelte diff --git a/test/runtime/samples/each-block-scope-shadow-self/_config.js b/packages/svelte/test/runtime/samples/each-block-scope-shadow-self/_config.js similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-self/_config.js rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-self/_config.js diff --git a/test/runtime/samples/each-block-scope-shadow-self/main.svelte b/packages/svelte/test/runtime/samples/each-block-scope-shadow-self/main.svelte similarity index 100% rename from test/runtime/samples/each-block-scope-shadow-self/main.svelte rename to packages/svelte/test/runtime/samples/each-block-scope-shadow-self/main.svelte diff --git a/test/runtime/samples/each-block-scope-shadow/_config.js b/packages/svelte/test/runtime/samples/each-block-scope-shadow/_config.js similarity index 100% rename from test/runtime/samples/each-block-scope-shadow/_config.js rename to packages/svelte/test/runtime/samples/each-block-scope-shadow/_config.js diff --git a/test/runtime/samples/each-block-scope-shadow/main.svelte b/packages/svelte/test/runtime/samples/each-block-scope-shadow/main.svelte similarity index 100% rename from test/runtime/samples/each-block-scope-shadow/main.svelte rename to packages/svelte/test/runtime/samples/each-block-scope-shadow/main.svelte diff --git a/test/runtime/samples/each-block-static/_config.js b/packages/svelte/test/runtime/samples/each-block-static/_config.js similarity index 100% rename from test/runtime/samples/each-block-static/_config.js rename to packages/svelte/test/runtime/samples/each-block-static/_config.js diff --git a/test/runtime/samples/each-block-static/main.svelte b/packages/svelte/test/runtime/samples/each-block-static/main.svelte similarity index 100% rename from test/runtime/samples/each-block-static/main.svelte rename to packages/svelte/test/runtime/samples/each-block-static/main.svelte diff --git a/test/runtime/samples/each-block-string/_config.js b/packages/svelte/test/runtime/samples/each-block-string/_config.js similarity index 100% rename from test/runtime/samples/each-block-string/_config.js rename to packages/svelte/test/runtime/samples/each-block-string/_config.js diff --git a/test/runtime/samples/each-block-string/main.svelte b/packages/svelte/test/runtime/samples/each-block-string/main.svelte similarity index 100% rename from test/runtime/samples/each-block-string/main.svelte rename to packages/svelte/test/runtime/samples/each-block-string/main.svelte diff --git a/test/runtime/samples/each-block-text-node/_config.js b/packages/svelte/test/runtime/samples/each-block-text-node/_config.js similarity index 100% rename from test/runtime/samples/each-block-text-node/_config.js rename to packages/svelte/test/runtime/samples/each-block-text-node/_config.js diff --git a/test/runtime/samples/each-block-text-node/main.svelte b/packages/svelte/test/runtime/samples/each-block-text-node/main.svelte similarity index 100% rename from test/runtime/samples/each-block-text-node/main.svelte rename to packages/svelte/test/runtime/samples/each-block-text-node/main.svelte diff --git a/test/runtime/samples/each-block-unkeyed-else-2/_config.js b/packages/svelte/test/runtime/samples/each-block-unkeyed-else-2/_config.js similarity index 100% rename from test/runtime/samples/each-block-unkeyed-else-2/_config.js rename to packages/svelte/test/runtime/samples/each-block-unkeyed-else-2/_config.js diff --git a/test/runtime/samples/each-block-unkeyed-else-2/main.svelte b/packages/svelte/test/runtime/samples/each-block-unkeyed-else-2/main.svelte similarity index 100% rename from test/runtime/samples/each-block-unkeyed-else-2/main.svelte rename to packages/svelte/test/runtime/samples/each-block-unkeyed-else-2/main.svelte diff --git a/packages/svelte/test/runtime/samples/each-block-with-iterable/_config.js b/packages/svelte/test/runtime/samples/each-block-with-iterable/_config.js new file mode 100644 index 0000000000..b1ba63754c --- /dev/null +++ b/packages/svelte/test/runtime/samples/each-block-with-iterable/_config.js @@ -0,0 +1,29 @@ +export default { + html: ` +

1

+

2

+ +

1 0

+

2 1

+ +

1 0

+

2 1

+ `, + + test({ assert, component, target }) { + component.numbers = new Set([2, 3]); + assert.htmlEqual( + target.innerHTML, + ` +

2

+

3

+ +

2 0

+

3 1

+ +

2 0

+

3 1

+ ` + ); + } +}; diff --git a/packages/svelte/test/runtime/samples/each-block-with-iterable/main.svelte b/packages/svelte/test/runtime/samples/each-block-with-iterable/main.svelte new file mode 100644 index 0000000000..b69e5ec3fa --- /dev/null +++ b/packages/svelte/test/runtime/samples/each-block-with-iterable/main.svelte @@ -0,0 +1,15 @@ + + +{#each numbers as i} +

{i}

+{/each} + +{#each numbers as i, index} +

{i} {index}

+{/each} + +{#each numbers as i, index (i)} +

{i} {index}

+{/each} diff --git a/test/runtime/samples/each-block/_config.js b/packages/svelte/test/runtime/samples/each-block/_config.js similarity index 100% rename from test/runtime/samples/each-block/_config.js rename to packages/svelte/test/runtime/samples/each-block/_config.js diff --git a/test/runtime/samples/each-block/main.svelte b/packages/svelte/test/runtime/samples/each-block/main.svelte similarity index 100% rename from test/runtime/samples/each-block/main.svelte rename to packages/svelte/test/runtime/samples/each-block/main.svelte diff --git a/test/runtime/samples/each-blocks-assignment-2/_config.js b/packages/svelte/test/runtime/samples/each-blocks-assignment-2/_config.js similarity index 100% rename from test/runtime/samples/each-blocks-assignment-2/_config.js rename to packages/svelte/test/runtime/samples/each-blocks-assignment-2/_config.js diff --git a/test/runtime/samples/each-blocks-assignment-2/main.svelte b/packages/svelte/test/runtime/samples/each-blocks-assignment-2/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-assignment-2/main.svelte rename to packages/svelte/test/runtime/samples/each-blocks-assignment-2/main.svelte diff --git a/test/runtime/samples/each-blocks-assignment/_config.js b/packages/svelte/test/runtime/samples/each-blocks-assignment/_config.js similarity index 100% rename from test/runtime/samples/each-blocks-assignment/_config.js rename to packages/svelte/test/runtime/samples/each-blocks-assignment/_config.js diff --git a/test/runtime/samples/each-blocks-assignment/main.svelte b/packages/svelte/test/runtime/samples/each-blocks-assignment/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-assignment/main.svelte rename to packages/svelte/test/runtime/samples/each-blocks-assignment/main.svelte diff --git a/test/runtime/samples/each-blocks-expression/_config.js b/packages/svelte/test/runtime/samples/each-blocks-expression/_config.js similarity index 100% rename from test/runtime/samples/each-blocks-expression/_config.js rename to packages/svelte/test/runtime/samples/each-blocks-expression/_config.js diff --git a/test/runtime/samples/each-blocks-expression/main.svelte b/packages/svelte/test/runtime/samples/each-blocks-expression/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-expression/main.svelte rename to packages/svelte/test/runtime/samples/each-blocks-expression/main.svelte diff --git a/test/runtime/samples/each-blocks-nested-b/_config.js b/packages/svelte/test/runtime/samples/each-blocks-nested-b/_config.js similarity index 100% rename from test/runtime/samples/each-blocks-nested-b/_config.js rename to packages/svelte/test/runtime/samples/each-blocks-nested-b/_config.js diff --git a/test/runtime/samples/each-blocks-nested-b/main.svelte b/packages/svelte/test/runtime/samples/each-blocks-nested-b/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-nested-b/main.svelte rename to packages/svelte/test/runtime/samples/each-blocks-nested-b/main.svelte diff --git a/test/runtime/samples/each-blocks-nested/_config.js b/packages/svelte/test/runtime/samples/each-blocks-nested/_config.js similarity index 100% rename from test/runtime/samples/each-blocks-nested/_config.js rename to packages/svelte/test/runtime/samples/each-blocks-nested/_config.js diff --git a/test/runtime/samples/each-blocks-nested/main.svelte b/packages/svelte/test/runtime/samples/each-blocks-nested/main.svelte similarity index 100% rename from test/runtime/samples/each-blocks-nested/main.svelte rename to packages/svelte/test/runtime/samples/each-blocks-nested/main.svelte diff --git a/test/runtime/samples/element-invalid-name/_config.js b/packages/svelte/test/runtime/samples/element-invalid-name/_config.js similarity index 100% rename from test/runtime/samples/element-invalid-name/_config.js rename to packages/svelte/test/runtime/samples/element-invalid-name/_config.js diff --git a/test/runtime/samples/element-invalid-name/main.svelte b/packages/svelte/test/runtime/samples/element-invalid-name/main.svelte similarity index 100% rename from test/runtime/samples/element-invalid-name/main.svelte rename to packages/svelte/test/runtime/samples/element-invalid-name/main.svelte diff --git a/test/runtime/samples/element-source-location/Foo.svelte b/packages/svelte/test/runtime/samples/element-source-location/Foo.svelte similarity index 100% rename from test/runtime/samples/element-source-location/Foo.svelte rename to packages/svelte/test/runtime/samples/element-source-location/Foo.svelte diff --git a/test/runtime/samples/element-source-location/_config.js b/packages/svelte/test/runtime/samples/element-source-location/_config.js similarity index 100% rename from test/runtime/samples/element-source-location/_config.js rename to packages/svelte/test/runtime/samples/element-source-location/_config.js diff --git a/test/runtime/samples/element-source-location/main.svelte b/packages/svelte/test/runtime/samples/element-source-location/main.svelte similarity index 100% rename from test/runtime/samples/element-source-location/main.svelte rename to packages/svelte/test/runtime/samples/element-source-location/main.svelte diff --git a/test/runtime/samples/empty-component-destroy/Empty.svelte b/packages/svelte/test/runtime/samples/empty-component-destroy/Empty.svelte similarity index 100% rename from test/runtime/samples/empty-component-destroy/Empty.svelte rename to packages/svelte/test/runtime/samples/empty-component-destroy/Empty.svelte diff --git a/test/runtime/samples/empty-component-destroy/_config.js b/packages/svelte/test/runtime/samples/empty-component-destroy/_config.js similarity index 100% rename from test/runtime/samples/empty-component-destroy/_config.js rename to packages/svelte/test/runtime/samples/empty-component-destroy/_config.js diff --git a/test/runtime/samples/empty-component-destroy/main.svelte b/packages/svelte/test/runtime/samples/empty-component-destroy/main.svelte similarity index 100% rename from test/runtime/samples/empty-component-destroy/main.svelte rename to packages/svelte/test/runtime/samples/empty-component-destroy/main.svelte diff --git a/test/runtime/samples/empty-dom/_config.js b/packages/svelte/test/runtime/samples/empty-dom/_config.js similarity index 100% rename from test/runtime/samples/empty-dom/_config.js rename to packages/svelte/test/runtime/samples/empty-dom/_config.js diff --git a/test/runtime/samples/empty-dom/main.svelte b/packages/svelte/test/runtime/samples/empty-dom/main.svelte similarity index 100% rename from test/runtime/samples/empty-dom/main.svelte rename to packages/svelte/test/runtime/samples/empty-dom/main.svelte diff --git a/test/runtime/samples/empty-style-block/_config.js b/packages/svelte/test/runtime/samples/empty-style-block/_config.js similarity index 100% rename from test/runtime/samples/empty-style-block/_config.js rename to packages/svelte/test/runtime/samples/empty-style-block/_config.js diff --git a/test/runtime/samples/empty-style-block/main.svelte b/packages/svelte/test/runtime/samples/empty-style-block/main.svelte similarity index 100% rename from test/runtime/samples/empty-style-block/main.svelte rename to packages/svelte/test/runtime/samples/empty-style-block/main.svelte diff --git a/test/runtime/samples/escape-template-literals/Widget.svelte b/packages/svelte/test/runtime/samples/escape-template-literals/Widget.svelte similarity index 100% rename from test/runtime/samples/escape-template-literals/Widget.svelte rename to packages/svelte/test/runtime/samples/escape-template-literals/Widget.svelte diff --git a/test/runtime/samples/escape-template-literals/_config.js b/packages/svelte/test/runtime/samples/escape-template-literals/_config.js similarity index 100% rename from test/runtime/samples/escape-template-literals/_config.js rename to packages/svelte/test/runtime/samples/escape-template-literals/_config.js diff --git a/test/runtime/samples/escape-template-literals/main.svelte b/packages/svelte/test/runtime/samples/escape-template-literals/main.svelte similarity index 100% rename from test/runtime/samples/escape-template-literals/main.svelte rename to packages/svelte/test/runtime/samples/escape-template-literals/main.svelte diff --git a/test/runtime/samples/escaped-text/_config.js b/packages/svelte/test/runtime/samples/escaped-text/_config.js similarity index 100% rename from test/runtime/samples/escaped-text/_config.js rename to packages/svelte/test/runtime/samples/escaped-text/_config.js diff --git a/test/runtime/samples/escaped-text/main.svelte b/packages/svelte/test/runtime/samples/escaped-text/main.svelte similarity index 100% rename from test/runtime/samples/escaped-text/main.svelte rename to packages/svelte/test/runtime/samples/escaped-text/main.svelte diff --git a/test/runtime/samples/event-handler-async/_config.js b/packages/svelte/test/runtime/samples/event-handler-async/_config.js similarity index 100% rename from test/runtime/samples/event-handler-async/_config.js rename to packages/svelte/test/runtime/samples/event-handler-async/_config.js diff --git a/test/runtime/samples/event-handler-async/main.svelte b/packages/svelte/test/runtime/samples/event-handler-async/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-async/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-async/main.svelte diff --git a/test/runtime/samples/event-handler-console-log/_config.js b/packages/svelte/test/runtime/samples/event-handler-console-log/_config.js similarity index 100% rename from test/runtime/samples/event-handler-console-log/_config.js rename to packages/svelte/test/runtime/samples/event-handler-console-log/_config.js diff --git a/test/runtime/samples/event-handler-console-log/main.svelte b/packages/svelte/test/runtime/samples/event-handler-console-log/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-console-log/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-console-log/main.svelte diff --git a/test/runtime/samples/event-handler-deconflicted/_config.js b/packages/svelte/test/runtime/samples/event-handler-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/event-handler-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/event-handler-deconflicted/_config.js diff --git a/test/runtime/samples/event-handler-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/event-handler-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-deconflicted/main.svelte diff --git a/test/runtime/samples/event-handler-destructured/_config.js b/packages/svelte/test/runtime/samples/event-handler-destructured/_config.js similarity index 100% rename from test/runtime/samples/event-handler-destructured/_config.js rename to packages/svelte/test/runtime/samples/event-handler-destructured/_config.js diff --git a/test/runtime/samples/event-handler-destructured/main.svelte b/packages/svelte/test/runtime/samples/event-handler-destructured/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-destructured/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-destructured/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-2/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-2/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-2/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-2/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-2/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-2/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-2/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-2/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-bound-var/Nested.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-bound-var/Nested.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-bound-var/Nested.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-bound-var/Nested.svelte diff --git a/test/runtime/samples/event-handler-dynamic-bound-var/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-bound-var/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-bound-var/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-bound-var/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-bound-var/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-bound-var/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-bound-var/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-bound-var/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-expression/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-expression/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-expression/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-expression/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-expression/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-expression/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-expression/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-expression/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-hash/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-hash/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-hash/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-hash/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-hash/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-hash/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-hash/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-hash/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-invalid/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-invalid/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-invalid/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-invalid/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-invalid/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-invalid/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-invalid/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-invalid/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-modifier-once/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-once/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-once/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-once/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-modifier-once/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-once/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-once/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-once/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-modifier-prevent-default/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-prevent-default/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-prevent-default/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-prevent-default/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-modifier-prevent-default/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-prevent-default/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-prevent-default/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-prevent-default/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-modifier-self/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-self/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-self/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-self/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-modifier-self/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-self/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-self/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-self/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-modifier-stop-propagation/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic-multiple/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic-multiple/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic-multiple/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic-multiple/_config.js diff --git a/test/runtime/samples/event-handler-dynamic-multiple/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic-multiple/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic-multiple/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic-multiple/main.svelte diff --git a/test/runtime/samples/event-handler-dynamic/_config.js b/packages/svelte/test/runtime/samples/event-handler-dynamic/_config.js similarity index 100% rename from test/runtime/samples/event-handler-dynamic/_config.js rename to packages/svelte/test/runtime/samples/event-handler-dynamic/_config.js diff --git a/test/runtime/samples/event-handler-dynamic/main.svelte b/packages/svelte/test/runtime/samples/event-handler-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-dynamic/main.svelte diff --git a/test/runtime/samples/event-handler-each-context-invalidation/_config.js b/packages/svelte/test/runtime/samples/event-handler-each-context-invalidation/_config.js similarity index 100% rename from test/runtime/samples/event-handler-each-context-invalidation/_config.js rename to packages/svelte/test/runtime/samples/event-handler-each-context-invalidation/_config.js diff --git a/test/runtime/samples/event-handler-each-context-invalidation/main.svelte b/packages/svelte/test/runtime/samples/event-handler-each-context-invalidation/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-context-invalidation/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-each-context-invalidation/main.svelte diff --git a/test/runtime/samples/event-handler-each-context/_config.js b/packages/svelte/test/runtime/samples/event-handler-each-context/_config.js similarity index 100% rename from test/runtime/samples/event-handler-each-context/_config.js rename to packages/svelte/test/runtime/samples/event-handler-each-context/_config.js diff --git a/test/runtime/samples/event-handler-each-context/main.svelte b/packages/svelte/test/runtime/samples/event-handler-each-context/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-context/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-each-context/main.svelte diff --git a/test/runtime/samples/event-handler-each-deconflicted/_config.js b/packages/svelte/test/runtime/samples/event-handler-each-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/event-handler-each-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/event-handler-each-deconflicted/_config.js diff --git a/test/runtime/samples/event-handler-each-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/event-handler-each-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-each-deconflicted/main.svelte diff --git a/test/runtime/samples/event-handler-each-modifier/_config.js b/packages/svelte/test/runtime/samples/event-handler-each-modifier/_config.js similarity index 100% rename from test/runtime/samples/event-handler-each-modifier/_config.js rename to packages/svelte/test/runtime/samples/event-handler-each-modifier/_config.js diff --git a/test/runtime/samples/event-handler-each-modifier/main.svelte b/packages/svelte/test/runtime/samples/event-handler-each-modifier/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-modifier/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-each-modifier/main.svelte diff --git a/test/runtime/samples/event-handler-each-this/_config.js b/packages/svelte/test/runtime/samples/event-handler-each-this/_config.js similarity index 100% rename from test/runtime/samples/event-handler-each-this/_config.js rename to packages/svelte/test/runtime/samples/event-handler-each-this/_config.js diff --git a/test/runtime/samples/event-handler-each-this/main.svelte b/packages/svelte/test/runtime/samples/event-handler-each-this/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each-this/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-each-this/main.svelte diff --git a/test/runtime/samples/event-handler-each/_config.js b/packages/svelte/test/runtime/samples/event-handler-each/_config.js similarity index 100% rename from test/runtime/samples/event-handler-each/_config.js rename to packages/svelte/test/runtime/samples/event-handler-each/_config.js diff --git a/test/runtime/samples/event-handler-each/main.svelte b/packages/svelte/test/runtime/samples/event-handler-each/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-each/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-each/main.svelte diff --git a/test/runtime/samples/event-handler-event-methods/_config.js b/packages/svelte/test/runtime/samples/event-handler-event-methods/_config.js similarity index 100% rename from test/runtime/samples/event-handler-event-methods/_config.js rename to packages/svelte/test/runtime/samples/event-handler-event-methods/_config.js diff --git a/test/runtime/samples/event-handler-event-methods/main.svelte b/packages/svelte/test/runtime/samples/event-handler-event-methods/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-event-methods/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-event-methods/main.svelte diff --git a/test/runtime/samples/event-handler-hoisted/_config.js b/packages/svelte/test/runtime/samples/event-handler-hoisted/_config.js similarity index 100% rename from test/runtime/samples/event-handler-hoisted/_config.js rename to packages/svelte/test/runtime/samples/event-handler-hoisted/_config.js diff --git a/test/runtime/samples/event-handler-hoisted/main.svelte b/packages/svelte/test/runtime/samples/event-handler-hoisted/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-hoisted/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-hoisted/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-body-once/_config.js b/packages/svelte/test/runtime/samples/event-handler-modifier-body-once/_config.js similarity index 100% rename from test/runtime/samples/event-handler-modifier-body-once/_config.js rename to packages/svelte/test/runtime/samples/event-handler-modifier-body-once/_config.js diff --git a/test/runtime/samples/event-handler-modifier-body-once/main.svelte b/packages/svelte/test/runtime/samples/event-handler-modifier-body-once/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-body-once/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-modifier-body-once/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-once/_config.js b/packages/svelte/test/runtime/samples/event-handler-modifier-once/_config.js similarity index 100% rename from test/runtime/samples/event-handler-modifier-once/_config.js rename to packages/svelte/test/runtime/samples/event-handler-modifier-once/_config.js diff --git a/test/runtime/samples/event-handler-modifier-once/main.svelte b/packages/svelte/test/runtime/samples/event-handler-modifier-once/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-once/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-modifier-once/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-prevent-default/_config.js b/packages/svelte/test/runtime/samples/event-handler-modifier-prevent-default/_config.js similarity index 100% rename from test/runtime/samples/event-handler-modifier-prevent-default/_config.js rename to packages/svelte/test/runtime/samples/event-handler-modifier-prevent-default/_config.js diff --git a/test/runtime/samples/event-handler-modifier-prevent-default/main.svelte b/packages/svelte/test/runtime/samples/event-handler-modifier-prevent-default/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-prevent-default/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-modifier-prevent-default/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-self/_config.js b/packages/svelte/test/runtime/samples/event-handler-modifier-self/_config.js similarity index 100% rename from test/runtime/samples/event-handler-modifier-self/_config.js rename to packages/svelte/test/runtime/samples/event-handler-modifier-self/_config.js diff --git a/test/runtime/samples/event-handler-modifier-self/main.svelte b/packages/svelte/test/runtime/samples/event-handler-modifier-self/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-self/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-modifier-self/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-stop-immediate-propagation/_config.js b/packages/svelte/test/runtime/samples/event-handler-modifier-stop-immediate-propagation/_config.js similarity index 100% rename from test/runtime/samples/event-handler-modifier-stop-immediate-propagation/_config.js rename to packages/svelte/test/runtime/samples/event-handler-modifier-stop-immediate-propagation/_config.js diff --git a/test/runtime/samples/event-handler-modifier-stop-immediate-propagation/main.svelte b/packages/svelte/test/runtime/samples/event-handler-modifier-stop-immediate-propagation/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-stop-immediate-propagation/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-modifier-stop-immediate-propagation/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-stop-propagation/_config.js b/packages/svelte/test/runtime/samples/event-handler-modifier-stop-propagation/_config.js similarity index 100% rename from test/runtime/samples/event-handler-modifier-stop-propagation/_config.js rename to packages/svelte/test/runtime/samples/event-handler-modifier-stop-propagation/_config.js diff --git a/test/runtime/samples/event-handler-modifier-stop-propagation/main.svelte b/packages/svelte/test/runtime/samples/event-handler-modifier-stop-propagation/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-stop-propagation/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-modifier-stop-propagation/main.svelte diff --git a/test/runtime/samples/event-handler-modifier-trusted/_config.js b/packages/svelte/test/runtime/samples/event-handler-modifier-trusted/_config.js similarity index 100% rename from test/runtime/samples/event-handler-modifier-trusted/_config.js rename to packages/svelte/test/runtime/samples/event-handler-modifier-trusted/_config.js diff --git a/test/runtime/samples/event-handler-modifier-trusted/main.svelte b/packages/svelte/test/runtime/samples/event-handler-modifier-trusted/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-modifier-trusted/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-modifier-trusted/main.svelte diff --git a/test/runtime/samples/event-handler-multiple/_config.js b/packages/svelte/test/runtime/samples/event-handler-multiple/_config.js similarity index 100% rename from test/runtime/samples/event-handler-multiple/_config.js rename to packages/svelte/test/runtime/samples/event-handler-multiple/_config.js diff --git a/test/runtime/samples/event-handler-multiple/main.svelte b/packages/svelte/test/runtime/samples/event-handler-multiple/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-multiple/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-multiple/main.svelte diff --git a/test/runtime/samples/event-handler-removal/_config.js b/packages/svelte/test/runtime/samples/event-handler-removal/_config.js similarity index 100% rename from test/runtime/samples/event-handler-removal/_config.js rename to packages/svelte/test/runtime/samples/event-handler-removal/_config.js diff --git a/test/runtime/samples/event-handler-removal/main.svelte b/packages/svelte/test/runtime/samples/event-handler-removal/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-removal/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-removal/main.svelte diff --git a/test/runtime/samples/event-handler-sanitize/_config.js b/packages/svelte/test/runtime/samples/event-handler-sanitize/_config.js similarity index 100% rename from test/runtime/samples/event-handler-sanitize/_config.js rename to packages/svelte/test/runtime/samples/event-handler-sanitize/_config.js diff --git a/test/runtime/samples/event-handler-sanitize/main.svelte b/packages/svelte/test/runtime/samples/event-handler-sanitize/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-sanitize/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-sanitize/main.svelte diff --git a/test/runtime/samples/event-handler-shorthand-component/Widget.svelte b/packages/svelte/test/runtime/samples/event-handler-shorthand-component/Widget.svelte similarity index 100% rename from test/runtime/samples/event-handler-shorthand-component/Widget.svelte rename to packages/svelte/test/runtime/samples/event-handler-shorthand-component/Widget.svelte diff --git a/test/runtime/samples/event-handler-shorthand-component/_config.js b/packages/svelte/test/runtime/samples/event-handler-shorthand-component/_config.js similarity index 100% rename from test/runtime/samples/event-handler-shorthand-component/_config.js rename to packages/svelte/test/runtime/samples/event-handler-shorthand-component/_config.js diff --git a/test/runtime/samples/event-handler-shorthand-component/main.svelte b/packages/svelte/test/runtime/samples/event-handler-shorthand-component/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-shorthand-component/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-shorthand-component/main.svelte diff --git a/test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.svelte b/packages/svelte/test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.svelte similarity index 100% rename from test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.svelte rename to packages/svelte/test/runtime/samples/event-handler-shorthand-dynamic-component/Widget.svelte diff --git a/test/runtime/samples/event-handler-shorthand-dynamic-component/_config.js b/packages/svelte/test/runtime/samples/event-handler-shorthand-dynamic-component/_config.js similarity index 100% rename from test/runtime/samples/event-handler-shorthand-dynamic-component/_config.js rename to packages/svelte/test/runtime/samples/event-handler-shorthand-dynamic-component/_config.js diff --git a/test/runtime/samples/event-handler-shorthand-dynamic-component/main.svelte b/packages/svelte/test/runtime/samples/event-handler-shorthand-dynamic-component/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-shorthand-dynamic-component/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-shorthand-dynamic-component/main.svelte diff --git a/test/runtime/samples/event-handler-shorthand-sanitized/_config.js b/packages/svelte/test/runtime/samples/event-handler-shorthand-sanitized/_config.js similarity index 100% rename from test/runtime/samples/event-handler-shorthand-sanitized/_config.js rename to packages/svelte/test/runtime/samples/event-handler-shorthand-sanitized/_config.js diff --git a/test/runtime/samples/event-handler-shorthand-sanitized/main.svelte b/packages/svelte/test/runtime/samples/event-handler-shorthand-sanitized/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-shorthand-sanitized/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-shorthand-sanitized/main.svelte diff --git a/test/runtime/samples/event-handler-this-methods/_config.js b/packages/svelte/test/runtime/samples/event-handler-this-methods/_config.js similarity index 100% rename from test/runtime/samples/event-handler-this-methods/_config.js rename to packages/svelte/test/runtime/samples/event-handler-this-methods/_config.js diff --git a/test/runtime/samples/event-handler-this-methods/main.svelte b/packages/svelte/test/runtime/samples/event-handler-this-methods/main.svelte similarity index 100% rename from test/runtime/samples/event-handler-this-methods/main.svelte rename to packages/svelte/test/runtime/samples/event-handler-this-methods/main.svelte diff --git a/test/runtime/samples/event-handler/_config.js b/packages/svelte/test/runtime/samples/event-handler/_config.js similarity index 100% rename from test/runtime/samples/event-handler/_config.js rename to packages/svelte/test/runtime/samples/event-handler/_config.js diff --git a/test/runtime/samples/event-handler/main.svelte b/packages/svelte/test/runtime/samples/event-handler/main.svelte similarity index 100% rename from test/runtime/samples/event-handler/main.svelte rename to packages/svelte/test/runtime/samples/event-handler/main.svelte diff --git a/test/runtime/samples/export-from/A.svelte b/packages/svelte/test/runtime/samples/export-from/A.svelte similarity index 100% rename from test/runtime/samples/export-from/A.svelte rename to packages/svelte/test/runtime/samples/export-from/A.svelte diff --git a/test/runtime/samples/export-from/B.svelte b/packages/svelte/test/runtime/samples/export-from/B.svelte similarity index 100% rename from test/runtime/samples/export-from/B.svelte rename to packages/svelte/test/runtime/samples/export-from/B.svelte diff --git a/test/runtime/samples/export-from/_config.js b/packages/svelte/test/runtime/samples/export-from/_config.js similarity index 100% rename from test/runtime/samples/export-from/_config.js rename to packages/svelte/test/runtime/samples/export-from/_config.js diff --git a/test/runtime/samples/export-from/main.svelte b/packages/svelte/test/runtime/samples/export-from/main.svelte similarity index 100% rename from test/runtime/samples/export-from/main.svelte rename to packages/svelte/test/runtime/samples/export-from/main.svelte diff --git a/test/runtime/samples/export-function-hoisting/_config.js b/packages/svelte/test/runtime/samples/export-function-hoisting/_config.js similarity index 100% rename from test/runtime/samples/export-function-hoisting/_config.js rename to packages/svelte/test/runtime/samples/export-function-hoisting/_config.js diff --git a/test/runtime/samples/export-function-hoisting/main.svelte b/packages/svelte/test/runtime/samples/export-function-hoisting/main.svelte similarity index 100% rename from test/runtime/samples/export-function-hoisting/main.svelte rename to packages/svelte/test/runtime/samples/export-function-hoisting/main.svelte diff --git a/test/runtime/samples/flush-before-bindings/Nested.svelte b/packages/svelte/test/runtime/samples/flush-before-bindings/Nested.svelte similarity index 100% rename from test/runtime/samples/flush-before-bindings/Nested.svelte rename to packages/svelte/test/runtime/samples/flush-before-bindings/Nested.svelte diff --git a/test/runtime/samples/flush-before-bindings/Visibility.svelte b/packages/svelte/test/runtime/samples/flush-before-bindings/Visibility.svelte similarity index 100% rename from test/runtime/samples/flush-before-bindings/Visibility.svelte rename to packages/svelte/test/runtime/samples/flush-before-bindings/Visibility.svelte diff --git a/test/runtime/samples/flush-before-bindings/_config.js b/packages/svelte/test/runtime/samples/flush-before-bindings/_config.js similarity index 100% rename from test/runtime/samples/flush-before-bindings/_config.js rename to packages/svelte/test/runtime/samples/flush-before-bindings/_config.js diff --git a/test/runtime/samples/flush-before-bindings/counter.js b/packages/svelte/test/runtime/samples/flush-before-bindings/counter.js similarity index 100% rename from test/runtime/samples/flush-before-bindings/counter.js rename to packages/svelte/test/runtime/samples/flush-before-bindings/counter.js diff --git a/test/runtime/samples/flush-before-bindings/main.svelte b/packages/svelte/test/runtime/samples/flush-before-bindings/main.svelte similarity index 100% rename from test/runtime/samples/flush-before-bindings/main.svelte rename to packages/svelte/test/runtime/samples/flush-before-bindings/main.svelte diff --git a/test/runtime/samples/fragment-trailing-whitespace/_config.js b/packages/svelte/test/runtime/samples/fragment-trailing-whitespace/_config.js similarity index 100% rename from test/runtime/samples/fragment-trailing-whitespace/_config.js rename to packages/svelte/test/runtime/samples/fragment-trailing-whitespace/_config.js diff --git a/test/runtime/samples/fragment-trailing-whitespace/main.svelte b/packages/svelte/test/runtime/samples/fragment-trailing-whitespace/main.svelte similarity index 100% rename from test/runtime/samples/fragment-trailing-whitespace/main.svelte rename to packages/svelte/test/runtime/samples/fragment-trailing-whitespace/main.svelte diff --git a/test/runtime/samples/function-expression-inline/_config.js b/packages/svelte/test/runtime/samples/function-expression-inline/_config.js similarity index 100% rename from test/runtime/samples/function-expression-inline/_config.js rename to packages/svelte/test/runtime/samples/function-expression-inline/_config.js diff --git a/test/runtime/samples/function-expression-inline/main.svelte b/packages/svelte/test/runtime/samples/function-expression-inline/main.svelte similarity index 100% rename from test/runtime/samples/function-expression-inline/main.svelte rename to packages/svelte/test/runtime/samples/function-expression-inline/main.svelte diff --git a/test/runtime/samples/function-hoisting/_config.js b/packages/svelte/test/runtime/samples/function-hoisting/_config.js similarity index 100% rename from test/runtime/samples/function-hoisting/_config.js rename to packages/svelte/test/runtime/samples/function-hoisting/_config.js diff --git a/test/runtime/samples/function-hoisting/main.svelte b/packages/svelte/test/runtime/samples/function-hoisting/main.svelte similarity index 100% rename from test/runtime/samples/function-hoisting/main.svelte rename to packages/svelte/test/runtime/samples/function-hoisting/main.svelte diff --git a/test/runtime/samples/function-in-expression/_config.js b/packages/svelte/test/runtime/samples/function-in-expression/_config.js similarity index 100% rename from test/runtime/samples/function-in-expression/_config.js rename to packages/svelte/test/runtime/samples/function-in-expression/_config.js diff --git a/test/runtime/samples/function-in-expression/main.svelte b/packages/svelte/test/runtime/samples/function-in-expression/main.svelte similarity index 100% rename from test/runtime/samples/function-in-expression/main.svelte rename to packages/svelte/test/runtime/samples/function-in-expression/main.svelte diff --git a/test/runtime/samples/get-after-destroy/_config.js b/packages/svelte/test/runtime/samples/get-after-destroy/_config.js similarity index 100% rename from test/runtime/samples/get-after-destroy/_config.js rename to packages/svelte/test/runtime/samples/get-after-destroy/_config.js diff --git a/test/runtime/samples/get-after-destroy/main.svelte b/packages/svelte/test/runtime/samples/get-after-destroy/main.svelte similarity index 100% rename from test/runtime/samples/get-after-destroy/main.svelte rename to packages/svelte/test/runtime/samples/get-after-destroy/main.svelte diff --git a/test/runtime/samples/globals-accessible-directly-process/_config.js b/packages/svelte/test/runtime/samples/globals-accessible-directly-process/_config.js similarity index 100% rename from test/runtime/samples/globals-accessible-directly-process/_config.js rename to packages/svelte/test/runtime/samples/globals-accessible-directly-process/_config.js diff --git a/test/runtime/samples/globals-accessible-directly-process/main.svelte b/packages/svelte/test/runtime/samples/globals-accessible-directly-process/main.svelte similarity index 100% rename from test/runtime/samples/globals-accessible-directly-process/main.svelte rename to packages/svelte/test/runtime/samples/globals-accessible-directly-process/main.svelte diff --git a/test/runtime/samples/globals-accessible-directly/_config.js b/packages/svelte/test/runtime/samples/globals-accessible-directly/_config.js similarity index 100% rename from test/runtime/samples/globals-accessible-directly/_config.js rename to packages/svelte/test/runtime/samples/globals-accessible-directly/_config.js diff --git a/test/runtime/samples/globals-accessible-directly/main.svelte b/packages/svelte/test/runtime/samples/globals-accessible-directly/main.svelte similarity index 100% rename from test/runtime/samples/globals-accessible-directly/main.svelte rename to packages/svelte/test/runtime/samples/globals-accessible-directly/main.svelte diff --git a/test/runtime/samples/globals-not-dereferenced/_config.js b/packages/svelte/test/runtime/samples/globals-not-dereferenced/_config.js similarity index 100% rename from test/runtime/samples/globals-not-dereferenced/_config.js rename to packages/svelte/test/runtime/samples/globals-not-dereferenced/_config.js diff --git a/test/runtime/samples/globals-not-dereferenced/main.svelte b/packages/svelte/test/runtime/samples/globals-not-dereferenced/main.svelte similarity index 100% rename from test/runtime/samples/globals-not-dereferenced/main.svelte rename to packages/svelte/test/runtime/samples/globals-not-dereferenced/main.svelte diff --git a/test/runtime/samples/globals-not-overwritten-by-bindings/_config.js b/packages/svelte/test/runtime/samples/globals-not-overwritten-by-bindings/_config.js similarity index 100% rename from test/runtime/samples/globals-not-overwritten-by-bindings/_config.js rename to packages/svelte/test/runtime/samples/globals-not-overwritten-by-bindings/_config.js diff --git a/test/runtime/samples/globals-not-overwritten-by-bindings/main.svelte b/packages/svelte/test/runtime/samples/globals-not-overwritten-by-bindings/main.svelte similarity index 100% rename from test/runtime/samples/globals-not-overwritten-by-bindings/main.svelte rename to packages/svelte/test/runtime/samples/globals-not-overwritten-by-bindings/main.svelte diff --git a/test/runtime/samples/globals-shadowed-by-data/_config.js b/packages/svelte/test/runtime/samples/globals-shadowed-by-data/_config.js similarity index 100% rename from test/runtime/samples/globals-shadowed-by-data/_config.js rename to packages/svelte/test/runtime/samples/globals-shadowed-by-data/_config.js diff --git a/test/runtime/samples/globals-shadowed-by-data/main.svelte b/packages/svelte/test/runtime/samples/globals-shadowed-by-data/main.svelte similarity index 100% rename from test/runtime/samples/globals-shadowed-by-data/main.svelte rename to packages/svelte/test/runtime/samples/globals-shadowed-by-data/main.svelte diff --git a/test/runtime/samples/globals-shadowed-by-each-binding/_config.js b/packages/svelte/test/runtime/samples/globals-shadowed-by-each-binding/_config.js similarity index 100% rename from test/runtime/samples/globals-shadowed-by-each-binding/_config.js rename to packages/svelte/test/runtime/samples/globals-shadowed-by-each-binding/_config.js diff --git a/test/runtime/samples/globals-shadowed-by-each-binding/main.svelte b/packages/svelte/test/runtime/samples/globals-shadowed-by-each-binding/main.svelte similarity index 100% rename from test/runtime/samples/globals-shadowed-by-each-binding/main.svelte rename to packages/svelte/test/runtime/samples/globals-shadowed-by-each-binding/main.svelte diff --git a/test/runtime/samples/globals-shadowed-by-helpers/_config.js b/packages/svelte/test/runtime/samples/globals-shadowed-by-helpers/_config.js similarity index 100% rename from test/runtime/samples/globals-shadowed-by-helpers/_config.js rename to packages/svelte/test/runtime/samples/globals-shadowed-by-helpers/_config.js diff --git a/test/runtime/samples/globals-shadowed-by-helpers/main.svelte b/packages/svelte/test/runtime/samples/globals-shadowed-by-helpers/main.svelte similarity index 100% rename from test/runtime/samples/globals-shadowed-by-helpers/main.svelte rename to packages/svelte/test/runtime/samples/globals-shadowed-by-helpers/main.svelte diff --git a/test/runtime/samples/hash-in-attribute/_config.js b/packages/svelte/test/runtime/samples/hash-in-attribute/_config.js similarity index 100% rename from test/runtime/samples/hash-in-attribute/_config.js rename to packages/svelte/test/runtime/samples/hash-in-attribute/_config.js diff --git a/test/runtime/samples/hash-in-attribute/main.svelte b/packages/svelte/test/runtime/samples/hash-in-attribute/main.svelte similarity index 100% rename from test/runtime/samples/hash-in-attribute/main.svelte rename to packages/svelte/test/runtime/samples/hash-in-attribute/main.svelte diff --git a/test/runtime/samples/head-detached-in-dynamic-component/A.svelte b/packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/A.svelte similarity index 100% rename from test/runtime/samples/head-detached-in-dynamic-component/A.svelte rename to packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/A.svelte diff --git a/test/runtime/samples/head-detached-in-dynamic-component/B.svelte b/packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/B.svelte similarity index 100% rename from test/runtime/samples/head-detached-in-dynamic-component/B.svelte rename to packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/B.svelte diff --git a/test/runtime/samples/head-detached-in-dynamic-component/_config.js b/packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/_config.js similarity index 100% rename from test/runtime/samples/head-detached-in-dynamic-component/_config.js rename to packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/_config.js diff --git a/test/runtime/samples/head-detached-in-dynamic-component/main.svelte b/packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/main.svelte similarity index 100% rename from test/runtime/samples/head-detached-in-dynamic-component/main.svelte rename to packages/svelte/test/runtime/samples/head-detached-in-dynamic-component/main.svelte diff --git a/test/runtime/samples/head-if-block/_config.js b/packages/svelte/test/runtime/samples/head-if-block/_config.js similarity index 100% rename from test/runtime/samples/head-if-block/_config.js rename to packages/svelte/test/runtime/samples/head-if-block/_config.js diff --git a/test/runtime/samples/head-if-block/main.svelte b/packages/svelte/test/runtime/samples/head-if-block/main.svelte similarity index 100% rename from test/runtime/samples/head-if-block/main.svelte rename to packages/svelte/test/runtime/samples/head-if-block/main.svelte diff --git a/test/runtime/samples/head-if-else-block/_config.js b/packages/svelte/test/runtime/samples/head-if-else-block/_config.js similarity index 100% rename from test/runtime/samples/head-if-else-block/_config.js rename to packages/svelte/test/runtime/samples/head-if-else-block/_config.js diff --git a/test/runtime/samples/head-if-else-block/main.svelte b/packages/svelte/test/runtime/samples/head-if-else-block/main.svelte similarity index 100% rename from test/runtime/samples/head-if-else-block/main.svelte rename to packages/svelte/test/runtime/samples/head-if-else-block/main.svelte diff --git a/test/runtime/samples/head-if-else-raw-dynamic/_config.js b/packages/svelte/test/runtime/samples/head-if-else-raw-dynamic/_config.js similarity index 100% rename from test/runtime/samples/head-if-else-raw-dynamic/_config.js rename to packages/svelte/test/runtime/samples/head-if-else-raw-dynamic/_config.js diff --git a/test/runtime/samples/head-if-else-raw-dynamic/main.svelte b/packages/svelte/test/runtime/samples/head-if-else-raw-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/head-if-else-raw-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/head-if-else-raw-dynamic/main.svelte diff --git a/test/runtime/samples/head-raw-dynamic/Bar.svelte b/packages/svelte/test/runtime/samples/head-raw-dynamic/Bar.svelte similarity index 100% rename from test/runtime/samples/head-raw-dynamic/Bar.svelte rename to packages/svelte/test/runtime/samples/head-raw-dynamic/Bar.svelte diff --git a/test/runtime/samples/head-raw-dynamic/Foo.svelte b/packages/svelte/test/runtime/samples/head-raw-dynamic/Foo.svelte similarity index 100% rename from test/runtime/samples/head-raw-dynamic/Foo.svelte rename to packages/svelte/test/runtime/samples/head-raw-dynamic/Foo.svelte diff --git a/test/runtime/samples/head-raw-dynamic/_config.js b/packages/svelte/test/runtime/samples/head-raw-dynamic/_config.js similarity index 100% rename from test/runtime/samples/head-raw-dynamic/_config.js rename to packages/svelte/test/runtime/samples/head-raw-dynamic/_config.js diff --git a/test/runtime/samples/head-raw-dynamic/main.svelte b/packages/svelte/test/runtime/samples/head-raw-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/head-raw-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/head-raw-dynamic/main.svelte diff --git a/test/runtime/samples/head-title-dynamic-simple/_config.js b/packages/svelte/test/runtime/samples/head-title-dynamic-simple/_config.js similarity index 100% rename from test/runtime/samples/head-title-dynamic-simple/_config.js rename to packages/svelte/test/runtime/samples/head-title-dynamic-simple/_config.js diff --git a/test/runtime/samples/head-title-dynamic-simple/main.svelte b/packages/svelte/test/runtime/samples/head-title-dynamic-simple/main.svelte similarity index 100% rename from test/runtime/samples/head-title-dynamic-simple/main.svelte rename to packages/svelte/test/runtime/samples/head-title-dynamic-simple/main.svelte diff --git a/test/runtime/samples/head-title-dynamic/_config.js b/packages/svelte/test/runtime/samples/head-title-dynamic/_config.js similarity index 100% rename from test/runtime/samples/head-title-dynamic/_config.js rename to packages/svelte/test/runtime/samples/head-title-dynamic/_config.js diff --git a/test/runtime/samples/head-title-dynamic/main.svelte b/packages/svelte/test/runtime/samples/head-title-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/head-title-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/head-title-dynamic/main.svelte diff --git a/test/runtime/samples/head-title-empty/_config.js b/packages/svelte/test/runtime/samples/head-title-empty/_config.js similarity index 100% rename from test/runtime/samples/head-title-empty/_config.js rename to packages/svelte/test/runtime/samples/head-title-empty/_config.js diff --git a/test/runtime/samples/head-title-empty/main.svelte b/packages/svelte/test/runtime/samples/head-title-empty/main.svelte similarity index 100% rename from test/runtime/samples/head-title-empty/main.svelte rename to packages/svelte/test/runtime/samples/head-title-empty/main.svelte diff --git a/test/runtime/samples/head-title-static/_config.js b/packages/svelte/test/runtime/samples/head-title-static/_config.js similarity index 100% rename from test/runtime/samples/head-title-static/_config.js rename to packages/svelte/test/runtime/samples/head-title-static/_config.js diff --git a/test/runtime/samples/head-title-static/main.svelte b/packages/svelte/test/runtime/samples/head-title-static/main.svelte similarity index 100% rename from test/runtime/samples/head-title-static/main.svelte rename to packages/svelte/test/runtime/samples/head-title-static/main.svelte diff --git a/test/runtime/samples/hello-world/_config.js b/packages/svelte/test/runtime/samples/hello-world/_config.js similarity index 100% rename from test/runtime/samples/hello-world/_config.js rename to packages/svelte/test/runtime/samples/hello-world/_config.js diff --git a/test/runtime/samples/hello-world/main.svelte b/packages/svelte/test/runtime/samples/hello-world/main.svelte similarity index 100% rename from test/runtime/samples/hello-world/main.svelte rename to packages/svelte/test/runtime/samples/hello-world/main.svelte diff --git a/test/runtime/samples/helpers-not-call-expression/_config.js b/packages/svelte/test/runtime/samples/helpers-not-call-expression/_config.js similarity index 100% rename from test/runtime/samples/helpers-not-call-expression/_config.js rename to packages/svelte/test/runtime/samples/helpers-not-call-expression/_config.js diff --git a/test/runtime/samples/helpers-not-call-expression/main.svelte b/packages/svelte/test/runtime/samples/helpers-not-call-expression/main.svelte similarity index 100% rename from test/runtime/samples/helpers-not-call-expression/main.svelte rename to packages/svelte/test/runtime/samples/helpers-not-call-expression/main.svelte diff --git a/test/runtime/samples/helpers/_config.js b/packages/svelte/test/runtime/samples/helpers/_config.js similarity index 100% rename from test/runtime/samples/helpers/_config.js rename to packages/svelte/test/runtime/samples/helpers/_config.js diff --git a/test/runtime/samples/helpers/main.svelte b/packages/svelte/test/runtime/samples/helpers/main.svelte similarity index 100% rename from test/runtime/samples/helpers/main.svelte rename to packages/svelte/test/runtime/samples/helpers/main.svelte diff --git a/test/runtime/samples/html-entities-inside-attributes/_config.js b/packages/svelte/test/runtime/samples/html-entities-inside-attributes/_config.js similarity index 100% rename from test/runtime/samples/html-entities-inside-attributes/_config.js rename to packages/svelte/test/runtime/samples/html-entities-inside-attributes/_config.js diff --git a/test/runtime/samples/html-entities-inside-attributes/main.svelte b/packages/svelte/test/runtime/samples/html-entities-inside-attributes/main.svelte similarity index 100% rename from test/runtime/samples/html-entities-inside-attributes/main.svelte rename to packages/svelte/test/runtime/samples/html-entities-inside-attributes/main.svelte diff --git a/test/runtime/samples/html-entities-inside-component-slot/Component.svelte b/packages/svelte/test/runtime/samples/html-entities-inside-component-slot/Component.svelte similarity index 100% rename from test/runtime/samples/html-entities-inside-component-slot/Component.svelte rename to packages/svelte/test/runtime/samples/html-entities-inside-component-slot/Component.svelte diff --git a/test/runtime/samples/html-entities-inside-component-slot/_config.js b/packages/svelte/test/runtime/samples/html-entities-inside-component-slot/_config.js similarity index 100% rename from test/runtime/samples/html-entities-inside-component-slot/_config.js rename to packages/svelte/test/runtime/samples/html-entities-inside-component-slot/_config.js diff --git a/test/runtime/samples/html-entities-inside-component-slot/main.svelte b/packages/svelte/test/runtime/samples/html-entities-inside-component-slot/main.svelte similarity index 100% rename from test/runtime/samples/html-entities-inside-component-slot/main.svelte rename to packages/svelte/test/runtime/samples/html-entities-inside-component-slot/main.svelte diff --git a/test/runtime/samples/html-entities-inside-elements/_config.js b/packages/svelte/test/runtime/samples/html-entities-inside-elements/_config.js similarity index 100% rename from test/runtime/samples/html-entities-inside-elements/_config.js rename to packages/svelte/test/runtime/samples/html-entities-inside-elements/_config.js diff --git a/test/runtime/samples/html-entities-inside-elements/main.svelte b/packages/svelte/test/runtime/samples/html-entities-inside-elements/main.svelte similarity index 100% rename from test/runtime/samples/html-entities-inside-elements/main.svelte rename to packages/svelte/test/runtime/samples/html-entities-inside-elements/main.svelte diff --git a/test/runtime/samples/html-entities/_config.js b/packages/svelte/test/runtime/samples/html-entities/_config.js similarity index 100% rename from test/runtime/samples/html-entities/_config.js rename to packages/svelte/test/runtime/samples/html-entities/_config.js diff --git a/test/runtime/samples/html-entities/main.svelte b/packages/svelte/test/runtime/samples/html-entities/main.svelte similarity index 100% rename from test/runtime/samples/html-entities/main.svelte rename to packages/svelte/test/runtime/samples/html-entities/main.svelte diff --git a/test/runtime/samples/html-non-entities-inside-elements/_config.js b/packages/svelte/test/runtime/samples/html-non-entities-inside-elements/_config.js similarity index 100% rename from test/runtime/samples/html-non-entities-inside-elements/_config.js rename to packages/svelte/test/runtime/samples/html-non-entities-inside-elements/_config.js diff --git a/test/runtime/samples/html-non-entities-inside-elements/main.svelte b/packages/svelte/test/runtime/samples/html-non-entities-inside-elements/main.svelte similarity index 100% rename from test/runtime/samples/html-non-entities-inside-elements/main.svelte rename to packages/svelte/test/runtime/samples/html-non-entities-inside-elements/main.svelte diff --git a/test/runtime/samples/if-block-component-store-function-conditionals/Widget.svelte b/packages/svelte/test/runtime/samples/if-block-component-store-function-conditionals/Widget.svelte similarity index 100% rename from test/runtime/samples/if-block-component-store-function-conditionals/Widget.svelte rename to packages/svelte/test/runtime/samples/if-block-component-store-function-conditionals/Widget.svelte diff --git a/test/runtime/samples/if-block-component-store-function-conditionals/_config.js b/packages/svelte/test/runtime/samples/if-block-component-store-function-conditionals/_config.js similarity index 100% rename from test/runtime/samples/if-block-component-store-function-conditionals/_config.js rename to packages/svelte/test/runtime/samples/if-block-component-store-function-conditionals/_config.js diff --git a/test/runtime/samples/if-block-component-store-function-conditionals/main.svelte b/packages/svelte/test/runtime/samples/if-block-component-store-function-conditionals/main.svelte similarity index 100% rename from test/runtime/samples/if-block-component-store-function-conditionals/main.svelte rename to packages/svelte/test/runtime/samples/if-block-component-store-function-conditionals/main.svelte diff --git a/test/runtime/samples/if-block-component-without-outro/Widget.svelte b/packages/svelte/test/runtime/samples/if-block-component-without-outro/Widget.svelte similarity index 100% rename from test/runtime/samples/if-block-component-without-outro/Widget.svelte rename to packages/svelte/test/runtime/samples/if-block-component-without-outro/Widget.svelte diff --git a/test/runtime/samples/if-block-component-without-outro/_config.js b/packages/svelte/test/runtime/samples/if-block-component-without-outro/_config.js similarity index 100% rename from test/runtime/samples/if-block-component-without-outro/_config.js rename to packages/svelte/test/runtime/samples/if-block-component-without-outro/_config.js diff --git a/test/runtime/samples/if-block-component-without-outro/main.svelte b/packages/svelte/test/runtime/samples/if-block-component-without-outro/main.svelte similarity index 100% rename from test/runtime/samples/if-block-component-without-outro/main.svelte rename to packages/svelte/test/runtime/samples/if-block-component-without-outro/main.svelte diff --git a/test/runtime/samples/if-block-compound-outro-no-dependencies/_config.js b/packages/svelte/test/runtime/samples/if-block-compound-outro-no-dependencies/_config.js similarity index 100% rename from test/runtime/samples/if-block-compound-outro-no-dependencies/_config.js rename to packages/svelte/test/runtime/samples/if-block-compound-outro-no-dependencies/_config.js diff --git a/test/runtime/samples/if-block-compound-outro-no-dependencies/main.svelte b/packages/svelte/test/runtime/samples/if-block-compound-outro-no-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/if-block-compound-outro-no-dependencies/main.svelte rename to packages/svelte/test/runtime/samples/if-block-compound-outro-no-dependencies/main.svelte diff --git a/test/runtime/samples/if-block-conservative-update/_config.js b/packages/svelte/test/runtime/samples/if-block-conservative-update/_config.js similarity index 100% rename from test/runtime/samples/if-block-conservative-update/_config.js rename to packages/svelte/test/runtime/samples/if-block-conservative-update/_config.js diff --git a/test/runtime/samples/if-block-conservative-update/main.svelte b/packages/svelte/test/runtime/samples/if-block-conservative-update/main.svelte similarity index 100% rename from test/runtime/samples/if-block-conservative-update/main.svelte rename to packages/svelte/test/runtime/samples/if-block-conservative-update/main.svelte diff --git a/test/runtime/samples/if-block-else-conservative-update/_config.js b/packages/svelte/test/runtime/samples/if-block-else-conservative-update/_config.js similarity index 100% rename from test/runtime/samples/if-block-else-conservative-update/_config.js rename to packages/svelte/test/runtime/samples/if-block-else-conservative-update/_config.js diff --git a/test/runtime/samples/if-block-else-conservative-update/main.svelte b/packages/svelte/test/runtime/samples/if-block-else-conservative-update/main.svelte similarity index 100% rename from test/runtime/samples/if-block-else-conservative-update/main.svelte rename to packages/svelte/test/runtime/samples/if-block-else-conservative-update/main.svelte diff --git a/test/runtime/samples/if-block-else-in-each/_config.js b/packages/svelte/test/runtime/samples/if-block-else-in-each/_config.js similarity index 100% rename from test/runtime/samples/if-block-else-in-each/_config.js rename to packages/svelte/test/runtime/samples/if-block-else-in-each/_config.js diff --git a/test/runtime/samples/if-block-else-in-each/main.svelte b/packages/svelte/test/runtime/samples/if-block-else-in-each/main.svelte similarity index 100% rename from test/runtime/samples/if-block-else-in-each/main.svelte rename to packages/svelte/test/runtime/samples/if-block-else-in-each/main.svelte diff --git a/test/runtime/samples/if-block-else-partial-outro/Foo.svelte b/packages/svelte/test/runtime/samples/if-block-else-partial-outro/Foo.svelte similarity index 100% rename from test/runtime/samples/if-block-else-partial-outro/Foo.svelte rename to packages/svelte/test/runtime/samples/if-block-else-partial-outro/Foo.svelte diff --git a/test/runtime/samples/if-block-else-partial-outro/_config.js b/packages/svelte/test/runtime/samples/if-block-else-partial-outro/_config.js similarity index 100% rename from test/runtime/samples/if-block-else-partial-outro/_config.js rename to packages/svelte/test/runtime/samples/if-block-else-partial-outro/_config.js diff --git a/test/runtime/samples/if-block-else-partial-outro/main.svelte b/packages/svelte/test/runtime/samples/if-block-else-partial-outro/main.svelte similarity index 100% rename from test/runtime/samples/if-block-else-partial-outro/main.svelte rename to packages/svelte/test/runtime/samples/if-block-else-partial-outro/main.svelte diff --git a/test/runtime/samples/if-block-else-update/_config.js b/packages/svelte/test/runtime/samples/if-block-else-update/_config.js similarity index 100% rename from test/runtime/samples/if-block-else-update/_config.js rename to packages/svelte/test/runtime/samples/if-block-else-update/_config.js diff --git a/test/runtime/samples/if-block-else-update/main.svelte b/packages/svelte/test/runtime/samples/if-block-else-update/main.svelte similarity index 100% rename from test/runtime/samples/if-block-else-update/main.svelte rename to packages/svelte/test/runtime/samples/if-block-else-update/main.svelte diff --git a/test/runtime/samples/if-block-else/_config.js b/packages/svelte/test/runtime/samples/if-block-else/_config.js similarity index 100% rename from test/runtime/samples/if-block-else/_config.js rename to packages/svelte/test/runtime/samples/if-block-else/_config.js diff --git a/test/runtime/samples/if-block-else/main.svelte b/packages/svelte/test/runtime/samples/if-block-else/main.svelte similarity index 100% rename from test/runtime/samples/if-block-else/main.svelte rename to packages/svelte/test/runtime/samples/if-block-else/main.svelte diff --git a/test/runtime/samples/if-block-elseif-no-else/_config.js b/packages/svelte/test/runtime/samples/if-block-elseif-no-else/_config.js similarity index 100% rename from test/runtime/samples/if-block-elseif-no-else/_config.js rename to packages/svelte/test/runtime/samples/if-block-elseif-no-else/_config.js diff --git a/test/runtime/samples/if-block-elseif-no-else/main.svelte b/packages/svelte/test/runtime/samples/if-block-elseif-no-else/main.svelte similarity index 100% rename from test/runtime/samples/if-block-elseif-no-else/main.svelte rename to packages/svelte/test/runtime/samples/if-block-elseif-no-else/main.svelte diff --git a/test/runtime/samples/if-block-elseif-text/_config.js b/packages/svelte/test/runtime/samples/if-block-elseif-text/_config.js similarity index 100% rename from test/runtime/samples/if-block-elseif-text/_config.js rename to packages/svelte/test/runtime/samples/if-block-elseif-text/_config.js diff --git a/test/runtime/samples/if-block-elseif-text/main.svelte b/packages/svelte/test/runtime/samples/if-block-elseif-text/main.svelte similarity index 100% rename from test/runtime/samples/if-block-elseif-text/main.svelte rename to packages/svelte/test/runtime/samples/if-block-elseif-text/main.svelte diff --git a/test/runtime/samples/if-block-elseif/_config.js b/packages/svelte/test/runtime/samples/if-block-elseif/_config.js similarity index 100% rename from test/runtime/samples/if-block-elseif/_config.js rename to packages/svelte/test/runtime/samples/if-block-elseif/_config.js diff --git a/test/runtime/samples/if-block-elseif/main.svelte b/packages/svelte/test/runtime/samples/if-block-elseif/main.svelte similarity index 100% rename from test/runtime/samples/if-block-elseif/main.svelte rename to packages/svelte/test/runtime/samples/if-block-elseif/main.svelte diff --git a/test/runtime/samples/if-block-expression/_config.js b/packages/svelte/test/runtime/samples/if-block-expression/_config.js similarity index 100% rename from test/runtime/samples/if-block-expression/_config.js rename to packages/svelte/test/runtime/samples/if-block-expression/_config.js diff --git a/test/runtime/samples/if-block-expression/main.svelte b/packages/svelte/test/runtime/samples/if-block-expression/main.svelte similarity index 100% rename from test/runtime/samples/if-block-expression/main.svelte rename to packages/svelte/test/runtime/samples/if-block-expression/main.svelte diff --git a/test/runtime/samples/if-block-first/_config.js b/packages/svelte/test/runtime/samples/if-block-first/_config.js similarity index 100% rename from test/runtime/samples/if-block-first/_config.js rename to packages/svelte/test/runtime/samples/if-block-first/_config.js diff --git a/test/runtime/samples/if-block-first/main.svelte b/packages/svelte/test/runtime/samples/if-block-first/main.svelte similarity index 100% rename from test/runtime/samples/if-block-first/main.svelte rename to packages/svelte/test/runtime/samples/if-block-first/main.svelte diff --git a/test/runtime/samples/if-block-no-outro-else-with-outro/Widget.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/runtime/samples/if-block-no-outro-else-with-outro/_config.js similarity index 100% rename from test/runtime/samples/if-block-no-outro-else-with-outro/_config.js rename to packages/svelte/test/runtime/samples/if-block-no-outro-else-with-outro/_config.js diff --git a/test/runtime/samples/if-block-no-outro-else-with-outro/main.svelte b/packages/svelte/test/runtime/samples/if-block-no-outro-else-with-outro/main.svelte similarity index 100% rename from test/runtime/samples/if-block-no-outro-else-with-outro/main.svelte rename to packages/svelte/test/runtime/samples/if-block-no-outro-else-with-outro/main.svelte diff --git a/test/runtime/samples/if-block-or/_config.js b/packages/svelte/test/runtime/samples/if-block-or/_config.js similarity index 100% rename from test/runtime/samples/if-block-or/_config.js rename to packages/svelte/test/runtime/samples/if-block-or/_config.js diff --git a/test/runtime/samples/if-block-or/main.svelte b/packages/svelte/test/runtime/samples/if-block-or/main.svelte similarity index 100% rename from test/runtime/samples/if-block-or/main.svelte rename to packages/svelte/test/runtime/samples/if-block-or/main.svelte diff --git a/test/runtime/samples/if-block-outro-computed-function/Foo.svelte b/packages/svelte/test/runtime/samples/if-block-outro-computed-function/Foo.svelte similarity index 100% rename from test/runtime/samples/if-block-outro-computed-function/Foo.svelte rename to packages/svelte/test/runtime/samples/if-block-outro-computed-function/Foo.svelte diff --git a/test/runtime/samples/if-block-outro-computed-function/_config.js b/packages/svelte/test/runtime/samples/if-block-outro-computed-function/_config.js similarity index 100% rename from test/runtime/samples/if-block-outro-computed-function/_config.js rename to packages/svelte/test/runtime/samples/if-block-outro-computed-function/_config.js diff --git a/test/runtime/samples/if-block-outro-computed-function/main.svelte b/packages/svelte/test/runtime/samples/if-block-outro-computed-function/main.svelte similarity index 100% rename from test/runtime/samples/if-block-outro-computed-function/main.svelte rename to packages/svelte/test/runtime/samples/if-block-outro-computed-function/main.svelte diff --git a/test/runtime/samples/if-block-outro-nested-else/Component.svelte b/packages/svelte/test/runtime/samples/if-block-outro-nested-else/Component.svelte similarity index 100% rename from test/runtime/samples/if-block-outro-nested-else/Component.svelte rename to packages/svelte/test/runtime/samples/if-block-outro-nested-else/Component.svelte diff --git a/test/runtime/samples/if-block-outro-nested-else/_config.js b/packages/svelte/test/runtime/samples/if-block-outro-nested-else/_config.js similarity index 100% rename from test/runtime/samples/if-block-outro-nested-else/_config.js rename to packages/svelte/test/runtime/samples/if-block-outro-nested-else/_config.js diff --git a/test/runtime/samples/if-block-outro-nested-else/main.svelte b/packages/svelte/test/runtime/samples/if-block-outro-nested-else/main.svelte similarity index 100% rename from test/runtime/samples/if-block-outro-nested-else/main.svelte rename to packages/svelte/test/runtime/samples/if-block-outro-nested-else/main.svelte diff --git a/test/runtime/samples/if-block-outro-unique-select-block-type/Component.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/runtime/samples/if-block-outro-unique-select-block-type/_config.js similarity index 100% rename from test/runtime/samples/if-block-outro-unique-select-block-type/_config.js rename to packages/svelte/test/runtime/samples/if-block-outro-unique-select-block-type/_config.js diff --git a/test/runtime/samples/if-block-outro-unique-select-block-type/main.svelte b/packages/svelte/test/runtime/samples/if-block-outro-unique-select-block-type/main.svelte similarity index 100% rename from test/runtime/samples/if-block-outro-unique-select-block-type/main.svelte rename to packages/svelte/test/runtime/samples/if-block-outro-unique-select-block-type/main.svelte diff --git a/test/runtime/samples/if-block-static-with-dynamic-contents/_config.js b/packages/svelte/test/runtime/samples/if-block-static-with-dynamic-contents/_config.js similarity index 100% rename from test/runtime/samples/if-block-static-with-dynamic-contents/_config.js rename to packages/svelte/test/runtime/samples/if-block-static-with-dynamic-contents/_config.js diff --git a/test/runtime/samples/if-block-static-with-dynamic-contents/main.svelte b/packages/svelte/test/runtime/samples/if-block-static-with-dynamic-contents/main.svelte similarity index 100% rename from test/runtime/samples/if-block-static-with-dynamic-contents/main.svelte rename to packages/svelte/test/runtime/samples/if-block-static-with-dynamic-contents/main.svelte diff --git a/test/runtime/samples/if-block-static-with-else-and-outros/EEE.svelte b/packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/EEE.svelte similarity index 100% rename from test/runtime/samples/if-block-static-with-else-and-outros/EEE.svelte rename to packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/EEE.svelte diff --git a/test/runtime/samples/if-block-static-with-else-and-outros/RRR.svelte b/packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/RRR.svelte similarity index 100% rename from test/runtime/samples/if-block-static-with-else-and-outros/RRR.svelte rename to packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/RRR.svelte diff --git a/test/runtime/samples/if-block-static-with-else-and-outros/_config.js b/packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/_config.js similarity index 100% rename from test/runtime/samples/if-block-static-with-else-and-outros/_config.js rename to packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/_config.js diff --git a/test/runtime/samples/if-block-static-with-else-and-outros/main.svelte b/packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/main.svelte similarity index 100% rename from test/runtime/samples/if-block-static-with-else-and-outros/main.svelte rename to packages/svelte/test/runtime/samples/if-block-static-with-else-and-outros/main.svelte diff --git a/test/runtime/samples/if-block-static-with-else/_config.js b/packages/svelte/test/runtime/samples/if-block-static-with-else/_config.js similarity index 100% rename from test/runtime/samples/if-block-static-with-else/_config.js rename to packages/svelte/test/runtime/samples/if-block-static-with-else/_config.js diff --git a/test/runtime/samples/if-block-static-with-else/main.svelte b/packages/svelte/test/runtime/samples/if-block-static-with-else/main.svelte similarity index 100% rename from test/runtime/samples/if-block-static-with-else/main.svelte rename to packages/svelte/test/runtime/samples/if-block-static-with-else/main.svelte diff --git a/test/runtime/samples/if-block-static-with-elseif-else-and-outros/RRR.svelte b/packages/svelte/test/runtime/samples/if-block-static-with-elseif-else-and-outros/RRR.svelte similarity index 100% rename from test/runtime/samples/if-block-static-with-elseif-else-and-outros/RRR.svelte rename to packages/svelte/test/runtime/samples/if-block-static-with-elseif-else-and-outros/RRR.svelte diff --git a/test/runtime/samples/if-block-static-with-elseif-else-and-outros/_config.js b/packages/svelte/test/runtime/samples/if-block-static-with-elseif-else-and-outros/_config.js similarity index 100% rename from test/runtime/samples/if-block-static-with-elseif-else-and-outros/_config.js rename to packages/svelte/test/runtime/samples/if-block-static-with-elseif-else-and-outros/_config.js diff --git a/test/runtime/samples/if-block-static-with-elseif-else-and-outros/main.svelte b/packages/svelte/test/runtime/samples/if-block-static-with-elseif-else-and-outros/main.svelte similarity index 100% rename from test/runtime/samples/if-block-static-with-elseif-else-and-outros/main.svelte rename to packages/svelte/test/runtime/samples/if-block-static-with-elseif-else-and-outros/main.svelte diff --git a/test/runtime/samples/if-block-widget/Widget.svelte b/packages/svelte/test/runtime/samples/if-block-widget/Widget.svelte similarity index 100% rename from test/runtime/samples/if-block-widget/Widget.svelte rename to packages/svelte/test/runtime/samples/if-block-widget/Widget.svelte diff --git a/test/runtime/samples/if-block-widget/_config.js b/packages/svelte/test/runtime/samples/if-block-widget/_config.js similarity index 100% rename from test/runtime/samples/if-block-widget/_config.js rename to packages/svelte/test/runtime/samples/if-block-widget/_config.js diff --git a/test/runtime/samples/if-block-widget/main.svelte b/packages/svelte/test/runtime/samples/if-block-widget/main.svelte similarity index 100% rename from test/runtime/samples/if-block-widget/main.svelte rename to packages/svelte/test/runtime/samples/if-block-widget/main.svelte diff --git a/test/runtime/samples/if-block/_config.js b/packages/svelte/test/runtime/samples/if-block/_config.js similarity index 100% rename from test/runtime/samples/if-block/_config.js rename to packages/svelte/test/runtime/samples/if-block/_config.js diff --git a/test/runtime/samples/if-block/main.svelte b/packages/svelte/test/runtime/samples/if-block/main.svelte similarity index 100% rename from test/runtime/samples/if-block/main.svelte rename to packages/svelte/test/runtime/samples/if-block/main.svelte diff --git a/test/runtime/samples/if-in-keyed-each/_config.js b/packages/svelte/test/runtime/samples/if-in-keyed-each/_config.js similarity index 100% rename from test/runtime/samples/if-in-keyed-each/_config.js rename to packages/svelte/test/runtime/samples/if-in-keyed-each/_config.js diff --git a/test/runtime/samples/if-in-keyed-each/main.svelte b/packages/svelte/test/runtime/samples/if-in-keyed-each/main.svelte similarity index 100% rename from test/runtime/samples/if-in-keyed-each/main.svelte rename to packages/svelte/test/runtime/samples/if-in-keyed-each/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-attribute-compound/_config.js b/packages/svelte/test/runtime/samples/ignore-unchanged-attribute-compound/_config.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute-compound/_config.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-attribute-compound/_config.js diff --git a/test/runtime/samples/ignore-unchanged-attribute-compound/counter.js b/packages/svelte/test/runtime/samples/ignore-unchanged-attribute-compound/counter.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute-compound/counter.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-attribute-compound/counter.js diff --git a/test/runtime/samples/ignore-unchanged-attribute-compound/main.svelte b/packages/svelte/test/runtime/samples/ignore-unchanged-attribute-compound/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute-compound/main.svelte rename to packages/svelte/test/runtime/samples/ignore-unchanged-attribute-compound/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-attribute/_config.js b/packages/svelte/test/runtime/samples/ignore-unchanged-attribute/_config.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute/_config.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-attribute/_config.js diff --git a/test/runtime/samples/ignore-unchanged-attribute/counter.js b/packages/svelte/test/runtime/samples/ignore-unchanged-attribute/counter.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute/counter.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-attribute/counter.js diff --git a/test/runtime/samples/ignore-unchanged-attribute/main.svelte b/packages/svelte/test/runtime/samples/ignore-unchanged-attribute/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-attribute/main.svelte rename to packages/svelte/test/runtime/samples/ignore-unchanged-attribute/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-raw/_config.js b/packages/svelte/test/runtime/samples/ignore-unchanged-raw/_config.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-raw/_config.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-raw/_config.js diff --git a/test/runtime/samples/ignore-unchanged-raw/counter.js b/packages/svelte/test/runtime/samples/ignore-unchanged-raw/counter.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-raw/counter.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-raw/counter.js diff --git a/test/runtime/samples/ignore-unchanged-raw/main.svelte b/packages/svelte/test/runtime/samples/ignore-unchanged-raw/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-raw/main.svelte rename to packages/svelte/test/runtime/samples/ignore-unchanged-raw/main.svelte diff --git a/test/runtime/samples/ignore-unchanged-tag/_config.js b/packages/svelte/test/runtime/samples/ignore-unchanged-tag/_config.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-tag/_config.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-tag/_config.js diff --git a/test/runtime/samples/ignore-unchanged-tag/counter.js b/packages/svelte/test/runtime/samples/ignore-unchanged-tag/counter.js similarity index 100% rename from test/runtime/samples/ignore-unchanged-tag/counter.js rename to packages/svelte/test/runtime/samples/ignore-unchanged-tag/counter.js diff --git a/test/runtime/samples/ignore-unchanged-tag/main.svelte b/packages/svelte/test/runtime/samples/ignore-unchanged-tag/main.svelte similarity index 100% rename from test/runtime/samples/ignore-unchanged-tag/main.svelte rename to packages/svelte/test/runtime/samples/ignore-unchanged-tag/main.svelte diff --git a/test/runtime/samples/immutable-nested/Nested.svelte b/packages/svelte/test/runtime/samples/immutable-nested/Nested.svelte similarity index 100% rename from test/runtime/samples/immutable-nested/Nested.svelte rename to packages/svelte/test/runtime/samples/immutable-nested/Nested.svelte diff --git a/test/runtime/samples/immutable-nested/_config.js b/packages/svelte/test/runtime/samples/immutable-nested/_config.js similarity index 100% rename from test/runtime/samples/immutable-nested/_config.js rename to packages/svelte/test/runtime/samples/immutable-nested/_config.js diff --git a/test/runtime/samples/immutable-nested/main.svelte b/packages/svelte/test/runtime/samples/immutable-nested/main.svelte similarity index 100% rename from test/runtime/samples/immutable-nested/main.svelte rename to packages/svelte/test/runtime/samples/immutable-nested/main.svelte diff --git a/test/runtime/samples/immutable-option/_config.js b/packages/svelte/test/runtime/samples/immutable-option/_config.js similarity index 100% rename from test/runtime/samples/immutable-option/_config.js rename to packages/svelte/test/runtime/samples/immutable-option/_config.js diff --git a/test/runtime/samples/immutable-option/main.svelte b/packages/svelte/test/runtime/samples/immutable-option/main.svelte similarity index 100% rename from test/runtime/samples/immutable-option/main.svelte rename to packages/svelte/test/runtime/samples/immutable-option/main.svelte diff --git a/test/runtime/samples/immutable-svelte-meta-false/_config.js b/packages/svelte/test/runtime/samples/immutable-svelte-meta-false/_config.js similarity index 100% rename from test/runtime/samples/immutable-svelte-meta-false/_config.js rename to packages/svelte/test/runtime/samples/immutable-svelte-meta-false/_config.js diff --git a/test/runtime/samples/immutable-svelte-meta-false/main.svelte b/packages/svelte/test/runtime/samples/immutable-svelte-meta-false/main.svelte similarity index 100% rename from test/runtime/samples/immutable-svelte-meta-false/main.svelte rename to packages/svelte/test/runtime/samples/immutable-svelte-meta-false/main.svelte diff --git a/test/runtime/samples/immutable-svelte-meta/_config.js b/packages/svelte/test/runtime/samples/immutable-svelte-meta/_config.js similarity index 100% rename from test/runtime/samples/immutable-svelte-meta/_config.js rename to packages/svelte/test/runtime/samples/immutable-svelte-meta/_config.js diff --git a/test/runtime/samples/immutable-svelte-meta/main.svelte b/packages/svelte/test/runtime/samples/immutable-svelte-meta/main.svelte similarity index 100% rename from test/runtime/samples/immutable-svelte-meta/main.svelte rename to packages/svelte/test/runtime/samples/immutable-svelte-meta/main.svelte diff --git a/test/runtime/samples/imported-renamed-components/ComponentOne.svelte b/packages/svelte/test/runtime/samples/imported-renamed-components/ComponentOne.svelte similarity index 100% rename from test/runtime/samples/imported-renamed-components/ComponentOne.svelte rename to packages/svelte/test/runtime/samples/imported-renamed-components/ComponentOne.svelte diff --git a/test/runtime/samples/imported-renamed-components/ComponentTwo.svelte b/packages/svelte/test/runtime/samples/imported-renamed-components/ComponentTwo.svelte similarity index 100% rename from test/runtime/samples/imported-renamed-components/ComponentTwo.svelte rename to packages/svelte/test/runtime/samples/imported-renamed-components/ComponentTwo.svelte diff --git a/test/runtime/samples/imported-renamed-components/_config.js b/packages/svelte/test/runtime/samples/imported-renamed-components/_config.js similarity index 100% rename from test/runtime/samples/imported-renamed-components/_config.js rename to packages/svelte/test/runtime/samples/imported-renamed-components/_config.js diff --git a/test/runtime/samples/imported-renamed-components/main.svelte b/packages/svelte/test/runtime/samples/imported-renamed-components/main.svelte similarity index 100% rename from test/runtime/samples/imported-renamed-components/main.svelte rename to packages/svelte/test/runtime/samples/imported-renamed-components/main.svelte diff --git a/test/runtime/samples/initial-state-assign/_config.js b/packages/svelte/test/runtime/samples/initial-state-assign/_config.js similarity index 100% rename from test/runtime/samples/initial-state-assign/_config.js rename to packages/svelte/test/runtime/samples/initial-state-assign/_config.js diff --git a/test/runtime/samples/initial-state-assign/main.svelte b/packages/svelte/test/runtime/samples/initial-state-assign/main.svelte similarity index 100% rename from test/runtime/samples/initial-state-assign/main.svelte rename to packages/svelte/test/runtime/samples/initial-state-assign/main.svelte diff --git a/test/runtime/samples/inline-expressions/_config.js b/packages/svelte/test/runtime/samples/inline-expressions/_config.js similarity index 100% rename from test/runtime/samples/inline-expressions/_config.js rename to packages/svelte/test/runtime/samples/inline-expressions/_config.js diff --git a/test/runtime/samples/inline-expressions/main.svelte b/packages/svelte/test/runtime/samples/inline-expressions/main.svelte similarity index 100% rename from test/runtime/samples/inline-expressions/main.svelte rename to packages/svelte/test/runtime/samples/inline-expressions/main.svelte diff --git a/test/runtime/samples/inline-style-become-undefined/_config.js b/packages/svelte/test/runtime/samples/inline-style-become-undefined/_config.js similarity index 100% rename from test/runtime/samples/inline-style-become-undefined/_config.js rename to packages/svelte/test/runtime/samples/inline-style-become-undefined/_config.js diff --git a/test/runtime/samples/inline-style-become-undefined/main.svelte b/packages/svelte/test/runtime/samples/inline-style-become-undefined/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-become-undefined/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-become-undefined/main.svelte diff --git a/test/runtime/samples/inline-style-directive-and-style-attr-merged/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr-merged/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-and-style-attr-merged/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr-merged/_config.js diff --git a/test/runtime/samples/inline-style-directive-and-style-attr-merged/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr-merged/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-and-style-attr-merged/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr-merged/main.svelte diff --git a/test/runtime/samples/inline-style-directive-and-style-attr/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-and-style-attr/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr/_config.js diff --git a/test/runtime/samples/inline-style-directive-and-style-attr/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-and-style-attr/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-and-style-attr/main.svelte diff --git a/test/runtime/samples/inline-style-directive-css-vars/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-css-vars/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-css-vars/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-css-vars/_config.js diff --git a/test/runtime/samples/inline-style-directive-css-vars/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-css-vars/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-css-vars/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-css-vars/main.svelte diff --git a/test/runtime/samples/inline-style-directive-dynamic/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-dynamic/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-dynamic/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-dynamic/_config.js diff --git a/test/runtime/samples/inline-style-directive-dynamic/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-dynamic/main.svelte diff --git a/test/runtime/samples/inline-style-directive-escape/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-escape/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-escape/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-escape/_config.js diff --git a/test/runtime/samples/inline-style-directive-escape/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-escape/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-escape/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-escape/main.svelte diff --git a/test/runtime/samples/inline-style-directive-multiple/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-multiple/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-multiple/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-multiple/_config.js diff --git a/test/runtime/samples/inline-style-directive-multiple/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-multiple/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-multiple/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-multiple/main.svelte diff --git a/test/runtime/samples/inline-style-directive-shorthand/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-shorthand/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-shorthand/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-shorthand/_config.js diff --git a/test/runtime/samples/inline-style-directive-shorthand/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-shorthand/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-shorthand/main.svelte diff --git a/test/runtime/samples/inline-style-directive-spread-and-attr-empty/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr-empty/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-spread-and-attr-empty/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr-empty/_config.js diff --git a/test/runtime/samples/inline-style-directive-spread-and-attr-empty/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr-empty/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-spread-and-attr-empty/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr-empty/main.svelte diff --git a/test/runtime/samples/inline-style-directive-spread-and-attr/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-spread-and-attr/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr/_config.js diff --git a/test/runtime/samples/inline-style-directive-spread-and-attr/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-spread-and-attr/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-spread-and-attr/main.svelte diff --git a/test/runtime/samples/inline-style-directive-spread-dynamic/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-spread-dynamic/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-spread-dynamic/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-spread-dynamic/_config.js diff --git a/test/runtime/samples/inline-style-directive-spread-dynamic/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-spread-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-spread-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-spread-dynamic/main.svelte diff --git a/test/runtime/samples/inline-style-directive-spread/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-spread/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-spread/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-spread/_config.js diff --git a/test/runtime/samples/inline-style-directive-spread/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-spread/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-spread/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-spread/main.svelte diff --git a/test/runtime/samples/inline-style-directive-string-variable-kebab-case/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-string-variable-kebab-case/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-string-variable-kebab-case/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-string-variable-kebab-case/_config.js diff --git a/test/runtime/samples/inline-style-directive-string-variable-kebab-case/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-string-variable-kebab-case/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-string-variable-kebab-case/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-string-variable-kebab-case/main.svelte diff --git a/test/runtime/samples/inline-style-directive-string-variable/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-string-variable/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-string-variable/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-string-variable/_config.js diff --git a/test/runtime/samples/inline-style-directive-string-variable/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-string-variable/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-string-variable/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-string-variable/main.svelte diff --git a/test/runtime/samples/inline-style-directive-string/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive-string/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive-string/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive-string/_config.js diff --git a/test/runtime/samples/inline-style-directive-string/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive-string/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive-string/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive-string/main.svelte diff --git a/test/runtime/samples/inline-style-directive/_config.js b/packages/svelte/test/runtime/samples/inline-style-directive/_config.js similarity index 100% rename from test/runtime/samples/inline-style-directive/_config.js rename to packages/svelte/test/runtime/samples/inline-style-directive/_config.js diff --git a/test/runtime/samples/inline-style-directive/main.svelte b/packages/svelte/test/runtime/samples/inline-style-directive/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-directive/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-directive/main.svelte diff --git a/test/runtime/samples/inline-style-important/_config.js b/packages/svelte/test/runtime/samples/inline-style-important/_config.js similarity index 100% rename from test/runtime/samples/inline-style-important/_config.js rename to packages/svelte/test/runtime/samples/inline-style-important/_config.js diff --git a/test/runtime/samples/inline-style-important/main.svelte b/packages/svelte/test/runtime/samples/inline-style-important/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-important/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-important/main.svelte diff --git a/test/runtime/samples/inline-style-optimisation-bailout/_config.js b/packages/svelte/test/runtime/samples/inline-style-optimisation-bailout/_config.js similarity index 100% rename from test/runtime/samples/inline-style-optimisation-bailout/_config.js rename to packages/svelte/test/runtime/samples/inline-style-optimisation-bailout/_config.js diff --git a/test/runtime/samples/inline-style-optimisation-bailout/main.svelte b/packages/svelte/test/runtime/samples/inline-style-optimisation-bailout/main.svelte similarity index 100% rename from test/runtime/samples/inline-style-optimisation-bailout/main.svelte rename to packages/svelte/test/runtime/samples/inline-style-optimisation-bailout/main.svelte diff --git a/test/runtime/samples/inline-style/_config.js b/packages/svelte/test/runtime/samples/inline-style/_config.js similarity index 100% rename from test/runtime/samples/inline-style/_config.js rename to packages/svelte/test/runtime/samples/inline-style/_config.js diff --git a/test/runtime/samples/inline-style/main.svelte b/packages/svelte/test/runtime/samples/inline-style/main.svelte similarity index 100% rename from test/runtime/samples/inline-style/main.svelte rename to packages/svelte/test/runtime/samples/inline-style/main.svelte diff --git a/test/runtime/samples/innerhtml-interpolated-literal/_config.js b/packages/svelte/test/runtime/samples/innerhtml-interpolated-literal/_config.js similarity index 100% rename from test/runtime/samples/innerhtml-interpolated-literal/_config.js rename to packages/svelte/test/runtime/samples/innerhtml-interpolated-literal/_config.js diff --git a/test/runtime/samples/innerhtml-interpolated-literal/main.svelte b/packages/svelte/test/runtime/samples/innerhtml-interpolated-literal/main.svelte similarity index 100% rename from test/runtime/samples/innerhtml-interpolated-literal/main.svelte rename to packages/svelte/test/runtime/samples/innerhtml-interpolated-literal/main.svelte diff --git a/test/runtime/samples/innerhtml-with-comments/_config.js b/packages/svelte/test/runtime/samples/innerhtml-with-comments/_config.js similarity index 100% rename from test/runtime/samples/innerhtml-with-comments/_config.js rename to packages/svelte/test/runtime/samples/innerhtml-with-comments/_config.js diff --git a/test/runtime/samples/innerhtml-with-comments/main.svelte b/packages/svelte/test/runtime/samples/innerhtml-with-comments/main.svelte similarity index 100% rename from test/runtime/samples/innerhtml-with-comments/main.svelte rename to packages/svelte/test/runtime/samples/innerhtml-with-comments/main.svelte diff --git a/test/runtime/samples/input-list/_config.js b/packages/svelte/test/runtime/samples/input-list/_config.js similarity index 100% rename from test/runtime/samples/input-list/_config.js rename to packages/svelte/test/runtime/samples/input-list/_config.js diff --git a/test/runtime/samples/input-list/main.svelte b/packages/svelte/test/runtime/samples/input-list/main.svelte similarity index 100% rename from test/runtime/samples/input-list/main.svelte rename to packages/svelte/test/runtime/samples/input-list/main.svelte diff --git a/test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js b/packages/svelte/test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-auto-subscription-self-assignment/_config.js diff --git a/test/runtime/samples/instrumentation-auto-subscription-self-assignment/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-auto-subscription-self-assignment/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-auto-subscription-self-assignment/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-auto-subscription-self-assignment/main.svelte diff --git a/test/runtime/samples/instrumentation-script-destructuring/_config.js b/packages/svelte/test/runtime/samples/instrumentation-script-destructuring/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-script-destructuring/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-script-destructuring/_config.js diff --git a/test/runtime/samples/instrumentation-script-destructuring/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-script-destructuring/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-script-destructuring/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-script-destructuring/main.svelte diff --git a/test/runtime/samples/instrumentation-script-loop-scope/_config.js b/packages/svelte/test/runtime/samples/instrumentation-script-loop-scope/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-script-loop-scope/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-script-loop-scope/_config.js diff --git a/test/runtime/samples/instrumentation-script-loop-scope/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-script-loop-scope/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-script-loop-scope/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-script-loop-scope/main.svelte diff --git a/test/runtime/samples/instrumentation-script-multiple-assignments/_config.js b/packages/svelte/test/runtime/samples/instrumentation-script-multiple-assignments/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-script-multiple-assignments/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-script-multiple-assignments/_config.js diff --git a/test/runtime/samples/instrumentation-script-multiple-assignments/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-script-multiple-assignments/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-script-multiple-assignments/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-script-multiple-assignments/main.svelte diff --git a/test/runtime/samples/instrumentation-script-update/_config.js b/packages/svelte/test/runtime/samples/instrumentation-script-update/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-script-update/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-script-update/_config.js diff --git a/test/runtime/samples/instrumentation-script-update/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-script-update/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-script-update/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-script-update/main.svelte diff --git a/test/runtime/samples/instrumentation-template-destructuring/_config.js b/packages/svelte/test/runtime/samples/instrumentation-template-destructuring/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-template-destructuring/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-template-destructuring/_config.js diff --git a/test/runtime/samples/instrumentation-template-destructuring/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-template-destructuring/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-template-destructuring/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-template-destructuring/main.svelte diff --git a/test/runtime/samples/instrumentation-template-loop-scope/_config.js b/packages/svelte/test/runtime/samples/instrumentation-template-loop-scope/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-template-loop-scope/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-template-loop-scope/_config.js diff --git a/test/runtime/samples/instrumentation-template-loop-scope/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-template-loop-scope/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-template-loop-scope/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-template-loop-scope/main.svelte diff --git a/test/runtime/samples/instrumentation-template-multiple-assignments/_config.js b/packages/svelte/test/runtime/samples/instrumentation-template-multiple-assignments/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-template-multiple-assignments/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-template-multiple-assignments/_config.js diff --git a/test/runtime/samples/instrumentation-template-multiple-assignments/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-template-multiple-assignments/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-template-multiple-assignments/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-template-multiple-assignments/main.svelte diff --git a/test/runtime/samples/instrumentation-template-update/_config.js b/packages/svelte/test/runtime/samples/instrumentation-template-update/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-template-update/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-template-update/_config.js diff --git a/test/runtime/samples/instrumentation-template-update/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-template-update/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-template-update/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-template-update/main.svelte diff --git a/test/runtime/samples/instrumentation-update-expression/_config.js b/packages/svelte/test/runtime/samples/instrumentation-update-expression/_config.js similarity index 100% rename from test/runtime/samples/instrumentation-update-expression/_config.js rename to packages/svelte/test/runtime/samples/instrumentation-update-expression/_config.js diff --git a/test/runtime/samples/instrumentation-update-expression/main.svelte b/packages/svelte/test/runtime/samples/instrumentation-update-expression/main.svelte similarity index 100% rename from test/runtime/samples/instrumentation-update-expression/main.svelte rename to packages/svelte/test/runtime/samples/instrumentation-update-expression/main.svelte diff --git a/test/runtime/samples/internal-state/Foo.svelte b/packages/svelte/test/runtime/samples/internal-state/Foo.svelte similarity index 100% rename from test/runtime/samples/internal-state/Foo.svelte rename to packages/svelte/test/runtime/samples/internal-state/Foo.svelte diff --git a/test/runtime/samples/internal-state/_config.js b/packages/svelte/test/runtime/samples/internal-state/_config.js similarity index 100% rename from test/runtime/samples/internal-state/_config.js rename to packages/svelte/test/runtime/samples/internal-state/_config.js diff --git a/test/runtime/samples/internal-state/main.svelte b/packages/svelte/test/runtime/samples/internal-state/main.svelte similarity index 100% rename from test/runtime/samples/internal-state/main.svelte rename to packages/svelte/test/runtime/samples/internal-state/main.svelte diff --git a/test/runtime/samples/invalidation-in-if-condition/_config.js b/packages/svelte/test/runtime/samples/invalidation-in-if-condition/_config.js similarity index 100% rename from test/runtime/samples/invalidation-in-if-condition/_config.js rename to packages/svelte/test/runtime/samples/invalidation-in-if-condition/_config.js diff --git a/test/runtime/samples/invalidation-in-if-condition/main.svelte b/packages/svelte/test/runtime/samples/invalidation-in-if-condition/main.svelte similarity index 100% rename from test/runtime/samples/invalidation-in-if-condition/main.svelte rename to packages/svelte/test/runtime/samples/invalidation-in-if-condition/main.svelte diff --git a/test/runtime/samples/isolated-text/_config.js b/packages/svelte/test/runtime/samples/isolated-text/_config.js similarity index 100% rename from test/runtime/samples/isolated-text/_config.js rename to packages/svelte/test/runtime/samples/isolated-text/_config.js diff --git a/test/runtime/samples/isolated-text/main.svelte b/packages/svelte/test/runtime/samples/isolated-text/main.svelte similarity index 100% rename from test/runtime/samples/isolated-text/main.svelte rename to packages/svelte/test/runtime/samples/isolated-text/main.svelte diff --git a/test/runtime/samples/key-block-2/_config.js b/packages/svelte/test/runtime/samples/key-block-2/_config.js similarity index 100% rename from test/runtime/samples/key-block-2/_config.js rename to packages/svelte/test/runtime/samples/key-block-2/_config.js diff --git a/test/runtime/samples/key-block-2/main.svelte b/packages/svelte/test/runtime/samples/key-block-2/main.svelte similarity index 100% rename from test/runtime/samples/key-block-2/main.svelte rename to packages/svelte/test/runtime/samples/key-block-2/main.svelte diff --git a/test/runtime/samples/key-block-3/_config.js b/packages/svelte/test/runtime/samples/key-block-3/_config.js similarity index 100% rename from test/runtime/samples/key-block-3/_config.js rename to packages/svelte/test/runtime/samples/key-block-3/_config.js diff --git a/test/runtime/samples/key-block-3/main.svelte b/packages/svelte/test/runtime/samples/key-block-3/main.svelte similarity index 100% rename from test/runtime/samples/key-block-3/main.svelte rename to packages/svelte/test/runtime/samples/key-block-3/main.svelte diff --git a/test/runtime/samples/key-block-array-immutable/_config.js b/packages/svelte/test/runtime/samples/key-block-array-immutable/_config.js similarity index 100% rename from test/runtime/samples/key-block-array-immutable/_config.js rename to packages/svelte/test/runtime/samples/key-block-array-immutable/_config.js diff --git a/test/runtime/samples/key-block-array-immutable/main.svelte b/packages/svelte/test/runtime/samples/key-block-array-immutable/main.svelte similarity index 100% rename from test/runtime/samples/key-block-array-immutable/main.svelte rename to packages/svelte/test/runtime/samples/key-block-array-immutable/main.svelte diff --git a/test/runtime/samples/key-block-array/_config.js b/packages/svelte/test/runtime/samples/key-block-array/_config.js similarity index 100% rename from test/runtime/samples/key-block-array/_config.js rename to packages/svelte/test/runtime/samples/key-block-array/_config.js diff --git a/test/runtime/samples/key-block-array/main.svelte b/packages/svelte/test/runtime/samples/key-block-array/main.svelte similarity index 100% rename from test/runtime/samples/key-block-array/main.svelte rename to packages/svelte/test/runtime/samples/key-block-array/main.svelte diff --git a/test/runtime/samples/key-block-component-slot/Component1.svelte b/packages/svelte/test/runtime/samples/key-block-component-slot/Component1.svelte similarity index 100% rename from test/runtime/samples/key-block-component-slot/Component1.svelte rename to packages/svelte/test/runtime/samples/key-block-component-slot/Component1.svelte diff --git a/test/runtime/samples/key-block-component-slot/Component2.svelte b/packages/svelte/test/runtime/samples/key-block-component-slot/Component2.svelte similarity index 100% rename from test/runtime/samples/key-block-component-slot/Component2.svelte rename to packages/svelte/test/runtime/samples/key-block-component-slot/Component2.svelte diff --git a/test/runtime/samples/key-block-component-slot/_config.js b/packages/svelte/test/runtime/samples/key-block-component-slot/_config.js similarity index 100% rename from test/runtime/samples/key-block-component-slot/_config.js rename to packages/svelte/test/runtime/samples/key-block-component-slot/_config.js diff --git a/test/runtime/samples/key-block-component-slot/main.svelte b/packages/svelte/test/runtime/samples/key-block-component-slot/main.svelte similarity index 100% rename from test/runtime/samples/key-block-component-slot/main.svelte rename to packages/svelte/test/runtime/samples/key-block-component-slot/main.svelte diff --git a/test/runtime/samples/key-block-expression-2/_config.js b/packages/svelte/test/runtime/samples/key-block-expression-2/_config.js similarity index 100% rename from test/runtime/samples/key-block-expression-2/_config.js rename to packages/svelte/test/runtime/samples/key-block-expression-2/_config.js diff --git a/test/runtime/samples/key-block-expression-2/main.svelte b/packages/svelte/test/runtime/samples/key-block-expression-2/main.svelte similarity index 100% rename from test/runtime/samples/key-block-expression-2/main.svelte rename to packages/svelte/test/runtime/samples/key-block-expression-2/main.svelte diff --git a/test/runtime/samples/key-block-expression/_config.js b/packages/svelte/test/runtime/samples/key-block-expression/_config.js similarity index 100% rename from test/runtime/samples/key-block-expression/_config.js rename to packages/svelte/test/runtime/samples/key-block-expression/_config.js diff --git a/test/runtime/samples/key-block-expression/main.svelte b/packages/svelte/test/runtime/samples/key-block-expression/main.svelte similarity index 100% rename from test/runtime/samples/key-block-expression/main.svelte rename to packages/svelte/test/runtime/samples/key-block-expression/main.svelte diff --git a/test/runtime/samples/key-block-post-hydrate/_config.js b/packages/svelte/test/runtime/samples/key-block-post-hydrate/_config.js similarity index 100% rename from test/runtime/samples/key-block-post-hydrate/_config.js rename to packages/svelte/test/runtime/samples/key-block-post-hydrate/_config.js diff --git a/test/runtime/samples/key-block-post-hydrate/main.svelte b/packages/svelte/test/runtime/samples/key-block-post-hydrate/main.svelte similarity index 100% rename from test/runtime/samples/key-block-post-hydrate/main.svelte rename to packages/svelte/test/runtime/samples/key-block-post-hydrate/main.svelte diff --git a/test/runtime/samples/key-block-static-if/_config.js b/packages/svelte/test/runtime/samples/key-block-static-if/_config.js similarity index 100% rename from test/runtime/samples/key-block-static-if/_config.js rename to packages/svelte/test/runtime/samples/key-block-static-if/_config.js diff --git a/test/runtime/samples/key-block-static-if/main.svelte b/packages/svelte/test/runtime/samples/key-block-static-if/main.svelte similarity index 100% rename from test/runtime/samples/key-block-static-if/main.svelte rename to packages/svelte/test/runtime/samples/key-block-static-if/main.svelte diff --git a/test/runtime/samples/key-block-static/_config.js b/packages/svelte/test/runtime/samples/key-block-static/_config.js similarity index 100% rename from test/runtime/samples/key-block-static/_config.js rename to packages/svelte/test/runtime/samples/key-block-static/_config.js diff --git a/test/runtime/samples/key-block-static/main.svelte b/packages/svelte/test/runtime/samples/key-block-static/main.svelte similarity index 100% rename from test/runtime/samples/key-block-static/main.svelte rename to packages/svelte/test/runtime/samples/key-block-static/main.svelte diff --git a/test/runtime/samples/key-block-transition-local/_config.js b/packages/svelte/test/runtime/samples/key-block-transition-local/_config.js similarity index 100% rename from test/runtime/samples/key-block-transition-local/_config.js rename to packages/svelte/test/runtime/samples/key-block-transition-local/_config.js diff --git a/test/runtime/samples/key-block-transition-local/main.svelte b/packages/svelte/test/runtime/samples/key-block-transition-local/main.svelte similarity index 100% rename from test/runtime/samples/key-block-transition-local/main.svelte rename to packages/svelte/test/runtime/samples/key-block-transition-local/main.svelte diff --git a/test/runtime/samples/key-block-transition/_config.js b/packages/svelte/test/runtime/samples/key-block-transition/_config.js similarity index 100% rename from test/runtime/samples/key-block-transition/_config.js rename to packages/svelte/test/runtime/samples/key-block-transition/_config.js diff --git a/test/runtime/samples/key-block-transition/main.svelte b/packages/svelte/test/runtime/samples/key-block-transition/main.svelte similarity index 100% rename from test/runtime/samples/key-block-transition/main.svelte rename to packages/svelte/test/runtime/samples/key-block-transition/main.svelte diff --git a/test/runtime/samples/key-block/_config.js b/packages/svelte/test/runtime/samples/key-block/_config.js similarity index 100% rename from test/runtime/samples/key-block/_config.js rename to packages/svelte/test/runtime/samples/key-block/_config.js diff --git a/test/runtime/samples/key-block/main.svelte b/packages/svelte/test/runtime/samples/key-block/main.svelte similarity index 100% rename from test/runtime/samples/key-block/main.svelte rename to packages/svelte/test/runtime/samples/key-block/main.svelte diff --git a/test/runtime/samples/keyed-each-dev-unique/_config.js b/packages/svelte/test/runtime/samples/keyed-each-dev-unique/_config.js similarity index 100% rename from test/runtime/samples/keyed-each-dev-unique/_config.js rename to packages/svelte/test/runtime/samples/keyed-each-dev-unique/_config.js diff --git a/test/runtime/samples/keyed-each-dev-unique/main.svelte b/packages/svelte/test/runtime/samples/keyed-each-dev-unique/main.svelte similarity index 100% rename from test/runtime/samples/keyed-each-dev-unique/main.svelte rename to packages/svelte/test/runtime/samples/keyed-each-dev-unique/main.svelte diff --git a/test/runtime/samples/lifecycle-events/_config.js b/packages/svelte/test/runtime/samples/lifecycle-events/_config.js similarity index 100% rename from test/runtime/samples/lifecycle-events/_config.js rename to packages/svelte/test/runtime/samples/lifecycle-events/_config.js diff --git a/test/runtime/samples/lifecycle-events/main.svelte b/packages/svelte/test/runtime/samples/lifecycle-events/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-events/main.svelte rename to packages/svelte/test/runtime/samples/lifecycle-events/main.svelte diff --git a/test/runtime/samples/lifecycle-next-tick/_config.js b/packages/svelte/test/runtime/samples/lifecycle-next-tick/_config.js similarity index 100% rename from test/runtime/samples/lifecycle-next-tick/_config.js rename to packages/svelte/test/runtime/samples/lifecycle-next-tick/_config.js diff --git a/test/runtime/samples/lifecycle-next-tick/main.svelte b/packages/svelte/test/runtime/samples/lifecycle-next-tick/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-next-tick/main.svelte rename to packages/svelte/test/runtime/samples/lifecycle-next-tick/main.svelte diff --git a/test/runtime/samples/lifecycle-onmount-infinite-loop/Child.svelte b/packages/svelte/test/runtime/samples/lifecycle-onmount-infinite-loop/Child.svelte similarity index 100% rename from test/runtime/samples/lifecycle-onmount-infinite-loop/Child.svelte rename to packages/svelte/test/runtime/samples/lifecycle-onmount-infinite-loop/Child.svelte diff --git a/test/runtime/samples/lifecycle-onmount-infinite-loop/_config.js b/packages/svelte/test/runtime/samples/lifecycle-onmount-infinite-loop/_config.js similarity index 100% rename from test/runtime/samples/lifecycle-onmount-infinite-loop/_config.js rename to packages/svelte/test/runtime/samples/lifecycle-onmount-infinite-loop/_config.js diff --git a/test/runtime/samples/lifecycle-onmount-infinite-loop/main.svelte b/packages/svelte/test/runtime/samples/lifecycle-onmount-infinite-loop/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-onmount-infinite-loop/main.svelte rename to packages/svelte/test/runtime/samples/lifecycle-onmount-infinite-loop/main.svelte diff --git a/test/runtime/samples/lifecycle-render-order-for-children/Item.svelte b/packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/Item.svelte similarity index 100% rename from test/runtime/samples/lifecycle-render-order-for-children/Item.svelte rename to packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/Item.svelte diff --git a/test/runtime/samples/lifecycle-render-order-for-children/_config.js b/packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/_config.js similarity index 100% rename from test/runtime/samples/lifecycle-render-order-for-children/_config.js rename to packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/_config.js diff --git a/test/runtime/samples/lifecycle-render-order-for-children/main.svelte b/packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-render-order-for-children/main.svelte rename to packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/main.svelte diff --git a/test/runtime/samples/lifecycle-render-order-for-children/order.js b/packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/order.js similarity index 100% rename from test/runtime/samples/lifecycle-render-order-for-children/order.js rename to packages/svelte/test/runtime/samples/lifecycle-render-order-for-children/order.js diff --git a/test/runtime/samples/lifecycle-render-order/_config.js b/packages/svelte/test/runtime/samples/lifecycle-render-order/_config.js similarity index 100% rename from test/runtime/samples/lifecycle-render-order/_config.js rename to packages/svelte/test/runtime/samples/lifecycle-render-order/_config.js diff --git a/test/runtime/samples/lifecycle-render-order/main.svelte b/packages/svelte/test/runtime/samples/lifecycle-render-order/main.svelte similarity index 100% rename from test/runtime/samples/lifecycle-render-order/main.svelte rename to packages/svelte/test/runtime/samples/lifecycle-render-order/main.svelte diff --git a/test/runtime/samples/lifecycle-render-order/order.js b/packages/svelte/test/runtime/samples/lifecycle-render-order/order.js similarity index 100% rename from test/runtime/samples/lifecycle-render-order/order.js rename to packages/svelte/test/runtime/samples/lifecycle-render-order/order.js diff --git a/test/runtime/samples/loop-protect-async-opt-out/_config.js b/packages/svelte/test/runtime/samples/loop-protect-async-opt-out/_config.js similarity index 100% rename from test/runtime/samples/loop-protect-async-opt-out/_config.js rename to packages/svelte/test/runtime/samples/loop-protect-async-opt-out/_config.js diff --git a/test/runtime/samples/loop-protect-async-opt-out/main.svelte b/packages/svelte/test/runtime/samples/loop-protect-async-opt-out/main.svelte similarity index 100% rename from test/runtime/samples/loop-protect-async-opt-out/main.svelte rename to packages/svelte/test/runtime/samples/loop-protect-async-opt-out/main.svelte diff --git a/test/runtime/samples/loop-protect-generator-opt-out/_config.js b/packages/svelte/test/runtime/samples/loop-protect-generator-opt-out/_config.js similarity index 100% rename from test/runtime/samples/loop-protect-generator-opt-out/_config.js rename to packages/svelte/test/runtime/samples/loop-protect-generator-opt-out/_config.js diff --git a/test/runtime/samples/loop-protect-generator-opt-out/main.svelte b/packages/svelte/test/runtime/samples/loop-protect-generator-opt-out/main.svelte similarity index 100% rename from test/runtime/samples/loop-protect-generator-opt-out/main.svelte rename to packages/svelte/test/runtime/samples/loop-protect-generator-opt-out/main.svelte diff --git a/test/runtime/samples/loop-protect-inner-function/_config.js b/packages/svelte/test/runtime/samples/loop-protect-inner-function/_config.js similarity index 100% rename from test/runtime/samples/loop-protect-inner-function/_config.js rename to packages/svelte/test/runtime/samples/loop-protect-inner-function/_config.js diff --git a/test/runtime/samples/loop-protect-inner-function/main.svelte b/packages/svelte/test/runtime/samples/loop-protect-inner-function/main.svelte similarity index 100% rename from test/runtime/samples/loop-protect-inner-function/main.svelte rename to packages/svelte/test/runtime/samples/loop-protect-inner-function/main.svelte diff --git a/test/runtime/samples/loop-protect/_config.js b/packages/svelte/test/runtime/samples/loop-protect/_config.js similarity index 100% rename from test/runtime/samples/loop-protect/_config.js rename to packages/svelte/test/runtime/samples/loop-protect/_config.js diff --git a/test/runtime/samples/loop-protect/main.svelte b/packages/svelte/test/runtime/samples/loop-protect/main.svelte similarity index 100% rename from test/runtime/samples/loop-protect/main.svelte rename to packages/svelte/test/runtime/samples/loop-protect/main.svelte diff --git a/test/runtime/samples/mixed-let-export/_config.js b/packages/svelte/test/runtime/samples/mixed-let-export/_config.js similarity index 100% rename from test/runtime/samples/mixed-let-export/_config.js rename to packages/svelte/test/runtime/samples/mixed-let-export/_config.js diff --git a/test/runtime/samples/mixed-let-export/main.svelte b/packages/svelte/test/runtime/samples/mixed-let-export/main.svelte similarity index 100% rename from test/runtime/samples/mixed-let-export/main.svelte rename to packages/svelte/test/runtime/samples/mixed-let-export/main.svelte diff --git a/test/runtime/samples/module-context-bind/_config.js b/packages/svelte/test/runtime/samples/module-context-bind/_config.js similarity index 100% rename from test/runtime/samples/module-context-bind/_config.js rename to packages/svelte/test/runtime/samples/module-context-bind/_config.js diff --git a/test/runtime/samples/module-context-bind/main.svelte b/packages/svelte/test/runtime/samples/module-context-bind/main.svelte similarity index 100% rename from test/runtime/samples/module-context-bind/main.svelte rename to packages/svelte/test/runtime/samples/module-context-bind/main.svelte diff --git a/test/runtime/samples/module-context-export/Foo.svelte b/packages/svelte/test/runtime/samples/module-context-export/Foo.svelte similarity index 100% rename from test/runtime/samples/module-context-export/Foo.svelte rename to packages/svelte/test/runtime/samples/module-context-export/Foo.svelte diff --git a/test/runtime/samples/module-context-export/_config.js b/packages/svelte/test/runtime/samples/module-context-export/_config.js similarity index 100% rename from test/runtime/samples/module-context-export/_config.js rename to packages/svelte/test/runtime/samples/module-context-export/_config.js diff --git a/test/runtime/samples/module-context-export/main.svelte b/packages/svelte/test/runtime/samples/module-context-export/main.svelte similarity index 100% rename from test/runtime/samples/module-context-export/main.svelte rename to packages/svelte/test/runtime/samples/module-context-export/main.svelte diff --git a/test/runtime/samples/module-context-with-instance-script/_config.js b/packages/svelte/test/runtime/samples/module-context-with-instance-script/_config.js similarity index 100% rename from test/runtime/samples/module-context-with-instance-script/_config.js rename to packages/svelte/test/runtime/samples/module-context-with-instance-script/_config.js diff --git a/test/runtime/samples/module-context-with-instance-script/main.svelte b/packages/svelte/test/runtime/samples/module-context-with-instance-script/main.svelte similarity index 100% rename from test/runtime/samples/module-context-with-instance-script/main.svelte rename to packages/svelte/test/runtime/samples/module-context-with-instance-script/main.svelte diff --git a/test/runtime/samples/module-context/_config.js b/packages/svelte/test/runtime/samples/module-context/_config.js similarity index 100% rename from test/runtime/samples/module-context/_config.js rename to packages/svelte/test/runtime/samples/module-context/_config.js diff --git a/test/runtime/samples/module-context/main.svelte b/packages/svelte/test/runtime/samples/module-context/main.svelte similarity index 100% rename from test/runtime/samples/module-context/main.svelte rename to packages/svelte/test/runtime/samples/module-context/main.svelte diff --git a/test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js b/packages/svelte/test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js similarity index 100% rename from test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js rename to packages/svelte/test/runtime/samples/mutation-tracking-across-sibling-scopes/_config.js diff --git a/test/runtime/samples/mutation-tracking-across-sibling-scopes/main.svelte b/packages/svelte/test/runtime/samples/mutation-tracking-across-sibling-scopes/main.svelte similarity index 100% rename from test/runtime/samples/mutation-tracking-across-sibling-scopes/main.svelte rename to packages/svelte/test/runtime/samples/mutation-tracking-across-sibling-scopes/main.svelte diff --git a/test/runtime/samples/names-deconflicted-nested/_config.js b/packages/svelte/test/runtime/samples/names-deconflicted-nested/_config.js similarity index 100% rename from test/runtime/samples/names-deconflicted-nested/_config.js rename to packages/svelte/test/runtime/samples/names-deconflicted-nested/_config.js diff --git a/test/runtime/samples/names-deconflicted-nested/main.svelte b/packages/svelte/test/runtime/samples/names-deconflicted-nested/main.svelte similarity index 100% rename from test/runtime/samples/names-deconflicted-nested/main.svelte rename to packages/svelte/test/runtime/samples/names-deconflicted-nested/main.svelte diff --git a/test/runtime/samples/names-deconflicted/Widget.svelte b/packages/svelte/test/runtime/samples/names-deconflicted/Widget.svelte similarity index 100% rename from test/runtime/samples/names-deconflicted/Widget.svelte rename to packages/svelte/test/runtime/samples/names-deconflicted/Widget.svelte diff --git a/test/runtime/samples/names-deconflicted/_config.js b/packages/svelte/test/runtime/samples/names-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/names-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/names-deconflicted/_config.js diff --git a/test/runtime/samples/names-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/names-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/names-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/names-deconflicted/main.svelte diff --git a/test/runtime/samples/nbsp-div/_config.js b/packages/svelte/test/runtime/samples/nbsp-div/_config.js similarity index 100% rename from test/runtime/samples/nbsp-div/_config.js rename to packages/svelte/test/runtime/samples/nbsp-div/_config.js diff --git a/test/runtime/samples/nbsp-div/main.svelte b/packages/svelte/test/runtime/samples/nbsp-div/main.svelte similarity index 100% rename from test/runtime/samples/nbsp-div/main.svelte rename to packages/svelte/test/runtime/samples/nbsp-div/main.svelte diff --git a/test/runtime/samples/nbsp/_config.js b/packages/svelte/test/runtime/samples/nbsp/_config.js similarity index 100% rename from test/runtime/samples/nbsp/_config.js rename to packages/svelte/test/runtime/samples/nbsp/_config.js diff --git a/test/runtime/samples/nbsp/main.svelte b/packages/svelte/test/runtime/samples/nbsp/main.svelte similarity index 100% rename from test/runtime/samples/nbsp/main.svelte rename to packages/svelte/test/runtime/samples/nbsp/main.svelte diff --git a/test/runtime/samples/nested-transition-detach-each/_config.js b/packages/svelte/test/runtime/samples/nested-transition-detach-each/_config.js similarity index 100% rename from test/runtime/samples/nested-transition-detach-each/_config.js rename to packages/svelte/test/runtime/samples/nested-transition-detach-each/_config.js diff --git a/test/runtime/samples/nested-transition-detach-each/main.svelte b/packages/svelte/test/runtime/samples/nested-transition-detach-each/main.svelte similarity index 100% rename from test/runtime/samples/nested-transition-detach-each/main.svelte rename to packages/svelte/test/runtime/samples/nested-transition-detach-each/main.svelte diff --git a/test/runtime/samples/nested-transition-detach-if-false/Folder.svelte b/packages/svelte/test/runtime/samples/nested-transition-detach-if-false/Folder.svelte similarity index 100% rename from test/runtime/samples/nested-transition-detach-if-false/Folder.svelte rename to packages/svelte/test/runtime/samples/nested-transition-detach-if-false/Folder.svelte diff --git a/test/runtime/samples/nested-transition-detach-if-false/_config.js b/packages/svelte/test/runtime/samples/nested-transition-detach-if-false/_config.js similarity index 100% rename from test/runtime/samples/nested-transition-detach-if-false/_config.js rename to packages/svelte/test/runtime/samples/nested-transition-detach-if-false/_config.js diff --git a/test/runtime/samples/nested-transition-detach-if-false/main.svelte b/packages/svelte/test/runtime/samples/nested-transition-detach-if-false/main.svelte similarity index 100% rename from test/runtime/samples/nested-transition-detach-if-false/main.svelte rename to packages/svelte/test/runtime/samples/nested-transition-detach-if-false/main.svelte diff --git a/test/runtime/samples/nested-transition-if-block-not-remounted/Span.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/nested-transition-if-block-not-remounted/Span.svelte diff --git a/test/runtime/samples/nested-transition-if-block-not-remounted/_config.js b/packages/svelte/test/runtime/samples/nested-transition-if-block-not-remounted/_config.js similarity index 100% rename from test/runtime/samples/nested-transition-if-block-not-remounted/_config.js rename to packages/svelte/test/runtime/samples/nested-transition-if-block-not-remounted/_config.js diff --git a/test/runtime/samples/nested-transition-if-block-not-remounted/main.svelte b/packages/svelte/test/runtime/samples/nested-transition-if-block-not-remounted/main.svelte similarity index 100% rename from test/runtime/samples/nested-transition-if-block-not-remounted/main.svelte rename to packages/svelte/test/runtime/samples/nested-transition-if-block-not-remounted/main.svelte diff --git a/test/runtime/samples/noscript-removal/_config.js b/packages/svelte/test/runtime/samples/noscript-removal/_config.js similarity index 100% rename from test/runtime/samples/noscript-removal/_config.js rename to packages/svelte/test/runtime/samples/noscript-removal/_config.js diff --git a/test/runtime/samples/noscript-removal/main.svelte b/packages/svelte/test/runtime/samples/noscript-removal/main.svelte similarity index 100% rename from test/runtime/samples/noscript-removal/main.svelte rename to packages/svelte/test/runtime/samples/noscript-removal/main.svelte diff --git a/test/runtime/samples/observable-auto-subscribe/Nested.svelte b/packages/svelte/test/runtime/samples/observable-auto-subscribe/Nested.svelte similarity index 100% rename from test/runtime/samples/observable-auto-subscribe/Nested.svelte rename to packages/svelte/test/runtime/samples/observable-auto-subscribe/Nested.svelte diff --git a/test/runtime/samples/observable-auto-subscribe/_config.js b/packages/svelte/test/runtime/samples/observable-auto-subscribe/_config.js similarity index 100% rename from test/runtime/samples/observable-auto-subscribe/_config.js rename to packages/svelte/test/runtime/samples/observable-auto-subscribe/_config.js diff --git a/test/runtime/samples/observable-auto-subscribe/main.svelte b/packages/svelte/test/runtime/samples/observable-auto-subscribe/main.svelte similarity index 100% rename from test/runtime/samples/observable-auto-subscribe/main.svelte rename to packages/svelte/test/runtime/samples/observable-auto-subscribe/main.svelte diff --git a/test/runtime/samples/ondestroy-before-cleanup/Top.svelte b/packages/svelte/test/runtime/samples/ondestroy-before-cleanup/Top.svelte similarity index 100% rename from test/runtime/samples/ondestroy-before-cleanup/Top.svelte rename to packages/svelte/test/runtime/samples/ondestroy-before-cleanup/Top.svelte diff --git a/test/runtime/samples/ondestroy-before-cleanup/_config.js b/packages/svelte/test/runtime/samples/ondestroy-before-cleanup/_config.js similarity index 100% rename from test/runtime/samples/ondestroy-before-cleanup/_config.js rename to packages/svelte/test/runtime/samples/ondestroy-before-cleanup/_config.js diff --git a/test/runtime/samples/ondestroy-before-cleanup/container.js b/packages/svelte/test/runtime/samples/ondestroy-before-cleanup/container.js similarity index 100% rename from test/runtime/samples/ondestroy-before-cleanup/container.js rename to packages/svelte/test/runtime/samples/ondestroy-before-cleanup/container.js diff --git a/test/runtime/samples/ondestroy-before-cleanup/main.svelte b/packages/svelte/test/runtime/samples/ondestroy-before-cleanup/main.svelte similarity index 100% rename from test/runtime/samples/ondestroy-before-cleanup/main.svelte rename to packages/svelte/test/runtime/samples/ondestroy-before-cleanup/main.svelte diff --git a/test/runtime/samples/ondestroy-deep/A.svelte b/packages/svelte/test/runtime/samples/ondestroy-deep/A.svelte similarity index 100% rename from test/runtime/samples/ondestroy-deep/A.svelte rename to packages/svelte/test/runtime/samples/ondestroy-deep/A.svelte diff --git a/test/runtime/samples/ondestroy-deep/B.svelte b/packages/svelte/test/runtime/samples/ondestroy-deep/B.svelte similarity index 100% rename from test/runtime/samples/ondestroy-deep/B.svelte rename to packages/svelte/test/runtime/samples/ondestroy-deep/B.svelte diff --git a/test/runtime/samples/ondestroy-deep/C.svelte b/packages/svelte/test/runtime/samples/ondestroy-deep/C.svelte similarity index 100% rename from test/runtime/samples/ondestroy-deep/C.svelte rename to packages/svelte/test/runtime/samples/ondestroy-deep/C.svelte diff --git a/test/runtime/samples/ondestroy-deep/_config.js b/packages/svelte/test/runtime/samples/ondestroy-deep/_config.js similarity index 100% rename from test/runtime/samples/ondestroy-deep/_config.js rename to packages/svelte/test/runtime/samples/ondestroy-deep/_config.js diff --git a/test/runtime/samples/ondestroy-deep/destroyed.js b/packages/svelte/test/runtime/samples/ondestroy-deep/destroyed.js similarity index 100% rename from test/runtime/samples/ondestroy-deep/destroyed.js rename to packages/svelte/test/runtime/samples/ondestroy-deep/destroyed.js diff --git a/test/runtime/samples/ondestroy-deep/main.svelte b/packages/svelte/test/runtime/samples/ondestroy-deep/main.svelte similarity index 100% rename from test/runtime/samples/ondestroy-deep/main.svelte rename to packages/svelte/test/runtime/samples/ondestroy-deep/main.svelte diff --git a/test/runtime/samples/onmount-async/_config.js b/packages/svelte/test/runtime/samples/onmount-async/_config.js similarity index 100% rename from test/runtime/samples/onmount-async/_config.js rename to packages/svelte/test/runtime/samples/onmount-async/_config.js diff --git a/test/runtime/samples/onmount-async/main.svelte b/packages/svelte/test/runtime/samples/onmount-async/main.svelte similarity index 100% rename from test/runtime/samples/onmount-async/main.svelte rename to packages/svelte/test/runtime/samples/onmount-async/main.svelte diff --git a/test/runtime/samples/onmount-fires-when-ready-nested/ParentWidget.svelte b/packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/ParentWidget.svelte similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready-nested/ParentWidget.svelte rename to packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/ParentWidget.svelte diff --git a/test/runtime/samples/onmount-fires-when-ready-nested/Widget.svelte b/packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/Widget.svelte similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready-nested/Widget.svelte rename to packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/Widget.svelte diff --git a/test/runtime/samples/onmount-fires-when-ready-nested/_config.js b/packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/_config.js similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready-nested/_config.js rename to packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/_config.js diff --git a/test/runtime/samples/onmount-fires-when-ready-nested/main.svelte b/packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/main.svelte similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready-nested/main.svelte rename to packages/svelte/test/runtime/samples/onmount-fires-when-ready-nested/main.svelte diff --git a/test/runtime/samples/onmount-fires-when-ready/Widget.svelte b/packages/svelte/test/runtime/samples/onmount-fires-when-ready/Widget.svelte similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready/Widget.svelte rename to packages/svelte/test/runtime/samples/onmount-fires-when-ready/Widget.svelte diff --git a/test/runtime/samples/onmount-fires-when-ready/_config.js b/packages/svelte/test/runtime/samples/onmount-fires-when-ready/_config.js similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready/_config.js rename to packages/svelte/test/runtime/samples/onmount-fires-when-ready/_config.js diff --git a/test/runtime/samples/onmount-fires-when-ready/main.svelte b/packages/svelte/test/runtime/samples/onmount-fires-when-ready/main.svelte similarity index 100% rename from test/runtime/samples/onmount-fires-when-ready/main.svelte rename to packages/svelte/test/runtime/samples/onmount-fires-when-ready/main.svelte diff --git a/test/runtime/samples/onmount-get-current-component/_config.js b/packages/svelte/test/runtime/samples/onmount-get-current-component/_config.js similarity index 100% rename from test/runtime/samples/onmount-get-current-component/_config.js rename to packages/svelte/test/runtime/samples/onmount-get-current-component/_config.js diff --git a/test/runtime/samples/onmount-get-current-component/main.svelte b/packages/svelte/test/runtime/samples/onmount-get-current-component/main.svelte similarity index 100% rename from test/runtime/samples/onmount-get-current-component/main.svelte rename to packages/svelte/test/runtime/samples/onmount-get-current-component/main.svelte diff --git a/test/runtime/samples/onmount-sibling-order/Nested.svelte b/packages/svelte/test/runtime/samples/onmount-sibling-order/Nested.svelte similarity index 100% rename from test/runtime/samples/onmount-sibling-order/Nested.svelte rename to packages/svelte/test/runtime/samples/onmount-sibling-order/Nested.svelte diff --git a/test/runtime/samples/onmount-sibling-order/_config.js b/packages/svelte/test/runtime/samples/onmount-sibling-order/_config.js similarity index 100% rename from test/runtime/samples/onmount-sibling-order/_config.js rename to packages/svelte/test/runtime/samples/onmount-sibling-order/_config.js diff --git a/test/runtime/samples/onmount-sibling-order/main.svelte b/packages/svelte/test/runtime/samples/onmount-sibling-order/main.svelte similarity index 100% rename from test/runtime/samples/onmount-sibling-order/main.svelte rename to packages/svelte/test/runtime/samples/onmount-sibling-order/main.svelte diff --git a/test/runtime/samples/onmount-sibling-order/result.js b/packages/svelte/test/runtime/samples/onmount-sibling-order/result.js similarity index 100% rename from test/runtime/samples/onmount-sibling-order/result.js rename to packages/svelte/test/runtime/samples/onmount-sibling-order/result.js diff --git a/test/runtime/samples/option-without-select/_config.js b/packages/svelte/test/runtime/samples/option-without-select/_config.js similarity index 100% rename from test/runtime/samples/option-without-select/_config.js rename to packages/svelte/test/runtime/samples/option-without-select/_config.js diff --git a/test/runtime/samples/option-without-select/main.svelte b/packages/svelte/test/runtime/samples/option-without-select/main.svelte similarity index 100% rename from test/runtime/samples/option-without-select/main.svelte rename to packages/svelte/test/runtime/samples/option-without-select/main.svelte diff --git a/test/runtime/samples/paren-wrapped-expressions/_config.js b/packages/svelte/test/runtime/samples/paren-wrapped-expressions/_config.js similarity index 100% rename from test/runtime/samples/paren-wrapped-expressions/_config.js rename to packages/svelte/test/runtime/samples/paren-wrapped-expressions/_config.js diff --git a/test/runtime/samples/paren-wrapped-expressions/main.svelte b/packages/svelte/test/runtime/samples/paren-wrapped-expressions/main.svelte similarity index 100% rename from test/runtime/samples/paren-wrapped-expressions/main.svelte rename to packages/svelte/test/runtime/samples/paren-wrapped-expressions/main.svelte diff --git a/test/runtime/samples/pre-tag/.editorconfig b/packages/svelte/test/runtime/samples/pre-tag/.editorconfig similarity index 100% rename from test/runtime/samples/pre-tag/.editorconfig rename to packages/svelte/test/runtime/samples/pre-tag/.editorconfig diff --git a/test/runtime/samples/pre-tag/_config.js b/packages/svelte/test/runtime/samples/pre-tag/_config.js similarity index 100% rename from test/runtime/samples/pre-tag/_config.js rename to packages/svelte/test/runtime/samples/pre-tag/_config.js diff --git a/test/runtime/samples/pre-tag/main.svelte b/packages/svelte/test/runtime/samples/pre-tag/main.svelte similarity index 100% rename from test/runtime/samples/pre-tag/main.svelte rename to packages/svelte/test/runtime/samples/pre-tag/main.svelte diff --git a/test/runtime/samples/preload/_config.js b/packages/svelte/test/runtime/samples/preload/_config.js similarity index 100% rename from test/runtime/samples/preload/_config.js rename to packages/svelte/test/runtime/samples/preload/_config.js diff --git a/test/runtime/samples/preload/main.svelte b/packages/svelte/test/runtime/samples/preload/main.svelte similarity index 100% rename from test/runtime/samples/preload/main.svelte rename to packages/svelte/test/runtime/samples/preload/main.svelte diff --git a/test/runtime/samples/preserve-whitespaces/_config.js b/packages/svelte/test/runtime/samples/preserve-whitespaces/_config.js similarity index 100% rename from test/runtime/samples/preserve-whitespaces/_config.js rename to packages/svelte/test/runtime/samples/preserve-whitespaces/_config.js diff --git a/test/runtime/samples/preserve-whitespaces/main.svelte b/packages/svelte/test/runtime/samples/preserve-whitespaces/main.svelte similarity index 100% rename from test/runtime/samples/preserve-whitespaces/main.svelte rename to packages/svelte/test/runtime/samples/preserve-whitespaces/main.svelte diff --git a/test/runtime/samples/prop-accessors/_config.js b/packages/svelte/test/runtime/samples/prop-accessors/_config.js similarity index 100% rename from test/runtime/samples/prop-accessors/_config.js rename to packages/svelte/test/runtime/samples/prop-accessors/_config.js diff --git a/test/runtime/samples/prop-accessors/main.svelte b/packages/svelte/test/runtime/samples/prop-accessors/main.svelte similarity index 100% rename from test/runtime/samples/prop-accessors/main.svelte rename to packages/svelte/test/runtime/samples/prop-accessors/main.svelte diff --git a/test/runtime/samples/prop-const/Nested.svelte b/packages/svelte/test/runtime/samples/prop-const/Nested.svelte similarity index 100% rename from test/runtime/samples/prop-const/Nested.svelte rename to packages/svelte/test/runtime/samples/prop-const/Nested.svelte diff --git a/test/runtime/samples/prop-const/_config.js b/packages/svelte/test/runtime/samples/prop-const/_config.js similarity index 100% rename from test/runtime/samples/prop-const/_config.js rename to packages/svelte/test/runtime/samples/prop-const/_config.js diff --git a/test/runtime/samples/prop-const/main.svelte b/packages/svelte/test/runtime/samples/prop-const/main.svelte similarity index 100% rename from test/runtime/samples/prop-const/main.svelte rename to packages/svelte/test/runtime/samples/prop-const/main.svelte diff --git a/test/runtime/samples/prop-exports/_config.js b/packages/svelte/test/runtime/samples/prop-exports/_config.js similarity index 100% rename from test/runtime/samples/prop-exports/_config.js rename to packages/svelte/test/runtime/samples/prop-exports/_config.js diff --git a/test/runtime/samples/prop-exports/main.svelte b/packages/svelte/test/runtime/samples/prop-exports/main.svelte similarity index 100% rename from test/runtime/samples/prop-exports/main.svelte rename to packages/svelte/test/runtime/samples/prop-exports/main.svelte diff --git a/test/runtime/samples/prop-not-action/Nested.svelte b/packages/svelte/test/runtime/samples/prop-not-action/Nested.svelte similarity index 100% rename from test/runtime/samples/prop-not-action/Nested.svelte rename to packages/svelte/test/runtime/samples/prop-not-action/Nested.svelte diff --git a/test/runtime/samples/prop-not-action/_config.js b/packages/svelte/test/runtime/samples/prop-not-action/_config.js similarity index 100% rename from test/runtime/samples/prop-not-action/_config.js rename to packages/svelte/test/runtime/samples/prop-not-action/_config.js diff --git a/test/runtime/samples/prop-not-action/main.svelte b/packages/svelte/test/runtime/samples/prop-not-action/main.svelte similarity index 100% rename from test/runtime/samples/prop-not-action/main.svelte rename to packages/svelte/test/runtime/samples/prop-not-action/main.svelte diff --git a/test/runtime/samples/prop-quoted/Nested.svelte b/packages/svelte/test/runtime/samples/prop-quoted/Nested.svelte similarity index 100% rename from test/runtime/samples/prop-quoted/Nested.svelte rename to packages/svelte/test/runtime/samples/prop-quoted/Nested.svelte diff --git a/test/runtime/samples/prop-quoted/_config.js b/packages/svelte/test/runtime/samples/prop-quoted/_config.js similarity index 100% rename from test/runtime/samples/prop-quoted/_config.js rename to packages/svelte/test/runtime/samples/prop-quoted/_config.js diff --git a/test/runtime/samples/prop-quoted/main.svelte b/packages/svelte/test/runtime/samples/prop-quoted/main.svelte similarity index 100% rename from test/runtime/samples/prop-quoted/main.svelte rename to packages/svelte/test/runtime/samples/prop-quoted/main.svelte diff --git a/test/runtime/samples/prop-subscribable/_config.js b/packages/svelte/test/runtime/samples/prop-subscribable/_config.js similarity index 100% rename from test/runtime/samples/prop-subscribable/_config.js rename to packages/svelte/test/runtime/samples/prop-subscribable/_config.js diff --git a/test/runtime/samples/prop-subscribable/main.svelte b/packages/svelte/test/runtime/samples/prop-subscribable/main.svelte similarity index 100% rename from test/runtime/samples/prop-subscribable/main.svelte rename to packages/svelte/test/runtime/samples/prop-subscribable/main.svelte diff --git a/test/runtime/samples/prop-without-semicolon-b/_config.js b/packages/svelte/test/runtime/samples/prop-without-semicolon-b/_config.js similarity index 100% rename from test/runtime/samples/prop-without-semicolon-b/_config.js rename to packages/svelte/test/runtime/samples/prop-without-semicolon-b/_config.js diff --git a/test/runtime/samples/prop-without-semicolon-b/main.svelte b/packages/svelte/test/runtime/samples/prop-without-semicolon-b/main.svelte similarity index 100% rename from test/runtime/samples/prop-without-semicolon-b/main.svelte rename to packages/svelte/test/runtime/samples/prop-without-semicolon-b/main.svelte diff --git a/test/runtime/samples/prop-without-semicolon/_config.js b/packages/svelte/test/runtime/samples/prop-without-semicolon/_config.js similarity index 100% rename from test/runtime/samples/prop-without-semicolon/_config.js rename to packages/svelte/test/runtime/samples/prop-without-semicolon/_config.js diff --git a/test/runtime/samples/prop-without-semicolon/main.svelte b/packages/svelte/test/runtime/samples/prop-without-semicolon/main.svelte similarity index 100% rename from test/runtime/samples/prop-without-semicolon/main.svelte rename to packages/svelte/test/runtime/samples/prop-without-semicolon/main.svelte diff --git a/test/runtime/samples/props-reactive-b/_config.js b/packages/svelte/test/runtime/samples/props-reactive-b/_config.js similarity index 100% rename from test/runtime/samples/props-reactive-b/_config.js rename to packages/svelte/test/runtime/samples/props-reactive-b/_config.js diff --git a/test/runtime/samples/props-reactive-b/main.svelte b/packages/svelte/test/runtime/samples/props-reactive-b/main.svelte similarity index 100% rename from test/runtime/samples/props-reactive-b/main.svelte rename to packages/svelte/test/runtime/samples/props-reactive-b/main.svelte diff --git a/test/runtime/samples/props-reactive-only-with-change/Comp.svelte b/packages/svelte/test/runtime/samples/props-reactive-only-with-change/Comp.svelte similarity index 100% rename from test/runtime/samples/props-reactive-only-with-change/Comp.svelte rename to packages/svelte/test/runtime/samples/props-reactive-only-with-change/Comp.svelte diff --git a/test/runtime/samples/props-reactive-only-with-change/_config.js b/packages/svelte/test/runtime/samples/props-reactive-only-with-change/_config.js similarity index 100% rename from test/runtime/samples/props-reactive-only-with-change/_config.js rename to packages/svelte/test/runtime/samples/props-reactive-only-with-change/_config.js diff --git a/test/runtime/samples/props-reactive-only-with-change/main.svelte b/packages/svelte/test/runtime/samples/props-reactive-only-with-change/main.svelte similarity index 100% rename from test/runtime/samples/props-reactive-only-with-change/main.svelte rename to packages/svelte/test/runtime/samples/props-reactive-only-with-change/main.svelte diff --git a/test/runtime/samples/props-reactive-slot/Comp.svelte b/packages/svelte/test/runtime/samples/props-reactive-slot/Comp.svelte similarity index 100% rename from test/runtime/samples/props-reactive-slot/Comp.svelte rename to packages/svelte/test/runtime/samples/props-reactive-slot/Comp.svelte diff --git a/test/runtime/samples/props-reactive-slot/_config.js b/packages/svelte/test/runtime/samples/props-reactive-slot/_config.js similarity index 100% rename from test/runtime/samples/props-reactive-slot/_config.js rename to packages/svelte/test/runtime/samples/props-reactive-slot/_config.js diff --git a/test/runtime/samples/props-reactive-slot/main.svelte b/packages/svelte/test/runtime/samples/props-reactive-slot/main.svelte similarity index 100% rename from test/runtime/samples/props-reactive-slot/main.svelte rename to packages/svelte/test/runtime/samples/props-reactive-slot/main.svelte diff --git a/test/runtime/samples/props-reactive/Nested.svelte b/packages/svelte/test/runtime/samples/props-reactive/Nested.svelte similarity index 100% rename from test/runtime/samples/props-reactive/Nested.svelte rename to packages/svelte/test/runtime/samples/props-reactive/Nested.svelte diff --git a/test/runtime/samples/props-reactive/_config.js b/packages/svelte/test/runtime/samples/props-reactive/_config.js similarity index 100% rename from test/runtime/samples/props-reactive/_config.js rename to packages/svelte/test/runtime/samples/props-reactive/_config.js diff --git a/test/runtime/samples/props-reactive/main.svelte b/packages/svelte/test/runtime/samples/props-reactive/main.svelte similarity index 100% rename from test/runtime/samples/props-reactive/main.svelte rename to packages/svelte/test/runtime/samples/props-reactive/main.svelte diff --git a/test/runtime/samples/props/RenderProps.svelte b/packages/svelte/test/runtime/samples/props/RenderProps.svelte similarity index 100% rename from test/runtime/samples/props/RenderProps.svelte rename to packages/svelte/test/runtime/samples/props/RenderProps.svelte diff --git a/test/runtime/samples/props/_config.js b/packages/svelte/test/runtime/samples/props/_config.js similarity index 100% rename from test/runtime/samples/props/_config.js rename to packages/svelte/test/runtime/samples/props/_config.js diff --git a/test/runtime/samples/props/main.svelte b/packages/svelte/test/runtime/samples/props/main.svelte similarity index 100% rename from test/runtime/samples/props/main.svelte rename to packages/svelte/test/runtime/samples/props/main.svelte diff --git a/test/runtime/samples/raw-anchor-first-child/_config.js b/packages/svelte/test/runtime/samples/raw-anchor-first-child/_config.js similarity index 100% rename from test/runtime/samples/raw-anchor-first-child/_config.js rename to packages/svelte/test/runtime/samples/raw-anchor-first-child/_config.js diff --git a/test/runtime/samples/raw-anchor-first-child/main.svelte b/packages/svelte/test/runtime/samples/raw-anchor-first-child/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-first-child/main.svelte rename to packages/svelte/test/runtime/samples/raw-anchor-first-child/main.svelte diff --git a/test/runtime/samples/raw-anchor-first-last-child/_config.js b/packages/svelte/test/runtime/samples/raw-anchor-first-last-child/_config.js similarity index 100% rename from test/runtime/samples/raw-anchor-first-last-child/_config.js rename to packages/svelte/test/runtime/samples/raw-anchor-first-last-child/_config.js diff --git a/test/runtime/samples/raw-anchor-first-last-child/main.svelte b/packages/svelte/test/runtime/samples/raw-anchor-first-last-child/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-first-last-child/main.svelte rename to packages/svelte/test/runtime/samples/raw-anchor-first-last-child/main.svelte diff --git a/test/runtime/samples/raw-anchor-last-child/_config.js b/packages/svelte/test/runtime/samples/raw-anchor-last-child/_config.js similarity index 100% rename from test/runtime/samples/raw-anchor-last-child/_config.js rename to packages/svelte/test/runtime/samples/raw-anchor-last-child/_config.js diff --git a/test/runtime/samples/raw-anchor-last-child/main.svelte b/packages/svelte/test/runtime/samples/raw-anchor-last-child/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-last-child/main.svelte rename to packages/svelte/test/runtime/samples/raw-anchor-last-child/main.svelte diff --git a/test/runtime/samples/raw-anchor-next-previous-sibling/_config.js b/packages/svelte/test/runtime/samples/raw-anchor-next-previous-sibling/_config.js similarity index 100% rename from test/runtime/samples/raw-anchor-next-previous-sibling/_config.js rename to packages/svelte/test/runtime/samples/raw-anchor-next-previous-sibling/_config.js diff --git a/test/runtime/samples/raw-anchor-next-previous-sibling/main.svelte b/packages/svelte/test/runtime/samples/raw-anchor-next-previous-sibling/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-next-previous-sibling/main.svelte rename to packages/svelte/test/runtime/samples/raw-anchor-next-previous-sibling/main.svelte diff --git a/test/runtime/samples/raw-anchor-next-sibling/_config.js b/packages/svelte/test/runtime/samples/raw-anchor-next-sibling/_config.js similarity index 100% rename from test/runtime/samples/raw-anchor-next-sibling/_config.js rename to packages/svelte/test/runtime/samples/raw-anchor-next-sibling/_config.js diff --git a/test/runtime/samples/raw-anchor-next-sibling/main.svelte b/packages/svelte/test/runtime/samples/raw-anchor-next-sibling/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-next-sibling/main.svelte rename to packages/svelte/test/runtime/samples/raw-anchor-next-sibling/main.svelte diff --git a/test/runtime/samples/raw-anchor-previous-sibling/_config.js b/packages/svelte/test/runtime/samples/raw-anchor-previous-sibling/_config.js similarity index 100% rename from test/runtime/samples/raw-anchor-previous-sibling/_config.js rename to packages/svelte/test/runtime/samples/raw-anchor-previous-sibling/_config.js diff --git a/test/runtime/samples/raw-anchor-previous-sibling/main.svelte b/packages/svelte/test/runtime/samples/raw-anchor-previous-sibling/main.svelte similarity index 100% rename from test/runtime/samples/raw-anchor-previous-sibling/main.svelte rename to packages/svelte/test/runtime/samples/raw-anchor-previous-sibling/main.svelte diff --git a/test/runtime/samples/raw-mustache-as-root/RawMustache.svelte b/packages/svelte/test/runtime/samples/raw-mustache-as-root/RawMustache.svelte similarity index 100% rename from test/runtime/samples/raw-mustache-as-root/RawMustache.svelte rename to packages/svelte/test/runtime/samples/raw-mustache-as-root/RawMustache.svelte diff --git a/test/runtime/samples/raw-mustache-as-root/_config.js b/packages/svelte/test/runtime/samples/raw-mustache-as-root/_config.js similarity index 100% rename from test/runtime/samples/raw-mustache-as-root/_config.js rename to packages/svelte/test/runtime/samples/raw-mustache-as-root/_config.js diff --git a/test/runtime/samples/raw-mustache-as-root/main.svelte b/packages/svelte/test/runtime/samples/raw-mustache-as-root/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustache-as-root/main.svelte rename to packages/svelte/test/runtime/samples/raw-mustache-as-root/main.svelte diff --git a/test/runtime/samples/raw-mustache-before-element/_config.js b/packages/svelte/test/runtime/samples/raw-mustache-before-element/_config.js similarity index 100% rename from test/runtime/samples/raw-mustache-before-element/_config.js rename to packages/svelte/test/runtime/samples/raw-mustache-before-element/_config.js diff --git a/test/runtime/samples/raw-mustache-before-element/main.svelte b/packages/svelte/test/runtime/samples/raw-mustache-before-element/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustache-before-element/main.svelte rename to packages/svelte/test/runtime/samples/raw-mustache-before-element/main.svelte diff --git a/test/runtime/samples/raw-mustache-inside-head/_config.js b/packages/svelte/test/runtime/samples/raw-mustache-inside-head/_config.js similarity index 100% rename from test/runtime/samples/raw-mustache-inside-head/_config.js rename to packages/svelte/test/runtime/samples/raw-mustache-inside-head/_config.js diff --git a/test/runtime/samples/raw-mustache-inside-head/main.svelte b/packages/svelte/test/runtime/samples/raw-mustache-inside-head/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustache-inside-head/main.svelte rename to packages/svelte/test/runtime/samples/raw-mustache-inside-head/main.svelte diff --git a/test/runtime/samples/raw-mustache-inside-slot/Component.svelte b/packages/svelte/test/runtime/samples/raw-mustache-inside-slot/Component.svelte similarity index 100% rename from test/runtime/samples/raw-mustache-inside-slot/Component.svelte rename to packages/svelte/test/runtime/samples/raw-mustache-inside-slot/Component.svelte diff --git a/test/runtime/samples/raw-mustache-inside-slot/_config.js b/packages/svelte/test/runtime/samples/raw-mustache-inside-slot/_config.js similarity index 100% rename from test/runtime/samples/raw-mustache-inside-slot/_config.js rename to packages/svelte/test/runtime/samples/raw-mustache-inside-slot/_config.js diff --git a/test/runtime/samples/raw-mustache-inside-slot/main.svelte b/packages/svelte/test/runtime/samples/raw-mustache-inside-slot/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustache-inside-slot/main.svelte rename to packages/svelte/test/runtime/samples/raw-mustache-inside-slot/main.svelte diff --git a/test/runtime/samples/raw-mustaches-preserved/_config.js b/packages/svelte/test/runtime/samples/raw-mustaches-preserved/_config.js similarity index 100% rename from test/runtime/samples/raw-mustaches-preserved/_config.js rename to packages/svelte/test/runtime/samples/raw-mustaches-preserved/_config.js diff --git a/test/runtime/samples/raw-mustaches-preserved/main.svelte b/packages/svelte/test/runtime/samples/raw-mustaches-preserved/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustaches-preserved/main.svelte rename to packages/svelte/test/runtime/samples/raw-mustaches-preserved/main.svelte diff --git a/test/runtime/samples/raw-mustaches-td-tr/_config.js b/packages/svelte/test/runtime/samples/raw-mustaches-td-tr/_config.js similarity index 100% rename from test/runtime/samples/raw-mustaches-td-tr/_config.js rename to packages/svelte/test/runtime/samples/raw-mustaches-td-tr/_config.js diff --git a/test/runtime/samples/raw-mustaches-td-tr/main.svelte b/packages/svelte/test/runtime/samples/raw-mustaches-td-tr/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustaches-td-tr/main.svelte rename to packages/svelte/test/runtime/samples/raw-mustaches-td-tr/main.svelte diff --git a/test/runtime/samples/raw-mustaches/_config.js b/packages/svelte/test/runtime/samples/raw-mustaches/_config.js similarity index 100% rename from test/runtime/samples/raw-mustaches/_config.js rename to packages/svelte/test/runtime/samples/raw-mustaches/_config.js diff --git a/test/runtime/samples/raw-mustaches/main.svelte b/packages/svelte/test/runtime/samples/raw-mustaches/main.svelte similarity index 100% rename from test/runtime/samples/raw-mustaches/main.svelte rename to packages/svelte/test/runtime/samples/raw-mustaches/main.svelte diff --git a/test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-assignment-rhs/_config.js diff --git a/test/runtime/samples/reactive-assignment-in-assignment-rhs/main.svelte b/packages/svelte/test/runtime/samples/reactive-assignment-in-assignment-rhs/main.svelte similarity index 100% rename from test/runtime/samples/reactive-assignment-in-assignment-rhs/main.svelte rename to packages/svelte/test/runtime/samples/reactive-assignment-in-assignment-rhs/main.svelte diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/_config.js diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/main.svelte b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/main.svelte similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/main.svelte rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-2/main.svelte diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/_config.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/_config.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/_config.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/_config.js diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/main.svelte b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/main.svelte similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/main.svelte rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/main.svelte diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/store.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/store.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/store.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store-3/store.js diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/_config.js diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/main.svelte b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/main.svelte similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/main.svelte rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration-with-store/main.svelte diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration/_config.js diff --git a/test/runtime/samples/reactive-assignment-in-complex-declaration/main.svelte b/packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration/main.svelte similarity index 100% rename from test/runtime/samples/reactive-assignment-in-complex-declaration/main.svelte rename to packages/svelte/test/runtime/samples/reactive-assignment-in-complex-declaration/main.svelte diff --git a/test/runtime/samples/reactive-assignment-in-declaration/_config.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-declaration/_config.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-declaration/_config.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-declaration/_config.js diff --git a/test/runtime/samples/reactive-assignment-in-declaration/main.svelte b/packages/svelte/test/runtime/samples/reactive-assignment-in-declaration/main.svelte similarity index 100% rename from test/runtime/samples/reactive-assignment-in-declaration/main.svelte rename to packages/svelte/test/runtime/samples/reactive-assignment-in-declaration/main.svelte diff --git a/test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js b/packages/svelte/test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js similarity index 100% rename from test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js rename to packages/svelte/test/runtime/samples/reactive-assignment-in-for-loop-head/_config.js diff --git a/test/runtime/samples/reactive-assignment-in-for-loop-head/main.svelte b/packages/svelte/test/runtime/samples/reactive-assignment-in-for-loop-head/main.svelte similarity index 100% rename from test/runtime/samples/reactive-assignment-in-for-loop-head/main.svelte rename to packages/svelte/test/runtime/samples/reactive-assignment-in-for-loop-head/main.svelte diff --git a/test/runtime/samples/reactive-block-break/_config.js b/packages/svelte/test/runtime/samples/reactive-block-break/_config.js similarity index 100% rename from test/runtime/samples/reactive-block-break/_config.js rename to packages/svelte/test/runtime/samples/reactive-block-break/_config.js diff --git a/test/runtime/samples/reactive-block-break/main.svelte b/packages/svelte/test/runtime/samples/reactive-block-break/main.svelte similarity index 100% rename from test/runtime/samples/reactive-block-break/main.svelte rename to packages/svelte/test/runtime/samples/reactive-block-break/main.svelte diff --git a/test/runtime/samples/reactive-compound-operator/_config.js b/packages/svelte/test/runtime/samples/reactive-compound-operator/_config.js similarity index 100% rename from test/runtime/samples/reactive-compound-operator/_config.js rename to packages/svelte/test/runtime/samples/reactive-compound-operator/_config.js diff --git a/test/runtime/samples/reactive-compound-operator/main.svelte b/packages/svelte/test/runtime/samples/reactive-compound-operator/main.svelte similarity index 100% rename from test/runtime/samples/reactive-compound-operator/main.svelte rename to packages/svelte/test/runtime/samples/reactive-compound-operator/main.svelte diff --git a/test/runtime/samples/reactive-function-called-reassigned/_config.js b/packages/svelte/test/runtime/samples/reactive-function-called-reassigned/_config.js similarity index 100% rename from test/runtime/samples/reactive-function-called-reassigned/_config.js rename to packages/svelte/test/runtime/samples/reactive-function-called-reassigned/_config.js diff --git a/test/runtime/samples/reactive-function-called-reassigned/main.svelte b/packages/svelte/test/runtime/samples/reactive-function-called-reassigned/main.svelte similarity index 100% rename from test/runtime/samples/reactive-function-called-reassigned/main.svelte rename to packages/svelte/test/runtime/samples/reactive-function-called-reassigned/main.svelte diff --git a/test/runtime/samples/reactive-function-inline/_config.js b/packages/svelte/test/runtime/samples/reactive-function-inline/_config.js similarity index 100% rename from test/runtime/samples/reactive-function-inline/_config.js rename to packages/svelte/test/runtime/samples/reactive-function-inline/_config.js diff --git a/test/runtime/samples/reactive-function-inline/main.svelte b/packages/svelte/test/runtime/samples/reactive-function-inline/main.svelte similarity index 100% rename from test/runtime/samples/reactive-function-inline/main.svelte rename to packages/svelte/test/runtime/samples/reactive-function-inline/main.svelte diff --git a/test/runtime/samples/reactive-function/_config.js b/packages/svelte/test/runtime/samples/reactive-function/_config.js similarity index 100% rename from test/runtime/samples/reactive-function/_config.js rename to packages/svelte/test/runtime/samples/reactive-function/_config.js diff --git a/test/runtime/samples/reactive-function/main.svelte b/packages/svelte/test/runtime/samples/reactive-function/main.svelte similarity index 100% rename from test/runtime/samples/reactive-function/main.svelte rename to packages/svelte/test/runtime/samples/reactive-function/main.svelte diff --git a/test/runtime/samples/reactive-import-statement-2/_config.js b/packages/svelte/test/runtime/samples/reactive-import-statement-2/_config.js similarity index 100% rename from test/runtime/samples/reactive-import-statement-2/_config.js rename to packages/svelte/test/runtime/samples/reactive-import-statement-2/_config.js diff --git a/test/runtime/samples/reactive-import-statement-2/data.js b/packages/svelte/test/runtime/samples/reactive-import-statement-2/data.js similarity index 100% rename from test/runtime/samples/reactive-import-statement-2/data.js rename to packages/svelte/test/runtime/samples/reactive-import-statement-2/data.js diff --git a/test/runtime/samples/reactive-import-statement-2/main.svelte b/packages/svelte/test/runtime/samples/reactive-import-statement-2/main.svelte similarity index 100% rename from test/runtime/samples/reactive-import-statement-2/main.svelte rename to packages/svelte/test/runtime/samples/reactive-import-statement-2/main.svelte diff --git a/test/runtime/samples/reactive-import-statement/_config.js b/packages/svelte/test/runtime/samples/reactive-import-statement/_config.js similarity index 100% rename from test/runtime/samples/reactive-import-statement/_config.js rename to packages/svelte/test/runtime/samples/reactive-import-statement/_config.js diff --git a/test/runtime/samples/reactive-import-statement/data.js b/packages/svelte/test/runtime/samples/reactive-import-statement/data.js similarity index 100% rename from test/runtime/samples/reactive-import-statement/data.js rename to packages/svelte/test/runtime/samples/reactive-import-statement/data.js diff --git a/test/runtime/samples/reactive-import-statement/main.svelte b/packages/svelte/test/runtime/samples/reactive-import-statement/main.svelte similarity index 100% rename from test/runtime/samples/reactive-import-statement/main.svelte rename to packages/svelte/test/runtime/samples/reactive-import-statement/main.svelte diff --git a/test/runtime/samples/reactive-statement-indirect/_config.js b/packages/svelte/test/runtime/samples/reactive-statement-indirect/_config.js similarity index 100% rename from test/runtime/samples/reactive-statement-indirect/_config.js rename to packages/svelte/test/runtime/samples/reactive-statement-indirect/_config.js diff --git a/test/runtime/samples/reactive-statement-indirect/main.svelte b/packages/svelte/test/runtime/samples/reactive-statement-indirect/main.svelte similarity index 100% rename from test/runtime/samples/reactive-statement-indirect/main.svelte rename to packages/svelte/test/runtime/samples/reactive-statement-indirect/main.svelte diff --git a/test/runtime/samples/reactive-statement-module-vars/_config.js b/packages/svelte/test/runtime/samples/reactive-statement-module-vars/_config.js similarity index 100% rename from test/runtime/samples/reactive-statement-module-vars/_config.js rename to packages/svelte/test/runtime/samples/reactive-statement-module-vars/_config.js diff --git a/test/runtime/samples/reactive-statement-module-vars/main.svelte b/packages/svelte/test/runtime/samples/reactive-statement-module-vars/main.svelte similarity index 100% rename from test/runtime/samples/reactive-statement-module-vars/main.svelte rename to packages/svelte/test/runtime/samples/reactive-statement-module-vars/main.svelte diff --git a/test/runtime/samples/reactive-update-expression/_config.js b/packages/svelte/test/runtime/samples/reactive-update-expression/_config.js similarity index 100% rename from test/runtime/samples/reactive-update-expression/_config.js rename to packages/svelte/test/runtime/samples/reactive-update-expression/_config.js diff --git a/test/runtime/samples/reactive-update-expression/main.svelte b/packages/svelte/test/runtime/samples/reactive-update-expression/main.svelte similarity index 100% rename from test/runtime/samples/reactive-update-expression/main.svelte rename to packages/svelte/test/runtime/samples/reactive-update-expression/main.svelte diff --git a/test/runtime/samples/reactive-value-assign-property/_config.js b/packages/svelte/test/runtime/samples/reactive-value-assign-property/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-assign-property/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-assign-property/_config.js diff --git a/test/runtime/samples/reactive-value-assign-property/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-assign-property/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-assign-property/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-assign-property/main.svelte diff --git a/test/runtime/samples/reactive-value-coerce-precedence/_config.js b/packages/svelte/test/runtime/samples/reactive-value-coerce-precedence/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-coerce-precedence/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-coerce-precedence/_config.js diff --git a/test/runtime/samples/reactive-value-coerce-precedence/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-coerce-precedence/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-coerce-precedence/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-coerce-precedence/main.svelte diff --git a/test/runtime/samples/reactive-value-coerce/_config.js b/packages/svelte/test/runtime/samples/reactive-value-coerce/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-coerce/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-coerce/_config.js diff --git a/test/runtime/samples/reactive-value-coerce/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-coerce/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-coerce/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-coerce/main.svelte diff --git a/test/runtime/samples/reactive-value-dependency-not-referenced/_config.js b/packages/svelte/test/runtime/samples/reactive-value-dependency-not-referenced/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-dependency-not-referenced/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-dependency-not-referenced/_config.js diff --git a/test/runtime/samples/reactive-value-dependency-not-referenced/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-dependency-not-referenced/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-dependency-not-referenced/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-dependency-not-referenced/main.svelte diff --git a/test/runtime/samples/reactive-value-function-hoist-b/_config.js b/packages/svelte/test/runtime/samples/reactive-value-function-hoist-b/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-function-hoist-b/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-function-hoist-b/_config.js diff --git a/test/runtime/samples/reactive-value-function-hoist-b/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-function-hoist-b/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-function-hoist-b/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-function-hoist-b/main.svelte diff --git a/test/runtime/samples/reactive-value-function-hoist/_config.js b/packages/svelte/test/runtime/samples/reactive-value-function-hoist/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-function-hoist/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-function-hoist/_config.js diff --git a/test/runtime/samples/reactive-value-function-hoist/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-function-hoist/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-function-hoist/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-function-hoist/main.svelte diff --git a/test/runtime/samples/reactive-value-function/_config.js b/packages/svelte/test/runtime/samples/reactive-value-function/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-function/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-function/_config.js diff --git a/test/runtime/samples/reactive-value-function/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-function/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-function/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-function/main.svelte diff --git a/test/runtime/samples/reactive-value-mutate-const/_config.js b/packages/svelte/test/runtime/samples/reactive-value-mutate-const/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-mutate-const/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-mutate-const/_config.js diff --git a/test/runtime/samples/reactive-value-mutate-const/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-mutate-const/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-mutate-const/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-mutate-const/main.svelte diff --git a/test/runtime/samples/reactive-value-mutate/_config.js b/packages/svelte/test/runtime/samples/reactive-value-mutate/_config.js similarity index 100% rename from test/runtime/samples/reactive-value-mutate/_config.js rename to packages/svelte/test/runtime/samples/reactive-value-mutate/_config.js diff --git a/test/runtime/samples/reactive-value-mutate/main.svelte b/packages/svelte/test/runtime/samples/reactive-value-mutate/main.svelte similarity index 100% rename from test/runtime/samples/reactive-value-mutate/main.svelte rename to packages/svelte/test/runtime/samples/reactive-value-mutate/main.svelte diff --git a/test/runtime/samples/reactive-values-deconflicted/_config.js b/packages/svelte/test/runtime/samples/reactive-values-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-deconflicted/_config.js diff --git a/test/runtime/samples/reactive-values-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-deconflicted/main.svelte diff --git a/test/runtime/samples/reactive-values-exported/_config.js b/packages/svelte/test/runtime/samples/reactive-values-exported/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-exported/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-exported/_config.js diff --git a/test/runtime/samples/reactive-values-exported/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-exported/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-exported/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-exported/main.svelte diff --git a/test/runtime/samples/reactive-values-fixed/_config.js b/packages/svelte/test/runtime/samples/reactive-values-fixed/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-fixed/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-fixed/_config.js diff --git a/test/runtime/samples/reactive-values-fixed/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-fixed/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-fixed/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-fixed/main.svelte diff --git a/test/runtime/samples/reactive-values-function-dependency/_config.js b/packages/svelte/test/runtime/samples/reactive-values-function-dependency/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-function-dependency/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-function-dependency/_config.js diff --git a/test/runtime/samples/reactive-values-function-dependency/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-function-dependency/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-function-dependency/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-function-dependency/main.svelte diff --git a/test/runtime/samples/reactive-values-implicit-destructured/_config.js b/packages/svelte/test/runtime/samples/reactive-values-implicit-destructured/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-implicit-destructured/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-implicit-destructured/_config.js diff --git a/test/runtime/samples/reactive-values-implicit-destructured/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-implicit-destructured/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-implicit-destructured/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-implicit-destructured/main.svelte diff --git a/test/runtime/samples/reactive-values-implicit-self-dependency/_config.js b/packages/svelte/test/runtime/samples/reactive-values-implicit-self-dependency/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-implicit-self-dependency/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-implicit-self-dependency/_config.js diff --git a/test/runtime/samples/reactive-values-implicit-self-dependency/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-implicit-self-dependency/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-implicit-self-dependency/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-implicit-self-dependency/main.svelte diff --git a/test/runtime/samples/reactive-values-implicit/_config.js b/packages/svelte/test/runtime/samples/reactive-values-implicit/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-implicit/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-implicit/_config.js diff --git a/test/runtime/samples/reactive-values-implicit/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-implicit/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-implicit/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-implicit/main.svelte diff --git a/test/runtime/samples/reactive-values-no-dependencies/_config.js b/packages/svelte/test/runtime/samples/reactive-values-no-dependencies/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-no-dependencies/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-no-dependencies/_config.js diff --git a/test/runtime/samples/reactive-values-no-dependencies/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-no-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-no-dependencies/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-no-dependencies/main.svelte diff --git a/test/runtime/samples/reactive-values-no-implicit-member-expression/_config.js b/packages/svelte/test/runtime/samples/reactive-values-no-implicit-member-expression/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-no-implicit-member-expression/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-no-implicit-member-expression/_config.js diff --git a/test/runtime/samples/reactive-values-no-implicit-member-expression/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-no-implicit-member-expression/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-no-implicit-member-expression/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-no-implicit-member-expression/main.svelte diff --git a/test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/_config.js b/packages/svelte/test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/_config.js diff --git a/test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-non-cyclical-declaration-order-independent/main.svelte diff --git a/test/runtime/samples/reactive-values-non-cyclical/_config.js b/packages/svelte/test/runtime/samples/reactive-values-non-cyclical/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-non-cyclical/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-non-cyclical/_config.js diff --git a/test/runtime/samples/reactive-values-non-cyclical/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-non-cyclical/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-non-cyclical/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-non-cyclical/main.svelte diff --git a/test/runtime/samples/reactive-values-overwrite/_config.js b/packages/svelte/test/runtime/samples/reactive-values-overwrite/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-overwrite/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-overwrite/_config.js diff --git a/test/runtime/samples/reactive-values-overwrite/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-overwrite/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-overwrite/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-overwrite/main.svelte diff --git a/test/runtime/samples/reactive-values-second-order/_config.js b/packages/svelte/test/runtime/samples/reactive-values-second-order/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-second-order/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-second-order/_config.js diff --git a/test/runtime/samples/reactive-values-second-order/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-second-order/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-second-order/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-second-order/main.svelte diff --git a/test/runtime/samples/reactive-values-self-dependency-b/_config.js b/packages/svelte/test/runtime/samples/reactive-values-self-dependency-b/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-self-dependency-b/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-self-dependency-b/_config.js diff --git a/test/runtime/samples/reactive-values-self-dependency-b/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-self-dependency-b/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-self-dependency-b/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-self-dependency-b/main.svelte diff --git a/test/runtime/samples/reactive-values-self-dependency/_config.js b/packages/svelte/test/runtime/samples/reactive-values-self-dependency/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-self-dependency/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-self-dependency/_config.js diff --git a/test/runtime/samples/reactive-values-self-dependency/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-self-dependency/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-self-dependency/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-self-dependency/main.svelte diff --git a/test/runtime/samples/reactive-values-store-destructured-undefined/_config.js b/packages/svelte/test/runtime/samples/reactive-values-store-destructured-undefined/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-store-destructured-undefined/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-store-destructured-undefined/_config.js diff --git a/test/runtime/samples/reactive-values-store-destructured-undefined/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-store-destructured-undefined/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-store-destructured-undefined/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-store-destructured-undefined/main.svelte diff --git a/test/runtime/samples/reactive-values-subscript-assignment/_config.js b/packages/svelte/test/runtime/samples/reactive-values-subscript-assignment/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-subscript-assignment/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-subscript-assignment/_config.js diff --git a/test/runtime/samples/reactive-values-subscript-assignment/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-subscript-assignment/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-subscript-assignment/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-subscript-assignment/main.svelte diff --git a/test/runtime/samples/reactive-values-text-node/_config.js b/packages/svelte/test/runtime/samples/reactive-values-text-node/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-text-node/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-text-node/_config.js diff --git a/test/runtime/samples/reactive-values-text-node/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-text-node/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-text-node/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-text-node/main.svelte diff --git a/test/runtime/samples/reactive-values-uninitialised/_config.js b/packages/svelte/test/runtime/samples/reactive-values-uninitialised/_config.js similarity index 100% rename from test/runtime/samples/reactive-values-uninitialised/_config.js rename to packages/svelte/test/runtime/samples/reactive-values-uninitialised/_config.js diff --git a/test/runtime/samples/reactive-values-uninitialised/main.svelte b/packages/svelte/test/runtime/samples/reactive-values-uninitialised/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values-uninitialised/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values-uninitialised/main.svelte diff --git a/test/runtime/samples/reactive-values/_config.js b/packages/svelte/test/runtime/samples/reactive-values/_config.js similarity index 100% rename from test/runtime/samples/reactive-values/_config.js rename to packages/svelte/test/runtime/samples/reactive-values/_config.js diff --git a/test/runtime/samples/reactive-values/main.svelte b/packages/svelte/test/runtime/samples/reactive-values/main.svelte similarity index 100% rename from test/runtime/samples/reactive-values/main.svelte rename to packages/svelte/test/runtime/samples/reactive-values/main.svelte diff --git a/test/runtime/samples/renamed-instance-exports/_config.js b/packages/svelte/test/runtime/samples/renamed-instance-exports/_config.js similarity index 100% rename from test/runtime/samples/renamed-instance-exports/_config.js rename to packages/svelte/test/runtime/samples/renamed-instance-exports/_config.js diff --git a/test/runtime/samples/renamed-instance-exports/main.svelte b/packages/svelte/test/runtime/samples/renamed-instance-exports/main.svelte similarity index 100% rename from test/runtime/samples/renamed-instance-exports/main.svelte rename to packages/svelte/test/runtime/samples/renamed-instance-exports/main.svelte diff --git a/test/runtime/samples/script-style-non-top-level/_config.js b/packages/svelte/test/runtime/samples/script-style-non-top-level/_config.js similarity index 100% rename from test/runtime/samples/script-style-non-top-level/_config.js rename to packages/svelte/test/runtime/samples/script-style-non-top-level/_config.js diff --git a/test/runtime/samples/script-style-non-top-level/main.svelte b/packages/svelte/test/runtime/samples/script-style-non-top-level/main.svelte similarity index 100% rename from test/runtime/samples/script-style-non-top-level/main.svelte rename to packages/svelte/test/runtime/samples/script-style-non-top-level/main.svelte diff --git a/test/runtime/samples/select-bind-array/_config.js b/packages/svelte/test/runtime/samples/select-bind-array/_config.js similarity index 100% rename from test/runtime/samples/select-bind-array/_config.js rename to packages/svelte/test/runtime/samples/select-bind-array/_config.js diff --git a/test/runtime/samples/select-bind-array/main.svelte b/packages/svelte/test/runtime/samples/select-bind-array/main.svelte similarity index 100% rename from test/runtime/samples/select-bind-array/main.svelte rename to packages/svelte/test/runtime/samples/select-bind-array/main.svelte diff --git a/test/runtime/samples/select-bind-in-array/_config.js b/packages/svelte/test/runtime/samples/select-bind-in-array/_config.js similarity index 100% rename from test/runtime/samples/select-bind-in-array/_config.js rename to packages/svelte/test/runtime/samples/select-bind-in-array/_config.js diff --git a/test/runtime/samples/select-bind-in-array/main.svelte b/packages/svelte/test/runtime/samples/select-bind-in-array/main.svelte similarity index 100% rename from test/runtime/samples/select-bind-in-array/main.svelte rename to packages/svelte/test/runtime/samples/select-bind-in-array/main.svelte diff --git a/test/runtime/samples/select-change-handler/_config.js b/packages/svelte/test/runtime/samples/select-change-handler/_config.js similarity index 100% rename from test/runtime/samples/select-change-handler/_config.js rename to packages/svelte/test/runtime/samples/select-change-handler/_config.js diff --git a/test/runtime/samples/select-change-handler/main.svelte b/packages/svelte/test/runtime/samples/select-change-handler/main.svelte similarity index 100% rename from test/runtime/samples/select-change-handler/main.svelte rename to packages/svelte/test/runtime/samples/select-change-handler/main.svelte diff --git a/test/runtime/samples/select-multiple-spread-and-bind/_config.js b/packages/svelte/test/runtime/samples/select-multiple-spread-and-bind/_config.js similarity index 100% rename from test/runtime/samples/select-multiple-spread-and-bind/_config.js rename to packages/svelte/test/runtime/samples/select-multiple-spread-and-bind/_config.js diff --git a/test/runtime/samples/select-multiple-spread-and-bind/main.svelte b/packages/svelte/test/runtime/samples/select-multiple-spread-and-bind/main.svelte similarity index 100% rename from test/runtime/samples/select-multiple-spread-and-bind/main.svelte rename to packages/svelte/test/runtime/samples/select-multiple-spread-and-bind/main.svelte diff --git a/test/runtime/samples/select-multiple-spread-and-bind/select.svelte b/packages/svelte/test/runtime/samples/select-multiple-spread-and-bind/select.svelte similarity index 100% rename from test/runtime/samples/select-multiple-spread-and-bind/select.svelte rename to packages/svelte/test/runtime/samples/select-multiple-spread-and-bind/select.svelte diff --git a/test/runtime/samples/select-multiple-spread/_config.js b/packages/svelte/test/runtime/samples/select-multiple-spread/_config.js similarity index 100% rename from test/runtime/samples/select-multiple-spread/_config.js rename to packages/svelte/test/runtime/samples/select-multiple-spread/_config.js diff --git a/test/runtime/samples/select-multiple-spread/main.svelte b/packages/svelte/test/runtime/samples/select-multiple-spread/main.svelte similarity index 100% rename from test/runtime/samples/select-multiple-spread/main.svelte rename to packages/svelte/test/runtime/samples/select-multiple-spread/main.svelte diff --git a/test/runtime/samples/select-multiple-spread/select.svelte b/packages/svelte/test/runtime/samples/select-multiple-spread/select.svelte similarity index 100% rename from test/runtime/samples/select-multiple-spread/select.svelte rename to packages/svelte/test/runtime/samples/select-multiple-spread/select.svelte diff --git a/test/runtime/samples/select-no-whitespace/_config.js b/packages/svelte/test/runtime/samples/select-no-whitespace/_config.js similarity index 100% rename from test/runtime/samples/select-no-whitespace/_config.js rename to packages/svelte/test/runtime/samples/select-no-whitespace/_config.js diff --git a/test/runtime/samples/select-no-whitespace/main.svelte b/packages/svelte/test/runtime/samples/select-no-whitespace/main.svelte similarity index 100% rename from test/runtime/samples/select-no-whitespace/main.svelte rename to packages/svelte/test/runtime/samples/select-no-whitespace/main.svelte diff --git a/test/runtime/samples/select-one-way-bind-object/_config.js b/packages/svelte/test/runtime/samples/select-one-way-bind-object/_config.js similarity index 100% rename from test/runtime/samples/select-one-way-bind-object/_config.js rename to packages/svelte/test/runtime/samples/select-one-way-bind-object/_config.js diff --git a/test/runtime/samples/select-one-way-bind-object/main.svelte b/packages/svelte/test/runtime/samples/select-one-way-bind-object/main.svelte similarity index 100% rename from test/runtime/samples/select-one-way-bind-object/main.svelte rename to packages/svelte/test/runtime/samples/select-one-way-bind-object/main.svelte diff --git a/test/runtime/samples/select-one-way-bind/_config.js b/packages/svelte/test/runtime/samples/select-one-way-bind/_config.js similarity index 100% rename from test/runtime/samples/select-one-way-bind/_config.js rename to packages/svelte/test/runtime/samples/select-one-way-bind/_config.js diff --git a/test/runtime/samples/select-one-way-bind/main.svelte b/packages/svelte/test/runtime/samples/select-one-way-bind/main.svelte similarity index 100% rename from test/runtime/samples/select-one-way-bind/main.svelte rename to packages/svelte/test/runtime/samples/select-one-way-bind/main.svelte diff --git a/test/runtime/samples/select-props/_config.js b/packages/svelte/test/runtime/samples/select-props/_config.js similarity index 100% rename from test/runtime/samples/select-props/_config.js rename to packages/svelte/test/runtime/samples/select-props/_config.js diff --git a/test/runtime/samples/select-props/main.svelte b/packages/svelte/test/runtime/samples/select-props/main.svelte similarity index 100% rename from test/runtime/samples/select-props/main.svelte rename to packages/svelte/test/runtime/samples/select-props/main.svelte diff --git a/test/runtime/samples/select/_config.js b/packages/svelte/test/runtime/samples/select/_config.js similarity index 100% rename from test/runtime/samples/select/_config.js rename to packages/svelte/test/runtime/samples/select/_config.js diff --git a/test/runtime/samples/select/main.svelte b/packages/svelte/test/runtime/samples/select/main.svelte similarity index 100% rename from test/runtime/samples/select/main.svelte rename to packages/svelte/test/runtime/samples/select/main.svelte diff --git a/test/runtime/samples/self-reference-component/Countdown.svelte b/packages/svelte/test/runtime/samples/self-reference-component/Countdown.svelte similarity index 100% rename from test/runtime/samples/self-reference-component/Countdown.svelte rename to packages/svelte/test/runtime/samples/self-reference-component/Countdown.svelte diff --git a/test/runtime/samples/self-reference-component/_config.js b/packages/svelte/test/runtime/samples/self-reference-component/_config.js similarity index 100% rename from test/runtime/samples/self-reference-component/_config.js rename to packages/svelte/test/runtime/samples/self-reference-component/_config.js diff --git a/test/runtime/samples/self-reference-component/main.svelte b/packages/svelte/test/runtime/samples/self-reference-component/main.svelte similarity index 100% rename from test/runtime/samples/self-reference-component/main.svelte rename to packages/svelte/test/runtime/samples/self-reference-component/main.svelte diff --git a/test/runtime/samples/self-reference-tree/_config.js b/packages/svelte/test/runtime/samples/self-reference-tree/_config.js similarity index 100% rename from test/runtime/samples/self-reference-tree/_config.js rename to packages/svelte/test/runtime/samples/self-reference-tree/_config.js diff --git a/test/runtime/samples/self-reference-tree/main.svelte b/packages/svelte/test/runtime/samples/self-reference-tree/main.svelte similarity index 100% rename from test/runtime/samples/self-reference-tree/main.svelte rename to packages/svelte/test/runtime/samples/self-reference-tree/main.svelte diff --git a/test/runtime/samples/self-reference/_config.js b/packages/svelte/test/runtime/samples/self-reference/_config.js similarity index 100% rename from test/runtime/samples/self-reference/_config.js rename to packages/svelte/test/runtime/samples/self-reference/_config.js diff --git a/test/runtime/samples/self-reference/main.svelte b/packages/svelte/test/runtime/samples/self-reference/main.svelte similarity index 100% rename from test/runtime/samples/self-reference/main.svelte rename to packages/svelte/test/runtime/samples/self-reference/main.svelte diff --git a/test/runtime/samples/semicolon-hoisting/_config.js b/packages/svelte/test/runtime/samples/semicolon-hoisting/_config.js similarity index 100% rename from test/runtime/samples/semicolon-hoisting/_config.js rename to packages/svelte/test/runtime/samples/semicolon-hoisting/_config.js diff --git a/test/runtime/samples/semicolon-hoisting/main.svelte b/packages/svelte/test/runtime/samples/semicolon-hoisting/main.svelte similarity index 100% rename from test/runtime/samples/semicolon-hoisting/main.svelte rename to packages/svelte/test/runtime/samples/semicolon-hoisting/main.svelte diff --git a/test/runtime/samples/set-after-destroy/_config.js b/packages/svelte/test/runtime/samples/set-after-destroy/_config.js similarity index 100% rename from test/runtime/samples/set-after-destroy/_config.js rename to packages/svelte/test/runtime/samples/set-after-destroy/_config.js diff --git a/test/runtime/samples/set-after-destroy/main.svelte b/packages/svelte/test/runtime/samples/set-after-destroy/main.svelte similarity index 100% rename from test/runtime/samples/set-after-destroy/main.svelte rename to packages/svelte/test/runtime/samples/set-after-destroy/main.svelte diff --git a/test/runtime/samples/set-in-oncreate/_config.js b/packages/svelte/test/runtime/samples/set-in-oncreate/_config.js similarity index 100% rename from test/runtime/samples/set-in-oncreate/_config.js rename to packages/svelte/test/runtime/samples/set-in-oncreate/_config.js diff --git a/test/runtime/samples/set-in-oncreate/main.svelte b/packages/svelte/test/runtime/samples/set-in-oncreate/main.svelte similarity index 100% rename from test/runtime/samples/set-in-oncreate/main.svelte rename to packages/svelte/test/runtime/samples/set-in-oncreate/main.svelte diff --git a/test/runtime/samples/set-in-onstate-dedupes-renders/Widget.svelte b/packages/svelte/test/runtime/samples/set-in-onstate-dedupes-renders/Widget.svelte similarity index 100% rename from test/runtime/samples/set-in-onstate-dedupes-renders/Widget.svelte rename to packages/svelte/test/runtime/samples/set-in-onstate-dedupes-renders/Widget.svelte diff --git a/test/runtime/samples/set-in-onstate-dedupes-renders/_config.js b/packages/svelte/test/runtime/samples/set-in-onstate-dedupes-renders/_config.js similarity index 100% rename from test/runtime/samples/set-in-onstate-dedupes-renders/_config.js rename to packages/svelte/test/runtime/samples/set-in-onstate-dedupes-renders/_config.js diff --git a/test/runtime/samples/set-in-onstate-dedupes-renders/main.svelte b/packages/svelte/test/runtime/samples/set-in-onstate-dedupes-renders/main.svelte similarity index 100% rename from test/runtime/samples/set-in-onstate-dedupes-renders/main.svelte rename to packages/svelte/test/runtime/samples/set-in-onstate-dedupes-renders/main.svelte diff --git a/test/runtime/samples/set-in-onstate/_config.js b/packages/svelte/test/runtime/samples/set-in-onstate/_config.js similarity index 100% rename from test/runtime/samples/set-in-onstate/_config.js rename to packages/svelte/test/runtime/samples/set-in-onstate/_config.js diff --git a/test/runtime/samples/set-in-onstate/main.svelte b/packages/svelte/test/runtime/samples/set-in-onstate/main.svelte similarity index 100% rename from test/runtime/samples/set-in-onstate/main.svelte rename to packages/svelte/test/runtime/samples/set-in-onstate/main.svelte diff --git a/test/runtime/samples/set-null-text-node/_config.js b/packages/svelte/test/runtime/samples/set-null-text-node/_config.js similarity index 100% rename from test/runtime/samples/set-null-text-node/_config.js rename to packages/svelte/test/runtime/samples/set-null-text-node/_config.js diff --git a/test/runtime/samples/set-null-text-node/main.svelte b/packages/svelte/test/runtime/samples/set-null-text-node/main.svelte similarity index 100% rename from test/runtime/samples/set-null-text-node/main.svelte rename to packages/svelte/test/runtime/samples/set-null-text-node/main.svelte diff --git a/test/runtime/samples/set-prevents-loop/Foo.svelte b/packages/svelte/test/runtime/samples/set-prevents-loop/Foo.svelte similarity index 100% rename from test/runtime/samples/set-prevents-loop/Foo.svelte rename to packages/svelte/test/runtime/samples/set-prevents-loop/Foo.svelte diff --git a/test/runtime/samples/set-prevents-loop/_config.js b/packages/svelte/test/runtime/samples/set-prevents-loop/_config.js similarity index 100% rename from test/runtime/samples/set-prevents-loop/_config.js rename to packages/svelte/test/runtime/samples/set-prevents-loop/_config.js diff --git a/test/runtime/samples/set-prevents-loop/main.svelte b/packages/svelte/test/runtime/samples/set-prevents-loop/main.svelte similarity index 100% rename from test/runtime/samples/set-prevents-loop/main.svelte rename to packages/svelte/test/runtime/samples/set-prevents-loop/main.svelte diff --git a/test/runtime/samples/set-undefined-attr/_config.js b/packages/svelte/test/runtime/samples/set-undefined-attr/_config.js similarity index 100% rename from test/runtime/samples/set-undefined-attr/_config.js rename to packages/svelte/test/runtime/samples/set-undefined-attr/_config.js diff --git a/test/runtime/samples/set-undefined-attr/main.svelte b/packages/svelte/test/runtime/samples/set-undefined-attr/main.svelte similarity index 100% rename from test/runtime/samples/set-undefined-attr/main.svelte rename to packages/svelte/test/runtime/samples/set-undefined-attr/main.svelte diff --git a/test/runtime/samples/shorthand-method-in-template/Foo.svelte b/packages/svelte/test/runtime/samples/shorthand-method-in-template/Foo.svelte similarity index 100% rename from test/runtime/samples/shorthand-method-in-template/Foo.svelte rename to packages/svelte/test/runtime/samples/shorthand-method-in-template/Foo.svelte diff --git a/test/runtime/samples/shorthand-method-in-template/_config.js b/packages/svelte/test/runtime/samples/shorthand-method-in-template/_config.js similarity index 100% rename from test/runtime/samples/shorthand-method-in-template/_config.js rename to packages/svelte/test/runtime/samples/shorthand-method-in-template/_config.js diff --git a/test/runtime/samples/shorthand-method-in-template/main.svelte b/packages/svelte/test/runtime/samples/shorthand-method-in-template/main.svelte similarity index 100% rename from test/runtime/samples/shorthand-method-in-template/main.svelte rename to packages/svelte/test/runtime/samples/shorthand-method-in-template/main.svelte diff --git a/test/runtime/samples/sigil-component-prop/Widget.svelte b/packages/svelte/test/runtime/samples/sigil-component-prop/Widget.svelte similarity index 100% rename from test/runtime/samples/sigil-component-prop/Widget.svelte rename to packages/svelte/test/runtime/samples/sigil-component-prop/Widget.svelte diff --git a/test/runtime/samples/sigil-component-prop/_config.js b/packages/svelte/test/runtime/samples/sigil-component-prop/_config.js similarity index 100% rename from test/runtime/samples/sigil-component-prop/_config.js rename to packages/svelte/test/runtime/samples/sigil-component-prop/_config.js diff --git a/test/runtime/samples/sigil-component-prop/main.svelte b/packages/svelte/test/runtime/samples/sigil-component-prop/main.svelte similarity index 100% rename from test/runtime/samples/sigil-component-prop/main.svelte rename to packages/svelte/test/runtime/samples/sigil-component-prop/main.svelte diff --git a/test/runtime/samples/sigil-expression-function-body/_config.js b/packages/svelte/test/runtime/samples/sigil-expression-function-body/_config.js similarity index 100% rename from test/runtime/samples/sigil-expression-function-body/_config.js rename to packages/svelte/test/runtime/samples/sigil-expression-function-body/_config.js diff --git a/test/runtime/samples/sigil-expression-function-body/main.svelte b/packages/svelte/test/runtime/samples/sigil-expression-function-body/main.svelte similarity index 100% rename from test/runtime/samples/sigil-expression-function-body/main.svelte rename to packages/svelte/test/runtime/samples/sigil-expression-function-body/main.svelte diff --git a/test/runtime/samples/sigil-static-at/_config.js b/packages/svelte/test/runtime/samples/sigil-static-at/_config.js similarity index 100% rename from test/runtime/samples/sigil-static-at/_config.js rename to packages/svelte/test/runtime/samples/sigil-static-at/_config.js diff --git a/test/runtime/samples/sigil-static-at/main.svelte b/packages/svelte/test/runtime/samples/sigil-static-at/main.svelte similarity index 100% rename from test/runtime/samples/sigil-static-at/main.svelte rename to packages/svelte/test/runtime/samples/sigil-static-at/main.svelte diff --git a/test/runtime/samples/sigil-static-hash/_config.js b/packages/svelte/test/runtime/samples/sigil-static-hash/_config.js similarity index 100% rename from test/runtime/samples/sigil-static-hash/_config.js rename to packages/svelte/test/runtime/samples/sigil-static-hash/_config.js diff --git a/test/runtime/samples/sigil-static-hash/main.svelte b/packages/svelte/test/runtime/samples/sigil-static-hash/main.svelte similarity index 100% rename from test/runtime/samples/sigil-static-hash/main.svelte rename to packages/svelte/test/runtime/samples/sigil-static-hash/main.svelte diff --git a/test/runtime/samples/single-static-element/_config.js b/packages/svelte/test/runtime/samples/single-static-element/_config.js similarity index 100% rename from test/runtime/samples/single-static-element/_config.js rename to packages/svelte/test/runtime/samples/single-static-element/_config.js diff --git a/test/runtime/samples/single-static-element/main.svelte b/packages/svelte/test/runtime/samples/single-static-element/main.svelte similarity index 100% rename from test/runtime/samples/single-static-element/main.svelte rename to packages/svelte/test/runtime/samples/single-static-element/main.svelte diff --git a/test/runtime/samples/single-text-node/_config.js b/packages/svelte/test/runtime/samples/single-text-node/_config.js similarity index 100% rename from test/runtime/samples/single-text-node/_config.js rename to packages/svelte/test/runtime/samples/single-text-node/_config.js diff --git a/test/runtime/samples/single-text-node/main.svelte b/packages/svelte/test/runtime/samples/single-text-node/main.svelte similarity index 100% rename from test/runtime/samples/single-text-node/main.svelte rename to packages/svelte/test/runtime/samples/single-text-node/main.svelte diff --git a/test/runtime/samples/slot-if-block-update-no-anchor/_config.js b/packages/svelte/test/runtime/samples/slot-if-block-update-no-anchor/_config.js similarity index 100% rename from test/runtime/samples/slot-if-block-update-no-anchor/_config.js rename to packages/svelte/test/runtime/samples/slot-if-block-update-no-anchor/_config.js diff --git a/test/runtime/samples/slot-if-block-update-no-anchor/main.svelte b/packages/svelte/test/runtime/samples/slot-if-block-update-no-anchor/main.svelte similarity index 100% rename from test/runtime/samples/slot-if-block-update-no-anchor/main.svelte rename to packages/svelte/test/runtime/samples/slot-if-block-update-no-anchor/main.svelte diff --git a/test/runtime/samples/slot-in-custom-element/_config.js b/packages/svelte/test/runtime/samples/slot-in-custom-element/_config.js similarity index 100% rename from test/runtime/samples/slot-in-custom-element/_config.js rename to packages/svelte/test/runtime/samples/slot-in-custom-element/_config.js diff --git a/test/runtime/samples/slot-in-custom-element/main.svelte b/packages/svelte/test/runtime/samples/slot-in-custom-element/main.svelte similarity index 100% rename from test/runtime/samples/slot-in-custom-element/main.svelte rename to packages/svelte/test/runtime/samples/slot-in-custom-element/main.svelte diff --git a/test/runtime/samples/spread-component-2/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-2/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-2/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-2/Widget.svelte diff --git a/test/runtime/samples/spread-component-2/_config.js b/packages/svelte/test/runtime/samples/spread-component-2/_config.js similarity index 100% rename from test/runtime/samples/spread-component-2/_config.js rename to packages/svelte/test/runtime/samples/spread-component-2/_config.js diff --git a/test/runtime/samples/spread-component-2/main.svelte b/packages/svelte/test/runtime/samples/spread-component-2/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-2/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-2/main.svelte diff --git a/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/Widget.svelte diff --git a/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/_config.js b/packages/svelte/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/_config.js similarity index 100% rename from test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/_config.js rename to packages/svelte/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/_config.js diff --git a/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/main.svelte b/packages/svelte/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-dynamic-non-object-multiple-dependencies/main.svelte diff --git a/test/runtime/samples/spread-component-dynamic-non-object/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-dynamic-non-object/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic-non-object/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-dynamic-non-object/Widget.svelte diff --git a/test/runtime/samples/spread-component-dynamic-non-object/_config.js b/packages/svelte/test/runtime/samples/spread-component-dynamic-non-object/_config.js similarity index 100% rename from test/runtime/samples/spread-component-dynamic-non-object/_config.js rename to packages/svelte/test/runtime/samples/spread-component-dynamic-non-object/_config.js diff --git a/test/runtime/samples/spread-component-dynamic-non-object/main.svelte b/packages/svelte/test/runtime/samples/spread-component-dynamic-non-object/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic-non-object/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-dynamic-non-object/main.svelte diff --git a/test/runtime/samples/spread-component-dynamic-undefined/_config.js b/packages/svelte/test/runtime/samples/spread-component-dynamic-undefined/_config.js similarity index 100% rename from test/runtime/samples/spread-component-dynamic-undefined/_config.js rename to packages/svelte/test/runtime/samples/spread-component-dynamic-undefined/_config.js diff --git a/test/runtime/samples/spread-component-dynamic-undefined/main.svelte b/packages/svelte/test/runtime/samples/spread-component-dynamic-undefined/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic-undefined/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-dynamic-undefined/main.svelte diff --git a/test/runtime/samples/spread-component-dynamic/Foo.svelte b/packages/svelte/test/runtime/samples/spread-component-dynamic/Foo.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic/Foo.svelte rename to packages/svelte/test/runtime/samples/spread-component-dynamic/Foo.svelte diff --git a/test/runtime/samples/spread-component-dynamic/_config.js b/packages/svelte/test/runtime/samples/spread-component-dynamic/_config.js similarity index 100% rename from test/runtime/samples/spread-component-dynamic/_config.js rename to packages/svelte/test/runtime/samples/spread-component-dynamic/_config.js diff --git a/test/runtime/samples/spread-component-dynamic/main.svelte b/packages/svelte/test/runtime/samples/spread-component-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-dynamic/main.svelte diff --git a/test/runtime/samples/spread-component-immutable/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-immutable/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-immutable/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-immutable/Widget.svelte diff --git a/test/runtime/samples/spread-component-immutable/_config.js b/packages/svelte/test/runtime/samples/spread-component-immutable/_config.js similarity index 100% rename from test/runtime/samples/spread-component-immutable/_config.js rename to packages/svelte/test/runtime/samples/spread-component-immutable/_config.js diff --git a/test/runtime/samples/spread-component-immutable/main.svelte b/packages/svelte/test/runtime/samples/spread-component-immutable/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-immutable/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-immutable/main.svelte diff --git a/test/runtime/samples/spread-component-literal/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-literal/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-literal/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-literal/Widget.svelte diff --git a/test/runtime/samples/spread-component-literal/_config.js b/packages/svelte/test/runtime/samples/spread-component-literal/_config.js similarity index 100% rename from test/runtime/samples/spread-component-literal/_config.js rename to packages/svelte/test/runtime/samples/spread-component-literal/_config.js diff --git a/test/runtime/samples/spread-component-literal/main.svelte b/packages/svelte/test/runtime/samples/spread-component-literal/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-literal/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-literal/main.svelte diff --git a/test/runtime/samples/spread-component-multiple-dependencies/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-multiple-dependencies/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-multiple-dependencies/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-multiple-dependencies/Widget.svelte diff --git a/test/runtime/samples/spread-component-multiple-dependencies/_config.js b/packages/svelte/test/runtime/samples/spread-component-multiple-dependencies/_config.js similarity index 100% rename from test/runtime/samples/spread-component-multiple-dependencies/_config.js rename to packages/svelte/test/runtime/samples/spread-component-multiple-dependencies/_config.js diff --git a/test/runtime/samples/spread-component-multiple-dependencies/main.svelte b/packages/svelte/test/runtime/samples/spread-component-multiple-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-multiple-dependencies/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-multiple-dependencies/main.svelte diff --git a/test/runtime/samples/spread-component-side-effects/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-side-effects/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-side-effects/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-side-effects/Widget.svelte diff --git a/test/runtime/samples/spread-component-side-effects/_config.js b/packages/svelte/test/runtime/samples/spread-component-side-effects/_config.js similarity index 100% rename from test/runtime/samples/spread-component-side-effects/_config.js rename to packages/svelte/test/runtime/samples/spread-component-side-effects/_config.js diff --git a/test/runtime/samples/spread-component-side-effects/main.svelte b/packages/svelte/test/runtime/samples/spread-component-side-effects/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-side-effects/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-side-effects/main.svelte diff --git a/test/runtime/samples/spread-component-with-bind/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component-with-bind/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component-with-bind/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component-with-bind/Widget.svelte diff --git a/test/runtime/samples/spread-component-with-bind/_config.js b/packages/svelte/test/runtime/samples/spread-component-with-bind/_config.js similarity index 100% rename from test/runtime/samples/spread-component-with-bind/_config.js rename to packages/svelte/test/runtime/samples/spread-component-with-bind/_config.js diff --git a/test/runtime/samples/spread-component-with-bind/main.svelte b/packages/svelte/test/runtime/samples/spread-component-with-bind/main.svelte similarity index 100% rename from test/runtime/samples/spread-component-with-bind/main.svelte rename to packages/svelte/test/runtime/samples/spread-component-with-bind/main.svelte diff --git a/test/runtime/samples/spread-component/Widget.svelte b/packages/svelte/test/runtime/samples/spread-component/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-component/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-component/Widget.svelte diff --git a/test/runtime/samples/spread-component/_config.js b/packages/svelte/test/runtime/samples/spread-component/_config.js similarity index 100% rename from test/runtime/samples/spread-component/_config.js rename to packages/svelte/test/runtime/samples/spread-component/_config.js diff --git a/test/runtime/samples/spread-component/main.svelte b/packages/svelte/test/runtime/samples/spread-component/main.svelte similarity index 100% rename from test/runtime/samples/spread-component/main.svelte rename to packages/svelte/test/runtime/samples/spread-component/main.svelte diff --git a/test/runtime/samples/spread-each-component/Nested.svelte b/packages/svelte/test/runtime/samples/spread-each-component/Nested.svelte similarity index 100% rename from test/runtime/samples/spread-each-component/Nested.svelte rename to packages/svelte/test/runtime/samples/spread-each-component/Nested.svelte diff --git a/test/runtime/samples/spread-each-component/_config.js b/packages/svelte/test/runtime/samples/spread-each-component/_config.js similarity index 100% rename from test/runtime/samples/spread-each-component/_config.js rename to packages/svelte/test/runtime/samples/spread-each-component/_config.js diff --git a/test/runtime/samples/spread-each-component/main.svelte b/packages/svelte/test/runtime/samples/spread-each-component/main.svelte similarity index 100% rename from test/runtime/samples/spread-each-component/main.svelte rename to packages/svelte/test/runtime/samples/spread-each-component/main.svelte diff --git a/test/runtime/samples/spread-each-element/_config.js b/packages/svelte/test/runtime/samples/spread-each-element/_config.js similarity index 100% rename from test/runtime/samples/spread-each-element/_config.js rename to packages/svelte/test/runtime/samples/spread-each-element/_config.js diff --git a/test/runtime/samples/spread-each-element/main.svelte b/packages/svelte/test/runtime/samples/spread-each-element/main.svelte similarity index 100% rename from test/runtime/samples/spread-each-element/main.svelte rename to packages/svelte/test/runtime/samples/spread-each-element/main.svelte diff --git a/test/runtime/samples/spread-element-boolean/_config.js b/packages/svelte/test/runtime/samples/spread-element-boolean/_config.js similarity index 100% rename from test/runtime/samples/spread-element-boolean/_config.js rename to packages/svelte/test/runtime/samples/spread-element-boolean/_config.js diff --git a/test/runtime/samples/spread-element-boolean/main.svelte b/packages/svelte/test/runtime/samples/spread-element-boolean/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-boolean/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-boolean/main.svelte diff --git a/test/runtime/samples/spread-element-class/_config.js b/packages/svelte/test/runtime/samples/spread-element-class/_config.js similarity index 100% rename from test/runtime/samples/spread-element-class/_config.js rename to packages/svelte/test/runtime/samples/spread-element-class/_config.js diff --git a/test/runtime/samples/spread-element-class/main.svelte b/packages/svelte/test/runtime/samples/spread-element-class/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-class/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-class/main.svelte diff --git a/test/runtime/samples/spread-element-input-bind-group-with-value-attr/_config.js b/packages/svelte/test/runtime/samples/spread-element-input-bind-group-with-value-attr/_config.js similarity index 100% rename from test/runtime/samples/spread-element-input-bind-group-with-value-attr/_config.js rename to packages/svelte/test/runtime/samples/spread-element-input-bind-group-with-value-attr/_config.js diff --git a/test/runtime/samples/spread-element-input-bind-group-with-value-attr/main.svelte b/packages/svelte/test/runtime/samples/spread-element-input-bind-group-with-value-attr/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-bind-group-with-value-attr/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-bind-group-with-value-attr/main.svelte diff --git a/test/runtime/samples/spread-element-input-each-block-keyed/_config.js b/packages/svelte/test/runtime/samples/spread-element-input-each-block-keyed/_config.js similarity index 100% rename from test/runtime/samples/spread-element-input-each-block-keyed/_config.js rename to packages/svelte/test/runtime/samples/spread-element-input-each-block-keyed/_config.js diff --git a/test/runtime/samples/spread-element-input-each-block-keyed/main.svelte b/packages/svelte/test/runtime/samples/spread-element-input-each-block-keyed/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-each-block-keyed/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-each-block-keyed/main.svelte diff --git a/test/runtime/samples/spread-element-input-select-multiple/_config.js b/packages/svelte/test/runtime/samples/spread-element-input-select-multiple/_config.js similarity index 100% rename from test/runtime/samples/spread-element-input-select-multiple/_config.js rename to packages/svelte/test/runtime/samples/spread-element-input-select-multiple/_config.js diff --git a/test/runtime/samples/spread-element-input-select-multiple/main.svelte b/packages/svelte/test/runtime/samples/spread-element-input-select-multiple/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-select-multiple/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-select-multiple/main.svelte diff --git a/test/runtime/samples/spread-element-input-select/_config.js b/packages/svelte/test/runtime/samples/spread-element-input-select/_config.js similarity index 100% rename from test/runtime/samples/spread-element-input-select/_config.js rename to packages/svelte/test/runtime/samples/spread-element-input-select/_config.js diff --git a/test/runtime/samples/spread-element-input-select/main.svelte b/packages/svelte/test/runtime/samples/spread-element-input-select/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-select/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-select/main.svelte diff --git a/test/runtime/samples/spread-element-input-value-undefined/_config.js b/packages/svelte/test/runtime/samples/spread-element-input-value-undefined/_config.js similarity index 100% rename from test/runtime/samples/spread-element-input-value-undefined/_config.js rename to packages/svelte/test/runtime/samples/spread-element-input-value-undefined/_config.js diff --git a/test/runtime/samples/spread-element-input-value-undefined/main.svelte b/packages/svelte/test/runtime/samples/spread-element-input-value-undefined/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-value-undefined/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-value-undefined/main.svelte diff --git a/test/runtime/samples/spread-element-input-value/InputOne.svelte b/packages/svelte/test/runtime/samples/spread-element-input-value/InputOne.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-value/InputOne.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-value/InputOne.svelte diff --git a/test/runtime/samples/spread-element-input-value/InputTwo.svelte b/packages/svelte/test/runtime/samples/spread-element-input-value/InputTwo.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-value/InputTwo.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-value/InputTwo.svelte diff --git a/test/runtime/samples/spread-element-input-value/_config.js b/packages/svelte/test/runtime/samples/spread-element-input-value/_config.js similarity index 100% rename from test/runtime/samples/spread-element-input-value/_config.js rename to packages/svelte/test/runtime/samples/spread-element-input-value/_config.js diff --git a/test/runtime/samples/spread-element-input-value/main.svelte b/packages/svelte/test/runtime/samples/spread-element-input-value/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input-value/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-input-value/main.svelte diff --git a/test/runtime/samples/spread-element-input-value/utils.js b/packages/svelte/test/runtime/samples/spread-element-input-value/utils.js similarity index 100% rename from test/runtime/samples/spread-element-input-value/utils.js rename to packages/svelte/test/runtime/samples/spread-element-input-value/utils.js diff --git a/test/runtime/samples/spread-element-input/_config.js b/packages/svelte/test/runtime/samples/spread-element-input/_config.js similarity index 100% rename from test/runtime/samples/spread-element-input/_config.js rename to packages/svelte/test/runtime/samples/spread-element-input/_config.js diff --git a/test/runtime/samples/spread-element-input/main.svelte b/packages/svelte/test/runtime/samples/spread-element-input/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-input/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-input/main.svelte diff --git a/test/runtime/samples/spread-element-multiple-dependencies/_config.js b/packages/svelte/test/runtime/samples/spread-element-multiple-dependencies/_config.js similarity index 100% rename from test/runtime/samples/spread-element-multiple-dependencies/_config.js rename to packages/svelte/test/runtime/samples/spread-element-multiple-dependencies/_config.js diff --git a/test/runtime/samples/spread-element-multiple-dependencies/main.svelte b/packages/svelte/test/runtime/samples/spread-element-multiple-dependencies/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-multiple-dependencies/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-multiple-dependencies/main.svelte diff --git a/test/runtime/samples/spread-element-multiple/_config.js b/packages/svelte/test/runtime/samples/spread-element-multiple/_config.js similarity index 100% rename from test/runtime/samples/spread-element-multiple/_config.js rename to packages/svelte/test/runtime/samples/spread-element-multiple/_config.js diff --git a/test/runtime/samples/spread-element-multiple/main.svelte b/packages/svelte/test/runtime/samples/spread-element-multiple/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-multiple/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-multiple/main.svelte diff --git a/test/runtime/samples/spread-element-readonly/_config.js b/packages/svelte/test/runtime/samples/spread-element-readonly/_config.js similarity index 100% rename from test/runtime/samples/spread-element-readonly/_config.js rename to packages/svelte/test/runtime/samples/spread-element-readonly/_config.js diff --git a/test/runtime/samples/spread-element-readonly/main.svelte b/packages/svelte/test/runtime/samples/spread-element-readonly/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-readonly/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-readonly/main.svelte diff --git a/test/runtime/samples/spread-element-removal/_config.js b/packages/svelte/test/runtime/samples/spread-element-removal/_config.js similarity index 100% rename from test/runtime/samples/spread-element-removal/_config.js rename to packages/svelte/test/runtime/samples/spread-element-removal/_config.js diff --git a/test/runtime/samples/spread-element-removal/main.svelte b/packages/svelte/test/runtime/samples/spread-element-removal/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-removal/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-removal/main.svelte diff --git a/test/runtime/samples/spread-element-scope/_config.js b/packages/svelte/test/runtime/samples/spread-element-scope/_config.js similarity index 100% rename from test/runtime/samples/spread-element-scope/_config.js rename to packages/svelte/test/runtime/samples/spread-element-scope/_config.js diff --git a/test/runtime/samples/spread-element-scope/main.svelte b/packages/svelte/test/runtime/samples/spread-element-scope/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-scope/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-scope/main.svelte diff --git a/test/runtime/samples/spread-element-select-value-undefined/Select.svelte b/packages/svelte/test/runtime/samples/spread-element-select-value-undefined/Select.svelte similarity index 100% rename from test/runtime/samples/spread-element-select-value-undefined/Select.svelte rename to packages/svelte/test/runtime/samples/spread-element-select-value-undefined/Select.svelte diff --git a/test/runtime/samples/spread-element-select-value-undefined/_config.js b/packages/svelte/test/runtime/samples/spread-element-select-value-undefined/_config.js similarity index 100% rename from test/runtime/samples/spread-element-select-value-undefined/_config.js rename to packages/svelte/test/runtime/samples/spread-element-select-value-undefined/_config.js diff --git a/test/runtime/samples/spread-element-select-value-undefined/main.svelte b/packages/svelte/test/runtime/samples/spread-element-select-value-undefined/main.svelte similarity index 100% rename from test/runtime/samples/spread-element-select-value-undefined/main.svelte rename to packages/svelte/test/runtime/samples/spread-element-select-value-undefined/main.svelte diff --git a/test/runtime/samples/spread-element/_config.js b/packages/svelte/test/runtime/samples/spread-element/_config.js similarity index 100% rename from test/runtime/samples/spread-element/_config.js rename to packages/svelte/test/runtime/samples/spread-element/_config.js diff --git a/test/runtime/samples/spread-element/main.svelte b/packages/svelte/test/runtime/samples/spread-element/main.svelte similarity index 100% rename from test/runtime/samples/spread-element/main.svelte rename to packages/svelte/test/runtime/samples/spread-element/main.svelte diff --git a/test/runtime/samples/spread-own-props/Widget.svelte b/packages/svelte/test/runtime/samples/spread-own-props/Widget.svelte similarity index 100% rename from test/runtime/samples/spread-own-props/Widget.svelte rename to packages/svelte/test/runtime/samples/spread-own-props/Widget.svelte diff --git a/test/runtime/samples/spread-own-props/_config.js b/packages/svelte/test/runtime/samples/spread-own-props/_config.js similarity index 100% rename from test/runtime/samples/spread-own-props/_config.js rename to packages/svelte/test/runtime/samples/spread-own-props/_config.js diff --git a/test/runtime/samples/spread-own-props/main.svelte b/packages/svelte/test/runtime/samples/spread-own-props/main.svelte similarity index 100% rename from test/runtime/samples/spread-own-props/main.svelte rename to packages/svelte/test/runtime/samples/spread-own-props/main.svelte diff --git a/test/runtime/samples/spread-reuse-levels/Nested.svelte b/packages/svelte/test/runtime/samples/spread-reuse-levels/Nested.svelte similarity index 100% rename from test/runtime/samples/spread-reuse-levels/Nested.svelte rename to packages/svelte/test/runtime/samples/spread-reuse-levels/Nested.svelte diff --git a/test/runtime/samples/spread-reuse-levels/_config.js b/packages/svelte/test/runtime/samples/spread-reuse-levels/_config.js similarity index 100% rename from test/runtime/samples/spread-reuse-levels/_config.js rename to packages/svelte/test/runtime/samples/spread-reuse-levels/_config.js diff --git a/test/runtime/samples/spread-reuse-levels/main.svelte b/packages/svelte/test/runtime/samples/spread-reuse-levels/main.svelte similarity index 100% rename from test/runtime/samples/spread-reuse-levels/main.svelte rename to packages/svelte/test/runtime/samples/spread-reuse-levels/main.svelte diff --git a/test/runtime/samples/spread-width-height-attributes/_config.js b/packages/svelte/test/runtime/samples/spread-width-height-attributes/_config.js similarity index 100% rename from test/runtime/samples/spread-width-height-attributes/_config.js rename to packages/svelte/test/runtime/samples/spread-width-height-attributes/_config.js diff --git a/test/runtime/samples/spread-width-height-attributes/main.svelte b/packages/svelte/test/runtime/samples/spread-width-height-attributes/main.svelte similarity index 100% rename from test/runtime/samples/spread-width-height-attributes/main.svelte rename to packages/svelte/test/runtime/samples/spread-width-height-attributes/main.svelte diff --git a/test/runtime/samples/spring/_config.js b/packages/svelte/test/runtime/samples/spring/_config.js similarity index 100% rename from test/runtime/samples/spring/_config.js rename to packages/svelte/test/runtime/samples/spring/_config.js diff --git a/test/runtime/samples/spring/main.svelte b/packages/svelte/test/runtime/samples/spring/main.svelte similarity index 100% rename from test/runtime/samples/spring/main.svelte rename to packages/svelte/test/runtime/samples/spring/main.svelte diff --git a/test/runtime/samples/state-deconflicted/_config.js b/packages/svelte/test/runtime/samples/state-deconflicted/_config.js similarity index 100% rename from test/runtime/samples/state-deconflicted/_config.js rename to packages/svelte/test/runtime/samples/state-deconflicted/_config.js diff --git a/test/runtime/samples/state-deconflicted/main.svelte b/packages/svelte/test/runtime/samples/state-deconflicted/main.svelte similarity index 100% rename from test/runtime/samples/state-deconflicted/main.svelte rename to packages/svelte/test/runtime/samples/state-deconflicted/main.svelte diff --git a/test/runtime/samples/static-svelte-element/_config.js b/packages/svelte/test/runtime/samples/static-svelte-element/_config.js similarity index 100% rename from test/runtime/samples/static-svelte-element/_config.js rename to packages/svelte/test/runtime/samples/static-svelte-element/_config.js diff --git a/test/runtime/samples/static-svelte-element/main.svelte b/packages/svelte/test/runtime/samples/static-svelte-element/main.svelte similarity index 100% rename from test/runtime/samples/static-svelte-element/main.svelte rename to packages/svelte/test/runtime/samples/static-svelte-element/main.svelte diff --git a/test/runtime/samples/static-svelte-element2/_config.js b/packages/svelte/test/runtime/samples/static-svelte-element2/_config.js similarity index 100% rename from test/runtime/samples/static-svelte-element2/_config.js rename to packages/svelte/test/runtime/samples/static-svelte-element2/_config.js diff --git a/test/runtime/samples/static-svelte-element2/main.svelte b/packages/svelte/test/runtime/samples/static-svelte-element2/main.svelte similarity index 100% rename from test/runtime/samples/static-svelte-element2/main.svelte rename to packages/svelte/test/runtime/samples/static-svelte-element2/main.svelte diff --git a/test/runtime/samples/store-assignment-updates-destructure/_config.js b/packages/svelte/test/runtime/samples/store-assignment-updates-destructure/_config.js similarity index 100% rename from test/runtime/samples/store-assignment-updates-destructure/_config.js rename to packages/svelte/test/runtime/samples/store-assignment-updates-destructure/_config.js diff --git a/test/runtime/samples/store-assignment-updates-destructure/main.svelte b/packages/svelte/test/runtime/samples/store-assignment-updates-destructure/main.svelte similarity index 100% rename from test/runtime/samples/store-assignment-updates-destructure/main.svelte rename to packages/svelte/test/runtime/samples/store-assignment-updates-destructure/main.svelte diff --git a/test/runtime/samples/store-assignment-updates-property/_config.js b/packages/svelte/test/runtime/samples/store-assignment-updates-property/_config.js similarity index 100% rename from test/runtime/samples/store-assignment-updates-property/_config.js rename to packages/svelte/test/runtime/samples/store-assignment-updates-property/_config.js diff --git a/test/runtime/samples/store-assignment-updates-property/main.svelte b/packages/svelte/test/runtime/samples/store-assignment-updates-property/main.svelte similarity index 100% rename from test/runtime/samples/store-assignment-updates-property/main.svelte rename to packages/svelte/test/runtime/samples/store-assignment-updates-property/main.svelte diff --git a/test/runtime/samples/store-assignment-updates-reactive/_config.js b/packages/svelte/test/runtime/samples/store-assignment-updates-reactive/_config.js similarity index 100% rename from test/runtime/samples/store-assignment-updates-reactive/_config.js rename to packages/svelte/test/runtime/samples/store-assignment-updates-reactive/_config.js diff --git a/test/runtime/samples/store-assignment-updates-reactive/main.svelte b/packages/svelte/test/runtime/samples/store-assignment-updates-reactive/main.svelte similarity index 100% rename from test/runtime/samples/store-assignment-updates-reactive/main.svelte rename to packages/svelte/test/runtime/samples/store-assignment-updates-reactive/main.svelte diff --git a/test/runtime/samples/store-assignment-updates/_config.js b/packages/svelte/test/runtime/samples/store-assignment-updates/_config.js similarity index 100% rename from test/runtime/samples/store-assignment-updates/_config.js rename to packages/svelte/test/runtime/samples/store-assignment-updates/_config.js diff --git a/test/runtime/samples/store-assignment-updates/main.svelte b/packages/svelte/test/runtime/samples/store-assignment-updates/main.svelte similarity index 100% rename from test/runtime/samples/store-assignment-updates/main.svelte rename to packages/svelte/test/runtime/samples/store-assignment-updates/main.svelte diff --git a/test/runtime/samples/store-auto-resubscribe-immediate/_config.js b/packages/svelte/test/runtime/samples/store-auto-resubscribe-immediate/_config.js similarity index 100% rename from test/runtime/samples/store-auto-resubscribe-immediate/_config.js rename to packages/svelte/test/runtime/samples/store-auto-resubscribe-immediate/_config.js diff --git a/test/runtime/samples/store-auto-resubscribe-immediate/main.svelte b/packages/svelte/test/runtime/samples/store-auto-resubscribe-immediate/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-resubscribe-immediate/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-resubscribe-immediate/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-event-callback/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-event-callback/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-event-callback/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-event-callback/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-event-callback/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-event-callback/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-event-callback/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-event-callback/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-immediate-multiple-vars/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-immediate/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-immediate/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-immediate/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-immediate/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-immediate/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-immediate/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-immediate/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-immediate/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-implicit/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-implicit/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-implicit/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-implicit/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-implicit/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-implicit/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-implicit/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-implicit/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-each/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-each/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-each/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-each/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-in-each/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-each/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-each/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-each/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/App.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/App.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/App.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/App.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration-2/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-reactive-declaration/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-in-script/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-script/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-script/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-script/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-in-script/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-in-script/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-in-script/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-in-script/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-script/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-missing-global-script/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-script/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-missing-global-script/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-script/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-template/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-missing-global-template/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-template/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-missing-global-template/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-missing-global-template/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-nullish/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-nullish/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-nullish/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-nullish/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-nullish/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-nullish/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-nullish/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-nullish/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe-removed-store/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe-removed-store/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe-removed-store/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe-removed-store/_config.js diff --git a/test/runtime/samples/store-auto-subscribe-removed-store/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe-removed-store/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe-removed-store/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe-removed-store/main.svelte diff --git a/test/runtime/samples/store-auto-subscribe/_config.js b/packages/svelte/test/runtime/samples/store-auto-subscribe/_config.js similarity index 100% rename from test/runtime/samples/store-auto-subscribe/_config.js rename to packages/svelte/test/runtime/samples/store-auto-subscribe/_config.js diff --git a/test/runtime/samples/store-auto-subscribe/main.svelte b/packages/svelte/test/runtime/samples/store-auto-subscribe/main.svelte similarity index 100% rename from test/runtime/samples/store-auto-subscribe/main.svelte rename to packages/svelte/test/runtime/samples/store-auto-subscribe/main.svelte diff --git a/test/runtime/samples/store-dev-mode-error/_config.js b/packages/svelte/test/runtime/samples/store-dev-mode-error/_config.js similarity index 100% rename from test/runtime/samples/store-dev-mode-error/_config.js rename to packages/svelte/test/runtime/samples/store-dev-mode-error/_config.js diff --git a/test/runtime/samples/store-dev-mode-error/main.svelte b/packages/svelte/test/runtime/samples/store-dev-mode-error/main.svelte similarity index 100% rename from test/runtime/samples/store-dev-mode-error/main.svelte rename to packages/svelte/test/runtime/samples/store-dev-mode-error/main.svelte diff --git a/test/runtime/samples/store-each-binding-deep/_config.js b/packages/svelte/test/runtime/samples/store-each-binding-deep/_config.js similarity index 100% rename from test/runtime/samples/store-each-binding-deep/_config.js rename to packages/svelte/test/runtime/samples/store-each-binding-deep/_config.js diff --git a/test/runtime/samples/store-each-binding-deep/main.svelte b/packages/svelte/test/runtime/samples/store-each-binding-deep/main.svelte similarity index 100% rename from test/runtime/samples/store-each-binding-deep/main.svelte rename to packages/svelte/test/runtime/samples/store-each-binding-deep/main.svelte diff --git a/test/runtime/samples/store-each-binding-destructuring/_config.js b/packages/svelte/test/runtime/samples/store-each-binding-destructuring/_config.js similarity index 100% rename from test/runtime/samples/store-each-binding-destructuring/_config.js rename to packages/svelte/test/runtime/samples/store-each-binding-destructuring/_config.js diff --git a/test/runtime/samples/store-each-binding-destructuring/main.svelte b/packages/svelte/test/runtime/samples/store-each-binding-destructuring/main.svelte similarity index 100% rename from test/runtime/samples/store-each-binding-destructuring/main.svelte rename to packages/svelte/test/runtime/samples/store-each-binding-destructuring/main.svelte diff --git a/test/runtime/samples/store-each-binding/_config.js b/packages/svelte/test/runtime/samples/store-each-binding/_config.js similarity index 100% rename from test/runtime/samples/store-each-binding/_config.js rename to packages/svelte/test/runtime/samples/store-each-binding/_config.js diff --git a/test/runtime/samples/store-each-binding/main.svelte b/packages/svelte/test/runtime/samples/store-each-binding/main.svelte similarity index 100% rename from test/runtime/samples/store-each-binding/main.svelte rename to packages/svelte/test/runtime/samples/store-each-binding/main.svelte diff --git a/test/runtime/samples/store-imported-module/_config.js b/packages/svelte/test/runtime/samples/store-imported-module/_config.js similarity index 100% rename from test/runtime/samples/store-imported-module/_config.js rename to packages/svelte/test/runtime/samples/store-imported-module/_config.js diff --git a/test/runtime/samples/store-imported-module/foo.js b/packages/svelte/test/runtime/samples/store-imported-module/foo.js similarity index 100% rename from test/runtime/samples/store-imported-module/foo.js rename to packages/svelte/test/runtime/samples/store-imported-module/foo.js diff --git a/test/runtime/samples/store-imported-module/main.svelte b/packages/svelte/test/runtime/samples/store-imported-module/main.svelte similarity index 100% rename from test/runtime/samples/store-imported-module/main.svelte rename to packages/svelte/test/runtime/samples/store-imported-module/main.svelte diff --git a/test/runtime/samples/store-imported/_config.js b/packages/svelte/test/runtime/samples/store-imported/_config.js similarity index 100% rename from test/runtime/samples/store-imported/_config.js rename to packages/svelte/test/runtime/samples/store-imported/_config.js diff --git a/test/runtime/samples/store-imported/foo.js b/packages/svelte/test/runtime/samples/store-imported/foo.js similarity index 100% rename from test/runtime/samples/store-imported/foo.js rename to packages/svelte/test/runtime/samples/store-imported/foo.js diff --git a/test/runtime/samples/store-imported/main.svelte b/packages/svelte/test/runtime/samples/store-imported/main.svelte similarity index 100% rename from test/runtime/samples/store-imported/main.svelte rename to packages/svelte/test/runtime/samples/store-imported/main.svelte diff --git a/test/runtime/samples/store-imports-hoisted/_config.js b/packages/svelte/test/runtime/samples/store-imports-hoisted/_config.js similarity index 100% rename from test/runtime/samples/store-imports-hoisted/_config.js rename to packages/svelte/test/runtime/samples/store-imports-hoisted/_config.js diff --git a/test/runtime/samples/store-imports-hoisted/foo.js b/packages/svelte/test/runtime/samples/store-imports-hoisted/foo.js similarity index 100% rename from test/runtime/samples/store-imports-hoisted/foo.js rename to packages/svelte/test/runtime/samples/store-imports-hoisted/foo.js diff --git a/test/runtime/samples/store-imports-hoisted/main.svelte b/packages/svelte/test/runtime/samples/store-imports-hoisted/main.svelte similarity index 100% rename from test/runtime/samples/store-imports-hoisted/main.svelte rename to packages/svelte/test/runtime/samples/store-imports-hoisted/main.svelte diff --git a/test/runtime/samples/store-increment-updates-reactive/_config.js b/packages/svelte/test/runtime/samples/store-increment-updates-reactive/_config.js similarity index 100% rename from test/runtime/samples/store-increment-updates-reactive/_config.js rename to packages/svelte/test/runtime/samples/store-increment-updates-reactive/_config.js diff --git a/test/runtime/samples/store-increment-updates-reactive/main.svelte b/packages/svelte/test/runtime/samples/store-increment-updates-reactive/main.svelte similarity index 100% rename from test/runtime/samples/store-increment-updates-reactive/main.svelte rename to packages/svelte/test/runtime/samples/store-increment-updates-reactive/main.svelte diff --git a/test/runtime/samples/store-invalidation-while-update-1/_config.js b/packages/svelte/test/runtime/samples/store-invalidation-while-update-1/_config.js similarity index 100% rename from test/runtime/samples/store-invalidation-while-update-1/_config.js rename to packages/svelte/test/runtime/samples/store-invalidation-while-update-1/_config.js diff --git a/test/runtime/samples/store-invalidation-while-update-1/main.svelte b/packages/svelte/test/runtime/samples/store-invalidation-while-update-1/main.svelte similarity index 100% rename from test/runtime/samples/store-invalidation-while-update-1/main.svelte rename to packages/svelte/test/runtime/samples/store-invalidation-while-update-1/main.svelte diff --git a/test/runtime/samples/store-invalidation-while-update-2/_config.js b/packages/svelte/test/runtime/samples/store-invalidation-while-update-2/_config.js similarity index 100% rename from test/runtime/samples/store-invalidation-while-update-2/_config.js rename to packages/svelte/test/runtime/samples/store-invalidation-while-update-2/_config.js diff --git a/test/runtime/samples/store-invalidation-while-update-2/main.svelte b/packages/svelte/test/runtime/samples/store-invalidation-while-update-2/main.svelte similarity index 100% rename from test/runtime/samples/store-invalidation-while-update-2/main.svelte rename to packages/svelte/test/runtime/samples/store-invalidation-while-update-2/main.svelte diff --git a/test/runtime/samples/store-resubscribe-b/_config.js b/packages/svelte/test/runtime/samples/store-resubscribe-b/_config.js similarity index 100% rename from test/runtime/samples/store-resubscribe-b/_config.js rename to packages/svelte/test/runtime/samples/store-resubscribe-b/_config.js diff --git a/test/runtime/samples/store-resubscribe-b/main.svelte b/packages/svelte/test/runtime/samples/store-resubscribe-b/main.svelte similarity index 100% rename from test/runtime/samples/store-resubscribe-b/main.svelte rename to packages/svelte/test/runtime/samples/store-resubscribe-b/main.svelte diff --git a/test/runtime/samples/store-resubscribe-c/_config.js b/packages/svelte/test/runtime/samples/store-resubscribe-c/_config.js similarity index 100% rename from test/runtime/samples/store-resubscribe-c/_config.js rename to packages/svelte/test/runtime/samples/store-resubscribe-c/_config.js diff --git a/test/runtime/samples/store-resubscribe-c/main.svelte b/packages/svelte/test/runtime/samples/store-resubscribe-c/main.svelte similarity index 100% rename from test/runtime/samples/store-resubscribe-c/main.svelte rename to packages/svelte/test/runtime/samples/store-resubscribe-c/main.svelte diff --git a/test/runtime/samples/store-resubscribe-export/_config.js b/packages/svelte/test/runtime/samples/store-resubscribe-export/_config.js similarity index 100% rename from test/runtime/samples/store-resubscribe-export/_config.js rename to packages/svelte/test/runtime/samples/store-resubscribe-export/_config.js diff --git a/test/runtime/samples/store-resubscribe-export/main.svelte b/packages/svelte/test/runtime/samples/store-resubscribe-export/main.svelte similarity index 100% rename from test/runtime/samples/store-resubscribe-export/main.svelte rename to packages/svelte/test/runtime/samples/store-resubscribe-export/main.svelte diff --git a/test/runtime/samples/store-resubscribe-observable/_config.js b/packages/svelte/test/runtime/samples/store-resubscribe-observable/_config.js similarity index 100% rename from test/runtime/samples/store-resubscribe-observable/_config.js rename to packages/svelte/test/runtime/samples/store-resubscribe-observable/_config.js diff --git a/test/runtime/samples/store-resubscribe-observable/main.svelte b/packages/svelte/test/runtime/samples/store-resubscribe-observable/main.svelte similarity index 100% rename from test/runtime/samples/store-resubscribe-observable/main.svelte rename to packages/svelte/test/runtime/samples/store-resubscribe-observable/main.svelte diff --git a/test/runtime/samples/store-resubscribe/_config.js b/packages/svelte/test/runtime/samples/store-resubscribe/_config.js similarity index 100% rename from test/runtime/samples/store-resubscribe/_config.js rename to packages/svelte/test/runtime/samples/store-resubscribe/_config.js diff --git a/test/runtime/samples/store-resubscribe/main.svelte b/packages/svelte/test/runtime/samples/store-resubscribe/main.svelte similarity index 100% rename from test/runtime/samples/store-resubscribe/main.svelte rename to packages/svelte/test/runtime/samples/store-resubscribe/main.svelte diff --git a/test/runtime/samples/store-shadow-scope-declaration/_config.js b/packages/svelte/test/runtime/samples/store-shadow-scope-declaration/_config.js similarity index 100% rename from test/runtime/samples/store-shadow-scope-declaration/_config.js rename to packages/svelte/test/runtime/samples/store-shadow-scope-declaration/_config.js diff --git a/test/runtime/samples/store-shadow-scope-declaration/main.svelte b/packages/svelte/test/runtime/samples/store-shadow-scope-declaration/main.svelte similarity index 100% rename from test/runtime/samples/store-shadow-scope-declaration/main.svelte rename to packages/svelte/test/runtime/samples/store-shadow-scope-declaration/main.svelte diff --git a/test/runtime/samples/store-unreferenced/Nested.svelte b/packages/svelte/test/runtime/samples/store-unreferenced/Nested.svelte similarity index 100% rename from test/runtime/samples/store-unreferenced/Nested.svelte rename to packages/svelte/test/runtime/samples/store-unreferenced/Nested.svelte diff --git a/test/runtime/samples/store-unreferenced/_config.js b/packages/svelte/test/runtime/samples/store-unreferenced/_config.js similarity index 100% rename from test/runtime/samples/store-unreferenced/_config.js rename to packages/svelte/test/runtime/samples/store-unreferenced/_config.js diff --git a/test/runtime/samples/store-unreferenced/main.svelte b/packages/svelte/test/runtime/samples/store-unreferenced/main.svelte similarity index 100% rename from test/runtime/samples/store-unreferenced/main.svelte rename to packages/svelte/test/runtime/samples/store-unreferenced/main.svelte diff --git a/test/runtime/samples/store-unreferenced/store.js b/packages/svelte/test/runtime/samples/store-unreferenced/store.js similarity index 100% rename from test/runtime/samples/store-unreferenced/store.js rename to packages/svelte/test/runtime/samples/store-unreferenced/store.js diff --git a/test/runtime/samples/svg-attributes/_config.js b/packages/svelte/test/runtime/samples/svg-attributes/_config.js similarity index 100% rename from test/runtime/samples/svg-attributes/_config.js rename to packages/svelte/test/runtime/samples/svg-attributes/_config.js diff --git a/test/runtime/samples/svg-attributes/main.svelte b/packages/svelte/test/runtime/samples/svg-attributes/main.svelte similarity index 100% rename from test/runtime/samples/svg-attributes/main.svelte rename to packages/svelte/test/runtime/samples/svg-attributes/main.svelte diff --git a/test/runtime/samples/svg-child-component-declared-namespace-shorthand/Rect.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/svg-child-component-declared-namespace-shorthand/Rect.svelte diff --git a/test/runtime/samples/svg-child-component-declared-namespace-shorthand/_config.js b/packages/svelte/test/runtime/samples/svg-child-component-declared-namespace-shorthand/_config.js similarity index 100% rename from test/runtime/samples/svg-child-component-declared-namespace-shorthand/_config.js rename to packages/svelte/test/runtime/samples/svg-child-component-declared-namespace-shorthand/_config.js diff --git a/test/runtime/samples/svg-child-component-declared-namespace-shorthand/main.svelte b/packages/svelte/test/runtime/samples/svg-child-component-declared-namespace-shorthand/main.svelte similarity index 100% rename from test/runtime/samples/svg-child-component-declared-namespace-shorthand/main.svelte rename to packages/svelte/test/runtime/samples/svg-child-component-declared-namespace-shorthand/main.svelte diff --git a/test/runtime/samples/svg-child-component-declared-namespace/Rect.svelte b/packages/svelte/test/runtime/samples/svg-child-component-declared-namespace/Rect.svelte similarity index 100% rename from test/runtime/samples/svg-child-component-declared-namespace/Rect.svelte rename to packages/svelte/test/runtime/samples/svg-child-component-declared-namespace/Rect.svelte diff --git a/test/runtime/samples/svg-child-component-declared-namespace/_config.js b/packages/svelte/test/runtime/samples/svg-child-component-declared-namespace/_config.js similarity index 100% rename from test/runtime/samples/svg-child-component-declared-namespace/_config.js rename to packages/svelte/test/runtime/samples/svg-child-component-declared-namespace/_config.js diff --git a/test/runtime/samples/svg-child-component-declared-namespace/main.svelte b/packages/svelte/test/runtime/samples/svg-child-component-declared-namespace/main.svelte similarity index 100% rename from test/runtime/samples/svg-child-component-declared-namespace/main.svelte rename to packages/svelte/test/runtime/samples/svg-child-component-declared-namespace/main.svelte diff --git a/test/runtime/samples/svg-class/_config.js b/packages/svelte/test/runtime/samples/svg-class/_config.js similarity index 100% rename from test/runtime/samples/svg-class/_config.js rename to packages/svelte/test/runtime/samples/svg-class/_config.js diff --git a/test/runtime/samples/svg-class/main.svelte b/packages/svelte/test/runtime/samples/svg-class/main.svelte similarity index 100% rename from test/runtime/samples/svg-class/main.svelte rename to packages/svelte/test/runtime/samples/svg-class/main.svelte diff --git a/test/runtime/samples/svg-each-block-anchor/_config.js b/packages/svelte/test/runtime/samples/svg-each-block-anchor/_config.js similarity index 100% rename from test/runtime/samples/svg-each-block-anchor/_config.js rename to packages/svelte/test/runtime/samples/svg-each-block-anchor/_config.js diff --git a/test/runtime/samples/svg-each-block-anchor/main.svelte b/packages/svelte/test/runtime/samples/svg-each-block-anchor/main.svelte similarity index 100% rename from test/runtime/samples/svg-each-block-anchor/main.svelte rename to packages/svelte/test/runtime/samples/svg-each-block-anchor/main.svelte diff --git a/test/runtime/samples/svg-each-block-namespace/_config.js b/packages/svelte/test/runtime/samples/svg-each-block-namespace/_config.js similarity index 100% rename from test/runtime/samples/svg-each-block-namespace/_config.js rename to packages/svelte/test/runtime/samples/svg-each-block-namespace/_config.js diff --git a/test/runtime/samples/svg-each-block-namespace/main.svelte b/packages/svelte/test/runtime/samples/svg-each-block-namespace/main.svelte similarity index 100% rename from test/runtime/samples/svg-each-block-namespace/main.svelte rename to packages/svelte/test/runtime/samples/svg-each-block-namespace/main.svelte diff --git a/test/runtime/samples/svg-foreignobject-namespace/_config.js b/packages/svelte/test/runtime/samples/svg-foreignobject-namespace/_config.js similarity index 100% rename from test/runtime/samples/svg-foreignobject-namespace/_config.js rename to packages/svelte/test/runtime/samples/svg-foreignobject-namespace/_config.js diff --git a/test/runtime/samples/svg-foreignobject-namespace/main.svelte b/packages/svelte/test/runtime/samples/svg-foreignobject-namespace/main.svelte similarity index 100% rename from test/runtime/samples/svg-foreignobject-namespace/main.svelte rename to packages/svelte/test/runtime/samples/svg-foreignobject-namespace/main.svelte diff --git a/test/runtime/samples/svg-html-tag/_config.js b/packages/svelte/test/runtime/samples/svg-html-tag/_config.js similarity index 100% rename from test/runtime/samples/svg-html-tag/_config.js rename to packages/svelte/test/runtime/samples/svg-html-tag/_config.js diff --git a/test/runtime/samples/svg-html-tag/main.svelte b/packages/svelte/test/runtime/samples/svg-html-tag/main.svelte similarity index 100% rename from test/runtime/samples/svg-html-tag/main.svelte rename to packages/svelte/test/runtime/samples/svg-html-tag/main.svelte diff --git a/test/runtime/samples/svg-html-tag2/_config.js b/packages/svelte/test/runtime/samples/svg-html-tag2/_config.js similarity index 100% rename from test/runtime/samples/svg-html-tag2/_config.js rename to packages/svelte/test/runtime/samples/svg-html-tag2/_config.js diff --git a/test/runtime/samples/svg-html-tag2/main.svelte b/packages/svelte/test/runtime/samples/svg-html-tag2/main.svelte similarity index 100% rename from test/runtime/samples/svg-html-tag2/main.svelte rename to packages/svelte/test/runtime/samples/svg-html-tag2/main.svelte diff --git a/test/runtime/samples/svg-html-tag3/_config.js b/packages/svelte/test/runtime/samples/svg-html-tag3/_config.js similarity index 100% rename from test/runtime/samples/svg-html-tag3/_config.js rename to packages/svelte/test/runtime/samples/svg-html-tag3/_config.js diff --git a/test/runtime/samples/svg-html-tag3/main.svelte b/packages/svelte/test/runtime/samples/svg-html-tag3/main.svelte similarity index 100% rename from test/runtime/samples/svg-html-tag3/main.svelte rename to packages/svelte/test/runtime/samples/svg-html-tag3/main.svelte diff --git a/test/runtime/samples/svg-multiple/_config.js b/packages/svelte/test/runtime/samples/svg-multiple/_config.js similarity index 100% rename from test/runtime/samples/svg-multiple/_config.js rename to packages/svelte/test/runtime/samples/svg-multiple/_config.js diff --git a/test/runtime/samples/svg-multiple/main.svelte b/packages/svelte/test/runtime/samples/svg-multiple/main.svelte similarity index 100% rename from test/runtime/samples/svg-multiple/main.svelte rename to packages/svelte/test/runtime/samples/svg-multiple/main.svelte diff --git a/test/runtime/samples/svg-no-whitespace/_config.js b/packages/svelte/test/runtime/samples/svg-no-whitespace/_config.js similarity index 100% rename from test/runtime/samples/svg-no-whitespace/_config.js rename to packages/svelte/test/runtime/samples/svg-no-whitespace/_config.js diff --git a/test/runtime/samples/svg-no-whitespace/main.svelte b/packages/svelte/test/runtime/samples/svg-no-whitespace/main.svelte similarity index 100% rename from test/runtime/samples/svg-no-whitespace/main.svelte rename to packages/svelte/test/runtime/samples/svg-no-whitespace/main.svelte diff --git a/test/runtime/samples/svg-slot-namespace/Widget.svelte b/packages/svelte/test/runtime/samples/svg-slot-namespace/Widget.svelte similarity index 100% rename from test/runtime/samples/svg-slot-namespace/Widget.svelte rename to packages/svelte/test/runtime/samples/svg-slot-namespace/Widget.svelte diff --git a/test/runtime/samples/svg-slot-namespace/_config.js b/packages/svelte/test/runtime/samples/svg-slot-namespace/_config.js similarity index 100% rename from test/runtime/samples/svg-slot-namespace/_config.js rename to packages/svelte/test/runtime/samples/svg-slot-namespace/_config.js diff --git a/test/runtime/samples/svg-slot-namespace/main.svelte b/packages/svelte/test/runtime/samples/svg-slot-namespace/main.svelte similarity index 100% rename from test/runtime/samples/svg-slot-namespace/main.svelte rename to packages/svelte/test/runtime/samples/svg-slot-namespace/main.svelte diff --git a/test/runtime/samples/svg-spread/_config.js b/packages/svelte/test/runtime/samples/svg-spread/_config.js similarity index 100% rename from test/runtime/samples/svg-spread/_config.js rename to packages/svelte/test/runtime/samples/svg-spread/_config.js diff --git a/test/runtime/samples/svg-spread/main.svelte b/packages/svelte/test/runtime/samples/svg-spread/main.svelte similarity index 100% rename from test/runtime/samples/svg-spread/main.svelte rename to packages/svelte/test/runtime/samples/svg-spread/main.svelte diff --git a/test/runtime/samples/svg-tspan-preserve-space/_config.js b/packages/svelte/test/runtime/samples/svg-tspan-preserve-space/_config.js similarity index 100% rename from test/runtime/samples/svg-tspan-preserve-space/_config.js rename to packages/svelte/test/runtime/samples/svg-tspan-preserve-space/_config.js diff --git a/test/runtime/samples/svg-tspan-preserve-space/main.svelte b/packages/svelte/test/runtime/samples/svg-tspan-preserve-space/main.svelte similarity index 100% rename from test/runtime/samples/svg-tspan-preserve-space/main.svelte rename to packages/svelte/test/runtime/samples/svg-tspan-preserve-space/main.svelte diff --git a/test/runtime/samples/svg-with-style/_config.js b/packages/svelte/test/runtime/samples/svg-with-style/_config.js similarity index 100% rename from test/runtime/samples/svg-with-style/_config.js rename to packages/svelte/test/runtime/samples/svg-with-style/_config.js diff --git a/test/runtime/samples/svg-with-style/main.svelte b/packages/svelte/test/runtime/samples/svg-with-style/main.svelte similarity index 100% rename from test/runtime/samples/svg-with-style/main.svelte rename to packages/svelte/test/runtime/samples/svg-with-style/main.svelte diff --git a/test/runtime/samples/svg-xlink/_config.js b/packages/svelte/test/runtime/samples/svg-xlink/_config.js similarity index 100% rename from test/runtime/samples/svg-xlink/_config.js rename to packages/svelte/test/runtime/samples/svg-xlink/_config.js diff --git a/test/runtime/samples/svg-xlink/main.svelte b/packages/svelte/test/runtime/samples/svg-xlink/main.svelte similarity index 100% rename from test/runtime/samples/svg-xlink/main.svelte rename to packages/svelte/test/runtime/samples/svg-xlink/main.svelte diff --git a/test/runtime/samples/svg-xmlns/_config.js b/packages/svelte/test/runtime/samples/svg-xmlns/_config.js similarity index 100% rename from test/runtime/samples/svg-xmlns/_config.js rename to packages/svelte/test/runtime/samples/svg-xmlns/_config.js diff --git a/test/runtime/samples/svg-xmlns/main.svelte b/packages/svelte/test/runtime/samples/svg-xmlns/main.svelte similarity index 100% rename from test/runtime/samples/svg-xmlns/main.svelte rename to packages/svelte/test/runtime/samples/svg-xmlns/main.svelte diff --git a/test/runtime/samples/svg/_config.js b/packages/svelte/test/runtime/samples/svg/_config.js similarity index 100% rename from test/runtime/samples/svg/_config.js rename to packages/svelte/test/runtime/samples/svg/_config.js diff --git a/test/runtime/samples/svg/main.svelte b/packages/svelte/test/runtime/samples/svg/main.svelte similarity index 100% rename from test/runtime/samples/svg/main.svelte rename to packages/svelte/test/runtime/samples/svg/main.svelte diff --git a/test/runtime/samples/target-dom-detached/App.svelte b/packages/svelte/test/runtime/samples/target-dom-detached/App.svelte similarity index 100% rename from test/runtime/samples/target-dom-detached/App.svelte rename to packages/svelte/test/runtime/samples/target-dom-detached/App.svelte diff --git a/test/runtime/samples/target-dom-detached/_config.js b/packages/svelte/test/runtime/samples/target-dom-detached/_config.js similarity index 100% rename from test/runtime/samples/target-dom-detached/_config.js rename to packages/svelte/test/runtime/samples/target-dom-detached/_config.js diff --git a/test/runtime/samples/target-dom-detached/main.svelte b/packages/svelte/test/runtime/samples/target-dom-detached/main.svelte similarity index 100% rename from test/runtime/samples/target-dom-detached/main.svelte rename to packages/svelte/test/runtime/samples/target-dom-detached/main.svelte diff --git a/test/runtime/samples/target-dom/App.svelte b/packages/svelte/test/runtime/samples/target-dom/App.svelte similarity index 100% rename from test/runtime/samples/target-dom/App.svelte rename to packages/svelte/test/runtime/samples/target-dom/App.svelte diff --git a/test/runtime/samples/target-dom/_config.js b/packages/svelte/test/runtime/samples/target-dom/_config.js similarity index 100% rename from test/runtime/samples/target-dom/_config.js rename to packages/svelte/test/runtime/samples/target-dom/_config.js diff --git a/test/runtime/samples/target-dom/main.svelte b/packages/svelte/test/runtime/samples/target-dom/main.svelte similarity index 100% rename from test/runtime/samples/target-dom/main.svelte rename to packages/svelte/test/runtime/samples/target-dom/main.svelte diff --git a/test/runtime/samples/target-shadow-dom/App.svelte b/packages/svelte/test/runtime/samples/target-shadow-dom/App.svelte similarity index 100% rename from test/runtime/samples/target-shadow-dom/App.svelte rename to packages/svelte/test/runtime/samples/target-shadow-dom/App.svelte diff --git a/test/runtime/samples/target-shadow-dom/_config.js b/packages/svelte/test/runtime/samples/target-shadow-dom/_config.js similarity index 100% rename from test/runtime/samples/target-shadow-dom/_config.js rename to packages/svelte/test/runtime/samples/target-shadow-dom/_config.js diff --git a/test/runtime/samples/target-shadow-dom/main.svelte b/packages/svelte/test/runtime/samples/target-shadow-dom/main.svelte similarity index 100% rename from test/runtime/samples/target-shadow-dom/main.svelte rename to packages/svelte/test/runtime/samples/target-shadow-dom/main.svelte diff --git a/test/runtime/samples/template/_config.js b/packages/svelte/test/runtime/samples/template/_config.js similarity index 100% rename from test/runtime/samples/template/_config.js rename to packages/svelte/test/runtime/samples/template/_config.js diff --git a/test/runtime/samples/template/main.svelte b/packages/svelte/test/runtime/samples/template/main.svelte similarity index 100% rename from test/runtime/samples/template/main.svelte rename to packages/svelte/test/runtime/samples/template/main.svelte diff --git a/test/runtime/samples/textarea-children/_config.js b/packages/svelte/test/runtime/samples/textarea-children/_config.js similarity index 100% rename from test/runtime/samples/textarea-children/_config.js rename to packages/svelte/test/runtime/samples/textarea-children/_config.js diff --git a/test/runtime/samples/textarea-children/main.svelte b/packages/svelte/test/runtime/samples/textarea-children/main.svelte similarity index 100% rename from test/runtime/samples/textarea-children/main.svelte rename to packages/svelte/test/runtime/samples/textarea-children/main.svelte diff --git a/test/runtime/samples/textarea-content/.editorconfig b/packages/svelte/test/runtime/samples/textarea-content/.editorconfig similarity index 100% rename from test/runtime/samples/textarea-content/.editorconfig rename to packages/svelte/test/runtime/samples/textarea-content/.editorconfig diff --git a/test/runtime/samples/textarea-content/_config.js b/packages/svelte/test/runtime/samples/textarea-content/_config.js similarity index 100% rename from test/runtime/samples/textarea-content/_config.js rename to packages/svelte/test/runtime/samples/textarea-content/_config.js diff --git a/test/runtime/samples/textarea-content/main.svelte b/packages/svelte/test/runtime/samples/textarea-content/main.svelte similarity index 100% rename from test/runtime/samples/textarea-content/main.svelte rename to packages/svelte/test/runtime/samples/textarea-content/main.svelte diff --git a/test/runtime/samples/textarea-value/_config.js b/packages/svelte/test/runtime/samples/textarea-value/_config.js similarity index 100% rename from test/runtime/samples/textarea-value/_config.js rename to packages/svelte/test/runtime/samples/textarea-value/_config.js diff --git a/test/runtime/samples/textarea-value/main.svelte b/packages/svelte/test/runtime/samples/textarea-value/main.svelte similarity index 100% rename from test/runtime/samples/textarea-value/main.svelte rename to packages/svelte/test/runtime/samples/textarea-value/main.svelte diff --git a/test/runtime/samples/this-in-function-expressions/_config.js b/packages/svelte/test/runtime/samples/this-in-function-expressions/_config.js similarity index 100% rename from test/runtime/samples/this-in-function-expressions/_config.js rename to packages/svelte/test/runtime/samples/this-in-function-expressions/_config.js diff --git a/test/runtime/samples/this-in-function-expressions/main.svelte b/packages/svelte/test/runtime/samples/this-in-function-expressions/main.svelte similarity index 100% rename from test/runtime/samples/this-in-function-expressions/main.svelte rename to packages/svelte/test/runtime/samples/this-in-function-expressions/main.svelte diff --git a/test/runtime/samples/transition-abort/_config.js b/packages/svelte/test/runtime/samples/transition-abort/_config.js similarity index 100% rename from test/runtime/samples/transition-abort/_config.js rename to packages/svelte/test/runtime/samples/transition-abort/_config.js diff --git a/test/runtime/samples/transition-abort/main.svelte b/packages/svelte/test/runtime/samples/transition-abort/main.svelte similarity index 100% rename from test/runtime/samples/transition-abort/main.svelte rename to packages/svelte/test/runtime/samples/transition-abort/main.svelte diff --git a/test/runtime/samples/transition-css-deferred-removal/_config.js b/packages/svelte/test/runtime/samples/transition-css-deferred-removal/_config.js similarity index 100% rename from test/runtime/samples/transition-css-deferred-removal/_config.js rename to packages/svelte/test/runtime/samples/transition-css-deferred-removal/_config.js diff --git a/test/runtime/samples/transition-css-deferred-removal/main.svelte b/packages/svelte/test/runtime/samples/transition-css-deferred-removal/main.svelte similarity index 100% rename from test/runtime/samples/transition-css-deferred-removal/main.svelte rename to packages/svelte/test/runtime/samples/transition-css-deferred-removal/main.svelte diff --git a/test/runtime/samples/transition-css-duration/_config.js b/packages/svelte/test/runtime/samples/transition-css-duration/_config.js similarity index 100% rename from test/runtime/samples/transition-css-duration/_config.js rename to packages/svelte/test/runtime/samples/transition-css-duration/_config.js diff --git a/test/runtime/samples/transition-css-duration/main.svelte b/packages/svelte/test/runtime/samples/transition-css-duration/main.svelte similarity index 100% rename from test/runtime/samples/transition-css-duration/main.svelte rename to packages/svelte/test/runtime/samples/transition-css-duration/main.svelte diff --git a/test/runtime/samples/transition-css-iframe/Foo.svelte b/packages/svelte/test/runtime/samples/transition-css-iframe/Foo.svelte similarity index 100% rename from test/runtime/samples/transition-css-iframe/Foo.svelte rename to packages/svelte/test/runtime/samples/transition-css-iframe/Foo.svelte diff --git a/test/runtime/samples/transition-css-iframe/Frame.svelte b/packages/svelte/test/runtime/samples/transition-css-iframe/Frame.svelte similarity index 100% rename from test/runtime/samples/transition-css-iframe/Frame.svelte rename to packages/svelte/test/runtime/samples/transition-css-iframe/Frame.svelte diff --git a/test/runtime/samples/transition-css-iframe/_config.js b/packages/svelte/test/runtime/samples/transition-css-iframe/_config.js similarity index 100% rename from test/runtime/samples/transition-css-iframe/_config.js rename to packages/svelte/test/runtime/samples/transition-css-iframe/_config.js diff --git a/test/runtime/samples/transition-css-iframe/main.svelte b/packages/svelte/test/runtime/samples/transition-css-iframe/main.svelte similarity index 100% rename from test/runtime/samples/transition-css-iframe/main.svelte rename to packages/svelte/test/runtime/samples/transition-css-iframe/main.svelte diff --git a/test/runtime/samples/transition-css-in-out-in-with-param/_config.js b/packages/svelte/test/runtime/samples/transition-css-in-out-in-with-param/_config.js similarity index 100% rename from test/runtime/samples/transition-css-in-out-in-with-param/_config.js rename to packages/svelte/test/runtime/samples/transition-css-in-out-in-with-param/_config.js diff --git a/test/runtime/samples/transition-css-in-out-in-with-param/main.svelte b/packages/svelte/test/runtime/samples/transition-css-in-out-in-with-param/main.svelte similarity index 100% rename from test/runtime/samples/transition-css-in-out-in-with-param/main.svelte rename to packages/svelte/test/runtime/samples/transition-css-in-out-in-with-param/main.svelte diff --git a/test/runtime/samples/transition-css-in-out-in/_config.js b/packages/svelte/test/runtime/samples/transition-css-in-out-in/_config.js similarity index 100% rename from test/runtime/samples/transition-css-in-out-in/_config.js rename to packages/svelte/test/runtime/samples/transition-css-in-out-in/_config.js diff --git a/test/runtime/samples/transition-css-in-out-in/main.svelte b/packages/svelte/test/runtime/samples/transition-css-in-out-in/main.svelte similarity index 100% rename from test/runtime/samples/transition-css-in-out-in/main.svelte rename to packages/svelte/test/runtime/samples/transition-css-in-out-in/main.svelte diff --git a/packages/svelte/test/runtime/samples/transition-inert/_config.js b/packages/svelte/test/runtime/samples/transition-inert/_config.js new file mode 100644 index 0000000000..7058269ab0 --- /dev/null +++ b/packages/svelte/test/runtime/samples/transition-inert/_config.js @@ -0,0 +1,28 @@ +export default { + async test({ assert, component, target, raf }) { + // jsdom doesn't set the inert attribute, and the transition checks if it exists, so set it manually to trigger the inert logic + target.querySelector('button.a').inert = false; + target.querySelector('button.b').inert = false; + + // check and abort halfway through the outro transition + component.visible = false; + raf.tick(50); + assert.strictEqual(target.querySelector('button.a').inert, true); + assert.strictEqual(target.querySelector('button.b').inert, true); + + component.visible = true; + assert.strictEqual(target.querySelector('button.a').inert, false); + assert.strictEqual(target.querySelector('button.b').inert, false); + + // let it transition out completely and then back in + component.visible = false; + raf.tick(101); + component.visible = true; + raf.tick(50); + assert.strictEqual(target.querySelector('button.a').inert, false); + assert.strictEqual(target.querySelector('button.b').inert, false); + raf.tick(51); + assert.strictEqual(target.querySelector('button.a').inert, false); + assert.strictEqual(target.querySelector('button.b').inert, false); + } +}; diff --git a/packages/svelte/test/runtime/samples/transition-inert/main.svelte b/packages/svelte/test/runtime/samples/transition-inert/main.svelte new file mode 100644 index 0000000000..39fcd1d1b6 --- /dev/null +++ b/packages/svelte/test/runtime/samples/transition-inert/main.svelte @@ -0,0 +1,16 @@ + + +{#if visible} + + +{/if} diff --git a/test/runtime/samples/transition-js-aborted-outro-in-each/_config.js b/packages/svelte/test/runtime/samples/transition-js-aborted-outro-in-each/_config.js similarity index 100% rename from test/runtime/samples/transition-js-aborted-outro-in-each/_config.js rename to packages/svelte/test/runtime/samples/transition-js-aborted-outro-in-each/_config.js diff --git a/test/runtime/samples/transition-js-aborted-outro-in-each/main.svelte b/packages/svelte/test/runtime/samples/transition-js-aborted-outro-in-each/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-aborted-outro-in-each/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-aborted-outro-in-each/main.svelte diff --git a/test/runtime/samples/transition-js-aborted-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-aborted-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-aborted-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-aborted-outro/_config.js diff --git a/test/runtime/samples/transition-js-aborted-outro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-aborted-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-aborted-outro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-aborted-outro/main.svelte diff --git a/test/runtime/samples/transition-js-args-dynamic/_config.js b/packages/svelte/test/runtime/samples/transition-js-args-dynamic/_config.js similarity index 100% rename from test/runtime/samples/transition-js-args-dynamic/_config.js rename to packages/svelte/test/runtime/samples/transition-js-args-dynamic/_config.js diff --git a/test/runtime/samples/transition-js-args-dynamic/main.svelte b/packages/svelte/test/runtime/samples/transition-js-args-dynamic/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-args-dynamic/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-args-dynamic/main.svelte diff --git a/test/runtime/samples/transition-js-args/_config.js b/packages/svelte/test/runtime/samples/transition-js-args/_config.js similarity index 100% rename from test/runtime/samples/transition-js-args/_config.js rename to packages/svelte/test/runtime/samples/transition-js-args/_config.js diff --git a/test/runtime/samples/transition-js-args/main.svelte b/packages/svelte/test/runtime/samples/transition-js-args/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-args/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-args/main.svelte diff --git a/test/runtime/samples/transition-js-await-block-outros/_config.js b/packages/svelte/test/runtime/samples/transition-js-await-block-outros/_config.js similarity index 100% rename from test/runtime/samples/transition-js-await-block-outros/_config.js rename to packages/svelte/test/runtime/samples/transition-js-await-block-outros/_config.js diff --git a/test/runtime/samples/transition-js-await-block-outros/main.svelte b/packages/svelte/test/runtime/samples/transition-js-await-block-outros/main.svelte similarity index 82% rename from test/runtime/samples/transition-js-await-block-outros/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-await-block-outros/main.svelte index 6060b7672b..4973022672 100644 --- a/test/runtime/samples/transition-js-await-block-outros/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-await-block-outros/main.svelte @@ -12,7 +12,7 @@ {#await promise} -

loading...

+

loading...

{:then value}

{value}

{:catch error} diff --git a/test/runtime/samples/transition-js-await-block/_config.js b/packages/svelte/test/runtime/samples/transition-js-await-block/_config.js similarity index 100% rename from test/runtime/samples/transition-js-await-block/_config.js rename to packages/svelte/test/runtime/samples/transition-js-await-block/_config.js diff --git a/test/runtime/samples/transition-js-await-block/main.svelte b/packages/svelte/test/runtime/samples/transition-js-await-block/main.svelte similarity index 81% rename from test/runtime/samples/transition-js-await-block/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-await-block/main.svelte index 0a0bb0005d..8e7a381fb2 100644 --- a/test/runtime/samples/transition-js-await-block/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-await-block/main.svelte @@ -12,7 +12,7 @@ {#await promise} -

loading...

+

loading...

{:then value}

{value}

{:catch error} diff --git a/test/runtime/samples/transition-js-context/_config.js b/packages/svelte/test/runtime/samples/transition-js-context/_config.js similarity index 100% rename from test/runtime/samples/transition-js-context/_config.js rename to packages/svelte/test/runtime/samples/transition-js-context/_config.js diff --git a/test/runtime/samples/transition-js-context/main.svelte b/packages/svelte/test/runtime/samples/transition-js-context/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-context/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-context/main.svelte diff --git a/test/runtime/samples/transition-js-deferred-b/_config.js b/packages/svelte/test/runtime/samples/transition-js-deferred-b/_config.js similarity index 100% rename from test/runtime/samples/transition-js-deferred-b/_config.js rename to packages/svelte/test/runtime/samples/transition-js-deferred-b/_config.js diff --git a/test/runtime/samples/transition-js-deferred-b/main.svelte b/packages/svelte/test/runtime/samples/transition-js-deferred-b/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-deferred-b/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-deferred-b/main.svelte diff --git a/test/runtime/samples/transition-js-deferred-option-direction/_config.js b/packages/svelte/test/runtime/samples/transition-js-deferred-option-direction/_config.js similarity index 100% rename from test/runtime/samples/transition-js-deferred-option-direction/_config.js rename to packages/svelte/test/runtime/samples/transition-js-deferred-option-direction/_config.js diff --git a/test/runtime/samples/transition-js-deferred-option-direction/main.svelte b/packages/svelte/test/runtime/samples/transition-js-deferred-option-direction/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-deferred-option-direction/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-deferred-option-direction/main.svelte diff --git a/test/runtime/samples/transition-js-deferred/_config.js b/packages/svelte/test/runtime/samples/transition-js-deferred/_config.js similarity index 100% rename from test/runtime/samples/transition-js-deferred/_config.js rename to packages/svelte/test/runtime/samples/transition-js-deferred/_config.js diff --git a/test/runtime/samples/transition-js-deferred/main.svelte b/packages/svelte/test/runtime/samples/transition-js-deferred/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-deferred/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-deferred/main.svelte diff --git a/test/runtime/samples/transition-js-delay-in-out/_config.js b/packages/svelte/test/runtime/samples/transition-js-delay-in-out/_config.js similarity index 100% rename from test/runtime/samples/transition-js-delay-in-out/_config.js rename to packages/svelte/test/runtime/samples/transition-js-delay-in-out/_config.js diff --git a/test/runtime/samples/transition-js-delay-in-out/main.svelte b/packages/svelte/test/runtime/samples/transition-js-delay-in-out/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-delay-in-out/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-delay-in-out/main.svelte diff --git a/test/runtime/samples/transition-js-delay/_config.js b/packages/svelte/test/runtime/samples/transition-js-delay/_config.js similarity index 100% rename from test/runtime/samples/transition-js-delay/_config.js rename to packages/svelte/test/runtime/samples/transition-js-delay/_config.js diff --git a/test/runtime/samples/transition-js-delay/main.svelte b/packages/svelte/test/runtime/samples/transition-js-delay/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-delay/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-delay/main.svelte diff --git a/test/runtime/samples/transition-js-destroyed-before-end/_config.js b/packages/svelte/test/runtime/samples/transition-js-destroyed-before-end/_config.js similarity index 100% rename from test/runtime/samples/transition-js-destroyed-before-end/_config.js rename to packages/svelte/test/runtime/samples/transition-js-destroyed-before-end/_config.js diff --git a/test/runtime/samples/transition-js-destroyed-before-end/main.svelte b/packages/svelte/test/runtime/samples/transition-js-destroyed-before-end/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-destroyed-before-end/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-destroyed-before-end/main.svelte diff --git a/test/runtime/samples/transition-js-dynamic-component/A.svelte b/packages/svelte/test/runtime/samples/transition-js-dynamic-component/A.svelte similarity index 100% rename from test/runtime/samples/transition-js-dynamic-component/A.svelte rename to packages/svelte/test/runtime/samples/transition-js-dynamic-component/A.svelte diff --git a/test/runtime/samples/transition-js-dynamic-component/B.svelte b/packages/svelte/test/runtime/samples/transition-js-dynamic-component/B.svelte similarity index 100% rename from test/runtime/samples/transition-js-dynamic-component/B.svelte rename to packages/svelte/test/runtime/samples/transition-js-dynamic-component/B.svelte diff --git a/test/runtime/samples/transition-js-dynamic-component/_config.js b/packages/svelte/test/runtime/samples/transition-js-dynamic-component/_config.js similarity index 100% rename from test/runtime/samples/transition-js-dynamic-component/_config.js rename to packages/svelte/test/runtime/samples/transition-js-dynamic-component/_config.js diff --git a/test/runtime/samples/transition-js-dynamic-component/main.svelte b/packages/svelte/test/runtime/samples/transition-js-dynamic-component/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-dynamic-component/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-dynamic-component/main.svelte diff --git a/test/runtime/samples/transition-js-dynamic-if-block-bidi/_config.js b/packages/svelte/test/runtime/samples/transition-js-dynamic-if-block-bidi/_config.js similarity index 100% rename from test/runtime/samples/transition-js-dynamic-if-block-bidi/_config.js rename to packages/svelte/test/runtime/samples/transition-js-dynamic-if-block-bidi/_config.js diff --git a/test/runtime/samples/transition-js-dynamic-if-block-bidi/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-dynamic-if-block-bidi/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-intro-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-block-intro-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-block-intro-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-block-intro-outro/_config.js diff --git a/test/runtime/samples/transition-js-each-block-intro-outro/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-block-intro-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-intro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-block-intro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-block-intro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-block-intro/_config.js diff --git a/test/runtime/samples/transition-js-each-block-intro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-block-intro/main.svelte similarity index 80% rename from test/runtime/samples/transition-js-each-block-intro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-block-intro/main.svelte index d19924af61..5685232b7c 100644 --- a/test/runtime/samples/transition-js-each-block-intro/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-each-block-intro/main.svelte @@ -12,5 +12,5 @@ {#each things as thing} -
{thing}
+
{thing}
{/each} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-each-block-keyed-intro-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-block-keyed-intro-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro-outro/_config.js diff --git a/test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte similarity index 77% rename from test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte index 89282dafeb..4fc7e97229 100644 --- a/test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro-outro/main.svelte @@ -12,5 +12,5 @@ {#each things as thing (thing.name)} -
{thing.name}
+
{thing.name}
{/each} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-each-block-keyed-intro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-block-keyed-intro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro/_config.js diff --git a/test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte similarity index 80% rename from test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte index 69697b444f..4615de11e7 100644 --- a/test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-each-block-keyed-intro/main.svelte @@ -12,5 +12,5 @@ {#each things as thing (thing.name)} -
{thing.name}
+
{thing.name}
{/each} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-each-block-keyed-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-block-keyed-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-block-keyed-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-block-keyed-outro/_config.js diff --git a/test/runtime/samples/transition-js-each-block-keyed-outro/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-block-keyed-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-block-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-block-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-block-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-block-outro/_config.js diff --git a/test/runtime/samples/transition-js-each-block-outro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-block-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-block-outro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-block-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-else-block-intro-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-else-block-intro-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-else-block-intro-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-else-block-intro-outro/_config.js diff --git a/test/runtime/samples/transition-js-each-else-block-intro-outro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-else-block-intro-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-else-block-intro-outro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-else-block-intro-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-else-block-intro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-else-block-intro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-else-block-intro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-else-block-intro/_config.js diff --git a/test/runtime/samples/transition-js-each-else-block-intro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-else-block-intro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-else-block-intro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-else-block-intro/main.svelte diff --git a/test/runtime/samples/transition-js-each-else-block-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-else-block-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-else-block-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-else-block-outro/_config.js diff --git a/test/runtime/samples/transition-js-each-else-block-outro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-else-block-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-else-block-outro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-else-block-outro/main.svelte diff --git a/test/runtime/samples/transition-js-each-keyed-unchanged/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-keyed-unchanged/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-keyed-unchanged/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-keyed-unchanged/_config.js diff --git a/test/runtime/samples/transition-js-each-keyed-unchanged/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-keyed-unchanged/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-keyed-unchanged/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-keyed-unchanged/main.svelte diff --git a/test/runtime/samples/transition-js-each-outro-cancelled/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-outro-cancelled/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-outro-cancelled/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-outro-cancelled/_config.js diff --git a/test/runtime/samples/transition-js-each-outro-cancelled/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-outro-cancelled/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-outro-cancelled/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-outro-cancelled/main.svelte diff --git a/test/runtime/samples/transition-js-each-unchanged/_config.js b/packages/svelte/test/runtime/samples/transition-js-each-unchanged/_config.js similarity index 100% rename from test/runtime/samples/transition-js-each-unchanged/_config.js rename to packages/svelte/test/runtime/samples/transition-js-each-unchanged/_config.js diff --git a/test/runtime/samples/transition-js-each-unchanged/main.svelte b/packages/svelte/test/runtime/samples/transition-js-each-unchanged/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-each-unchanged/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-each-unchanged/main.svelte diff --git a/test/runtime/samples/transition-js-events-in-out/_config.js b/packages/svelte/test/runtime/samples/transition-js-events-in-out/_config.js similarity index 100% rename from test/runtime/samples/transition-js-events-in-out/_config.js rename to packages/svelte/test/runtime/samples/transition-js-events-in-out/_config.js diff --git a/test/runtime/samples/transition-js-events-in-out/main.svelte b/packages/svelte/test/runtime/samples/transition-js-events-in-out/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-events-in-out/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-events-in-out/main.svelte diff --git a/test/runtime/samples/transition-js-events/_config.js b/packages/svelte/test/runtime/samples/transition-js-events/_config.js similarity index 100% rename from test/runtime/samples/transition-js-events/_config.js rename to packages/svelte/test/runtime/samples/transition-js-events/_config.js diff --git a/test/runtime/samples/transition-js-events/main.svelte b/packages/svelte/test/runtime/samples/transition-js-events/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-events/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-events/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-bidi/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-block-bidi/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-block-bidi/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-block-bidi/_config.js diff --git a/test/runtime/samples/transition-js-if-block-bidi/main.svelte b/packages/svelte/test/runtime/samples/transition-js-if-block-bidi/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-bidi/main.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/_config.js diff --git a/test/runtime/samples/transition-js-if-block-in-each-block-bidi-2/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/_config.js diff --git a/test/runtime/samples/transition-js-if-block-in-each-block-bidi-3/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-block-in-each-block-bidi/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi/_config.js diff --git a/test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte b/packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte similarity index 84% rename from test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte index 5e8979b2d4..8fa37645b3 100644 --- a/test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-if-block-in-each-block-bidi/main.svelte @@ -13,6 +13,6 @@ {#each [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] as number} {#if threshold >= number} -
{number}
+
{number}
{/if} {/each} diff --git a/test/runtime/samples/transition-js-if-block-intro-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-block-intro-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-block-intro-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-block-intro-outro/_config.js diff --git a/test/runtime/samples/transition-js-if-block-intro-outro/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-block-intro-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-intro/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-block-intro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-block-intro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-block-intro/_config.js diff --git a/test/runtime/samples/transition-js-if-block-intro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-if-block-intro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-block-intro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-block-intro/main.svelte diff --git a/test/runtime/samples/transition-js-if-block-outro-timeout/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-block-outro-timeout/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-block-outro-timeout/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-block-outro-timeout/_config.js diff --git a/test/runtime/samples/transition-js-if-block-outro-timeout/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-block-outro-timeout/main.svelte diff --git a/test/runtime/samples/transition-js-if-else-block-dynamic-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-else-block-dynamic-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-dynamic-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-dynamic-outro/_config.js diff --git a/test/runtime/samples/transition-js-if-else-block-dynamic-outro/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-dynamic-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-else-block-intro/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-else-block-intro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-intro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-intro/_config.js diff --git a/test/runtime/samples/transition-js-if-else-block-intro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-if-else-block-intro/main.svelte similarity index 73% rename from test/runtime/samples/transition-js-if-else-block-intro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-intro/main.svelte index d25cbb0412..939ebace14 100644 --- a/test/runtime/samples/transition-js-if-else-block-intro/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-if-else-block-intro/main.svelte @@ -4,7 +4,7 @@ export let x; - function foo(node, params) { + function foo(node) { return { duration: 400, tick: t => { @@ -17,5 +17,5 @@ {#if x}
yes
{:else} -
no
+
no
{/if} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/_config.js diff --git a/test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-not-dynamic-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-else-block-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-else-block-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-else-block-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-outro/_config.js diff --git a/test/runtime/samples/transition-js-if-else-block-outro/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-else-block-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-elseif-block-outro/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-elseif-block-outro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-elseif-block-outro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-elseif-block-outro/_config.js diff --git a/test/runtime/samples/transition-js-if-elseif-block-outro/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-elseif-block-outro/main.svelte diff --git a/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/Component.svelte b/packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/Component.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/Component.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/Component.svelte diff --git a/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/_config.js diff --git a/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/main.svelte b/packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-binding-update/main.svelte diff --git a/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/Component.svelte b/packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/Component.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/Component.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/Component.svelte diff --git a/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/_config.js b/packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/_config.js similarity index 100% rename from test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/_config.js rename to packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/_config.js diff --git a/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/main.svelte b/packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-if-outro-unrelated-component-store-update/main.svelte diff --git a/test/runtime/samples/transition-js-initial/_config.js b/packages/svelte/test/runtime/samples/transition-js-initial/_config.js similarity index 100% rename from test/runtime/samples/transition-js-initial/_config.js rename to packages/svelte/test/runtime/samples/transition-js-initial/_config.js diff --git a/test/runtime/samples/transition-js-initial/main.svelte b/packages/svelte/test/runtime/samples/transition-js-initial/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-initial/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-initial/main.svelte diff --git a/test/runtime/samples/transition-js-intro-enabled-by-option/_config.js b/packages/svelte/test/runtime/samples/transition-js-intro-enabled-by-option/_config.js similarity index 100% rename from test/runtime/samples/transition-js-intro-enabled-by-option/_config.js rename to packages/svelte/test/runtime/samples/transition-js-intro-enabled-by-option/_config.js diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default/main.svelte b/packages/svelte/test/runtime/samples/transition-js-intro-enabled-by-option/main.svelte similarity index 79% rename from test/runtime/samples/transition-js-intro-skipped-by-default/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-intro-enabled-by-option/main.svelte index 64d17e0db3..b78c53f8c1 100644 --- a/test/runtime/samples/transition-js-intro-skipped-by-default/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-intro-enabled-by-option/main.svelte @@ -9,4 +9,4 @@ } -
\ No newline at end of file +
\ No newline at end of file diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default-nested/Widget.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/_config.js b/packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default-nested/_config.js similarity index 100% rename from test/runtime/samples/transition-js-intro-skipped-by-default-nested/_config.js rename to packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default-nested/_config.js diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte b/packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default-nested/main.svelte diff --git a/test/runtime/samples/transition-js-intro-skipped-by-default/_config.js b/packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default/_config.js similarity index 100% rename from test/runtime/samples/transition-js-intro-skipped-by-default/_config.js rename to packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default/_config.js diff --git a/test/runtime/samples/transition-js-intro-enabled-by-option/main.svelte b/packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-intro-enabled-by-option/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-intro-skipped-by-default/main.svelte diff --git a/test/runtime/samples/transition-js-local-and-global/_config.js b/packages/svelte/test/runtime/samples/transition-js-local-and-global/_config.js similarity index 100% rename from test/runtime/samples/transition-js-local-and-global/_config.js rename to packages/svelte/test/runtime/samples/transition-js-local-and-global/_config.js diff --git a/test/runtime/samples/transition-js-local-and-global/main.svelte b/packages/svelte/test/runtime/samples/transition-js-local-and-global/main.svelte similarity index 61% rename from test/runtime/samples/transition-js-local-and-global/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-local-and-global/main.svelte index 18fbaa1b78..6143adb63a 100644 --- a/test/runtime/samples/transition-js-local-and-global/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-local-and-global/main.svelte @@ -14,7 +14,7 @@ {#if x} {#if y} -
snaps if x changes
-
transitions if x changes
+
snaps if x changes
+
transitions if x changes
{/if} {/if} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-local-nested-await/_config.js b/packages/svelte/test/runtime/samples/transition-js-local-nested-await/_config.js similarity index 100% rename from test/runtime/samples/transition-js-local-nested-await/_config.js rename to packages/svelte/test/runtime/samples/transition-js-local-nested-await/_config.js diff --git a/test/runtime/samples/transition-js-local-nested-await/main.svelte b/packages/svelte/test/runtime/samples/transition-js-local-nested-await/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-await/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-local-nested-await/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-component/Widget.svelte b/packages/svelte/test/runtime/samples/transition-js-local-nested-component/Widget.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-component/Widget.svelte rename to packages/svelte/test/runtime/samples/transition-js-local-nested-component/Widget.svelte diff --git a/test/runtime/samples/transition-js-local-nested-component/_config.js b/packages/svelte/test/runtime/samples/transition-js-local-nested-component/_config.js similarity index 100% rename from test/runtime/samples/transition-js-local-nested-component/_config.js rename to packages/svelte/test/runtime/samples/transition-js-local-nested-component/_config.js diff --git a/test/runtime/samples/transition-js-local-nested-component/main.svelte b/packages/svelte/test/runtime/samples/transition-js-local-nested-component/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-component/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-local-nested-component/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-each-keyed/_config.js b/packages/svelte/test/runtime/samples/transition-js-local-nested-each-keyed/_config.js similarity index 100% rename from test/runtime/samples/transition-js-local-nested-each-keyed/_config.js rename to packages/svelte/test/runtime/samples/transition-js-local-nested-each-keyed/_config.js diff --git a/test/runtime/samples/transition-js-local-nested-each-keyed/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-local-nested-each-keyed/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-each/_config.js b/packages/svelte/test/runtime/samples/transition-js-local-nested-each/_config.js similarity index 100% rename from test/runtime/samples/transition-js-local-nested-each/_config.js rename to packages/svelte/test/runtime/samples/transition-js-local-nested-each/_config.js diff --git a/test/runtime/samples/transition-js-local-nested-each/main.svelte b/packages/svelte/test/runtime/samples/transition-js-local-nested-each/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-each/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-local-nested-each/main.svelte diff --git a/test/runtime/samples/transition-js-local-nested-if/_config.js b/packages/svelte/test/runtime/samples/transition-js-local-nested-if/_config.js similarity index 100% rename from test/runtime/samples/transition-js-local-nested-if/_config.js rename to packages/svelte/test/runtime/samples/transition-js-local-nested-if/_config.js diff --git a/test/runtime/samples/transition-js-local-nested-if/main.svelte b/packages/svelte/test/runtime/samples/transition-js-local-nested-if/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-local-nested-if/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-local-nested-if/main.svelte diff --git a/test/runtime/samples/transition-js-local/_config.js b/packages/svelte/test/runtime/samples/transition-js-local/_config.js similarity index 100% rename from test/runtime/samples/transition-js-local/_config.js rename to packages/svelte/test/runtime/samples/transition-js-local/_config.js diff --git a/test/runtime/samples/transition-js-nested-if/main.svelte b/packages/svelte/test/runtime/samples/transition-js-local/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-if/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-local/main.svelte diff --git a/test/runtime/samples/transition-js-nested-await/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-await/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-await/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-await/_config.js diff --git a/test/runtime/samples/transition-js-nested-await/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-await/main.svelte similarity index 83% rename from test/runtime/samples/transition-js-nested-await/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-await/main.svelte index bcd531c44c..536a976e1d 100644 --- a/test/runtime/samples/transition-js-nested-await/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-nested-await/main.svelte @@ -14,6 +14,6 @@ {#if x} {#await promise then value} -
+
{/await} {/if} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-nested-component/Widget.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-component/Widget.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-component/Widget.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-component/Widget.svelte diff --git a/test/runtime/samples/transition-js-nested-component/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-component/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-component/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-component/_config.js diff --git a/test/runtime/samples/transition-js-nested-component/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-component/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-component/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-component/main.svelte diff --git a/test/runtime/samples/transition-js-nested-each-delete/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-each-delete/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-each-delete/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-each-delete/_config.js diff --git a/test/runtime/samples/transition-js-nested-each-delete/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-each-delete/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-each-delete/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-each-delete/main.svelte diff --git a/test/runtime/samples/transition-js-nested-each-keyed-2/Widget.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-each-keyed-2/Widget.svelte diff --git a/test/runtime/samples/transition-js-nested-each-keyed-2/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-each-keyed-2/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-each-keyed-2/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-each-keyed-2/_config.js diff --git a/test/runtime/samples/transition-js-nested-each-keyed-2/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-each-keyed-2/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-each-keyed-2/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-each-keyed-2/main.svelte diff --git a/test/runtime/samples/transition-js-nested-each-keyed/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-each-keyed/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-each-keyed/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-each-keyed/_config.js diff --git a/test/runtime/samples/transition-js-nested-each-keyed/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-each-keyed/main.svelte similarity index 83% rename from test/runtime/samples/transition-js-nested-each-keyed/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-each-keyed/main.svelte index 5f86eebf70..571aee6068 100644 --- a/test/runtime/samples/transition-js-nested-each-keyed/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-nested-each-keyed/main.svelte @@ -14,6 +14,6 @@ {#if x} {#each things as thing (thing)} -
+
{/each} {/if} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-nested-each/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-each/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-each/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-each/_config.js diff --git a/test/runtime/samples/transition-js-nested-each/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-each/main.svelte similarity index 83% rename from test/runtime/samples/transition-js-nested-each/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-each/main.svelte index f9be834a01..7ab2315c72 100644 --- a/test/runtime/samples/transition-js-nested-each/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-nested-each/main.svelte @@ -14,6 +14,6 @@ {#if x} {#each things as thing} -
+
{/each} {/if} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-nested-if/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-if/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-if/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-if/_config.js diff --git a/test/runtime/samples/transition-js-local/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-if/main.svelte similarity index 81% rename from test/runtime/samples/transition-js-local/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-if/main.svelte index cbdfbd8c25..2a8a6f7607 100644 --- a/test/runtime/samples/transition-js-local/main.svelte +++ b/packages/svelte/test/runtime/samples/transition-js-nested-if/main.svelte @@ -14,6 +14,6 @@ {#if x} {#if y} -
+
{/if} {/if} \ No newline at end of file diff --git a/test/runtime/samples/transition-js-nested-intro/Child.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-intro/Child.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-intro/Child.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-intro/Child.svelte diff --git a/test/runtime/samples/transition-js-nested-intro/_config.js b/packages/svelte/test/runtime/samples/transition-js-nested-intro/_config.js similarity index 100% rename from test/runtime/samples/transition-js-nested-intro/_config.js rename to packages/svelte/test/runtime/samples/transition-js-nested-intro/_config.js diff --git a/test/runtime/samples/transition-js-nested-intro/main.svelte b/packages/svelte/test/runtime/samples/transition-js-nested-intro/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-nested-intro/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-nested-intro/main.svelte diff --git a/test/runtime/samples/transition-js-option-direction/_config.js b/packages/svelte/test/runtime/samples/transition-js-option-direction/_config.js similarity index 100% rename from test/runtime/samples/transition-js-option-direction/_config.js rename to packages/svelte/test/runtime/samples/transition-js-option-direction/_config.js diff --git a/test/runtime/samples/transition-js-option-direction/main.svelte b/packages/svelte/test/runtime/samples/transition-js-option-direction/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-option-direction/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-option-direction/main.svelte diff --git a/test/runtime/samples/transition-js-parameterised-with-state/_config.js b/packages/svelte/test/runtime/samples/transition-js-parameterised-with-state/_config.js similarity index 100% rename from test/runtime/samples/transition-js-parameterised-with-state/_config.js rename to packages/svelte/test/runtime/samples/transition-js-parameterised-with-state/_config.js diff --git a/test/runtime/samples/transition-js-parameterised-with-state/main.svelte b/packages/svelte/test/runtime/samples/transition-js-parameterised-with-state/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-parameterised-with-state/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-parameterised-with-state/main.svelte diff --git a/test/runtime/samples/transition-js-parameterised/_config.js b/packages/svelte/test/runtime/samples/transition-js-parameterised/_config.js similarity index 100% rename from test/runtime/samples/transition-js-parameterised/_config.js rename to packages/svelte/test/runtime/samples/transition-js-parameterised/_config.js diff --git a/test/runtime/samples/transition-js-parameterised/main.svelte b/packages/svelte/test/runtime/samples/transition-js-parameterised/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-parameterised/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-parameterised/main.svelte diff --git a/test/runtime/samples/transition-js-slot-2/Nested.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-2/Nested.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-2/Nested.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-2/Nested.svelte diff --git a/test/runtime/samples/transition-js-slot-2/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot-2/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot-2/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot-2/_config.js diff --git a/test/runtime/samples/transition-js-slot-2/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-2/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-2/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-2/main.svelte diff --git a/test/runtime/samples/transition-js-slot-3/Nested.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-3/Nested.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-3/Nested.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-3/Nested.svelte diff --git a/test/runtime/samples/transition-js-slot-3/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot-3/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot-3/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot-3/_config.js diff --git a/test/runtime/samples/transition-js-slot-3/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-3/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-3/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-3/main.svelte diff --git a/test/runtime/samples/transition-js-slot-4-cancelled/Nested.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-4-cancelled/Nested.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-4-cancelled/Nested.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-4-cancelled/Nested.svelte diff --git a/test/runtime/samples/transition-js-slot-4-cancelled/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot-4-cancelled/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot-4-cancelled/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot-4-cancelled/_config.js diff --git a/test/runtime/samples/transition-js-slot-4-cancelled/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-4-cancelled/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-4-cancelled/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-4-cancelled/main.svelte diff --git a/test/runtime/samples/transition-js-slot-5-cancelled-overflow/Nested.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-5-cancelled-overflow/Nested.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-5-cancelled-overflow/Nested.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-5-cancelled-overflow/Nested.svelte diff --git a/test/runtime/samples/transition-js-slot-5-cancelled-overflow/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot-5-cancelled-overflow/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot-5-cancelled-overflow/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot-5-cancelled-overflow/_config.js diff --git a/test/runtime/samples/transition-js-slot-5-cancelled-overflow/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-5-cancelled-overflow/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-5-cancelled-overflow/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-5-cancelled-overflow/main.svelte diff --git a/test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested.svelte diff --git a/test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested2.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested2.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested2.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/Nested2.svelte diff --git a/test/runtime/samples/transition-js-slot-6-spread-cancelled/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot-6-spread-cancelled/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/_config.js diff --git a/test/runtime/samples/transition-js-slot-6-spread-cancelled/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-6-spread-cancelled/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-6-spread-cancelled/main.svelte diff --git a/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/Nested.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/Nested.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/Nested.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/Nested.svelte diff --git a/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/_config.js diff --git a/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-7-spread-cancelled-overflow/main.svelte diff --git a/test/runtime/samples/transition-js-slot-fallback/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot-fallback/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot-fallback/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot-fallback/_config.js diff --git a/test/runtime/samples/transition-js-slot-fallback/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot-fallback/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot-fallback/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot-fallback/main.svelte diff --git a/test/runtime/samples/transition-js-slot/Nested.svelte b/packages/svelte/test/runtime/samples/transition-js-slot/Nested.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot/Nested.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot/Nested.svelte diff --git a/test/runtime/samples/transition-js-slot/_config.js b/packages/svelte/test/runtime/samples/transition-js-slot/_config.js similarity index 100% rename from test/runtime/samples/transition-js-slot/_config.js rename to packages/svelte/test/runtime/samples/transition-js-slot/_config.js diff --git a/test/runtime/samples/transition-js-slot/main.svelte b/packages/svelte/test/runtime/samples/transition-js-slot/main.svelte similarity index 100% rename from test/runtime/samples/transition-js-slot/main.svelte rename to packages/svelte/test/runtime/samples/transition-js-slot/main.svelte diff --git a/test/runtime/samples/unchanged-expression-escape/_config.js b/packages/svelte/test/runtime/samples/unchanged-expression-escape/_config.js similarity index 100% rename from test/runtime/samples/unchanged-expression-escape/_config.js rename to packages/svelte/test/runtime/samples/unchanged-expression-escape/_config.js diff --git a/test/runtime/samples/unchanged-expression-escape/main.svelte b/packages/svelte/test/runtime/samples/unchanged-expression-escape/main.svelte similarity index 100% rename from test/runtime/samples/unchanged-expression-escape/main.svelte rename to packages/svelte/test/runtime/samples/unchanged-expression-escape/main.svelte diff --git a/test/runtime/samples/unchanged-expression-xss/_config.js b/packages/svelte/test/runtime/samples/unchanged-expression-xss/_config.js similarity index 100% rename from test/runtime/samples/unchanged-expression-xss/_config.js rename to packages/svelte/test/runtime/samples/unchanged-expression-xss/_config.js diff --git a/test/runtime/samples/unchanged-expression-xss/main.svelte b/packages/svelte/test/runtime/samples/unchanged-expression-xss/main.svelte similarity index 100% rename from test/runtime/samples/unchanged-expression-xss/main.svelte rename to packages/svelte/test/runtime/samples/unchanged-expression-xss/main.svelte diff --git a/test/runtime/samples/whitespace-each-block/_config.js b/packages/svelte/test/runtime/samples/whitespace-each-block/_config.js similarity index 100% rename from test/runtime/samples/whitespace-each-block/_config.js rename to packages/svelte/test/runtime/samples/whitespace-each-block/_config.js diff --git a/test/runtime/samples/whitespace-each-block/main.svelte b/packages/svelte/test/runtime/samples/whitespace-each-block/main.svelte similarity index 100% rename from test/runtime/samples/whitespace-each-block/main.svelte rename to packages/svelte/test/runtime/samples/whitespace-each-block/main.svelte diff --git a/test/runtime/samples/whitespace-list/_config.js b/packages/svelte/test/runtime/samples/whitespace-list/_config.js similarity index 100% rename from test/runtime/samples/whitespace-list/_config.js rename to packages/svelte/test/runtime/samples/whitespace-list/_config.js diff --git a/test/runtime/samples/whitespace-list/main.svelte b/packages/svelte/test/runtime/samples/whitespace-list/main.svelte similarity index 100% rename from test/runtime/samples/whitespace-list/main.svelte rename to packages/svelte/test/runtime/samples/whitespace-list/main.svelte diff --git a/test/runtime/samples/whitespace-normal/_config.js b/packages/svelte/test/runtime/samples/whitespace-normal/_config.js similarity index 100% rename from test/runtime/samples/whitespace-normal/_config.js rename to packages/svelte/test/runtime/samples/whitespace-normal/_config.js diff --git a/test/runtime/samples/whitespace-normal/main.svelte b/packages/svelte/test/runtime/samples/whitespace-normal/main.svelte similarity index 100% rename from test/runtime/samples/whitespace-normal/main.svelte rename to packages/svelte/test/runtime/samples/whitespace-normal/main.svelte diff --git a/test/runtime/samples/window-bind-scroll-update/_config.js b/packages/svelte/test/runtime/samples/window-bind-scroll-update/_config.js similarity index 100% rename from test/runtime/samples/window-bind-scroll-update/_config.js rename to packages/svelte/test/runtime/samples/window-bind-scroll-update/_config.js diff --git a/test/runtime/samples/window-bind-scroll-update/main.svelte b/packages/svelte/test/runtime/samples/window-bind-scroll-update/main.svelte similarity index 100% rename from test/runtime/samples/window-bind-scroll-update/main.svelte rename to packages/svelte/test/runtime/samples/window-bind-scroll-update/main.svelte diff --git a/test/runtime/samples/window-binding-multiple-handlers/_config.js b/packages/svelte/test/runtime/samples/window-binding-multiple-handlers/_config.js similarity index 100% rename from test/runtime/samples/window-binding-multiple-handlers/_config.js rename to packages/svelte/test/runtime/samples/window-binding-multiple-handlers/_config.js diff --git a/test/runtime/samples/window-binding-multiple-handlers/main.svelte b/packages/svelte/test/runtime/samples/window-binding-multiple-handlers/main.svelte similarity index 100% rename from test/runtime/samples/window-binding-multiple-handlers/main.svelte rename to packages/svelte/test/runtime/samples/window-binding-multiple-handlers/main.svelte diff --git a/test/runtime/samples/window-binding-resize/_config.js b/packages/svelte/test/runtime/samples/window-binding-resize/_config.js similarity index 100% rename from test/runtime/samples/window-binding-resize/_config.js rename to packages/svelte/test/runtime/samples/window-binding-resize/_config.js diff --git a/test/runtime/samples/window-binding-resize/main.svelte b/packages/svelte/test/runtime/samples/window-binding-resize/main.svelte similarity index 100% rename from test/runtime/samples/window-binding-resize/main.svelte rename to packages/svelte/test/runtime/samples/window-binding-resize/main.svelte diff --git a/test/runtime/samples/window-binding-scroll-store/_config.js b/packages/svelte/test/runtime/samples/window-binding-scroll-store/_config.js similarity index 100% rename from test/runtime/samples/window-binding-scroll-store/_config.js rename to packages/svelte/test/runtime/samples/window-binding-scroll-store/_config.js diff --git a/test/runtime/samples/window-binding-scroll-store/main.svelte b/packages/svelte/test/runtime/samples/window-binding-scroll-store/main.svelte similarity index 100% rename from test/runtime/samples/window-binding-scroll-store/main.svelte rename to packages/svelte/test/runtime/samples/window-binding-scroll-store/main.svelte diff --git a/test/runtime/samples/window-event-context/_config.js b/packages/svelte/test/runtime/samples/window-event-context/_config.js similarity index 100% rename from test/runtime/samples/window-event-context/_config.js rename to packages/svelte/test/runtime/samples/window-event-context/_config.js diff --git a/test/runtime/samples/window-event-context/main.svelte b/packages/svelte/test/runtime/samples/window-event-context/main.svelte similarity index 100% rename from test/runtime/samples/window-event-context/main.svelte rename to packages/svelte/test/runtime/samples/window-event-context/main.svelte diff --git a/test/runtime/samples/window-event-custom/_config.js b/packages/svelte/test/runtime/samples/window-event-custom/_config.js similarity index 100% rename from test/runtime/samples/window-event-custom/_config.js rename to packages/svelte/test/runtime/samples/window-event-custom/_config.js diff --git a/test/runtime/samples/window-event-custom/main.svelte b/packages/svelte/test/runtime/samples/window-event-custom/main.svelte similarity index 100% rename from test/runtime/samples/window-event-custom/main.svelte rename to packages/svelte/test/runtime/samples/window-event-custom/main.svelte diff --git a/test/runtime/samples/window-event/_config.js b/packages/svelte/test/runtime/samples/window-event/_config.js similarity index 100% rename from test/runtime/samples/window-event/_config.js rename to packages/svelte/test/runtime/samples/window-event/_config.js diff --git a/test/runtime/samples/window-event/main.svelte b/packages/svelte/test/runtime/samples/window-event/main.svelte similarity index 100% rename from test/runtime/samples/window-event/main.svelte rename to packages/svelte/test/runtime/samples/window-event/main.svelte diff --git a/test/server-side-rendering/samples/attribute-boolean/_expected.html b/packages/svelte/test/server-side-rendering/samples/attribute-boolean/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-boolean/_expected.html rename to packages/svelte/test/server-side-rendering/samples/attribute-boolean/_expected.html diff --git a/test/server-side-rendering/samples/attribute-boolean/main.svelte b/packages/svelte/test/server-side-rendering/samples/attribute-boolean/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-boolean/main.svelte rename to packages/svelte/test/server-side-rendering/samples/attribute-boolean/main.svelte diff --git a/test/server-side-rendering/samples/attribute-dynamic/_expected.html b/packages/svelte/test/server-side-rendering/samples/attribute-dynamic/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-dynamic/_expected.html rename to packages/svelte/test/server-side-rendering/samples/attribute-dynamic/_expected.html diff --git a/test/server-side-rendering/samples/attribute-dynamic/data.json b/packages/svelte/test/server-side-rendering/samples/attribute-dynamic/data.json similarity index 100% rename from test/server-side-rendering/samples/attribute-dynamic/data.json rename to packages/svelte/test/server-side-rendering/samples/attribute-dynamic/data.json diff --git a/test/server-side-rendering/samples/attribute-dynamic/main.svelte b/packages/svelte/test/server-side-rendering/samples/attribute-dynamic/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-dynamic/main.svelte rename to packages/svelte/test/server-side-rendering/samples/attribute-dynamic/main.svelte diff --git a/test/server-side-rendering/samples/attribute-escape-quotes-spread-2/_expected.html b/packages/svelte/test/server-side-rendering/samples/attribute-escape-quotes-spread-2/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-escape-quotes-spread-2/_expected.html rename to packages/svelte/test/server-side-rendering/samples/attribute-escape-quotes-spread-2/_expected.html diff --git a/test/server-side-rendering/samples/attribute-escape-quotes-spread-2/main.svelte b/packages/svelte/test/server-side-rendering/samples/attribute-escape-quotes-spread-2/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-escape-quotes-spread-2/main.svelte rename to packages/svelte/test/server-side-rendering/samples/attribute-escape-quotes-spread-2/main.svelte diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.html b/packages/svelte/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.html rename to packages/svelte/test/server-side-rendering/samples/attribute-escaped-quotes-spread/_expected.html diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes-spread/main.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/packages/svelte/test/server-side-rendering/samples/attribute-escaped-quotes/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes/_expected.html rename to packages/svelte/test/server-side-rendering/samples/attribute-escaped-quotes/_expected.html diff --git a/test/server-side-rendering/samples/attribute-escaped-quotes/main.svelte b/packages/svelte/test/server-side-rendering/samples/attribute-escaped-quotes/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-escaped-quotes/main.svelte rename to packages/svelte/test/server-side-rendering/samples/attribute-escaped-quotes/main.svelte diff --git a/test/server-side-rendering/samples/attribute-spread-with-null/_expected.html b/packages/svelte/test/server-side-rendering/samples/attribute-spread-with-null/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-spread-with-null/_expected.html rename to packages/svelte/test/server-side-rendering/samples/attribute-spread-with-null/_expected.html diff --git a/test/server-side-rendering/samples/attribute-spread-with-null/main.svelte b/packages/svelte/test/server-side-rendering/samples/attribute-spread-with-null/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-spread-with-null/main.svelte rename to packages/svelte/test/server-side-rendering/samples/attribute-spread-with-null/main.svelte diff --git a/test/server-side-rendering/samples/attribute-static/_expected.html b/packages/svelte/test/server-side-rendering/samples/attribute-static/_expected.html similarity index 100% rename from test/server-side-rendering/samples/attribute-static/_expected.html rename to packages/svelte/test/server-side-rendering/samples/attribute-static/_expected.html diff --git a/test/server-side-rendering/samples/attribute-static/main.svelte b/packages/svelte/test/server-side-rendering/samples/attribute-static/main.svelte similarity index 100% rename from test/server-side-rendering/samples/attribute-static/main.svelte rename to packages/svelte/test/server-side-rendering/samples/attribute-static/main.svelte diff --git a/test/server-side-rendering/samples/bindings-empty-string/_expected.html b/packages/svelte/test/server-side-rendering/samples/bindings-empty-string/_expected.html similarity index 100% rename from test/server-side-rendering/samples/bindings-empty-string/_expected.html rename to packages/svelte/test/server-side-rendering/samples/bindings-empty-string/_expected.html diff --git a/test/server-side-rendering/samples/bindings-empty-string/main.svelte b/packages/svelte/test/server-side-rendering/samples/bindings-empty-string/main.svelte similarity index 100% rename from test/server-side-rendering/samples/bindings-empty-string/main.svelte rename to packages/svelte/test/server-side-rendering/samples/bindings-empty-string/main.svelte diff --git a/test/server-side-rendering/samples/bindings-group/_expected.html b/packages/svelte/test/server-side-rendering/samples/bindings-group/_expected.html similarity index 100% rename from test/server-side-rendering/samples/bindings-group/_expected.html rename to packages/svelte/test/server-side-rendering/samples/bindings-group/_expected.html diff --git a/test/server-side-rendering/samples/bindings-group/main.svelte b/packages/svelte/test/server-side-rendering/samples/bindings-group/main.svelte similarity index 100% rename from test/server-side-rendering/samples/bindings-group/main.svelte rename to packages/svelte/test/server-side-rendering/samples/bindings-group/main.svelte diff --git a/test/server-side-rendering/samples/bindings-readonly/_expected.html b/packages/svelte/test/server-side-rendering/samples/bindings-readonly/_expected.html similarity index 100% rename from test/server-side-rendering/samples/bindings-readonly/_expected.html rename to packages/svelte/test/server-side-rendering/samples/bindings-readonly/_expected.html diff --git a/test/server-side-rendering/samples/bindings-readonly/main.svelte b/packages/svelte/test/server-side-rendering/samples/bindings-readonly/main.svelte similarity index 100% rename from test/server-side-rendering/samples/bindings-readonly/main.svelte rename to packages/svelte/test/server-side-rendering/samples/bindings-readonly/main.svelte diff --git a/test/server-side-rendering/samples/bindings-zero/_expected.html b/packages/svelte/test/server-side-rendering/samples/bindings-zero/_expected.html similarity index 100% rename from test/server-side-rendering/samples/bindings-zero/_expected.html rename to packages/svelte/test/server-side-rendering/samples/bindings-zero/_expected.html diff --git a/test/server-side-rendering/samples/bindings-zero/main.svelte b/packages/svelte/test/server-side-rendering/samples/bindings-zero/main.svelte similarity index 100% rename from test/server-side-rendering/samples/bindings-zero/main.svelte rename to packages/svelte/test/server-side-rendering/samples/bindings-zero/main.svelte diff --git a/test/server-side-rendering/samples/bindings/_expected.html b/packages/svelte/test/server-side-rendering/samples/bindings/_expected.html similarity index 100% rename from test/server-side-rendering/samples/bindings/_expected.html rename to packages/svelte/test/server-side-rendering/samples/bindings/_expected.html diff --git a/test/server-side-rendering/samples/bindings/main.svelte b/packages/svelte/test/server-side-rendering/samples/bindings/main.svelte similarity index 100% rename from test/server-side-rendering/samples/bindings/main.svelte rename to packages/svelte/test/server-side-rendering/samples/bindings/main.svelte diff --git a/test/server-side-rendering/samples/comment-preserve/_config.js b/packages/svelte/test/server-side-rendering/samples/comment-preserve/_config.js similarity index 100% rename from test/server-side-rendering/samples/comment-preserve/_config.js rename to packages/svelte/test/server-side-rendering/samples/comment-preserve/_config.js diff --git a/test/server-side-rendering/samples/comment-preserve/_expected.html b/packages/svelte/test/server-side-rendering/samples/comment-preserve/_expected.html similarity index 100% rename from test/server-side-rendering/samples/comment-preserve/_expected.html rename to packages/svelte/test/server-side-rendering/samples/comment-preserve/_expected.html diff --git a/test/server-side-rendering/samples/comment-preserve/main.svelte b/packages/svelte/test/server-side-rendering/samples/comment-preserve/main.svelte similarity index 100% rename from test/server-side-rendering/samples/comment-preserve/main.svelte rename to packages/svelte/test/server-side-rendering/samples/comment-preserve/main.svelte diff --git a/test/server-side-rendering/samples/comment/_expected.html b/packages/svelte/test/server-side-rendering/samples/comment/_expected.html similarity index 100% rename from test/server-side-rendering/samples/comment/_expected.html rename to packages/svelte/test/server-side-rendering/samples/comment/_expected.html diff --git a/test/server-side-rendering/samples/comment/main.svelte b/packages/svelte/test/server-side-rendering/samples/comment/main.svelte similarity index 100% rename from test/server-side-rendering/samples/comment/main.svelte rename to packages/svelte/test/server-side-rendering/samples/comment/main.svelte diff --git a/test/server-side-rendering/samples/component-binding-renamed/Foo.svelte b/packages/svelte/test/server-side-rendering/samples/component-binding-renamed/Foo.svelte similarity index 100% rename from test/server-side-rendering/samples/component-binding-renamed/Foo.svelte rename to packages/svelte/test/server-side-rendering/samples/component-binding-renamed/Foo.svelte diff --git a/test/server-side-rendering/samples/component-binding-renamed/_expected.html b/packages/svelte/test/server-side-rendering/samples/component-binding-renamed/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-binding-renamed/_expected.html rename to packages/svelte/test/server-side-rendering/samples/component-binding-renamed/_expected.html diff --git a/test/server-side-rendering/samples/component-binding-renamed/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-binding-renamed/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-binding-renamed/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-binding-renamed/main.svelte diff --git a/test/server-side-rendering/samples/component-binding/Foo.svelte b/packages/svelte/test/server-side-rendering/samples/component-binding/Foo.svelte similarity index 100% rename from test/server-side-rendering/samples/component-binding/Foo.svelte rename to packages/svelte/test/server-side-rendering/samples/component-binding/Foo.svelte diff --git a/test/server-side-rendering/samples/component-binding/_expected.html b/packages/svelte/test/server-side-rendering/samples/component-binding/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-binding/_expected.html rename to packages/svelte/test/server-side-rendering/samples/component-binding/_expected.html diff --git a/test/server-side-rendering/samples/component-binding/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-binding/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-binding/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-binding/main.svelte diff --git a/test/server-side-rendering/samples/component-data-dynamic/Widget.svelte b/packages/svelte/test/server-side-rendering/samples/component-data-dynamic/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-data-dynamic/Widget.svelte rename to packages/svelte/test/server-side-rendering/samples/component-data-dynamic/Widget.svelte diff --git a/test/server-side-rendering/samples/component-data-dynamic/_expected.html b/packages/svelte/test/server-side-rendering/samples/component-data-dynamic/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-data-dynamic/_expected.html rename to packages/svelte/test/server-side-rendering/samples/component-data-dynamic/_expected.html diff --git a/test/server-side-rendering/samples/component-data-dynamic/data.json b/packages/svelte/test/server-side-rendering/samples/component-data-dynamic/data.json similarity index 100% rename from test/server-side-rendering/samples/component-data-dynamic/data.json rename to packages/svelte/test/server-side-rendering/samples/component-data-dynamic/data.json diff --git a/test/server-side-rendering/samples/component-data-dynamic/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-data-dynamic/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-data-dynamic/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-data-dynamic/main.svelte diff --git a/test/server-side-rendering/samples/component-data-empty/Widget.svelte b/packages/svelte/test/server-side-rendering/samples/component-data-empty/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-data-empty/Widget.svelte rename to packages/svelte/test/server-side-rendering/samples/component-data-empty/Widget.svelte diff --git a/test/server-side-rendering/samples/component-data-empty/_expected.html b/packages/svelte/test/server-side-rendering/samples/component-data-empty/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-data-empty/_expected.html rename to packages/svelte/test/server-side-rendering/samples/component-data-empty/_expected.html diff --git a/test/server-side-rendering/samples/component-data-empty/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-data-empty/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-data-empty/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-data-empty/main.svelte diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/Widget.svelte b/packages/svelte/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.svelte rename to packages/svelte/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/packages/svelte/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.html rename to packages/svelte/test/server-side-rendering/samples/component-refs-and-attributes/_expected.html diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-refs-and-attributes/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-refs-and-attributes/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-refs-and-attributes/main.svelte diff --git a/test/server-side-rendering/samples/component-refs/Widget.svelte b/packages/svelte/test/server-side-rendering/samples/component-refs/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-refs/Widget.svelte rename to packages/svelte/test/server-side-rendering/samples/component-refs/Widget.svelte diff --git a/test/server-side-rendering/samples/component-refs/_expected.html b/packages/svelte/test/server-side-rendering/samples/component-refs/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-refs/_expected.html rename to packages/svelte/test/server-side-rendering/samples/component-refs/_expected.html diff --git a/test/server-side-rendering/samples/component-refs/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-refs/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-refs/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-refs/main.svelte diff --git a/test/server-side-rendering/samples/component-with-different-extension/Widget.svelte b/packages/svelte/test/server-side-rendering/samples/component-with-different-extension/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-with-different-extension/Widget.svelte rename to packages/svelte/test/server-side-rendering/samples/component-with-different-extension/Widget.svelte diff --git a/test/server-side-rendering/samples/component-with-different-extension/_expected.html b/packages/svelte/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.html rename to packages/svelte/test/server-side-rendering/samples/component-with-different-extension/_expected.html diff --git a/test/server-side-rendering/samples/component-with-different-extension/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-with-different-extension/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-with-different-extension/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-with-different-extension/main.svelte diff --git a/test/server-side-rendering/samples/component-yield/Widget.svelte b/packages/svelte/test/server-side-rendering/samples/component-yield/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component-yield/Widget.svelte rename to packages/svelte/test/server-side-rendering/samples/component-yield/Widget.svelte diff --git a/test/server-side-rendering/samples/component-yield/_expected.html b/packages/svelte/test/server-side-rendering/samples/component-yield/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component-yield/_expected.html rename to packages/svelte/test/server-side-rendering/samples/component-yield/_expected.html diff --git a/test/server-side-rendering/samples/component-yield/main.svelte b/packages/svelte/test/server-side-rendering/samples/component-yield/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component-yield/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component-yield/main.svelte diff --git a/test/server-side-rendering/samples/component/Widget.svelte b/packages/svelte/test/server-side-rendering/samples/component/Widget.svelte similarity index 100% rename from test/server-side-rendering/samples/component/Widget.svelte rename to packages/svelte/test/server-side-rendering/samples/component/Widget.svelte diff --git a/test/server-side-rendering/samples/component/_expected.html b/packages/svelte/test/server-side-rendering/samples/component/_expected.html similarity index 100% rename from test/server-side-rendering/samples/component/_expected.html rename to packages/svelte/test/server-side-rendering/samples/component/_expected.html diff --git a/test/server-side-rendering/samples/component/main.svelte b/packages/svelte/test/server-side-rendering/samples/component/main.svelte similarity index 100% rename from test/server-side-rendering/samples/component/main.svelte rename to packages/svelte/test/server-side-rendering/samples/component/main.svelte diff --git a/test/server-side-rendering/samples/computed/_expected.html b/packages/svelte/test/server-side-rendering/samples/computed/_expected.html similarity index 100% rename from test/server-side-rendering/samples/computed/_expected.html rename to packages/svelte/test/server-side-rendering/samples/computed/_expected.html diff --git a/test/server-side-rendering/samples/computed/data.json b/packages/svelte/test/server-side-rendering/samples/computed/data.json similarity index 100% rename from test/server-side-rendering/samples/computed/data.json rename to packages/svelte/test/server-side-rendering/samples/computed/data.json diff --git a/test/server-side-rendering/samples/computed/main.svelte b/packages/svelte/test/server-side-rendering/samples/computed/main.svelte similarity index 100% rename from test/server-side-rendering/samples/computed/main.svelte rename to packages/svelte/test/server-side-rendering/samples/computed/main.svelte diff --git a/test/server-side-rendering/samples/constructor-prefer-passed-context/ChildComponent.svelte b/packages/svelte/test/server-side-rendering/samples/constructor-prefer-passed-context/ChildComponent.svelte similarity index 100% rename from test/server-side-rendering/samples/constructor-prefer-passed-context/ChildComponent.svelte rename to packages/svelte/test/server-side-rendering/samples/constructor-prefer-passed-context/ChildComponent.svelte diff --git a/test/server-side-rendering/samples/constructor-prefer-passed-context/_expected.html b/packages/svelte/test/server-side-rendering/samples/constructor-prefer-passed-context/_expected.html similarity index 100% rename from test/server-side-rendering/samples/constructor-prefer-passed-context/_expected.html rename to packages/svelte/test/server-side-rendering/samples/constructor-prefer-passed-context/_expected.html diff --git a/test/server-side-rendering/samples/constructor-prefer-passed-context/main.svelte b/packages/svelte/test/server-side-rendering/samples/constructor-prefer-passed-context/main.svelte similarity index 100% rename from test/server-side-rendering/samples/constructor-prefer-passed-context/main.svelte rename to packages/svelte/test/server-side-rendering/samples/constructor-prefer-passed-context/main.svelte diff --git a/test/server-side-rendering/samples/default-data-override/_expected.html b/packages/svelte/test/server-side-rendering/samples/default-data-override/_expected.html similarity index 100% rename from test/server-side-rendering/samples/default-data-override/_expected.html rename to packages/svelte/test/server-side-rendering/samples/default-data-override/_expected.html diff --git a/test/server-side-rendering/samples/default-data-override/data.json b/packages/svelte/test/server-side-rendering/samples/default-data-override/data.json similarity index 100% rename from test/server-side-rendering/samples/default-data-override/data.json rename to packages/svelte/test/server-side-rendering/samples/default-data-override/data.json diff --git a/test/server-side-rendering/samples/default-data-override/main.svelte b/packages/svelte/test/server-side-rendering/samples/default-data-override/main.svelte similarity index 100% rename from test/server-side-rendering/samples/default-data-override/main.svelte rename to packages/svelte/test/server-side-rendering/samples/default-data-override/main.svelte diff --git a/test/server-side-rendering/samples/default-data/_expected.html b/packages/svelte/test/server-side-rendering/samples/default-data/_expected.html similarity index 100% rename from test/server-side-rendering/samples/default-data/_expected.html rename to packages/svelte/test/server-side-rendering/samples/default-data/_expected.html diff --git a/test/server-side-rendering/samples/default-data/main.svelte b/packages/svelte/test/server-side-rendering/samples/default-data/main.svelte similarity index 100% rename from test/server-side-rendering/samples/default-data/main.svelte rename to packages/svelte/test/server-side-rendering/samples/default-data/main.svelte diff --git a/test/server-side-rendering/samples/directives/_expected.html b/packages/svelte/test/server-side-rendering/samples/directives/_expected.html similarity index 100% rename from test/server-side-rendering/samples/directives/_expected.html rename to packages/svelte/test/server-side-rendering/samples/directives/_expected.html diff --git a/test/server-side-rendering/samples/directives/main.svelte b/packages/svelte/test/server-side-rendering/samples/directives/main.svelte similarity index 100% rename from test/server-side-rendering/samples/directives/main.svelte rename to packages/svelte/test/server-side-rendering/samples/directives/main.svelte diff --git a/test/server-side-rendering/samples/dynamic-element-string/_expected.html b/packages/svelte/test/server-side-rendering/samples/dynamic-element-string/_expected.html similarity index 100% rename from test/server-side-rendering/samples/dynamic-element-string/_expected.html rename to packages/svelte/test/server-side-rendering/samples/dynamic-element-string/_expected.html diff --git a/test/server-side-rendering/samples/dynamic-element-string/main.svelte b/packages/svelte/test/server-side-rendering/samples/dynamic-element-string/main.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-element-string/main.svelte rename to packages/svelte/test/server-side-rendering/samples/dynamic-element-string/main.svelte diff --git a/test/server-side-rendering/samples/dynamic-element-variable/_expected.html b/packages/svelte/test/server-side-rendering/samples/dynamic-element-variable/_expected.html similarity index 100% rename from test/server-side-rendering/samples/dynamic-element-variable/_expected.html rename to packages/svelte/test/server-side-rendering/samples/dynamic-element-variable/_expected.html diff --git a/test/server-side-rendering/samples/dynamic-element-variable/main.svelte b/packages/svelte/test/server-side-rendering/samples/dynamic-element-variable/main.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-element-variable/main.svelte rename to packages/svelte/test/server-side-rendering/samples/dynamic-element-variable/main.svelte diff --git a/test/server-side-rendering/samples/dynamic-text-escaped/_expected.html b/packages/svelte/test/server-side-rendering/samples/dynamic-text-escaped/_expected.html similarity index 100% rename from test/server-side-rendering/samples/dynamic-text-escaped/_expected.html rename to packages/svelte/test/server-side-rendering/samples/dynamic-text-escaped/_expected.html diff --git a/test/server-side-rendering/samples/dynamic-text-escaped/data.json b/packages/svelte/test/server-side-rendering/samples/dynamic-text-escaped/data.json similarity index 100% rename from test/server-side-rendering/samples/dynamic-text-escaped/data.json rename to packages/svelte/test/server-side-rendering/samples/dynamic-text-escaped/data.json diff --git a/test/server-side-rendering/samples/dynamic-text-escaped/main.svelte b/packages/svelte/test/server-side-rendering/samples/dynamic-text-escaped/main.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-text-escaped/main.svelte rename to packages/svelte/test/server-side-rendering/samples/dynamic-text-escaped/main.svelte diff --git a/test/server-side-rendering/samples/dynamic-text/_expected.html b/packages/svelte/test/server-side-rendering/samples/dynamic-text/_expected.html similarity index 100% rename from test/server-side-rendering/samples/dynamic-text/_expected.html rename to packages/svelte/test/server-side-rendering/samples/dynamic-text/_expected.html diff --git a/test/server-side-rendering/samples/dynamic-text/data.json b/packages/svelte/test/server-side-rendering/samples/dynamic-text/data.json similarity index 100% rename from test/server-side-rendering/samples/dynamic-text/data.json rename to packages/svelte/test/server-side-rendering/samples/dynamic-text/data.json diff --git a/test/server-side-rendering/samples/dynamic-text/main.svelte b/packages/svelte/test/server-side-rendering/samples/dynamic-text/main.svelte similarity index 100% rename from test/server-side-rendering/samples/dynamic-text/main.svelte rename to packages/svelte/test/server-side-rendering/samples/dynamic-text/main.svelte diff --git a/test/server-side-rendering/samples/each-block/_expected.html b/packages/svelte/test/server-side-rendering/samples/each-block/_expected.html similarity index 100% rename from test/server-side-rendering/samples/each-block/_expected.html rename to packages/svelte/test/server-side-rendering/samples/each-block/_expected.html diff --git a/test/server-side-rendering/samples/each-block/data.json b/packages/svelte/test/server-side-rendering/samples/each-block/data.json similarity index 100% rename from test/server-side-rendering/samples/each-block/data.json rename to packages/svelte/test/server-side-rendering/samples/each-block/data.json diff --git a/test/server-side-rendering/samples/each-block/main.svelte b/packages/svelte/test/server-side-rendering/samples/each-block/main.svelte similarity index 100% rename from test/server-side-rendering/samples/each-block/main.svelte rename to packages/svelte/test/server-side-rendering/samples/each-block/main.svelte diff --git a/test/server-side-rendering/samples/empty-elements-closed/_expected.html b/packages/svelte/test/server-side-rendering/samples/empty-elements-closed/_expected.html similarity index 100% rename from test/server-side-rendering/samples/empty-elements-closed/_expected.html rename to packages/svelte/test/server-side-rendering/samples/empty-elements-closed/_expected.html diff --git a/test/server-side-rendering/samples/empty-elements-closed/main.svelte b/packages/svelte/test/server-side-rendering/samples/empty-elements-closed/main.svelte similarity index 100% rename from test/server-side-rendering/samples/empty-elements-closed/main.svelte rename to packages/svelte/test/server-side-rendering/samples/empty-elements-closed/main.svelte diff --git a/test/server-side-rendering/samples/entities/_expected.html b/packages/svelte/test/server-side-rendering/samples/entities/_expected.html similarity index 100% rename from test/server-side-rendering/samples/entities/_expected.html rename to packages/svelte/test/server-side-rendering/samples/entities/_expected.html diff --git a/test/server-side-rendering/samples/entities/data.json b/packages/svelte/test/server-side-rendering/samples/entities/data.json similarity index 100% rename from test/server-side-rendering/samples/entities/data.json rename to packages/svelte/test/server-side-rendering/samples/entities/data.json diff --git a/test/server-side-rendering/samples/entities/main.svelte b/packages/svelte/test/server-side-rendering/samples/entities/main.svelte similarity index 100% rename from test/server-side-rendering/samples/entities/main.svelte rename to packages/svelte/test/server-side-rendering/samples/entities/main.svelte diff --git a/test/server-side-rendering/samples/head-html-and-component/HeadNested.svelte b/packages/svelte/test/server-side-rendering/samples/head-html-and-component/HeadNested.svelte similarity index 100% rename from test/server-side-rendering/samples/head-html-and-component/HeadNested.svelte rename to packages/svelte/test/server-side-rendering/samples/head-html-and-component/HeadNested.svelte diff --git a/test/server-side-rendering/samples/head-html-and-component/Nested.svelte b/packages/svelte/test/server-side-rendering/samples/head-html-and-component/Nested.svelte similarity index 100% rename from test/server-side-rendering/samples/head-html-and-component/Nested.svelte rename to packages/svelte/test/server-side-rendering/samples/head-html-and-component/Nested.svelte diff --git a/test/server-side-rendering/samples/head-html-and-component/_expected-head.html b/packages/svelte/test/server-side-rendering/samples/head-html-and-component/_expected-head.html similarity index 100% rename from test/server-side-rendering/samples/head-html-and-component/_expected-head.html rename to packages/svelte/test/server-side-rendering/samples/head-html-and-component/_expected-head.html diff --git a/test/server-side-rendering/samples/head-html-and-component/_expected.html b/packages/svelte/test/server-side-rendering/samples/head-html-and-component/_expected.html similarity index 100% rename from test/server-side-rendering/samples/head-html-and-component/_expected.html rename to packages/svelte/test/server-side-rendering/samples/head-html-and-component/_expected.html diff --git a/test/server-side-rendering/samples/head-html-and-component/main.svelte b/packages/svelte/test/server-side-rendering/samples/head-html-and-component/main.svelte similarity index 100% rename from test/server-side-rendering/samples/head-html-and-component/main.svelte rename to packages/svelte/test/server-side-rendering/samples/head-html-and-component/main.svelte diff --git a/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_config.js b/packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_config.js similarity index 100% rename from test/server-side-rendering/samples/head-meta-hydrate-duplicate/_config.js rename to packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_config.js diff --git a/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected-head.html b/packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected-head.html similarity index 100% rename from test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected-head.html rename to packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected-head.html diff --git a/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected.html b/packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected.html similarity index 100% rename from test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected.html rename to packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/_expected.html diff --git a/test/server-side-rendering/samples/head-meta-hydrate-duplicate/main.svelte b/packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/main.svelte similarity index 100% rename from test/server-side-rendering/samples/head-meta-hydrate-duplicate/main.svelte rename to packages/svelte/test/server-side-rendering/samples/head-meta-hydrate-duplicate/main.svelte diff --git a/test/server-side-rendering/samples/head-multiple-title/A.svelte b/packages/svelte/test/server-side-rendering/samples/head-multiple-title/A.svelte similarity index 100% rename from test/server-side-rendering/samples/head-multiple-title/A.svelte rename to packages/svelte/test/server-side-rendering/samples/head-multiple-title/A.svelte diff --git a/test/server-side-rendering/samples/head-multiple-title/B.svelte b/packages/svelte/test/server-side-rendering/samples/head-multiple-title/B.svelte similarity index 100% rename from test/server-side-rendering/samples/head-multiple-title/B.svelte rename to packages/svelte/test/server-side-rendering/samples/head-multiple-title/B.svelte diff --git a/test/server-side-rendering/samples/head-multiple-title/_expected-head.html b/packages/svelte/test/server-side-rendering/samples/head-multiple-title/_expected-head.html similarity index 100% rename from test/server-side-rendering/samples/head-multiple-title/_expected-head.html rename to packages/svelte/test/server-side-rendering/samples/head-multiple-title/_expected-head.html diff --git a/test/server-side-rendering/samples/head-multiple-title/_expected.html b/packages/svelte/test/server-side-rendering/samples/head-multiple-title/_expected.html similarity index 100% rename from test/server-side-rendering/samples/head-multiple-title/_expected.html rename to packages/svelte/test/server-side-rendering/samples/head-multiple-title/_expected.html diff --git a/test/server-side-rendering/samples/head-multiple-title/data.json b/packages/svelte/test/server-side-rendering/samples/head-multiple-title/data.json similarity index 100% rename from test/server-side-rendering/samples/head-multiple-title/data.json rename to packages/svelte/test/server-side-rendering/samples/head-multiple-title/data.json diff --git a/test/server-side-rendering/samples/head-multiple-title/main.svelte b/packages/svelte/test/server-side-rendering/samples/head-multiple-title/main.svelte similarity index 100% rename from test/server-side-rendering/samples/head-multiple-title/main.svelte rename to packages/svelte/test/server-side-rendering/samples/head-multiple-title/main.svelte diff --git a/test/server-side-rendering/samples/head-title/_expected-head.html b/packages/svelte/test/server-side-rendering/samples/head-title/_expected-head.html similarity index 100% rename from test/server-side-rendering/samples/head-title/_expected-head.html rename to packages/svelte/test/server-side-rendering/samples/head-title/_expected-head.html diff --git a/test/server-side-rendering/samples/head-title/_expected.html b/packages/svelte/test/server-side-rendering/samples/head-title/_expected.html similarity index 100% rename from test/server-side-rendering/samples/head-title/_expected.html rename to packages/svelte/test/server-side-rendering/samples/head-title/_expected.html diff --git a/test/server-side-rendering/samples/head-title/data.json b/packages/svelte/test/server-side-rendering/samples/head-title/data.json similarity index 100% rename from test/server-side-rendering/samples/head-title/data.json rename to packages/svelte/test/server-side-rendering/samples/head-title/data.json diff --git a/test/server-side-rendering/samples/head-title/main.svelte b/packages/svelte/test/server-side-rendering/samples/head-title/main.svelte similarity index 100% rename from test/server-side-rendering/samples/head-title/main.svelte rename to packages/svelte/test/server-side-rendering/samples/head-title/main.svelte diff --git a/test/server-side-rendering/samples/helpers/_expected.html b/packages/svelte/test/server-side-rendering/samples/helpers/_expected.html similarity index 100% rename from test/server-side-rendering/samples/helpers/_expected.html rename to packages/svelte/test/server-side-rendering/samples/helpers/_expected.html diff --git a/test/server-side-rendering/samples/helpers/main.svelte b/packages/svelte/test/server-side-rendering/samples/helpers/main.svelte similarity index 100% rename from test/server-side-rendering/samples/helpers/main.svelte rename to packages/svelte/test/server-side-rendering/samples/helpers/main.svelte diff --git a/test/server-side-rendering/samples/if-block-false/_expected.html b/packages/svelte/test/server-side-rendering/samples/if-block-false/_expected.html similarity index 100% rename from test/server-side-rendering/samples/if-block-false/_expected.html rename to packages/svelte/test/server-side-rendering/samples/if-block-false/_expected.html diff --git a/test/server-side-rendering/samples/if-block-false/data.json b/packages/svelte/test/server-side-rendering/samples/if-block-false/data.json similarity index 100% rename from test/server-side-rendering/samples/if-block-false/data.json rename to packages/svelte/test/server-side-rendering/samples/if-block-false/data.json diff --git a/test/server-side-rendering/samples/if-block-false/main.svelte b/packages/svelte/test/server-side-rendering/samples/if-block-false/main.svelte similarity index 100% rename from test/server-side-rendering/samples/if-block-false/main.svelte rename to packages/svelte/test/server-side-rendering/samples/if-block-false/main.svelte diff --git a/test/server-side-rendering/samples/if-block-true/_expected.html b/packages/svelte/test/server-side-rendering/samples/if-block-true/_expected.html similarity index 100% rename from test/server-side-rendering/samples/if-block-true/_expected.html rename to packages/svelte/test/server-side-rendering/samples/if-block-true/_expected.html diff --git a/test/server-side-rendering/samples/if-block-true/data.json b/packages/svelte/test/server-side-rendering/samples/if-block-true/data.json similarity index 100% rename from test/server-side-rendering/samples/if-block-true/data.json rename to packages/svelte/test/server-side-rendering/samples/if-block-true/data.json diff --git a/test/server-side-rendering/samples/if-block-true/main.svelte b/packages/svelte/test/server-side-rendering/samples/if-block-true/main.svelte similarity index 100% rename from test/server-side-rendering/samples/if-block-true/main.svelte rename to packages/svelte/test/server-side-rendering/samples/if-block-true/main.svelte diff --git a/test/server-side-rendering/samples/import-non-component/_expected.html b/packages/svelte/test/server-side-rendering/samples/import-non-component/_expected.html similarity index 100% rename from test/server-side-rendering/samples/import-non-component/_expected.html rename to packages/svelte/test/server-side-rendering/samples/import-non-component/_expected.html diff --git a/test/server-side-rendering/samples/import-non-component/answer.js b/packages/svelte/test/server-side-rendering/samples/import-non-component/answer.js similarity index 100% rename from test/server-side-rendering/samples/import-non-component/answer.js rename to packages/svelte/test/server-side-rendering/samples/import-non-component/answer.js diff --git a/test/server-side-rendering/samples/import-non-component/main.svelte b/packages/svelte/test/server-side-rendering/samples/import-non-component/main.svelte similarity index 100% rename from test/server-side-rendering/samples/import-non-component/main.svelte rename to packages/svelte/test/server-side-rendering/samples/import-non-component/main.svelte diff --git a/test/server-side-rendering/samples/import-non-component/problems.js b/packages/svelte/test/server-side-rendering/samples/import-non-component/problems.js similarity index 100% rename from test/server-side-rendering/samples/import-non-component/problems.js rename to packages/svelte/test/server-side-rendering/samples/import-non-component/problems.js diff --git a/test/server-side-rendering/samples/raw-mustaches/_expected.html b/packages/svelte/test/server-side-rendering/samples/raw-mustaches/_expected.html similarity index 100% rename from test/server-side-rendering/samples/raw-mustaches/_expected.html rename to packages/svelte/test/server-side-rendering/samples/raw-mustaches/_expected.html diff --git a/test/server-side-rendering/samples/raw-mustaches/data.json b/packages/svelte/test/server-side-rendering/samples/raw-mustaches/data.json similarity index 100% rename from test/server-side-rendering/samples/raw-mustaches/data.json rename to packages/svelte/test/server-side-rendering/samples/raw-mustaches/data.json diff --git a/test/server-side-rendering/samples/raw-mustaches/main.svelte b/packages/svelte/test/server-side-rendering/samples/raw-mustaches/main.svelte similarity index 100% rename from test/server-side-rendering/samples/raw-mustaches/main.svelte rename to packages/svelte/test/server-side-rendering/samples/raw-mustaches/main.svelte diff --git a/test/server-side-rendering/samples/sanitize-name/[foo].svelte b/packages/svelte/test/server-side-rendering/samples/sanitize-name/[foo].svelte similarity index 100% rename from test/server-side-rendering/samples/sanitize-name/[foo].svelte rename to packages/svelte/test/server-side-rendering/samples/sanitize-name/[foo].svelte diff --git a/test/server-side-rendering/samples/sanitize-name/_expected.html b/packages/svelte/test/server-side-rendering/samples/sanitize-name/_expected.html similarity index 100% rename from test/server-side-rendering/samples/sanitize-name/_expected.html rename to packages/svelte/test/server-side-rendering/samples/sanitize-name/_expected.html diff --git a/test/server-side-rendering/samples/sanitize-name/main.svelte b/packages/svelte/test/server-side-rendering/samples/sanitize-name/main.svelte similarity index 100% rename from test/server-side-rendering/samples/sanitize-name/main.svelte rename to packages/svelte/test/server-side-rendering/samples/sanitize-name/main.svelte diff --git a/test/server-side-rendering/samples/spread-attributes-boolean/_expected.html b/packages/svelte/test/server-side-rendering/samples/spread-attributes-boolean/_expected.html similarity index 100% rename from test/server-side-rendering/samples/spread-attributes-boolean/_expected.html rename to packages/svelte/test/server-side-rendering/samples/spread-attributes-boolean/_expected.html diff --git a/test/server-side-rendering/samples/spread-attributes-boolean/main.svelte b/packages/svelte/test/server-side-rendering/samples/spread-attributes-boolean/main.svelte similarity index 100% rename from test/server-side-rendering/samples/spread-attributes-boolean/main.svelte rename to packages/svelte/test/server-side-rendering/samples/spread-attributes-boolean/main.svelte diff --git a/test/server-side-rendering/samples/spread-attributes-white-space/_expected.html b/packages/svelte/test/server-side-rendering/samples/spread-attributes-white-space/_expected.html similarity index 100% rename from test/server-side-rendering/samples/spread-attributes-white-space/_expected.html rename to packages/svelte/test/server-side-rendering/samples/spread-attributes-white-space/_expected.html diff --git a/test/server-side-rendering/samples/spread-attributes-white-space/main.svelte b/packages/svelte/test/server-side-rendering/samples/spread-attributes-white-space/main.svelte similarity index 100% rename from test/server-side-rendering/samples/spread-attributes-white-space/main.svelte rename to packages/svelte/test/server-side-rendering/samples/spread-attributes-white-space/main.svelte diff --git a/test/server-side-rendering/samples/spread-attributes/_expected.html b/packages/svelte/test/server-side-rendering/samples/spread-attributes/_expected.html similarity index 100% rename from test/server-side-rendering/samples/spread-attributes/_expected.html rename to packages/svelte/test/server-side-rendering/samples/spread-attributes/_expected.html diff --git a/test/server-side-rendering/samples/spread-attributes/main.svelte b/packages/svelte/test/server-side-rendering/samples/spread-attributes/main.svelte similarity index 100% rename from test/server-side-rendering/samples/spread-attributes/main.svelte rename to packages/svelte/test/server-side-rendering/samples/spread-attributes/main.svelte diff --git a/test/server-side-rendering/samples/static-div/_expected.html b/packages/svelte/test/server-side-rendering/samples/static-div/_expected.html similarity index 100% rename from test/server-side-rendering/samples/static-div/_expected.html rename to packages/svelte/test/server-side-rendering/samples/static-div/_expected.html diff --git a/test/server-side-rendering/samples/static-div/main.svelte b/packages/svelte/test/server-side-rendering/samples/static-div/main.svelte similarity index 100% rename from test/server-side-rendering/samples/static-div/main.svelte rename to packages/svelte/test/server-side-rendering/samples/static-div/main.svelte diff --git a/test/server-side-rendering/samples/static-text/_expected.html b/packages/svelte/test/server-side-rendering/samples/static-text/_expected.html similarity index 100% rename from test/server-side-rendering/samples/static-text/_expected.html rename to packages/svelte/test/server-side-rendering/samples/static-text/_expected.html diff --git a/test/server-side-rendering/samples/static-text/main.svelte b/packages/svelte/test/server-side-rendering/samples/static-text/main.svelte similarity index 100% rename from test/server-side-rendering/samples/static-text/main.svelte rename to packages/svelte/test/server-side-rendering/samples/static-text/main.svelte diff --git a/test/server-side-rendering/samples/styles-nested/One.svelte b/packages/svelte/test/server-side-rendering/samples/styles-nested/One.svelte similarity index 100% rename from test/server-side-rendering/samples/styles-nested/One.svelte rename to packages/svelte/test/server-side-rendering/samples/styles-nested/One.svelte diff --git a/test/server-side-rendering/samples/styles-nested/Two.svelte b/packages/svelte/test/server-side-rendering/samples/styles-nested/Two.svelte similarity index 100% rename from test/server-side-rendering/samples/styles-nested/Two.svelte rename to packages/svelte/test/server-side-rendering/samples/styles-nested/Two.svelte diff --git a/test/server-side-rendering/samples/styles-nested/_expected.css b/packages/svelte/test/server-side-rendering/samples/styles-nested/_expected.css similarity index 100% rename from test/server-side-rendering/samples/styles-nested/_expected.css rename to packages/svelte/test/server-side-rendering/samples/styles-nested/_expected.css diff --git a/test/server-side-rendering/samples/styles-nested/_expected.html b/packages/svelte/test/server-side-rendering/samples/styles-nested/_expected.html similarity index 100% rename from test/server-side-rendering/samples/styles-nested/_expected.html rename to packages/svelte/test/server-side-rendering/samples/styles-nested/_expected.html diff --git a/test/server-side-rendering/samples/styles-nested/main.svelte b/packages/svelte/test/server-side-rendering/samples/styles-nested/main.svelte similarity index 100% rename from test/server-side-rendering/samples/styles-nested/main.svelte rename to packages/svelte/test/server-side-rendering/samples/styles-nested/main.svelte diff --git a/test/server-side-rendering/samples/styles/_expected.css b/packages/svelte/test/server-side-rendering/samples/styles/_expected.css similarity index 100% rename from test/server-side-rendering/samples/styles/_expected.css rename to packages/svelte/test/server-side-rendering/samples/styles/_expected.css diff --git a/test/server-side-rendering/samples/styles/_expected.html b/packages/svelte/test/server-side-rendering/samples/styles/_expected.html similarity index 100% rename from test/server-side-rendering/samples/styles/_expected.html rename to packages/svelte/test/server-side-rendering/samples/styles/_expected.html diff --git a/test/server-side-rendering/samples/styles/main.svelte b/packages/svelte/test/server-side-rendering/samples/styles/main.svelte similarity index 100% rename from test/server-side-rendering/samples/styles/main.svelte rename to packages/svelte/test/server-side-rendering/samples/styles/main.svelte diff --git a/test/server-side-rendering/samples/text-area-bind/_expected.html b/packages/svelte/test/server-side-rendering/samples/text-area-bind/_expected.html similarity index 100% rename from test/server-side-rendering/samples/text-area-bind/_expected.html rename to packages/svelte/test/server-side-rendering/samples/text-area-bind/_expected.html diff --git a/test/server-side-rendering/samples/text-area-bind/main.svelte b/packages/svelte/test/server-side-rendering/samples/text-area-bind/main.svelte similarity index 100% rename from test/server-side-rendering/samples/text-area-bind/main.svelte rename to packages/svelte/test/server-side-rendering/samples/text-area-bind/main.svelte diff --git a/test/server-side-rendering/samples/textarea-children/_expected.html b/packages/svelte/test/server-side-rendering/samples/textarea-children/_expected.html similarity index 100% rename from test/server-side-rendering/samples/textarea-children/_expected.html rename to packages/svelte/test/server-side-rendering/samples/textarea-children/_expected.html diff --git a/test/server-side-rendering/samples/textarea-children/main.svelte b/packages/svelte/test/server-side-rendering/samples/textarea-children/main.svelte similarity index 100% rename from test/server-side-rendering/samples/textarea-children/main.svelte rename to packages/svelte/test/server-side-rendering/samples/textarea-children/main.svelte diff --git a/test/server-side-rendering/samples/textarea-value/_expected.html b/packages/svelte/test/server-side-rendering/samples/textarea-value/_expected.html similarity index 100% rename from test/server-side-rendering/samples/textarea-value/_expected.html rename to packages/svelte/test/server-side-rendering/samples/textarea-value/_expected.html diff --git a/test/server-side-rendering/samples/textarea-value/main.svelte b/packages/svelte/test/server-side-rendering/samples/textarea-value/main.svelte similarity index 100% rename from test/server-side-rendering/samples/textarea-value/main.svelte rename to packages/svelte/test/server-side-rendering/samples/textarea-value/main.svelte diff --git a/test/server-side-rendering/samples/triple/_expected.html b/packages/svelte/test/server-side-rendering/samples/triple/_expected.html similarity index 100% rename from test/server-side-rendering/samples/triple/_expected.html rename to packages/svelte/test/server-side-rendering/samples/triple/_expected.html diff --git a/test/server-side-rendering/samples/triple/main.svelte b/packages/svelte/test/server-side-rendering/samples/triple/main.svelte similarity index 100% rename from test/server-side-rendering/samples/triple/main.svelte rename to packages/svelte/test/server-side-rendering/samples/triple/main.svelte diff --git a/test/server-side-rendering/ssr-1.test.js b/packages/svelte/test/server-side-rendering/ssr-1.test.js similarity index 100% rename from test/server-side-rendering/ssr-1.test.js rename to packages/svelte/test/server-side-rendering/ssr-1.test.js diff --git a/test/server-side-rendering/ssr-2.test.js b/packages/svelte/test/server-side-rendering/ssr-2.test.js similarity index 100% rename from test/server-side-rendering/ssr-2.test.js rename to packages/svelte/test/server-side-rendering/ssr-2.test.js diff --git a/test/sourcemaps/helpers.js b/packages/svelte/test/sourcemaps/helpers.js similarity index 100% rename from test/sourcemaps/helpers.js rename to packages/svelte/test/sourcemaps/helpers.js diff --git a/test/sourcemaps/samples/attached-sourcemap/_config.js b/packages/svelte/test/sourcemaps/samples/attached-sourcemap/_config.js similarity index 100% rename from test/sourcemaps/samples/attached-sourcemap/_config.js rename to packages/svelte/test/sourcemaps/samples/attached-sourcemap/_config.js diff --git a/test/sourcemaps/samples/attached-sourcemap/input.svelte b/packages/svelte/test/sourcemaps/samples/attached-sourcemap/input.svelte similarity index 100% rename from test/sourcemaps/samples/attached-sourcemap/input.svelte rename to packages/svelte/test/sourcemaps/samples/attached-sourcemap/input.svelte diff --git a/test/sourcemaps/samples/attached-sourcemap/test.js b/packages/svelte/test/sourcemaps/samples/attached-sourcemap/test.js similarity index 100% rename from test/sourcemaps/samples/attached-sourcemap/test.js rename to packages/svelte/test/sourcemaps/samples/attached-sourcemap/test.js diff --git a/test/sourcemaps/samples/basic/input.svelte b/packages/svelte/test/sourcemaps/samples/basic/input.svelte similarity index 100% rename from test/sourcemaps/samples/basic/input.svelte rename to packages/svelte/test/sourcemaps/samples/basic/input.svelte diff --git a/test/sourcemaps/samples/basic/test.js b/packages/svelte/test/sourcemaps/samples/basic/test.js similarity index 100% rename from test/sourcemaps/samples/basic/test.js rename to packages/svelte/test/sourcemaps/samples/basic/test.js diff --git a/test/sourcemaps/samples/binding-shorthand.skip/input.svelte b/packages/svelte/test/sourcemaps/samples/binding-shorthand.skip/input.svelte similarity index 100% rename from test/sourcemaps/samples/binding-shorthand.skip/input.svelte rename to packages/svelte/test/sourcemaps/samples/binding-shorthand.skip/input.svelte diff --git a/test/sourcemaps/samples/binding-shorthand.skip/test.js b/packages/svelte/test/sourcemaps/samples/binding-shorthand.skip/test.js similarity index 100% rename from test/sourcemaps/samples/binding-shorthand.skip/test.js rename to packages/svelte/test/sourcemaps/samples/binding-shorthand.skip/test.js diff --git a/test/sourcemaps/samples/binding/input.svelte b/packages/svelte/test/sourcemaps/samples/binding/input.svelte similarity index 100% rename from test/sourcemaps/samples/binding/input.svelte rename to packages/svelte/test/sourcemaps/samples/binding/input.svelte diff --git a/test/sourcemaps/samples/binding/test.js b/packages/svelte/test/sourcemaps/samples/binding/test.js similarity index 100% rename from test/sourcemaps/samples/binding/test.js rename to packages/svelte/test/sourcemaps/samples/binding/test.js diff --git a/test/sourcemaps/samples/compile-option-dev/_config.js b/packages/svelte/test/sourcemaps/samples/compile-option-dev/_config.js similarity index 100% rename from test/sourcemaps/samples/compile-option-dev/_config.js rename to packages/svelte/test/sourcemaps/samples/compile-option-dev/_config.js diff --git a/test/sourcemaps/samples/compile-option-dev/input.svelte b/packages/svelte/test/sourcemaps/samples/compile-option-dev/input.svelte similarity index 100% rename from test/sourcemaps/samples/compile-option-dev/input.svelte rename to packages/svelte/test/sourcemaps/samples/compile-option-dev/input.svelte diff --git a/test/sourcemaps/samples/compile-option-dev/test.js b/packages/svelte/test/sourcemaps/samples/compile-option-dev/test.js similarity index 100% rename from test/sourcemaps/samples/compile-option-dev/test.js rename to packages/svelte/test/sourcemaps/samples/compile-option-dev/test.js diff --git a/test/sourcemaps/samples/css/input.svelte b/packages/svelte/test/sourcemaps/samples/css/input.svelte similarity index 100% rename from test/sourcemaps/samples/css/input.svelte rename to packages/svelte/test/sourcemaps/samples/css/input.svelte diff --git a/test/sourcemaps/samples/css/test.js b/packages/svelte/test/sourcemaps/samples/css/test.js similarity index 100% rename from test/sourcemaps/samples/css/test.js rename to packages/svelte/test/sourcemaps/samples/css/test.js diff --git a/test/sourcemaps/samples/decoded-sourcemap/_config.js b/packages/svelte/test/sourcemaps/samples/decoded-sourcemap/_config.js similarity index 100% rename from test/sourcemaps/samples/decoded-sourcemap/_config.js rename to packages/svelte/test/sourcemaps/samples/decoded-sourcemap/_config.js diff --git a/test/sourcemaps/samples/decoded-sourcemap/input.svelte b/packages/svelte/test/sourcemaps/samples/decoded-sourcemap/input.svelte similarity index 100% rename from test/sourcemaps/samples/decoded-sourcemap/input.svelte rename to packages/svelte/test/sourcemaps/samples/decoded-sourcemap/input.svelte diff --git a/test/sourcemaps/samples/decoded-sourcemap/test.js b/packages/svelte/test/sourcemaps/samples/decoded-sourcemap/test.js similarity index 100% rename from test/sourcemaps/samples/decoded-sourcemap/test.js rename to packages/svelte/test/sourcemaps/samples/decoded-sourcemap/test.js diff --git a/test/sourcemaps/samples/each-block/input.svelte b/packages/svelte/test/sourcemaps/samples/each-block/input.svelte similarity index 100% rename from test/sourcemaps/samples/each-block/input.svelte rename to packages/svelte/test/sourcemaps/samples/each-block/input.svelte diff --git a/test/sourcemaps/samples/each-block/test.js b/packages/svelte/test/sourcemaps/samples/each-block/test.js similarity index 100% rename from test/sourcemaps/samples/each-block/test.js rename to packages/svelte/test/sourcemaps/samples/each-block/test.js diff --git a/test/sourcemaps/samples/external/_config.js b/packages/svelte/test/sourcemaps/samples/external/_config.js similarity index 100% rename from test/sourcemaps/samples/external/_config.js rename to packages/svelte/test/sourcemaps/samples/external/_config.js diff --git a/test/sourcemaps/samples/external/input.svelte b/packages/svelte/test/sourcemaps/samples/external/input.svelte similarity index 100% rename from test/sourcemaps/samples/external/input.svelte rename to packages/svelte/test/sourcemaps/samples/external/input.svelte diff --git a/test/sourcemaps/samples/external/test.js b/packages/svelte/test/sourcemaps/samples/external/test.js similarity index 100% rename from test/sourcemaps/samples/external/test.js rename to packages/svelte/test/sourcemaps/samples/external/test.js diff --git a/test/sourcemaps/samples/markup/input.svelte b/packages/svelte/test/sourcemaps/samples/markup/input.svelte similarity index 100% rename from test/sourcemaps/samples/markup/input.svelte rename to packages/svelte/test/sourcemaps/samples/markup/input.svelte diff --git a/test/sourcemaps/samples/markup/test.js b/packages/svelte/test/sourcemaps/samples/markup/test.js similarity index 100% rename from test/sourcemaps/samples/markup/test.js rename to packages/svelte/test/sourcemaps/samples/markup/test.js diff --git a/test/sourcemaps/samples/no-sourcemap/_config.js b/packages/svelte/test/sourcemaps/samples/no-sourcemap/_config.js similarity index 100% rename from test/sourcemaps/samples/no-sourcemap/_config.js rename to packages/svelte/test/sourcemaps/samples/no-sourcemap/_config.js diff --git a/test/sourcemaps/samples/no-sourcemap/input.svelte b/packages/svelte/test/sourcemaps/samples/no-sourcemap/input.svelte similarity index 100% rename from test/sourcemaps/samples/no-sourcemap/input.svelte rename to packages/svelte/test/sourcemaps/samples/no-sourcemap/input.svelte diff --git a/test/sourcemaps/samples/no-sourcemap/test.js b/packages/svelte/test/sourcemaps/samples/no-sourcemap/test.js similarity index 100% rename from test/sourcemaps/samples/no-sourcemap/test.js rename to packages/svelte/test/sourcemaps/samples/no-sourcemap/test.js diff --git a/test/sourcemaps/samples/only-css-sourcemap/_config.js b/packages/svelte/test/sourcemaps/samples/only-css-sourcemap/_config.js similarity index 100% rename from test/sourcemaps/samples/only-css-sourcemap/_config.js rename to packages/svelte/test/sourcemaps/samples/only-css-sourcemap/_config.js diff --git a/test/sourcemaps/samples/only-css-sourcemap/input.svelte b/packages/svelte/test/sourcemaps/samples/only-css-sourcemap/input.svelte similarity index 100% rename from test/sourcemaps/samples/only-css-sourcemap/input.svelte rename to packages/svelte/test/sourcemaps/samples/only-css-sourcemap/input.svelte diff --git a/test/sourcemaps/samples/only-css-sourcemap/test.js b/packages/svelte/test/sourcemaps/samples/only-css-sourcemap/test.js similarity index 100% rename from test/sourcemaps/samples/only-css-sourcemap/test.js rename to packages/svelte/test/sourcemaps/samples/only-css-sourcemap/test.js diff --git a/test/sourcemaps/samples/only-js-sourcemap/_config.js b/packages/svelte/test/sourcemaps/samples/only-js-sourcemap/_config.js similarity index 100% rename from test/sourcemaps/samples/only-js-sourcemap/_config.js rename to packages/svelte/test/sourcemaps/samples/only-js-sourcemap/_config.js diff --git a/test/sourcemaps/samples/only-js-sourcemap/input.svelte b/packages/svelte/test/sourcemaps/samples/only-js-sourcemap/input.svelte similarity index 100% rename from test/sourcemaps/samples/only-js-sourcemap/input.svelte rename to packages/svelte/test/sourcemaps/samples/only-js-sourcemap/input.svelte diff --git a/test/sourcemaps/samples/only-js-sourcemap/test.js b/packages/svelte/test/sourcemaps/samples/only-js-sourcemap/test.js similarity index 100% rename from test/sourcemaps/samples/only-js-sourcemap/test.js rename to packages/svelte/test/sourcemaps/samples/only-js-sourcemap/test.js diff --git a/test/sourcemaps/samples/preprocessed-markup/_config.js b/packages/svelte/test/sourcemaps/samples/preprocessed-markup/_config.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-markup/_config.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-markup/_config.js diff --git a/test/sourcemaps/samples/preprocessed-markup/input.svelte b/packages/svelte/test/sourcemaps/samples/preprocessed-markup/input.svelte similarity index 100% rename from test/sourcemaps/samples/preprocessed-markup/input.svelte rename to packages/svelte/test/sourcemaps/samples/preprocessed-markup/input.svelte diff --git a/test/sourcemaps/samples/preprocessed-markup/test.js b/packages/svelte/test/sourcemaps/samples/preprocessed-markup/test.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-markup/test.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-markup/test.js diff --git a/test/sourcemaps/samples/preprocessed-multiple/_config.js b/packages/svelte/test/sourcemaps/samples/preprocessed-multiple/_config.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-multiple/_config.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-multiple/_config.js diff --git a/test/sourcemaps/samples/preprocessed-multiple/input.svelte b/packages/svelte/test/sourcemaps/samples/preprocessed-multiple/input.svelte similarity index 100% rename from test/sourcemaps/samples/preprocessed-multiple/input.svelte rename to packages/svelte/test/sourcemaps/samples/preprocessed-multiple/input.svelte diff --git a/test/sourcemaps/samples/preprocessed-multiple/test.js b/packages/svelte/test/sourcemaps/samples/preprocessed-multiple/test.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-multiple/test.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-multiple/test.js diff --git a/test/sourcemaps/samples/preprocessed-no-map/_config.js b/packages/svelte/test/sourcemaps/samples/preprocessed-no-map/_config.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-no-map/_config.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-no-map/_config.js diff --git a/test/sourcemaps/samples/preprocessed-no-map/input.svelte b/packages/svelte/test/sourcemaps/samples/preprocessed-no-map/input.svelte similarity index 100% rename from test/sourcemaps/samples/preprocessed-no-map/input.svelte rename to packages/svelte/test/sourcemaps/samples/preprocessed-no-map/input.svelte diff --git a/test/sourcemaps/samples/preprocessed-no-map/test.js b/packages/svelte/test/sourcemaps/samples/preprocessed-no-map/test.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-no-map/test.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-no-map/test.js diff --git a/test/sourcemaps/samples/preprocessed-script/_config.js b/packages/svelte/test/sourcemaps/samples/preprocessed-script/_config.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-script/_config.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-script/_config.js diff --git a/test/sourcemaps/samples/preprocessed-script/input.svelte b/packages/svelte/test/sourcemaps/samples/preprocessed-script/input.svelte similarity index 100% rename from test/sourcemaps/samples/preprocessed-script/input.svelte rename to packages/svelte/test/sourcemaps/samples/preprocessed-script/input.svelte diff --git a/test/sourcemaps/samples/preprocessed-script/test.js b/packages/svelte/test/sourcemaps/samples/preprocessed-script/test.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-script/test.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-script/test.js diff --git a/test/sourcemaps/samples/preprocessed-styles/_config.js b/packages/svelte/test/sourcemaps/samples/preprocessed-styles/_config.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-styles/_config.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-styles/_config.js diff --git a/test/sourcemaps/samples/preprocessed-styles/input.svelte b/packages/svelte/test/sourcemaps/samples/preprocessed-styles/input.svelte similarity index 100% rename from test/sourcemaps/samples/preprocessed-styles/input.svelte rename to packages/svelte/test/sourcemaps/samples/preprocessed-styles/input.svelte diff --git a/test/sourcemaps/samples/preprocessed-styles/test.js b/packages/svelte/test/sourcemaps/samples/preprocessed-styles/test.js similarity index 100% rename from test/sourcemaps/samples/preprocessed-styles/test.js rename to packages/svelte/test/sourcemaps/samples/preprocessed-styles/test.js diff --git a/test/sourcemaps/samples/script-after-comment/input.svelte b/packages/svelte/test/sourcemaps/samples/script-after-comment/input.svelte similarity index 100% rename from test/sourcemaps/samples/script-after-comment/input.svelte rename to packages/svelte/test/sourcemaps/samples/script-after-comment/input.svelte diff --git a/test/sourcemaps/samples/script-after-comment/test.js b/packages/svelte/test/sourcemaps/samples/script-after-comment/test.js similarity index 100% rename from test/sourcemaps/samples/script-after-comment/test.js rename to packages/svelte/test/sourcemaps/samples/script-after-comment/test.js diff --git a/test/sourcemaps/samples/script/input.svelte b/packages/svelte/test/sourcemaps/samples/script/input.svelte similarity index 100% rename from test/sourcemaps/samples/script/input.svelte rename to packages/svelte/test/sourcemaps/samples/script/input.svelte diff --git a/test/sourcemaps/samples/script/test.js b/packages/svelte/test/sourcemaps/samples/script/test.js similarity index 100% rename from test/sourcemaps/samples/script/test.js rename to packages/svelte/test/sourcemaps/samples/script/test.js diff --git a/test/sourcemaps/samples/source-map-generator/_config.js b/packages/svelte/test/sourcemaps/samples/source-map-generator/_config.js similarity index 100% rename from test/sourcemaps/samples/source-map-generator/_config.js rename to packages/svelte/test/sourcemaps/samples/source-map-generator/_config.js diff --git a/test/sourcemaps/samples/source-map-generator/input.svelte b/packages/svelte/test/sourcemaps/samples/source-map-generator/input.svelte similarity index 100% rename from test/sourcemaps/samples/source-map-generator/input.svelte rename to packages/svelte/test/sourcemaps/samples/source-map-generator/input.svelte diff --git a/test/sourcemaps/samples/source-map-generator/test.js b/packages/svelte/test/sourcemaps/samples/source-map-generator/test.js similarity index 100% rename from test/sourcemaps/samples/source-map-generator/test.js rename to packages/svelte/test/sourcemaps/samples/source-map-generator/test.js diff --git a/test/sourcemaps/samples/sourcemap-basename-without-outputname/_config.js b/packages/svelte/test/sourcemaps/samples/sourcemap-basename-without-outputname/_config.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-basename-without-outputname/_config.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-basename-without-outputname/_config.js diff --git a/test/sourcemaps/samples/sourcemap-basename-without-outputname/input.svelte b/packages/svelte/test/sourcemaps/samples/sourcemap-basename-without-outputname/input.svelte similarity index 100% rename from test/sourcemaps/samples/sourcemap-basename-without-outputname/input.svelte rename to packages/svelte/test/sourcemaps/samples/sourcemap-basename-without-outputname/input.svelte diff --git a/test/sourcemaps/samples/sourcemap-basename-without-outputname/test.js b/packages/svelte/test/sourcemaps/samples/sourcemap-basename-without-outputname/test.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-basename-without-outputname/test.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-basename-without-outputname/test.js diff --git a/test/sourcemaps/samples/sourcemap-basename/_config.js b/packages/svelte/test/sourcemaps/samples/sourcemap-basename/_config.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-basename/_config.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-basename/_config.js diff --git a/test/sourcemaps/samples/sourcemap-basename/input.svelte b/packages/svelte/test/sourcemaps/samples/sourcemap-basename/input.svelte similarity index 100% rename from test/sourcemaps/samples/sourcemap-basename/input.svelte rename to packages/svelte/test/sourcemaps/samples/sourcemap-basename/input.svelte diff --git a/test/sourcemaps/samples/sourcemap-basename/test.js b/packages/svelte/test/sourcemaps/samples/sourcemap-basename/test.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-basename/test.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-basename/test.js diff --git a/test/sourcemaps/samples/sourcemap-concat/_config.js b/packages/svelte/test/sourcemaps/samples/sourcemap-concat/_config.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-concat/_config.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-concat/_config.js diff --git a/test/sourcemaps/samples/sourcemap-concat/input.svelte b/packages/svelte/test/sourcemaps/samples/sourcemap-concat/input.svelte similarity index 100% rename from test/sourcemaps/samples/sourcemap-concat/input.svelte rename to packages/svelte/test/sourcemaps/samples/sourcemap-concat/input.svelte diff --git a/test/sourcemaps/samples/sourcemap-concat/test.js b/packages/svelte/test/sourcemaps/samples/sourcemap-concat/test.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-concat/test.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-concat/test.js diff --git a/test/sourcemaps/samples/sourcemap-names/_config.js b/packages/svelte/test/sourcemaps/samples/sourcemap-names/_config.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-names/_config.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-names/_config.js diff --git a/test/sourcemaps/samples/sourcemap-names/input.svelte b/packages/svelte/test/sourcemaps/samples/sourcemap-names/input.svelte similarity index 100% rename from test/sourcemaps/samples/sourcemap-names/input.svelte rename to packages/svelte/test/sourcemaps/samples/sourcemap-names/input.svelte diff --git a/test/sourcemaps/samples/sourcemap-names/test.js b/packages/svelte/test/sourcemaps/samples/sourcemap-names/test.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-names/test.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-names/test.js diff --git a/test/sourcemaps/samples/sourcemap-offsets/_config.js b/packages/svelte/test/sourcemaps/samples/sourcemap-offsets/_config.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-offsets/_config.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-offsets/_config.js diff --git a/test/sourcemaps/samples/sourcemap-offsets/input.svelte b/packages/svelte/test/sourcemaps/samples/sourcemap-offsets/input.svelte similarity index 100% rename from test/sourcemaps/samples/sourcemap-offsets/input.svelte rename to packages/svelte/test/sourcemaps/samples/sourcemap-offsets/input.svelte diff --git a/test/sourcemaps/samples/sourcemap-offsets/test.js b/packages/svelte/test/sourcemaps/samples/sourcemap-offsets/test.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-offsets/test.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-offsets/test.js diff --git a/test/sourcemaps/samples/sourcemap-sources/_config.js b/packages/svelte/test/sourcemaps/samples/sourcemap-sources/_config.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-sources/_config.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-sources/_config.js diff --git a/test/sourcemaps/samples/sourcemap-sources/input.svelte b/packages/svelte/test/sourcemaps/samples/sourcemap-sources/input.svelte similarity index 100% rename from test/sourcemaps/samples/sourcemap-sources/input.svelte rename to packages/svelte/test/sourcemaps/samples/sourcemap-sources/input.svelte diff --git a/test/sourcemaps/samples/sourcemap-sources/test.js b/packages/svelte/test/sourcemaps/samples/sourcemap-sources/test.js similarity index 100% rename from test/sourcemaps/samples/sourcemap-sources/test.js rename to packages/svelte/test/sourcemaps/samples/sourcemap-sources/test.js diff --git a/test/sourcemaps/samples/static-no-script/input.svelte b/packages/svelte/test/sourcemaps/samples/static-no-script/input.svelte similarity index 100% rename from test/sourcemaps/samples/static-no-script/input.svelte rename to packages/svelte/test/sourcemaps/samples/static-no-script/input.svelte diff --git a/test/sourcemaps/samples/static-no-script/test.js b/packages/svelte/test/sourcemaps/samples/static-no-script/test.js similarity index 100% rename from test/sourcemaps/samples/static-no-script/test.js rename to packages/svelte/test/sourcemaps/samples/static-no-script/test.js diff --git a/test/sourcemaps/samples/two-scripts/input.svelte b/packages/svelte/test/sourcemaps/samples/two-scripts/input.svelte similarity index 100% rename from test/sourcemaps/samples/two-scripts/input.svelte rename to packages/svelte/test/sourcemaps/samples/two-scripts/input.svelte diff --git a/test/sourcemaps/samples/two-scripts/test.js b/packages/svelte/test/sourcemaps/samples/two-scripts/test.js similarity index 100% rename from test/sourcemaps/samples/two-scripts/test.js rename to packages/svelte/test/sourcemaps/samples/two-scripts/test.js diff --git a/test/sourcemaps/samples/typescript/_config.js b/packages/svelte/test/sourcemaps/samples/typescript/_config.js similarity index 100% rename from test/sourcemaps/samples/typescript/_config.js rename to packages/svelte/test/sourcemaps/samples/typescript/_config.js diff --git a/test/sourcemaps/samples/typescript/input.svelte b/packages/svelte/test/sourcemaps/samples/typescript/input.svelte similarity index 100% rename from test/sourcemaps/samples/typescript/input.svelte rename to packages/svelte/test/sourcemaps/samples/typescript/input.svelte diff --git a/test/sourcemaps/samples/typescript/test.js b/packages/svelte/test/sourcemaps/samples/typescript/test.js similarity index 100% rename from test/sourcemaps/samples/typescript/test.js rename to packages/svelte/test/sourcemaps/samples/typescript/test.js diff --git a/test/sourcemaps/sourcemaps.test.js b/packages/svelte/test/sourcemaps/sourcemaps.test.js similarity index 100% rename from test/sourcemaps/sourcemaps.test.js rename to packages/svelte/test/sourcemaps/sourcemaps.test.js diff --git a/test/stats/samples/basic/_config.js b/packages/svelte/test/stats/samples/basic/_config.js similarity index 100% rename from test/stats/samples/basic/_config.js rename to packages/svelte/test/stats/samples/basic/_config.js diff --git a/test/stats/samples/basic/input.svelte b/packages/svelte/test/stats/samples/basic/input.svelte similarity index 100% rename from test/stats/samples/basic/input.svelte rename to packages/svelte/test/stats/samples/basic/input.svelte diff --git a/test/stats/stats.test.js b/packages/svelte/test/stats/stats.test.js similarity index 100% rename from test/stats/stats.test.js rename to packages/svelte/test/stats/stats.test.js diff --git a/test/store/store.test.js b/packages/svelte/test/store/store.test.js similarity index 100% rename from test/store/store.test.js rename to packages/svelte/test/store/store.test.js diff --git a/test/tsconfig.json b/packages/svelte/test/tsconfig.json similarity index 100% rename from test/tsconfig.json rename to packages/svelte/test/tsconfig.json diff --git a/test/types/actions.ts b/packages/svelte/test/types/actions.ts similarity index 100% rename from test/types/actions.ts rename to packages/svelte/test/types/actions.ts diff --git a/test/types/create-event-dispatcher.ts b/packages/svelte/test/types/create-event-dispatcher.ts similarity index 100% rename from test/types/create-event-dispatcher.ts rename to packages/svelte/test/types/create-event-dispatcher.ts diff --git a/test/types/on-mount.ts b/packages/svelte/test/types/on-mount.ts similarity index 100% rename from test/types/on-mount.ts rename to packages/svelte/test/types/on-mount.ts diff --git a/test/types/tsconfig.json b/packages/svelte/test/types/tsconfig.json similarity index 100% rename from test/types/tsconfig.json rename to packages/svelte/test/types/tsconfig.json diff --git a/test/utils/utils.test.js b/packages/svelte/test/utils/utils.test.js similarity index 100% rename from test/utils/utils.test.js rename to packages/svelte/test/utils/utils.test.js diff --git a/test/validator/samples/a11y-alt-text/input.svelte b/packages/svelte/test/validator/samples/a11y-alt-text/input.svelte similarity index 100% rename from test/validator/samples/a11y-alt-text/input.svelte rename to packages/svelte/test/validator/samples/a11y-alt-text/input.svelte diff --git a/test/validator/samples/a11y-alt-text/warnings.json b/packages/svelte/test/validator/samples/a11y-alt-text/warnings.json similarity index 100% rename from test/validator/samples/a11y-alt-text/warnings.json rename to packages/svelte/test/validator/samples/a11y-alt-text/warnings.json diff --git a/test/validator/samples/a11y-anchor-aria-label-has-no-content/input.svelte b/packages/svelte/test/validator/samples/a11y-anchor-aria-label-has-no-content/input.svelte similarity index 100% rename from test/validator/samples/a11y-anchor-aria-label-has-no-content/input.svelte rename to packages/svelte/test/validator/samples/a11y-anchor-aria-label-has-no-content/input.svelte diff --git a/test/validator/samples/a11y-anchor-aria-label-has-no-content/warnings.json b/packages/svelte/test/validator/samples/a11y-anchor-aria-label-has-no-content/warnings.json similarity index 100% rename from test/validator/samples/a11y-anchor-aria-label-has-no-content/warnings.json rename to packages/svelte/test/validator/samples/a11y-anchor-aria-label-has-no-content/warnings.json diff --git a/test/validator/samples/a11y-anchor-has-content/input.svelte b/packages/svelte/test/validator/samples/a11y-anchor-has-content/input.svelte similarity index 100% rename from test/validator/samples/a11y-anchor-has-content/input.svelte rename to packages/svelte/test/validator/samples/a11y-anchor-has-content/input.svelte diff --git a/test/validator/samples/a11y-anchor-has-content/warnings.json b/packages/svelte/test/validator/samples/a11y-anchor-has-content/warnings.json similarity index 100% rename from test/validator/samples/a11y-anchor-has-content/warnings.json rename to packages/svelte/test/validator/samples/a11y-anchor-has-content/warnings.json diff --git a/test/validator/samples/a11y-anchor-in-svg-is-valid/input.svelte b/packages/svelte/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.svelte rename to packages/svelte/test/validator/samples/a11y-anchor-in-svg-is-valid/input.svelte diff --git a/test/validator/samples/a11y-anchor-in-svg-is-valid/warnings.json b/packages/svelte/test/validator/samples/a11y-anchor-in-svg-is-valid/warnings.json similarity index 100% rename from test/validator/samples/a11y-anchor-in-svg-is-valid/warnings.json rename to packages/svelte/test/validator/samples/a11y-anchor-in-svg-is-valid/warnings.json diff --git a/test/validator/samples/a11y-anchor-is-valid/input.svelte b/packages/svelte/test/validator/samples/a11y-anchor-is-valid/input.svelte similarity index 100% rename from test/validator/samples/a11y-anchor-is-valid/input.svelte rename to packages/svelte/test/validator/samples/a11y-anchor-is-valid/input.svelte diff --git a/test/validator/samples/a11y-anchor-is-valid/warnings.json b/packages/svelte/test/validator/samples/a11y-anchor-is-valid/warnings.json similarity index 100% rename from test/validator/samples/a11y-anchor-is-valid/warnings.json rename to packages/svelte/test/validator/samples/a11y-anchor-is-valid/warnings.json diff --git a/test/validator/samples/a11y-aria-activedescendant/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-activedescendant/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-activedescendant/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-activedescendant/input.svelte diff --git a/test/validator/samples/a11y-aria-activedescendant/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-activedescendant/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-activedescendant/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-activedescendant/warnings.json diff --git a/test/validator/samples/a11y-aria-props/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-props/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-props/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-props/input.svelte diff --git a/test/validator/samples/a11y-aria-props/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-props/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-props/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-props/warnings.json diff --git a/test/validator/samples/a11y-aria-proptypes-boolean/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-proptypes-boolean/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-boolean/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-boolean/input.svelte diff --git a/test/validator/samples/a11y-aria-proptypes-boolean/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-proptypes-boolean/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-boolean/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-boolean/warnings.json diff --git a/test/validator/samples/a11y-aria-proptypes-integer/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-proptypes-integer/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-integer/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-integer/input.svelte diff --git a/test/validator/samples/a11y-aria-proptypes-integer/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-proptypes-integer/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-integer/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-integer/warnings.json diff --git a/test/validator/samples/a11y-aria-proptypes-number/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-proptypes-number/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-number/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-number/input.svelte diff --git a/test/validator/samples/a11y-aria-proptypes-number/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-proptypes-number/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-number/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-number/warnings.json diff --git a/test/validator/samples/a11y-aria-proptypes-string/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-proptypes-string/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-string/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-string/input.svelte diff --git a/test/validator/samples/a11y-aria-proptypes-string/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-proptypes-string/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-string/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-string/warnings.json diff --git a/test/validator/samples/a11y-aria-proptypes-token/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-proptypes-token/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-token/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-token/input.svelte diff --git a/test/validator/samples/a11y-aria-proptypes-token/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-proptypes-token/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-token/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-token/warnings.json diff --git a/test/validator/samples/a11y-aria-proptypes-tokenlist/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-proptypes-tokenlist/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-tokenlist/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-tokenlist/input.svelte diff --git a/test/validator/samples/a11y-aria-proptypes-tokenlist/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-proptypes-tokenlist/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-tokenlist/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-tokenlist/warnings.json diff --git a/test/validator/samples/a11y-aria-proptypes-tristate/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-proptypes-tristate/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-tristate/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-tristate/input.svelte diff --git a/test/validator/samples/a11y-aria-proptypes-tristate/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-proptypes-tristate/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-proptypes-tristate/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-proptypes-tristate/warnings.json diff --git a/test/validator/samples/a11y-aria-role/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-role/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-role/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-role/input.svelte diff --git a/test/validator/samples/a11y-aria-role/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-role/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-role/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-role/warnings.json diff --git a/test/validator/samples/a11y-aria-unsupported-element/input.svelte b/packages/svelte/test/validator/samples/a11y-aria-unsupported-element/input.svelte similarity index 100% rename from test/validator/samples/a11y-aria-unsupported-element/input.svelte rename to packages/svelte/test/validator/samples/a11y-aria-unsupported-element/input.svelte diff --git a/test/validator/samples/a11y-aria-unsupported-element/warnings.json b/packages/svelte/test/validator/samples/a11y-aria-unsupported-element/warnings.json similarity index 100% rename from test/validator/samples/a11y-aria-unsupported-element/warnings.json rename to packages/svelte/test/validator/samples/a11y-aria-unsupported-element/warnings.json diff --git a/test/validator/samples/a11y-autocomplete-valid/input.svelte b/packages/svelte/test/validator/samples/a11y-autocomplete-valid/input.svelte similarity index 100% rename from test/validator/samples/a11y-autocomplete-valid/input.svelte rename to packages/svelte/test/validator/samples/a11y-autocomplete-valid/input.svelte diff --git a/test/validator/samples/a11y-autocomplete-valid/warnings.json b/packages/svelte/test/validator/samples/a11y-autocomplete-valid/warnings.json similarity index 100% rename from test/validator/samples/a11y-autocomplete-valid/warnings.json rename to packages/svelte/test/validator/samples/a11y-autocomplete-valid/warnings.json diff --git a/test/validator/samples/a11y-click-events-have-key-events/input.svelte b/packages/svelte/test/validator/samples/a11y-click-events-have-key-events/input.svelte similarity index 100% rename from test/validator/samples/a11y-click-events-have-key-events/input.svelte rename to packages/svelte/test/validator/samples/a11y-click-events-have-key-events/input.svelte diff --git a/test/validator/samples/a11y-click-events-have-key-events/warnings.json b/packages/svelte/test/validator/samples/a11y-click-events-have-key-events/warnings.json similarity index 100% rename from test/validator/samples/a11y-click-events-have-key-events/warnings.json rename to packages/svelte/test/validator/samples/a11y-click-events-have-key-events/warnings.json diff --git a/test/validator/samples/a11y-contenteditable-element-without-child/errors.json b/packages/svelte/test/validator/samples/a11y-contenteditable-element-without-child/errors.json similarity index 100% rename from test/validator/samples/a11y-contenteditable-element-without-child/errors.json rename to packages/svelte/test/validator/samples/a11y-contenteditable-element-without-child/errors.json diff --git a/test/validator/samples/a11y-contenteditable-element-without-child/input.svelte b/packages/svelte/test/validator/samples/a11y-contenteditable-element-without-child/input.svelte similarity index 100% rename from test/validator/samples/a11y-contenteditable-element-without-child/input.svelte rename to packages/svelte/test/validator/samples/a11y-contenteditable-element-without-child/input.svelte diff --git a/test/validator/samples/a11y-figcaption-in-non-element-block/input.svelte b/packages/svelte/test/validator/samples/a11y-figcaption-in-non-element-block/input.svelte similarity index 100% rename from test/validator/samples/a11y-figcaption-in-non-element-block/input.svelte rename to packages/svelte/test/validator/samples/a11y-figcaption-in-non-element-block/input.svelte diff --git a/test/validator/samples/a11y-figcaption-in-non-element-block/warnings.json b/packages/svelte/test/validator/samples/a11y-figcaption-in-non-element-block/warnings.json similarity index 100% rename from test/validator/samples/a11y-figcaption-in-non-element-block/warnings.json rename to packages/svelte/test/validator/samples/a11y-figcaption-in-non-element-block/warnings.json diff --git a/test/validator/samples/a11y-figcaption-right-place/input.svelte b/packages/svelte/test/validator/samples/a11y-figcaption-right-place/input.svelte similarity index 100% rename from test/validator/samples/a11y-figcaption-right-place/input.svelte rename to packages/svelte/test/validator/samples/a11y-figcaption-right-place/input.svelte diff --git a/test/validator/samples/a11y-figcaption-right-place/warnings.json b/packages/svelte/test/validator/samples/a11y-figcaption-right-place/warnings.json similarity index 100% rename from test/validator/samples/a11y-figcaption-right-place/warnings.json rename to packages/svelte/test/validator/samples/a11y-figcaption-right-place/warnings.json diff --git a/test/validator/samples/a11y-figcaption-wrong-place/input.svelte b/packages/svelte/test/validator/samples/a11y-figcaption-wrong-place/input.svelte similarity index 100% rename from test/validator/samples/a11y-figcaption-wrong-place/input.svelte rename to packages/svelte/test/validator/samples/a11y-figcaption-wrong-place/input.svelte diff --git a/test/validator/samples/a11y-figcaption-wrong-place/warnings.json b/packages/svelte/test/validator/samples/a11y-figcaption-wrong-place/warnings.json similarity index 100% rename from test/validator/samples/a11y-figcaption-wrong-place/warnings.json rename to packages/svelte/test/validator/samples/a11y-figcaption-wrong-place/warnings.json diff --git a/test/validator/samples/a11y-heading-has-content/input.svelte b/packages/svelte/test/validator/samples/a11y-heading-has-content/input.svelte similarity index 100% rename from test/validator/samples/a11y-heading-has-content/input.svelte rename to packages/svelte/test/validator/samples/a11y-heading-has-content/input.svelte diff --git a/test/validator/samples/a11y-heading-has-content/warnings.json b/packages/svelte/test/validator/samples/a11y-heading-has-content/warnings.json similarity index 100% rename from test/validator/samples/a11y-heading-has-content/warnings.json rename to packages/svelte/test/validator/samples/a11y-heading-has-content/warnings.json diff --git a/test/validator/samples/a11y-html-has-lang/input.svelte b/packages/svelte/test/validator/samples/a11y-html-has-lang/input.svelte similarity index 100% rename from test/validator/samples/a11y-html-has-lang/input.svelte rename to packages/svelte/test/validator/samples/a11y-html-has-lang/input.svelte diff --git a/test/validator/samples/a11y-html-has-lang/warnings.json b/packages/svelte/test/validator/samples/a11y-html-has-lang/warnings.json similarity index 100% rename from test/validator/samples/a11y-html-has-lang/warnings.json rename to packages/svelte/test/validator/samples/a11y-html-has-lang/warnings.json diff --git a/test/validator/samples/a11y-iframe-has-title/input.svelte b/packages/svelte/test/validator/samples/a11y-iframe-has-title/input.svelte similarity index 100% rename from test/validator/samples/a11y-iframe-has-title/input.svelte rename to packages/svelte/test/validator/samples/a11y-iframe-has-title/input.svelte diff --git a/test/validator/samples/a11y-iframe-has-title/warnings.json b/packages/svelte/test/validator/samples/a11y-iframe-has-title/warnings.json similarity index 100% rename from test/validator/samples/a11y-iframe-has-title/warnings.json rename to packages/svelte/test/validator/samples/a11y-iframe-has-title/warnings.json diff --git a/test/validator/samples/a11y-img-redundant-alt/input.svelte b/packages/svelte/test/validator/samples/a11y-img-redundant-alt/input.svelte similarity index 100% rename from test/validator/samples/a11y-img-redundant-alt/input.svelte rename to packages/svelte/test/validator/samples/a11y-img-redundant-alt/input.svelte diff --git a/test/validator/samples/a11y-img-redundant-alt/warnings.json b/packages/svelte/test/validator/samples/a11y-img-redundant-alt/warnings.json similarity index 100% rename from test/validator/samples/a11y-img-redundant-alt/warnings.json rename to packages/svelte/test/validator/samples/a11y-img-redundant-alt/warnings.json diff --git a/test/validator/samples/a11y-in-foreign-namespace/input.svelte b/packages/svelte/test/validator/samples/a11y-in-foreign-namespace/input.svelte similarity index 100% rename from test/validator/samples/a11y-in-foreign-namespace/input.svelte rename to packages/svelte/test/validator/samples/a11y-in-foreign-namespace/input.svelte diff --git a/test/validator/samples/a11y-in-foreign-namespace/warnings.json b/packages/svelte/test/validator/samples/a11y-in-foreign-namespace/warnings.json similarity index 100% rename from test/validator/samples/a11y-in-foreign-namespace/warnings.json rename to packages/svelte/test/validator/samples/a11y-in-foreign-namespace/warnings.json diff --git a/test/validator/samples/a11y-interactive-supports-focus/input.svelte b/packages/svelte/test/validator/samples/a11y-interactive-supports-focus/input.svelte similarity index 100% rename from test/validator/samples/a11y-interactive-supports-focus/input.svelte rename to packages/svelte/test/validator/samples/a11y-interactive-supports-focus/input.svelte diff --git a/test/validator/samples/a11y-interactive-supports-focus/warnings.json b/packages/svelte/test/validator/samples/a11y-interactive-supports-focus/warnings.json similarity index 100% rename from test/validator/samples/a11y-interactive-supports-focus/warnings.json rename to packages/svelte/test/validator/samples/a11y-interactive-supports-focus/warnings.json diff --git a/test/validator/samples/a11y-label-has-associated-control-2/input.svelte b/packages/svelte/test/validator/samples/a11y-label-has-associated-control-2/input.svelte similarity index 100% rename from test/validator/samples/a11y-label-has-associated-control-2/input.svelte rename to packages/svelte/test/validator/samples/a11y-label-has-associated-control-2/input.svelte diff --git a/test/validator/samples/a11y-label-has-associated-control-2/warnings.json b/packages/svelte/test/validator/samples/a11y-label-has-associated-control-2/warnings.json similarity index 100% rename from test/validator/samples/a11y-label-has-associated-control-2/warnings.json rename to packages/svelte/test/validator/samples/a11y-label-has-associated-control-2/warnings.json diff --git a/test/validator/samples/a11y-label-has-associated-control/input.svelte b/packages/svelte/test/validator/samples/a11y-label-has-associated-control/input.svelte similarity index 100% rename from test/validator/samples/a11y-label-has-associated-control/input.svelte rename to packages/svelte/test/validator/samples/a11y-label-has-associated-control/input.svelte diff --git a/test/validator/samples/a11y-label-has-associated-control/warnings.json b/packages/svelte/test/validator/samples/a11y-label-has-associated-control/warnings.json similarity index 100% rename from test/validator/samples/a11y-label-has-associated-control/warnings.json rename to packages/svelte/test/validator/samples/a11y-label-has-associated-control/warnings.json diff --git a/test/validator/samples/a11y-media-has-caption/input.svelte b/packages/svelte/test/validator/samples/a11y-media-has-caption/input.svelte similarity index 100% rename from test/validator/samples/a11y-media-has-caption/input.svelte rename to packages/svelte/test/validator/samples/a11y-media-has-caption/input.svelte diff --git a/test/validator/samples/a11y-media-has-caption/warnings.json b/packages/svelte/test/validator/samples/a11y-media-has-caption/warnings.json similarity index 100% rename from test/validator/samples/a11y-media-has-caption/warnings.json rename to packages/svelte/test/validator/samples/a11y-media-has-caption/warnings.json diff --git a/test/validator/samples/a11y-mouse-events-have-key-events/input.svelte b/packages/svelte/test/validator/samples/a11y-mouse-events-have-key-events/input.svelte similarity index 100% rename from test/validator/samples/a11y-mouse-events-have-key-events/input.svelte rename to packages/svelte/test/validator/samples/a11y-mouse-events-have-key-events/input.svelte diff --git a/test/validator/samples/a11y-mouse-events-have-key-events/warnings.json b/packages/svelte/test/validator/samples/a11y-mouse-events-have-key-events/warnings.json similarity index 100% rename from test/validator/samples/a11y-mouse-events-have-key-events/warnings.json rename to packages/svelte/test/validator/samples/a11y-mouse-events-have-key-events/warnings.json diff --git a/test/validator/samples/a11y-no-abstract-roles/input.svelte b/packages/svelte/test/validator/samples/a11y-no-abstract-roles/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-abstract-roles/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-abstract-roles/input.svelte diff --git a/test/validator/samples/a11y-no-abstract-roles/warnings.json b/packages/svelte/test/validator/samples/a11y-no-abstract-roles/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-abstract-roles/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-abstract-roles/warnings.json diff --git a/test/validator/samples/a11y-no-access-key/input.svelte b/packages/svelte/test/validator/samples/a11y-no-access-key/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-access-key/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-access-key/input.svelte diff --git a/test/validator/samples/a11y-no-access-key/warnings.json b/packages/svelte/test/validator/samples/a11y-no-access-key/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-access-key/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-access-key/warnings.json diff --git a/test/validator/samples/a11y-no-autofocus/input.svelte b/packages/svelte/test/validator/samples/a11y-no-autofocus/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-autofocus/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-autofocus/input.svelte diff --git a/test/validator/samples/a11y-no-autofocus/warnings.json b/packages/svelte/test/validator/samples/a11y-no-autofocus/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-autofocus/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-autofocus/warnings.json diff --git a/test/validator/samples/a11y-no-distracting-elements/input.svelte b/packages/svelte/test/validator/samples/a11y-no-distracting-elements/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-distracting-elements/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-distracting-elements/input.svelte diff --git a/test/validator/samples/a11y-no-distracting-elements/warnings.json b/packages/svelte/test/validator/samples/a11y-no-distracting-elements/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-distracting-elements/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-distracting-elements/warnings.json diff --git a/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte b/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte diff --git a/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json b/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json diff --git a/test/validator/samples/a11y-no-noninteractive-element-interactions/input.svelte b/packages/svelte/test/validator/samples/a11y-no-noninteractive-element-interactions/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-noninteractive-element-interactions/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-noninteractive-element-interactions/input.svelte diff --git a/test/validator/samples/a11y-no-noninteractive-element-interactions/warnings.json b/packages/svelte/test/validator/samples/a11y-no-noninteractive-element-interactions/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-noninteractive-element-interactions/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-noninteractive-element-interactions/warnings.json diff --git a/test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/input.svelte b/packages/svelte/test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/input.svelte diff --git a/test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/warnings.json b/packages/svelte/test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-noninteractive-element-to-interactive-role/warnings.json diff --git a/test/validator/samples/a11y-no-noninteractive-tabindex/input.svelte b/packages/svelte/test/validator/samples/a11y-no-noninteractive-tabindex/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-noninteractive-tabindex/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-noninteractive-tabindex/input.svelte diff --git a/test/validator/samples/a11y-no-noninteractive-tabindex/warnings.json b/packages/svelte/test/validator/samples/a11y-no-noninteractive-tabindex/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-noninteractive-tabindex/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-noninteractive-tabindex/warnings.json diff --git a/test/validator/samples/a11y-no-redundant-roles/input.svelte b/packages/svelte/test/validator/samples/a11y-no-redundant-roles/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-redundant-roles/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-redundant-roles/input.svelte diff --git a/test/validator/samples/a11y-no-redundant-roles/warnings.json b/packages/svelte/test/validator/samples/a11y-no-redundant-roles/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-redundant-roles/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-redundant-roles/warnings.json diff --git a/test/validator/samples/a11y-no-static-element-interactions/input.svelte b/packages/svelte/test/validator/samples/a11y-no-static-element-interactions/input.svelte similarity index 100% rename from test/validator/samples/a11y-no-static-element-interactions/input.svelte rename to packages/svelte/test/validator/samples/a11y-no-static-element-interactions/input.svelte diff --git a/test/validator/samples/a11y-no-static-element-interactions/warnings.json b/packages/svelte/test/validator/samples/a11y-no-static-element-interactions/warnings.json similarity index 100% rename from test/validator/samples/a11y-no-static-element-interactions/warnings.json rename to packages/svelte/test/validator/samples/a11y-no-static-element-interactions/warnings.json diff --git a/test/validator/samples/a11y-not-on-components/input.svelte b/packages/svelte/test/validator/samples/a11y-not-on-components/input.svelte similarity index 100% rename from test/validator/samples/a11y-not-on-components/input.svelte rename to packages/svelte/test/validator/samples/a11y-not-on-components/input.svelte diff --git a/test/validator/samples/a11y-not-on-components/warnings.json b/packages/svelte/test/validator/samples/a11y-not-on-components/warnings.json similarity index 100% rename from test/validator/samples/a11y-not-on-components/warnings.json rename to packages/svelte/test/validator/samples/a11y-not-on-components/warnings.json diff --git a/test/validator/samples/a11y-role-has-required-aria-props/input.svelte b/packages/svelte/test/validator/samples/a11y-role-has-required-aria-props/input.svelte similarity index 100% rename from test/validator/samples/a11y-role-has-required-aria-props/input.svelte rename to packages/svelte/test/validator/samples/a11y-role-has-required-aria-props/input.svelte diff --git a/test/validator/samples/a11y-role-has-required-aria-props/warnings.json b/packages/svelte/test/validator/samples/a11y-role-has-required-aria-props/warnings.json similarity index 100% rename from test/validator/samples/a11y-role-has-required-aria-props/warnings.json rename to packages/svelte/test/validator/samples/a11y-role-has-required-aria-props/warnings.json diff --git a/test/validator/samples/a11y-role-supports-aria-props/input.svelte b/packages/svelte/test/validator/samples/a11y-role-supports-aria-props/input.svelte similarity index 100% rename from test/validator/samples/a11y-role-supports-aria-props/input.svelte rename to packages/svelte/test/validator/samples/a11y-role-supports-aria-props/input.svelte diff --git a/test/validator/samples/a11y-role-supports-aria-props/warnings.json b/packages/svelte/test/validator/samples/a11y-role-supports-aria-props/warnings.json similarity index 100% rename from test/validator/samples/a11y-role-supports-aria-props/warnings.json rename to packages/svelte/test/validator/samples/a11y-role-supports-aria-props/warnings.json diff --git a/test/validator/samples/a11y-scope/input.svelte b/packages/svelte/test/validator/samples/a11y-scope/input.svelte similarity index 100% rename from test/validator/samples/a11y-scope/input.svelte rename to packages/svelte/test/validator/samples/a11y-scope/input.svelte diff --git a/test/validator/samples/a11y-scope/warnings.json b/packages/svelte/test/validator/samples/a11y-scope/warnings.json similarity index 100% rename from test/validator/samples/a11y-scope/warnings.json rename to packages/svelte/test/validator/samples/a11y-scope/warnings.json diff --git a/test/validator/samples/a11y-tabindex-no-positive/input.svelte b/packages/svelte/test/validator/samples/a11y-tabindex-no-positive/input.svelte similarity index 100% rename from test/validator/samples/a11y-tabindex-no-positive/input.svelte rename to packages/svelte/test/validator/samples/a11y-tabindex-no-positive/input.svelte diff --git a/test/validator/samples/a11y-tabindex-no-positive/warnings.json b/packages/svelte/test/validator/samples/a11y-tabindex-no-positive/warnings.json similarity index 100% rename from test/validator/samples/a11y-tabindex-no-positive/warnings.json rename to packages/svelte/test/validator/samples/a11y-tabindex-no-positive/warnings.json diff --git a/test/validator/samples/action-invalid/input.svelte b/packages/svelte/test/validator/samples/action-invalid/input.svelte similarity index 100% rename from test/validator/samples/action-invalid/input.svelte rename to packages/svelte/test/validator/samples/action-invalid/input.svelte diff --git a/test/validator/samples/action-invalid/warnings.json b/packages/svelte/test/validator/samples/action-invalid/warnings.json similarity index 100% rename from test/validator/samples/action-invalid/warnings.json rename to packages/svelte/test/validator/samples/action-invalid/warnings.json diff --git a/test/validator/samples/action-object/input.svelte b/packages/svelte/test/validator/samples/action-object/input.svelte similarity index 100% rename from test/validator/samples/action-object/input.svelte rename to packages/svelte/test/validator/samples/action-object/input.svelte diff --git a/test/validator/samples/action-object/warnings.json b/packages/svelte/test/validator/samples/action-object/warnings.json similarity index 100% rename from test/validator/samples/action-object/warnings.json rename to packages/svelte/test/validator/samples/action-object/warnings.json diff --git a/test/validator/samples/action-on-component/errors.json b/packages/svelte/test/validator/samples/action-on-component/errors.json similarity index 100% rename from test/validator/samples/action-on-component/errors.json rename to packages/svelte/test/validator/samples/action-on-component/errors.json diff --git a/test/validator/samples/action-on-component/input.svelte b/packages/svelte/test/validator/samples/action-on-component/input.svelte similarity index 100% rename from test/validator/samples/action-on-component/input.svelte rename to packages/svelte/test/validator/samples/action-on-component/input.svelte diff --git a/test/validator/samples/animation-comment-siblings/errors.json b/packages/svelte/test/validator/samples/animation-comment-siblings/errors.json similarity index 100% rename from test/validator/samples/animation-comment-siblings/errors.json rename to packages/svelte/test/validator/samples/animation-comment-siblings/errors.json diff --git a/test/validator/samples/animation-comment-siblings/input.svelte b/packages/svelte/test/validator/samples/animation-comment-siblings/input.svelte similarity index 100% rename from test/validator/samples/animation-comment-siblings/input.svelte rename to packages/svelte/test/validator/samples/animation-comment-siblings/input.svelte diff --git a/test/validator/samples/animation-duplicate/errors.json b/packages/svelte/test/validator/samples/animation-duplicate/errors.json similarity index 100% rename from test/validator/samples/animation-duplicate/errors.json rename to packages/svelte/test/validator/samples/animation-duplicate/errors.json diff --git a/test/validator/samples/animation-duplicate/input.svelte b/packages/svelte/test/validator/samples/animation-duplicate/input.svelte similarity index 100% rename from test/validator/samples/animation-duplicate/input.svelte rename to packages/svelte/test/validator/samples/animation-duplicate/input.svelte diff --git a/test/validator/samples/animation-each-with-const/errors.json b/packages/svelte/test/validator/samples/animation-each-with-const/errors.json similarity index 100% rename from test/validator/samples/animation-each-with-const/errors.json rename to packages/svelte/test/validator/samples/animation-each-with-const/errors.json diff --git a/test/validator/samples/animation-each-with-const/input.svelte b/packages/svelte/test/validator/samples/animation-each-with-const/input.svelte similarity index 100% rename from test/validator/samples/animation-each-with-const/input.svelte rename to packages/svelte/test/validator/samples/animation-each-with-const/input.svelte diff --git a/test/validator/samples/animation-each-with-whitespace/errors.json b/packages/svelte/test/validator/samples/animation-each-with-whitespace/errors.json similarity index 100% rename from test/validator/samples/animation-each-with-whitespace/errors.json rename to packages/svelte/test/validator/samples/animation-each-with-whitespace/errors.json diff --git a/test/validator/samples/animation-each-with-whitespace/input.svelte b/packages/svelte/test/validator/samples/animation-each-with-whitespace/input.svelte similarity index 100% rename from test/validator/samples/animation-each-with-whitespace/input.svelte rename to packages/svelte/test/validator/samples/animation-each-with-whitespace/input.svelte diff --git a/test/validator/samples/animation-missing/input.svelte b/packages/svelte/test/validator/samples/animation-missing/input.svelte similarity index 100% rename from test/validator/samples/animation-missing/input.svelte rename to packages/svelte/test/validator/samples/animation-missing/input.svelte diff --git a/test/validator/samples/animation-missing/warnings.json b/packages/svelte/test/validator/samples/animation-missing/warnings.json similarity index 100% rename from test/validator/samples/animation-missing/warnings.json rename to packages/svelte/test/validator/samples/animation-missing/warnings.json diff --git a/test/validator/samples/animation-not-in-each/errors.json b/packages/svelte/test/validator/samples/animation-not-in-each/errors.json similarity index 100% rename from test/validator/samples/animation-not-in-each/errors.json rename to packages/svelte/test/validator/samples/animation-not-in-each/errors.json diff --git a/test/validator/samples/animation-not-in-each/input.svelte b/packages/svelte/test/validator/samples/animation-not-in-each/input.svelte similarity index 100% rename from test/validator/samples/animation-not-in-each/input.svelte rename to packages/svelte/test/validator/samples/animation-not-in-each/input.svelte diff --git a/test/validator/samples/animation-not-in-keyed-each/errors.json b/packages/svelte/test/validator/samples/animation-not-in-keyed-each/errors.json similarity index 100% rename from test/validator/samples/animation-not-in-keyed-each/errors.json rename to packages/svelte/test/validator/samples/animation-not-in-keyed-each/errors.json diff --git a/test/validator/samples/animation-not-in-keyed-each/input.svelte b/packages/svelte/test/validator/samples/animation-not-in-keyed-each/input.svelte similarity index 100% rename from test/validator/samples/animation-not-in-keyed-each/input.svelte rename to packages/svelte/test/validator/samples/animation-not-in-keyed-each/input.svelte diff --git a/packages/svelte/test/validator/samples/animation-on-component/errors.json b/packages/svelte/test/validator/samples/animation-on-component/errors.json new file mode 100644 index 0000000000..b6e5ade74f --- /dev/null +++ b/packages/svelte/test/validator/samples/animation-on-component/errors.json @@ -0,0 +1,14 @@ +[ + { + "code": "invalid-animation", + "message": "Animations can only be applied to DOM elements, not components", + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } +] diff --git a/packages/svelte/test/validator/samples/animation-on-component/input.svelte b/packages/svelte/test/validator/samples/animation-on-component/input.svelte new file mode 100644 index 0000000000..cb8a986586 --- /dev/null +++ b/packages/svelte/test/validator/samples/animation-on-component/input.svelte @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/test/validator/samples/animation-siblings/errors.json b/packages/svelte/test/validator/samples/animation-siblings/errors.json similarity index 100% rename from test/validator/samples/animation-siblings/errors.json rename to packages/svelte/test/validator/samples/animation-siblings/errors.json diff --git a/test/validator/samples/animation-siblings/input.svelte b/packages/svelte/test/validator/samples/animation-siblings/input.svelte similarity index 100% rename from test/validator/samples/animation-siblings/input.svelte rename to packages/svelte/test/validator/samples/animation-siblings/input.svelte diff --git a/test/validator/samples/assignment-to-const-2/errors.json b/packages/svelte/test/validator/samples/assignment-to-const-2/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const-2/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const-2/errors.json diff --git a/test/validator/samples/assignment-to-const-2/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const-2/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const-2/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const-2/input.svelte diff --git a/test/validator/samples/assignment-to-const-3/errors.json b/packages/svelte/test/validator/samples/assignment-to-const-3/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const-3/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const-3/errors.json diff --git a/test/validator/samples/assignment-to-const-3/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const-3/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const-3/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const-3/input.svelte diff --git a/test/validator/samples/assignment-to-const-4/errors.json b/packages/svelte/test/validator/samples/assignment-to-const-4/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const-4/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const-4/errors.json diff --git a/test/validator/samples/assignment-to-const-4/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const-4/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const-4/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const-4/input.svelte diff --git a/test/validator/samples/assignment-to-const-5/errors.json b/packages/svelte/test/validator/samples/assignment-to-const-5/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const-5/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const-5/errors.json diff --git a/test/validator/samples/assignment-to-const-5/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const-5/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const-5/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const-5/input.svelte diff --git a/test/validator/samples/assignment-to-const-6/errors.json b/packages/svelte/test/validator/samples/assignment-to-const-6/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const-6/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const-6/errors.json diff --git a/test/validator/samples/assignment-to-const-6/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const-6/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const-6/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const-6/input.svelte diff --git a/test/validator/samples/assignment-to-const-7/errors.json b/packages/svelte/test/validator/samples/assignment-to-const-7/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const-7/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const-7/errors.json diff --git a/test/validator/samples/assignment-to-const-7/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const-7/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const-7/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const-7/input.svelte diff --git a/test/validator/samples/assignment-to-const-8/errors.json b/packages/svelte/test/validator/samples/assignment-to-const-8/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const-8/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const-8/errors.json diff --git a/test/validator/samples/assignment-to-const-8/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const-8/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const-8/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const-8/input.svelte diff --git a/test/validator/samples/assignment-to-const/errors.json b/packages/svelte/test/validator/samples/assignment-to-const/errors.json similarity index 100% rename from test/validator/samples/assignment-to-const/errors.json rename to packages/svelte/test/validator/samples/assignment-to-const/errors.json diff --git a/test/validator/samples/assignment-to-const/input.svelte b/packages/svelte/test/validator/samples/assignment-to-const/input.svelte similarity index 100% rename from test/validator/samples/assignment-to-const/input.svelte rename to packages/svelte/test/validator/samples/assignment-to-const/input.svelte diff --git a/test/validator/samples/attribute-expected-equals/errors.json b/packages/svelte/test/validator/samples/attribute-expected-equals/errors.json similarity index 100% rename from test/validator/samples/attribute-expected-equals/errors.json rename to packages/svelte/test/validator/samples/attribute-expected-equals/errors.json diff --git a/test/validator/samples/attribute-expected-equals/input.svelte b/packages/svelte/test/validator/samples/attribute-expected-equals/input.svelte similarity index 100% rename from test/validator/samples/attribute-expected-equals/input.svelte rename to packages/svelte/test/validator/samples/attribute-expected-equals/input.svelte diff --git a/test/validator/samples/attribute-invalid-name-2/errors.json b/packages/svelte/test/validator/samples/attribute-invalid-name-2/errors.json similarity index 100% rename from test/validator/samples/attribute-invalid-name-2/errors.json rename to packages/svelte/test/validator/samples/attribute-invalid-name-2/errors.json diff --git a/test/validator/samples/attribute-invalid-name-2/input.svelte b/packages/svelte/test/validator/samples/attribute-invalid-name-2/input.svelte similarity index 100% rename from test/validator/samples/attribute-invalid-name-2/input.svelte rename to packages/svelte/test/validator/samples/attribute-invalid-name-2/input.svelte diff --git a/test/validator/samples/attribute-invalid-name-3/errors.json b/packages/svelte/test/validator/samples/attribute-invalid-name-3/errors.json similarity index 100% rename from test/validator/samples/attribute-invalid-name-3/errors.json rename to packages/svelte/test/validator/samples/attribute-invalid-name-3/errors.json diff --git a/test/validator/samples/attribute-invalid-name-3/input.svelte b/packages/svelte/test/validator/samples/attribute-invalid-name-3/input.svelte similarity index 100% rename from test/validator/samples/attribute-invalid-name-3/input.svelte rename to packages/svelte/test/validator/samples/attribute-invalid-name-3/input.svelte diff --git a/test/validator/samples/attribute-invalid-name-4/errors.json b/packages/svelte/test/validator/samples/attribute-invalid-name-4/errors.json similarity index 100% rename from test/validator/samples/attribute-invalid-name-4/errors.json rename to packages/svelte/test/validator/samples/attribute-invalid-name-4/errors.json diff --git a/test/validator/samples/attribute-invalid-name-4/input.svelte b/packages/svelte/test/validator/samples/attribute-invalid-name-4/input.svelte similarity index 100% rename from test/validator/samples/attribute-invalid-name-4/input.svelte rename to packages/svelte/test/validator/samples/attribute-invalid-name-4/input.svelte diff --git a/test/validator/samples/attribute-invalid-name-5/errors.json b/packages/svelte/test/validator/samples/attribute-invalid-name-5/errors.json similarity index 100% rename from test/validator/samples/attribute-invalid-name-5/errors.json rename to packages/svelte/test/validator/samples/attribute-invalid-name-5/errors.json diff --git a/test/validator/samples/attribute-invalid-name-5/input.svelte b/packages/svelte/test/validator/samples/attribute-invalid-name-5/input.svelte similarity index 100% rename from test/validator/samples/attribute-invalid-name-5/input.svelte rename to packages/svelte/test/validator/samples/attribute-invalid-name-5/input.svelte diff --git a/test/validator/samples/attribute-invalid-name/errors.json b/packages/svelte/test/validator/samples/attribute-invalid-name/errors.json similarity index 100% rename from test/validator/samples/attribute-invalid-name/errors.json rename to packages/svelte/test/validator/samples/attribute-invalid-name/errors.json diff --git a/test/validator/samples/attribute-invalid-name/input.svelte b/packages/svelte/test/validator/samples/attribute-invalid-name/input.svelte similarity index 100% rename from test/validator/samples/attribute-invalid-name/input.svelte rename to packages/svelte/test/validator/samples/attribute-invalid-name/input.svelte diff --git a/test/validator/samples/await-component-is-used/input.svelte b/packages/svelte/test/validator/samples/await-component-is-used/input.svelte similarity index 100% rename from test/validator/samples/await-component-is-used/input.svelte rename to packages/svelte/test/validator/samples/await-component-is-used/input.svelte diff --git a/test/validator/samples/await-component-is-used/warnings.json b/packages/svelte/test/validator/samples/await-component-is-used/warnings.json similarity index 100% rename from test/validator/samples/await-component-is-used/warnings.json rename to packages/svelte/test/validator/samples/await-component-is-used/warnings.json diff --git a/test/validator/samples/await-no-catch/input.svelte b/packages/svelte/test/validator/samples/await-no-catch/input.svelte similarity index 100% rename from test/validator/samples/await-no-catch/input.svelte rename to packages/svelte/test/validator/samples/await-no-catch/input.svelte diff --git a/test/validator/samples/await-no-catch/warnings.json b/packages/svelte/test/validator/samples/await-no-catch/warnings.json similarity index 100% rename from test/validator/samples/await-no-catch/warnings.json rename to packages/svelte/test/validator/samples/await-no-catch/warnings.json diff --git a/test/validator/samples/await-shorthand-no-catch/input.svelte b/packages/svelte/test/validator/samples/await-shorthand-no-catch/input.svelte similarity index 100% rename from test/validator/samples/await-shorthand-no-catch/input.svelte rename to packages/svelte/test/validator/samples/await-shorthand-no-catch/input.svelte diff --git a/test/validator/samples/await-shorthand-no-catch/warnings.json b/packages/svelte/test/validator/samples/await-shorthand-no-catch/warnings.json similarity index 100% rename from test/validator/samples/await-shorthand-no-catch/warnings.json rename to packages/svelte/test/validator/samples/await-shorthand-no-catch/warnings.json diff --git a/test/validator/samples/await-shorthand-no-then/input.svelte b/packages/svelte/test/validator/samples/await-shorthand-no-then/input.svelte similarity index 100% rename from test/validator/samples/await-shorthand-no-then/input.svelte rename to packages/svelte/test/validator/samples/await-shorthand-no-then/input.svelte diff --git a/test/validator/samples/await-shorthand-no-then/warnings.json b/packages/svelte/test/validator/samples/await-shorthand-no-then/warnings.json similarity index 100% rename from test/validator/samples/await-shorthand-no-then/warnings.json rename to packages/svelte/test/validator/samples/await-shorthand-no-then/warnings.json diff --git a/test/validator/samples/binding-await-catch/errors.json b/packages/svelte/test/validator/samples/binding-await-catch/errors.json similarity index 100% rename from test/validator/samples/binding-await-catch/errors.json rename to packages/svelte/test/validator/samples/binding-await-catch/errors.json diff --git a/test/validator/samples/binding-await-catch/input.svelte b/packages/svelte/test/validator/samples/binding-await-catch/input.svelte similarity index 100% rename from test/validator/samples/binding-await-catch/input.svelte rename to packages/svelte/test/validator/samples/binding-await-catch/input.svelte diff --git a/test/validator/samples/binding-await-then-2/errors.json b/packages/svelte/test/validator/samples/binding-await-then-2/errors.json similarity index 100% rename from test/validator/samples/binding-await-then-2/errors.json rename to packages/svelte/test/validator/samples/binding-await-then-2/errors.json diff --git a/test/validator/samples/binding-await-then-2/input.svelte b/packages/svelte/test/validator/samples/binding-await-then-2/input.svelte similarity index 100% rename from test/validator/samples/binding-await-then-2/input.svelte rename to packages/svelte/test/validator/samples/binding-await-then-2/input.svelte diff --git a/test/validator/samples/binding-await-then/errors.json b/packages/svelte/test/validator/samples/binding-await-then/errors.json similarity index 100% rename from test/validator/samples/binding-await-then/errors.json rename to packages/svelte/test/validator/samples/binding-await-then/errors.json diff --git a/test/validator/samples/binding-await-then/input.svelte b/packages/svelte/test/validator/samples/binding-await-then/input.svelte similarity index 100% rename from test/validator/samples/binding-await-then/input.svelte rename to packages/svelte/test/validator/samples/binding-await-then/input.svelte diff --git a/test/validator/samples/binding-const-field/errors.json b/packages/svelte/test/validator/samples/binding-const-field/errors.json similarity index 100% rename from test/validator/samples/binding-const-field/errors.json rename to packages/svelte/test/validator/samples/binding-const-field/errors.json diff --git a/test/validator/samples/binding-const-field/input.svelte b/packages/svelte/test/validator/samples/binding-const-field/input.svelte similarity index 100% rename from test/validator/samples/binding-const-field/input.svelte rename to packages/svelte/test/validator/samples/binding-const-field/input.svelte diff --git a/test/validator/samples/binding-const/errors.json b/packages/svelte/test/validator/samples/binding-const/errors.json similarity index 100% rename from test/validator/samples/binding-const/errors.json rename to packages/svelte/test/validator/samples/binding-const/errors.json diff --git a/test/validator/samples/binding-const/input.svelte b/packages/svelte/test/validator/samples/binding-const/input.svelte similarity index 100% rename from test/validator/samples/binding-const/input.svelte rename to packages/svelte/test/validator/samples/binding-const/input.svelte diff --git a/test/validator/samples/binding-dimensions-svg-child/errors.json b/packages/svelte/test/validator/samples/binding-dimensions-svg-child/errors.json similarity index 100% rename from test/validator/samples/binding-dimensions-svg-child/errors.json rename to packages/svelte/test/validator/samples/binding-dimensions-svg-child/errors.json diff --git a/test/validator/samples/binding-dimensions-svg-child/input.svelte b/packages/svelte/test/validator/samples/binding-dimensions-svg-child/input.svelte similarity index 100% rename from test/validator/samples/binding-dimensions-svg-child/input.svelte rename to packages/svelte/test/validator/samples/binding-dimensions-svg-child/input.svelte diff --git a/test/validator/samples/binding-dimensions-svg/errors.json b/packages/svelte/test/validator/samples/binding-dimensions-svg/errors.json similarity index 100% rename from test/validator/samples/binding-dimensions-svg/errors.json rename to packages/svelte/test/validator/samples/binding-dimensions-svg/errors.json diff --git a/test/validator/samples/binding-dimensions-svg/input.svelte b/packages/svelte/test/validator/samples/binding-dimensions-svg/input.svelte similarity index 100% rename from test/validator/samples/binding-dimensions-svg/input.svelte rename to packages/svelte/test/validator/samples/binding-dimensions-svg/input.svelte diff --git a/test/validator/samples/binding-dimensions-void/errors.json b/packages/svelte/test/validator/samples/binding-dimensions-void/errors.json similarity index 100% rename from test/validator/samples/binding-dimensions-void/errors.json rename to packages/svelte/test/validator/samples/binding-dimensions-void/errors.json diff --git a/test/validator/samples/binding-dimensions-void/input.svelte b/packages/svelte/test/validator/samples/binding-dimensions-void/input.svelte similarity index 100% rename from test/validator/samples/binding-dimensions-void/input.svelte rename to packages/svelte/test/validator/samples/binding-dimensions-void/input.svelte diff --git a/test/validator/samples/binding-input-checked/errors.json b/packages/svelte/test/validator/samples/binding-input-checked/errors.json similarity index 100% rename from test/validator/samples/binding-input-checked/errors.json rename to packages/svelte/test/validator/samples/binding-input-checked/errors.json diff --git a/test/validator/samples/binding-input-checked/input.svelte b/packages/svelte/test/validator/samples/binding-input-checked/input.svelte similarity index 100% rename from test/validator/samples/binding-input-checked/input.svelte rename to packages/svelte/test/validator/samples/binding-input-checked/input.svelte diff --git a/test/validator/samples/binding-input-type-boolean/errors.json b/packages/svelte/test/validator/samples/binding-input-type-boolean/errors.json similarity index 100% rename from test/validator/samples/binding-input-type-boolean/errors.json rename to packages/svelte/test/validator/samples/binding-input-type-boolean/errors.json diff --git a/test/validator/samples/binding-input-type-boolean/input.svelte b/packages/svelte/test/validator/samples/binding-input-type-boolean/input.svelte similarity index 100% rename from test/validator/samples/binding-input-type-boolean/input.svelte rename to packages/svelte/test/validator/samples/binding-input-type-boolean/input.svelte diff --git a/test/validator/samples/binding-input-type-dynamic/errors.json b/packages/svelte/test/validator/samples/binding-input-type-dynamic/errors.json similarity index 100% rename from test/validator/samples/binding-input-type-dynamic/errors.json rename to packages/svelte/test/validator/samples/binding-input-type-dynamic/errors.json diff --git a/test/validator/samples/binding-input-type-dynamic/input.svelte b/packages/svelte/test/validator/samples/binding-input-type-dynamic/input.svelte similarity index 100% rename from test/validator/samples/binding-input-type-dynamic/input.svelte rename to packages/svelte/test/validator/samples/binding-input-type-dynamic/input.svelte diff --git a/test/validator/samples/binding-invalid-foreign-namespace/errors.json b/packages/svelte/test/validator/samples/binding-invalid-foreign-namespace/errors.json similarity index 100% rename from test/validator/samples/binding-invalid-foreign-namespace/errors.json rename to packages/svelte/test/validator/samples/binding-invalid-foreign-namespace/errors.json diff --git a/test/validator/samples/binding-invalid-foreign-namespace/input.svelte b/packages/svelte/test/validator/samples/binding-invalid-foreign-namespace/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid-foreign-namespace/input.svelte rename to packages/svelte/test/validator/samples/binding-invalid-foreign-namespace/input.svelte diff --git a/test/validator/samples/binding-invalid-on-element/errors.json b/packages/svelte/test/validator/samples/binding-invalid-on-element/errors.json similarity index 100% rename from test/validator/samples/binding-invalid-on-element/errors.json rename to packages/svelte/test/validator/samples/binding-invalid-on-element/errors.json diff --git a/test/validator/samples/binding-invalid-on-element/input.svelte b/packages/svelte/test/validator/samples/binding-invalid-on-element/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid-on-element/input.svelte rename to packages/svelte/test/validator/samples/binding-invalid-on-element/input.svelte diff --git a/test/validator/samples/binding-invalid-value-global/errors.json b/packages/svelte/test/validator/samples/binding-invalid-value-global/errors.json similarity index 100% rename from test/validator/samples/binding-invalid-value-global/errors.json rename to packages/svelte/test/validator/samples/binding-invalid-value-global/errors.json diff --git a/test/validator/samples/binding-invalid-value-global/input.svelte b/packages/svelte/test/validator/samples/binding-invalid-value-global/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid-value-global/input.svelte rename to packages/svelte/test/validator/samples/binding-invalid-value-global/input.svelte diff --git a/test/validator/samples/binding-invalid-value/errors.json b/packages/svelte/test/validator/samples/binding-invalid-value/errors.json similarity index 100% rename from test/validator/samples/binding-invalid-value/errors.json rename to packages/svelte/test/validator/samples/binding-invalid-value/errors.json diff --git a/test/validator/samples/binding-invalid-value/input.svelte b/packages/svelte/test/validator/samples/binding-invalid-value/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid-value/input.svelte rename to packages/svelte/test/validator/samples/binding-invalid-value/input.svelte diff --git a/test/validator/samples/binding-invalid/errors.json b/packages/svelte/test/validator/samples/binding-invalid/errors.json similarity index 100% rename from test/validator/samples/binding-invalid/errors.json rename to packages/svelte/test/validator/samples/binding-invalid/errors.json diff --git a/test/validator/samples/binding-invalid/input.svelte b/packages/svelte/test/validator/samples/binding-invalid/input.svelte similarity index 100% rename from test/validator/samples/binding-invalid/input.svelte rename to packages/svelte/test/validator/samples/binding-invalid/input.svelte diff --git a/test/validator/samples/binding-let/errors.json b/packages/svelte/test/validator/samples/binding-let/errors.json similarity index 100% rename from test/validator/samples/binding-let/errors.json rename to packages/svelte/test/validator/samples/binding-let/errors.json diff --git a/test/validator/samples/binding-let/input.svelte b/packages/svelte/test/validator/samples/binding-let/input.svelte similarity index 100% rename from test/validator/samples/binding-let/input.svelte rename to packages/svelte/test/validator/samples/binding-let/input.svelte diff --git a/test/validator/samples/binding-select-multiple-dynamic/errors.json b/packages/svelte/test/validator/samples/binding-select-multiple-dynamic/errors.json similarity index 100% rename from test/validator/samples/binding-select-multiple-dynamic/errors.json rename to packages/svelte/test/validator/samples/binding-select-multiple-dynamic/errors.json diff --git a/test/validator/samples/binding-select-multiple-dynamic/input.svelte b/packages/svelte/test/validator/samples/binding-select-multiple-dynamic/input.svelte similarity index 100% rename from test/validator/samples/binding-select-multiple-dynamic/input.svelte rename to packages/svelte/test/validator/samples/binding-select-multiple-dynamic/input.svelte diff --git a/test/validator/samples/catch-declares-error-variable/input.svelte b/packages/svelte/test/validator/samples/catch-declares-error-variable/input.svelte similarity index 100% rename from test/validator/samples/catch-declares-error-variable/input.svelte rename to packages/svelte/test/validator/samples/catch-declares-error-variable/input.svelte diff --git a/test/validator/samples/catch-declares-error-variable/warnings.json b/packages/svelte/test/validator/samples/catch-declares-error-variable/warnings.json similarity index 100% rename from test/validator/samples/catch-declares-error-variable/warnings.json rename to packages/svelte/test/validator/samples/catch-declares-error-variable/warnings.json diff --git a/test/validator/samples/component-dynamic/input.svelte b/packages/svelte/test/validator/samples/component-dynamic/input.svelte similarity index 100% rename from test/validator/samples/component-dynamic/input.svelte rename to packages/svelte/test/validator/samples/component-dynamic/input.svelte diff --git a/test/validator/samples/component-dynamic/options.json b/packages/svelte/test/validator/samples/component-dynamic/options.json similarity index 100% rename from test/validator/samples/component-dynamic/options.json rename to packages/svelte/test/validator/samples/component-dynamic/options.json diff --git a/test/validator/samples/component-dynamic/warnings.json b/packages/svelte/test/validator/samples/component-dynamic/warnings.json similarity index 100% rename from test/validator/samples/component-dynamic/warnings.json rename to packages/svelte/test/validator/samples/component-dynamic/warnings.json diff --git a/test/validator/samples/component-event-modifiers-invalid/errors.json b/packages/svelte/test/validator/samples/component-event-modifiers-invalid/errors.json similarity index 100% rename from test/validator/samples/component-event-modifiers-invalid/errors.json rename to packages/svelte/test/validator/samples/component-event-modifiers-invalid/errors.json diff --git a/test/validator/samples/component-event-modifiers-invalid/input.svelte b/packages/svelte/test/validator/samples/component-event-modifiers-invalid/input.svelte similarity index 100% rename from test/validator/samples/component-event-modifiers-invalid/input.svelte rename to packages/svelte/test/validator/samples/component-event-modifiers-invalid/input.svelte diff --git a/test/validator/samples/component-invalid-style-directive/errors.json b/packages/svelte/test/validator/samples/component-invalid-style-directive/errors.json similarity index 100% rename from test/validator/samples/component-invalid-style-directive/errors.json rename to packages/svelte/test/validator/samples/component-invalid-style-directive/errors.json diff --git a/test/validator/samples/component-invalid-style-directive/input.svelte b/packages/svelte/test/validator/samples/component-invalid-style-directive/input.svelte similarity index 100% rename from test/validator/samples/component-invalid-style-directive/input.svelte rename to packages/svelte/test/validator/samples/component-invalid-style-directive/input.svelte diff --git a/test/validator/samples/component-name-lowercase/input.svelte b/packages/svelte/test/validator/samples/component-name-lowercase/input.svelte similarity index 100% rename from test/validator/samples/component-name-lowercase/input.svelte rename to packages/svelte/test/validator/samples/component-name-lowercase/input.svelte diff --git a/test/validator/samples/component-name-lowercase/warnings.json b/packages/svelte/test/validator/samples/component-name-lowercase/warnings.json similarity index 100% rename from test/validator/samples/component-name-lowercase/warnings.json rename to packages/svelte/test/validator/samples/component-name-lowercase/warnings.json diff --git a/test/validator/samples/component-namespaced/input.svelte b/packages/svelte/test/validator/samples/component-namespaced/input.svelte similarity index 100% rename from test/validator/samples/component-namespaced/input.svelte rename to packages/svelte/test/validator/samples/component-namespaced/input.svelte diff --git a/test/validator/samples/component-namespaced/warnings.json b/packages/svelte/test/validator/samples/component-namespaced/warnings.json similarity index 100% rename from test/validator/samples/component-namespaced/warnings.json rename to packages/svelte/test/validator/samples/component-namespaced/warnings.json diff --git a/test/validator/samples/component-slot-default-duplicate.skip/errors.json b/packages/svelte/test/validator/samples/component-slot-default-duplicate.skip/errors.json similarity index 100% rename from test/validator/samples/component-slot-default-duplicate.skip/errors.json rename to packages/svelte/test/validator/samples/component-slot-default-duplicate.skip/errors.json diff --git a/test/validator/samples/component-slot-default-duplicate.skip/input.svelte b/packages/svelte/test/validator/samples/component-slot-default-duplicate.skip/input.svelte similarity index 100% rename from test/validator/samples/component-slot-default-duplicate.skip/input.svelte rename to packages/svelte/test/validator/samples/component-slot-default-duplicate.skip/input.svelte diff --git a/test/validator/samples/component-slot-default-reserved/errors.json b/packages/svelte/test/validator/samples/component-slot-default-reserved/errors.json similarity index 100% rename from test/validator/samples/component-slot-default-reserved/errors.json rename to packages/svelte/test/validator/samples/component-slot-default-reserved/errors.json diff --git a/test/validator/samples/component-slot-default-reserved/input.svelte b/packages/svelte/test/validator/samples/component-slot-default-reserved/input.svelte similarity index 100% rename from test/validator/samples/component-slot-default-reserved/input.svelte rename to packages/svelte/test/validator/samples/component-slot-default-reserved/input.svelte diff --git a/test/validator/samples/component-slot-dynamic-attribute/errors.json b/packages/svelte/test/validator/samples/component-slot-dynamic-attribute/errors.json similarity index 100% rename from test/validator/samples/component-slot-dynamic-attribute/errors.json rename to packages/svelte/test/validator/samples/component-slot-dynamic-attribute/errors.json diff --git a/test/validator/samples/component-slot-dynamic-attribute/input.svelte b/packages/svelte/test/validator/samples/component-slot-dynamic-attribute/input.svelte similarity index 100% rename from test/validator/samples/component-slot-dynamic-attribute/input.svelte rename to packages/svelte/test/validator/samples/component-slot-dynamic-attribute/input.svelte diff --git a/test/validator/samples/component-slot-dynamic/errors.json b/packages/svelte/test/validator/samples/component-slot-dynamic/errors.json similarity index 100% rename from test/validator/samples/component-slot-dynamic/errors.json rename to packages/svelte/test/validator/samples/component-slot-dynamic/errors.json diff --git a/test/validator/samples/component-slot-dynamic/input.svelte b/packages/svelte/test/validator/samples/component-slot-dynamic/input.svelte similarity index 100% rename from test/validator/samples/component-slot-dynamic/input.svelte rename to packages/svelte/test/validator/samples/component-slot-dynamic/input.svelte diff --git a/test/validator/samples/component-slot-named-duplicate.skip/errors.json b/packages/svelte/test/validator/samples/component-slot-named-duplicate.skip/errors.json similarity index 100% rename from test/validator/samples/component-slot-named-duplicate.skip/errors.json rename to packages/svelte/test/validator/samples/component-slot-named-duplicate.skip/errors.json diff --git a/test/validator/samples/component-slot-named-duplicate.skip/input.svelte b/packages/svelte/test/validator/samples/component-slot-named-duplicate.skip/input.svelte similarity index 100% rename from test/validator/samples/component-slot-named-duplicate.skip/input.svelte rename to packages/svelte/test/validator/samples/component-slot-named-duplicate.skip/input.svelte diff --git a/test/validator/samples/component-slotted-custom-element-2/errors.json b/packages/svelte/test/validator/samples/component-slotted-custom-element-2/errors.json similarity index 100% rename from test/validator/samples/component-slotted-custom-element-2/errors.json rename to packages/svelte/test/validator/samples/component-slotted-custom-element-2/errors.json diff --git a/test/validator/samples/component-slotted-custom-element-2/input.svelte b/packages/svelte/test/validator/samples/component-slotted-custom-element-2/input.svelte similarity index 100% rename from test/validator/samples/component-slotted-custom-element-2/input.svelte rename to packages/svelte/test/validator/samples/component-slotted-custom-element-2/input.svelte diff --git a/test/validator/samples/component-slotted-custom-element/errors.json b/packages/svelte/test/validator/samples/component-slotted-custom-element/errors.json similarity index 100% rename from test/validator/samples/component-slotted-custom-element/errors.json rename to packages/svelte/test/validator/samples/component-slotted-custom-element/errors.json diff --git a/test/validator/samples/component-slotted-custom-element/input.svelte b/packages/svelte/test/validator/samples/component-slotted-custom-element/input.svelte similarity index 100% rename from test/validator/samples/component-slotted-custom-element/input.svelte rename to packages/svelte/test/validator/samples/component-slotted-custom-element/input.svelte diff --git a/test/validator/samples/component-slotted-each-block/errors.json b/packages/svelte/test/validator/samples/component-slotted-each-block/errors.json similarity index 100% rename from test/validator/samples/component-slotted-each-block/errors.json rename to packages/svelte/test/validator/samples/component-slotted-each-block/errors.json diff --git a/test/validator/samples/component-slotted-each-block/input.svelte b/packages/svelte/test/validator/samples/component-slotted-each-block/input.svelte similarity index 100% rename from test/validator/samples/component-slotted-each-block/input.svelte rename to packages/svelte/test/validator/samples/component-slotted-each-block/input.svelte diff --git a/test/validator/samples/component-slotted-if-block/errors.json b/packages/svelte/test/validator/samples/component-slotted-if-block/errors.json similarity index 100% rename from test/validator/samples/component-slotted-if-block/errors.json rename to packages/svelte/test/validator/samples/component-slotted-if-block/errors.json diff --git a/test/validator/samples/component-slotted-if-block/input.svelte b/packages/svelte/test/validator/samples/component-slotted-if-block/input.svelte similarity index 100% rename from test/validator/samples/component-slotted-if-block/input.svelte rename to packages/svelte/test/validator/samples/component-slotted-if-block/input.svelte diff --git a/test/validator/samples/const-tag-conflict-1/errors.json b/packages/svelte/test/validator/samples/const-tag-conflict-1/errors.json similarity index 100% rename from test/validator/samples/const-tag-conflict-1/errors.json rename to packages/svelte/test/validator/samples/const-tag-conflict-1/errors.json diff --git a/test/validator/samples/const-tag-conflict-1/input.svelte b/packages/svelte/test/validator/samples/const-tag-conflict-1/input.svelte similarity index 100% rename from test/validator/samples/const-tag-conflict-1/input.svelte rename to packages/svelte/test/validator/samples/const-tag-conflict-1/input.svelte diff --git a/test/validator/samples/const-tag-conflict-2/errors.json b/packages/svelte/test/validator/samples/const-tag-conflict-2/errors.json similarity index 100% rename from test/validator/samples/const-tag-conflict-2/errors.json rename to packages/svelte/test/validator/samples/const-tag-conflict-2/errors.json diff --git a/test/validator/samples/const-tag-conflict-2/input.svelte b/packages/svelte/test/validator/samples/const-tag-conflict-2/input.svelte similarity index 100% rename from test/validator/samples/const-tag-conflict-2/input.svelte rename to packages/svelte/test/validator/samples/const-tag-conflict-2/input.svelte diff --git a/test/validator/samples/const-tag-cyclical/errors.json b/packages/svelte/test/validator/samples/const-tag-cyclical/errors.json similarity index 100% rename from test/validator/samples/const-tag-cyclical/errors.json rename to packages/svelte/test/validator/samples/const-tag-cyclical/errors.json diff --git a/test/validator/samples/const-tag-cyclical/input.svelte b/packages/svelte/test/validator/samples/const-tag-cyclical/input.svelte similarity index 100% rename from test/validator/samples/const-tag-cyclical/input.svelte rename to packages/svelte/test/validator/samples/const-tag-cyclical/input.svelte diff --git a/test/validator/samples/const-tag-out-of-scope/input.svelte b/packages/svelte/test/validator/samples/const-tag-out-of-scope/input.svelte similarity index 100% rename from test/validator/samples/const-tag-out-of-scope/input.svelte rename to packages/svelte/test/validator/samples/const-tag-out-of-scope/input.svelte diff --git a/test/validator/samples/const-tag-out-of-scope/warnings.json b/packages/svelte/test/validator/samples/const-tag-out-of-scope/warnings.json similarity index 100% rename from test/validator/samples/const-tag-out-of-scope/warnings.json rename to packages/svelte/test/validator/samples/const-tag-out-of-scope/warnings.json diff --git a/test/validator/samples/const-tag-placement-1/errors.json b/packages/svelte/test/validator/samples/const-tag-placement-1/errors.json similarity index 100% rename from test/validator/samples/const-tag-placement-1/errors.json rename to packages/svelte/test/validator/samples/const-tag-placement-1/errors.json diff --git a/test/validator/samples/const-tag-placement-1/input.svelte b/packages/svelte/test/validator/samples/const-tag-placement-1/input.svelte similarity index 100% rename from test/validator/samples/const-tag-placement-1/input.svelte rename to packages/svelte/test/validator/samples/const-tag-placement-1/input.svelte diff --git a/test/validator/samples/const-tag-placement-2/errors.json b/packages/svelte/test/validator/samples/const-tag-placement-2/errors.json similarity index 100% rename from test/validator/samples/const-tag-placement-2/errors.json rename to packages/svelte/test/validator/samples/const-tag-placement-2/errors.json diff --git a/test/validator/samples/const-tag-placement-2/input.svelte b/packages/svelte/test/validator/samples/const-tag-placement-2/input.svelte similarity index 100% rename from test/validator/samples/const-tag-placement-2/input.svelte rename to packages/svelte/test/validator/samples/const-tag-placement-2/input.svelte diff --git a/test/validator/samples/const-tag-readonly-1/errors.json b/packages/svelte/test/validator/samples/const-tag-readonly-1/errors.json similarity index 100% rename from test/validator/samples/const-tag-readonly-1/errors.json rename to packages/svelte/test/validator/samples/const-tag-readonly-1/errors.json diff --git a/test/validator/samples/const-tag-readonly-1/input.svelte b/packages/svelte/test/validator/samples/const-tag-readonly-1/input.svelte similarity index 100% rename from test/validator/samples/const-tag-readonly-1/input.svelte rename to packages/svelte/test/validator/samples/const-tag-readonly-1/input.svelte diff --git a/test/validator/samples/const-tag-readonly-2/errors.json b/packages/svelte/test/validator/samples/const-tag-readonly-2/errors.json similarity index 100% rename from test/validator/samples/const-tag-readonly-2/errors.json rename to packages/svelte/test/validator/samples/const-tag-readonly-2/errors.json diff --git a/test/validator/samples/const-tag-readonly-2/input.svelte b/packages/svelte/test/validator/samples/const-tag-readonly-2/input.svelte similarity index 100% rename from test/validator/samples/const-tag-readonly-2/input.svelte rename to packages/svelte/test/validator/samples/const-tag-readonly-2/input.svelte diff --git a/test/validator/samples/contenteditable-dynamic/errors.json b/packages/svelte/test/validator/samples/contenteditable-dynamic/errors.json similarity index 100% rename from test/validator/samples/contenteditable-dynamic/errors.json rename to packages/svelte/test/validator/samples/contenteditable-dynamic/errors.json diff --git a/test/validator/samples/contenteditable-dynamic/input.svelte b/packages/svelte/test/validator/samples/contenteditable-dynamic/input.svelte similarity index 100% rename from test/validator/samples/contenteditable-dynamic/input.svelte rename to packages/svelte/test/validator/samples/contenteditable-dynamic/input.svelte diff --git a/test/validator/samples/contenteditable-missing/errors.json b/packages/svelte/test/validator/samples/contenteditable-missing/errors.json similarity index 100% rename from test/validator/samples/contenteditable-missing/errors.json rename to packages/svelte/test/validator/samples/contenteditable-missing/errors.json diff --git a/test/validator/samples/contenteditable-missing/input.svelte b/packages/svelte/test/validator/samples/contenteditable-missing/input.svelte similarity index 100% rename from test/validator/samples/contenteditable-missing/input.svelte rename to packages/svelte/test/validator/samples/contenteditable-missing/input.svelte diff --git a/test/validator/samples/css-invalid-combinator-selector-1/errors.json b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-1/errors.json similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-1/errors.json rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-1/errors.json diff --git a/test/validator/samples/css-invalid-combinator-selector-1/input.svelte b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-1/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-1/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-1/input.svelte diff --git a/test/validator/samples/css-invalid-combinator-selector-2/errors.json b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-2/errors.json similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-2/errors.json rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-2/errors.json diff --git a/test/validator/samples/css-invalid-combinator-selector-2/input.svelte b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-2/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-2/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-2/input.svelte diff --git a/test/validator/samples/css-invalid-combinator-selector-3/errors.json b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-3/errors.json similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-3/errors.json rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-3/errors.json diff --git a/test/validator/samples/css-invalid-combinator-selector-3/input.svelte b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-3/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-3/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-3/input.svelte diff --git a/test/validator/samples/css-invalid-combinator-selector-4/errors.json b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-4/errors.json similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-4/errors.json rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-4/errors.json diff --git a/test/validator/samples/css-invalid-combinator-selector-4/input.svelte b/packages/svelte/test/validator/samples/css-invalid-combinator-selector-4/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-combinator-selector-4/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-combinator-selector-4/input.svelte diff --git a/test/validator/samples/css-invalid-global-placement-2/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-placement-2/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-placement-2/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-placement-2/errors.json diff --git a/test/validator/samples/css-invalid-global-placement-2/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-placement-2/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-placement-2/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-placement-2/input.svelte diff --git a/test/validator/samples/css-invalid-global-placement-3/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-placement-3/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-placement-3/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-placement-3/errors.json diff --git a/test/validator/samples/css-invalid-global-placement-3/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-placement-3/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-placement-3/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-placement-3/input.svelte diff --git a/test/validator/samples/css-invalid-global-placement-4/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-placement-4/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-placement-4/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-placement-4/errors.json diff --git a/test/validator/samples/css-invalid-global-placement-4/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-placement-4/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-placement-4/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-placement-4/input.svelte diff --git a/test/validator/samples/css-invalid-global-placement-5/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-placement-5/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-placement-5/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-placement-5/errors.json diff --git a/test/validator/samples/css-invalid-global-placement-5/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-placement-5/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-placement-5/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-placement-5/input.svelte diff --git a/test/validator/samples/css-invalid-global-placement/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-placement/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-placement/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-placement/errors.json diff --git a/test/validator/samples/css-invalid-global-placement/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-placement/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-placement/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-placement/input.svelte diff --git a/test/validator/samples/css-invalid-global-selector-2/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-selector-2/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-selector-2/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-selector-2/errors.json diff --git a/test/validator/samples/css-invalid-global-selector-2/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-selector-2/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-selector-2/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-selector-2/input.svelte diff --git a/test/validator/samples/css-invalid-global-selector-3/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-selector-3/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-selector-3/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-selector-3/errors.json diff --git a/test/validator/samples/css-invalid-global-selector-3/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-selector-3/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-selector-3/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-selector-3/input.svelte diff --git a/test/validator/samples/css-invalid-global-selector-4/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-selector-4/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-selector-4/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-selector-4/errors.json diff --git a/test/validator/samples/css-invalid-global-selector-4/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-selector-4/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-selector-4/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-selector-4/input.svelte diff --git a/test/validator/samples/css-invalid-global-selector-5/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-selector-5/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-selector-5/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-selector-5/errors.json diff --git a/test/validator/samples/css-invalid-global-selector-5/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-selector-5/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-selector-5/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-selector-5/input.svelte diff --git a/test/validator/samples/css-invalid-global-selector-6/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-selector-6/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-selector-6/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-selector-6/errors.json diff --git a/test/validator/samples/css-invalid-global-selector-6/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-selector-6/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-selector-6/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-selector-6/input.svelte diff --git a/test/validator/samples/css-invalid-global-selector/errors.json b/packages/svelte/test/validator/samples/css-invalid-global-selector/errors.json similarity index 100% rename from test/validator/samples/css-invalid-global-selector/errors.json rename to packages/svelte/test/validator/samples/css-invalid-global-selector/errors.json diff --git a/test/validator/samples/css-invalid-global-selector/input.svelte b/packages/svelte/test/validator/samples/css-invalid-global-selector/input.svelte similarity index 100% rename from test/validator/samples/css-invalid-global-selector/input.svelte rename to packages/svelte/test/validator/samples/css-invalid-global-selector/input.svelte diff --git a/test/validator/samples/debug-invalid-args/errors.json b/packages/svelte/test/validator/samples/debug-invalid-args/errors.json similarity index 100% rename from test/validator/samples/debug-invalid-args/errors.json rename to packages/svelte/test/validator/samples/debug-invalid-args/errors.json diff --git a/test/validator/samples/debug-invalid-args/input.svelte b/packages/svelte/test/validator/samples/debug-invalid-args/input.svelte similarity index 100% rename from test/validator/samples/debug-invalid-args/input.svelte rename to packages/svelte/test/validator/samples/debug-invalid-args/input.svelte diff --git a/test/validator/samples/default-export-anonymous-class/errors.json b/packages/svelte/test/validator/samples/default-export-anonymous-class/errors.json similarity index 100% rename from test/validator/samples/default-export-anonymous-class/errors.json rename to packages/svelte/test/validator/samples/default-export-anonymous-class/errors.json diff --git a/test/validator/samples/default-export-anonymous-class/input.svelte b/packages/svelte/test/validator/samples/default-export-anonymous-class/input.svelte similarity index 100% rename from test/validator/samples/default-export-anonymous-class/input.svelte rename to packages/svelte/test/validator/samples/default-export-anonymous-class/input.svelte diff --git a/test/validator/samples/default-export-anonymous-function/errors.json b/packages/svelte/test/validator/samples/default-export-anonymous-function/errors.json similarity index 100% rename from test/validator/samples/default-export-anonymous-function/errors.json rename to packages/svelte/test/validator/samples/default-export-anonymous-function/errors.json diff --git a/test/validator/samples/default-export-anonymous-function/input.svelte b/packages/svelte/test/validator/samples/default-export-anonymous-function/input.svelte similarity index 100% rename from test/validator/samples/default-export-anonymous-function/input.svelte rename to packages/svelte/test/validator/samples/default-export-anonymous-function/input.svelte diff --git a/test/validator/samples/default-export/errors.json b/packages/svelte/test/validator/samples/default-export/errors.json similarity index 100% rename from test/validator/samples/default-export/errors.json rename to packages/svelte/test/validator/samples/default-export/errors.json diff --git a/test/validator/samples/default-export/input.svelte b/packages/svelte/test/validator/samples/default-export/input.svelte similarity index 100% rename from test/validator/samples/default-export/input.svelte rename to packages/svelte/test/validator/samples/default-export/input.svelte diff --git a/test/validator/samples/directive-non-expression/errors.json b/packages/svelte/test/validator/samples/directive-non-expression/errors.json similarity index 100% rename from test/validator/samples/directive-non-expression/errors.json rename to packages/svelte/test/validator/samples/directive-non-expression/errors.json diff --git a/test/validator/samples/directive-non-expression/input.svelte b/packages/svelte/test/validator/samples/directive-non-expression/input.svelte similarity index 100% rename from test/validator/samples/directive-non-expression/input.svelte rename to packages/svelte/test/validator/samples/directive-non-expression/input.svelte diff --git a/test/validator/samples/dollar-dollar-global-in-markup/errors.json b/packages/svelte/test/validator/samples/dollar-dollar-global-in-markup/errors.json similarity index 100% rename from test/validator/samples/dollar-dollar-global-in-markup/errors.json rename to packages/svelte/test/validator/samples/dollar-dollar-global-in-markup/errors.json diff --git a/test/validator/samples/dollar-dollar-global-in-markup/input.svelte b/packages/svelte/test/validator/samples/dollar-dollar-global-in-markup/input.svelte similarity index 100% rename from test/validator/samples/dollar-dollar-global-in-markup/input.svelte rename to packages/svelte/test/validator/samples/dollar-dollar-global-in-markup/input.svelte diff --git a/test/validator/samples/dollar-dollar-global-in-script/errors.json b/packages/svelte/test/validator/samples/dollar-dollar-global-in-script/errors.json similarity index 100% rename from test/validator/samples/dollar-dollar-global-in-script/errors.json rename to packages/svelte/test/validator/samples/dollar-dollar-global-in-script/errors.json diff --git a/test/validator/samples/dollar-dollar-global-in-script/input.svelte b/packages/svelte/test/validator/samples/dollar-dollar-global-in-script/input.svelte similarity index 100% rename from test/validator/samples/dollar-dollar-global-in-script/input.svelte rename to packages/svelte/test/validator/samples/dollar-dollar-global-in-script/input.svelte diff --git a/test/validator/samples/dollar-global-in-markup/errors.json b/packages/svelte/test/validator/samples/dollar-global-in-markup/errors.json similarity index 100% rename from test/validator/samples/dollar-global-in-markup/errors.json rename to packages/svelte/test/validator/samples/dollar-global-in-markup/errors.json diff --git a/test/validator/samples/dollar-global-in-markup/input.svelte b/packages/svelte/test/validator/samples/dollar-global-in-markup/input.svelte similarity index 100% rename from test/validator/samples/dollar-global-in-markup/input.svelte rename to packages/svelte/test/validator/samples/dollar-global-in-markup/input.svelte diff --git a/test/validator/samples/dollar-global-in-script/errors.json b/packages/svelte/test/validator/samples/dollar-global-in-script/errors.json similarity index 100% rename from test/validator/samples/dollar-global-in-script/errors.json rename to packages/svelte/test/validator/samples/dollar-global-in-script/errors.json diff --git a/test/validator/samples/dollar-global-in-script/input.svelte b/packages/svelte/test/validator/samples/dollar-global-in-script/input.svelte similarity index 100% rename from test/validator/samples/dollar-global-in-script/input.svelte rename to packages/svelte/test/validator/samples/dollar-global-in-script/input.svelte diff --git a/test/validator/samples/dynamic-element-invalid-tag/errors.json b/packages/svelte/test/validator/samples/dynamic-element-invalid-tag/errors.json similarity index 100% rename from test/validator/samples/dynamic-element-invalid-tag/errors.json rename to packages/svelte/test/validator/samples/dynamic-element-invalid-tag/errors.json diff --git a/test/validator/samples/dynamic-element-invalid-tag/input.svelte b/packages/svelte/test/validator/samples/dynamic-element-invalid-tag/input.svelte similarity index 100% rename from test/validator/samples/dynamic-element-invalid-tag/input.svelte rename to packages/svelte/test/validator/samples/dynamic-element-invalid-tag/input.svelte diff --git a/test/validator/samples/dynamic-element-missing-tag/errors.json b/packages/svelte/test/validator/samples/dynamic-element-missing-tag/errors.json similarity index 100% rename from test/validator/samples/dynamic-element-missing-tag/errors.json rename to packages/svelte/test/validator/samples/dynamic-element-missing-tag/errors.json diff --git a/test/validator/samples/dynamic-element-missing-tag/input.svelte b/packages/svelte/test/validator/samples/dynamic-element-missing-tag/input.svelte similarity index 100% rename from test/validator/samples/dynamic-element-missing-tag/input.svelte rename to packages/svelte/test/validator/samples/dynamic-element-missing-tag/input.svelte diff --git a/test/validator/samples/dynamic-element-this/errors.json b/packages/svelte/test/validator/samples/dynamic-element-this/errors.json similarity index 100% rename from test/validator/samples/dynamic-element-this/errors.json rename to packages/svelte/test/validator/samples/dynamic-element-this/errors.json diff --git a/test/validator/samples/dynamic-element-this/input.svelte b/packages/svelte/test/validator/samples/dynamic-element-this/input.svelte similarity index 100% rename from test/validator/samples/dynamic-element-this/input.svelte rename to packages/svelte/test/validator/samples/dynamic-element-this/input.svelte diff --git a/test/validator/samples/each-block-destructured-object-rest-comma-after/errors.json b/packages/svelte/test/validator/samples/each-block-destructured-object-rest-comma-after/errors.json similarity index 100% rename from test/validator/samples/each-block-destructured-object-rest-comma-after/errors.json rename to packages/svelte/test/validator/samples/each-block-destructured-object-rest-comma-after/errors.json diff --git a/test/validator/samples/each-block-destructured-object-rest-comma-after/input.svelte b/packages/svelte/test/validator/samples/each-block-destructured-object-rest-comma-after/input.svelte similarity index 100% rename from test/validator/samples/each-block-destructured-object-rest-comma-after/input.svelte rename to packages/svelte/test/validator/samples/each-block-destructured-object-rest-comma-after/input.svelte diff --git a/test/validator/samples/each-block-invalid-context-destructured-object/errors.json b/packages/svelte/test/validator/samples/each-block-invalid-context-destructured-object/errors.json similarity index 100% rename from test/validator/samples/each-block-invalid-context-destructured-object/errors.json rename to packages/svelte/test/validator/samples/each-block-invalid-context-destructured-object/errors.json diff --git a/test/validator/samples/each-block-invalid-context-destructured-object/input.svelte b/packages/svelte/test/validator/samples/each-block-invalid-context-destructured-object/input.svelte similarity index 100% rename from test/validator/samples/each-block-invalid-context-destructured-object/input.svelte rename to packages/svelte/test/validator/samples/each-block-invalid-context-destructured-object/input.svelte diff --git a/test/validator/samples/each-block-invalid-context-destructured/errors.json b/packages/svelte/test/validator/samples/each-block-invalid-context-destructured/errors.json similarity index 100% rename from test/validator/samples/each-block-invalid-context-destructured/errors.json rename to packages/svelte/test/validator/samples/each-block-invalid-context-destructured/errors.json diff --git a/test/validator/samples/each-block-invalid-context-destructured/input.svelte b/packages/svelte/test/validator/samples/each-block-invalid-context-destructured/input.svelte similarity index 100% rename from test/validator/samples/each-block-invalid-context-destructured/input.svelte rename to packages/svelte/test/validator/samples/each-block-invalid-context-destructured/input.svelte diff --git a/test/validator/samples/each-block-invalid-context/errors.json b/packages/svelte/test/validator/samples/each-block-invalid-context/errors.json similarity index 100% rename from test/validator/samples/each-block-invalid-context/errors.json rename to packages/svelte/test/validator/samples/each-block-invalid-context/errors.json diff --git a/test/validator/samples/each-block-invalid-context/input.svelte b/packages/svelte/test/validator/samples/each-block-invalid-context/input.svelte similarity index 100% rename from test/validator/samples/each-block-invalid-context/input.svelte rename to packages/svelte/test/validator/samples/each-block-invalid-context/input.svelte diff --git a/test/validator/samples/each-block-multiple-children/_config.js b/packages/svelte/test/validator/samples/each-block-multiple-children/_config.js similarity index 100% rename from test/validator/samples/each-block-multiple-children/_config.js rename to packages/svelte/test/validator/samples/each-block-multiple-children/_config.js diff --git a/test/validator/samples/each-block-multiple-children/input.svelte b/packages/svelte/test/validator/samples/each-block-multiple-children/input.svelte similarity index 100% rename from test/validator/samples/each-block-multiple-children/input.svelte rename to packages/svelte/test/validator/samples/each-block-multiple-children/input.svelte diff --git a/test/validator/samples/each-block-multiple-children/warnings.json b/packages/svelte/test/validator/samples/each-block-multiple-children/warnings.json similarity index 100% rename from test/validator/samples/each-block-multiple-children/warnings.json rename to packages/svelte/test/validator/samples/each-block-multiple-children/warnings.json diff --git a/test/validator/samples/empty-block/input.svelte b/packages/svelte/test/validator/samples/empty-block/input.svelte similarity index 100% rename from test/validator/samples/empty-block/input.svelte rename to packages/svelte/test/validator/samples/empty-block/input.svelte diff --git a/test/validator/samples/empty-block/warnings.json b/packages/svelte/test/validator/samples/empty-block/warnings.json similarity index 100% rename from test/validator/samples/empty-block/warnings.json rename to packages/svelte/test/validator/samples/empty-block/warnings.json diff --git a/test/validator/samples/error-mode-warn/input.svelte b/packages/svelte/test/validator/samples/error-mode-warn/input.svelte similarity index 100% rename from test/validator/samples/error-mode-warn/input.svelte rename to packages/svelte/test/validator/samples/error-mode-warn/input.svelte diff --git a/test/validator/samples/error-mode-warn/options.json b/packages/svelte/test/validator/samples/error-mode-warn/options.json similarity index 100% rename from test/validator/samples/error-mode-warn/options.json rename to packages/svelte/test/validator/samples/error-mode-warn/options.json diff --git a/test/validator/samples/error-mode-warn/warnings.json b/packages/svelte/test/validator/samples/error-mode-warn/warnings.json similarity index 100% rename from test/validator/samples/error-mode-warn/warnings.json rename to packages/svelte/test/validator/samples/error-mode-warn/warnings.json diff --git a/test/validator/samples/event-modifiers-invalid-nonpassive/errors.json b/packages/svelte/test/validator/samples/event-modifiers-invalid-nonpassive/errors.json similarity index 100% rename from test/validator/samples/event-modifiers-invalid-nonpassive/errors.json rename to packages/svelte/test/validator/samples/event-modifiers-invalid-nonpassive/errors.json diff --git a/test/validator/samples/event-modifiers-invalid-nonpassive/input.svelte b/packages/svelte/test/validator/samples/event-modifiers-invalid-nonpassive/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-invalid-nonpassive/input.svelte rename to packages/svelte/test/validator/samples/event-modifiers-invalid-nonpassive/input.svelte diff --git a/test/validator/samples/event-modifiers-invalid-passive/errors.json b/packages/svelte/test/validator/samples/event-modifiers-invalid-passive/errors.json similarity index 100% rename from test/validator/samples/event-modifiers-invalid-passive/errors.json rename to packages/svelte/test/validator/samples/event-modifiers-invalid-passive/errors.json diff --git a/test/validator/samples/event-modifiers-invalid-passive/input.svelte b/packages/svelte/test/validator/samples/event-modifiers-invalid-passive/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-invalid-passive/input.svelte rename to packages/svelte/test/validator/samples/event-modifiers-invalid-passive/input.svelte diff --git a/test/validator/samples/event-modifiers-invalid/errors.json b/packages/svelte/test/validator/samples/event-modifiers-invalid/errors.json similarity index 100% rename from test/validator/samples/event-modifiers-invalid/errors.json rename to packages/svelte/test/validator/samples/event-modifiers-invalid/errors.json diff --git a/test/validator/samples/event-modifiers-invalid/input.svelte b/packages/svelte/test/validator/samples/event-modifiers-invalid/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-invalid/input.svelte rename to packages/svelte/test/validator/samples/event-modifiers-invalid/input.svelte diff --git a/test/validator/samples/event-modifiers-legacy/_config.js b/packages/svelte/test/validator/samples/event-modifiers-legacy/_config.js similarity index 100% rename from test/validator/samples/event-modifiers-legacy/_config.js rename to packages/svelte/test/validator/samples/event-modifiers-legacy/_config.js diff --git a/test/validator/samples/event-modifiers-legacy/errors.json b/packages/svelte/test/validator/samples/event-modifiers-legacy/errors.json similarity index 100% rename from test/validator/samples/event-modifiers-legacy/errors.json rename to packages/svelte/test/validator/samples/event-modifiers-legacy/errors.json diff --git a/test/validator/samples/event-modifiers-legacy/input.svelte b/packages/svelte/test/validator/samples/event-modifiers-legacy/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-legacy/input.svelte rename to packages/svelte/test/validator/samples/event-modifiers-legacy/input.svelte diff --git a/test/validator/samples/event-modifiers-redundant/input.svelte b/packages/svelte/test/validator/samples/event-modifiers-redundant/input.svelte similarity index 100% rename from test/validator/samples/event-modifiers-redundant/input.svelte rename to packages/svelte/test/validator/samples/event-modifiers-redundant/input.svelte diff --git a/test/validator/samples/event-modifiers-redundant/warnings.json b/packages/svelte/test/validator/samples/event-modifiers-redundant/warnings.json similarity index 100% rename from test/validator/samples/event-modifiers-redundant/warnings.json rename to packages/svelte/test/validator/samples/event-modifiers-redundant/warnings.json diff --git a/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/_config.js b/packages/svelte/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/_config.js similarity index 100% rename from test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/_config.js rename to packages/svelte/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/_config.js diff --git a/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/input.svelte b/packages/svelte/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/input.svelte similarity index 100% rename from test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/input.svelte rename to packages/svelte/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/input.svelte diff --git a/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/warnings.json b/packages/svelte/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/warnings.json similarity index 100% rename from test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/warnings.json rename to packages/svelte/test/validator/samples/general-siblings-combinator-in-custom-element-selects-slot-fallback/warnings.json diff --git a/test/validator/samples/html-block-in-attribute/errors.json b/packages/svelte/test/validator/samples/html-block-in-attribute/errors.json similarity index 100% rename from test/validator/samples/html-block-in-attribute/errors.json rename to packages/svelte/test/validator/samples/html-block-in-attribute/errors.json diff --git a/test/validator/samples/html-block-in-attribute/input.svelte b/packages/svelte/test/validator/samples/html-block-in-attribute/input.svelte similarity index 100% rename from test/validator/samples/html-block-in-attribute/input.svelte rename to packages/svelte/test/validator/samples/html-block-in-attribute/input.svelte diff --git a/test/validator/samples/html-block-in-textarea/errors.json b/packages/svelte/test/validator/samples/html-block-in-textarea/errors.json similarity index 100% rename from test/validator/samples/html-block-in-textarea/errors.json rename to packages/svelte/test/validator/samples/html-block-in-textarea/errors.json diff --git a/test/validator/samples/html-block-in-textarea/input.svelte b/packages/svelte/test/validator/samples/html-block-in-textarea/input.svelte similarity index 100% rename from test/validator/samples/html-block-in-textarea/input.svelte rename to packages/svelte/test/validator/samples/html-block-in-textarea/input.svelte diff --git a/test/validator/samples/ignore-warning/input.svelte b/packages/svelte/test/validator/samples/ignore-warning/input.svelte similarity index 100% rename from test/validator/samples/ignore-warning/input.svelte rename to packages/svelte/test/validator/samples/ignore-warning/input.svelte diff --git a/test/validator/samples/ignore-warning/warnings.json b/packages/svelte/test/validator/samples/ignore-warning/warnings.json similarity index 100% rename from test/validator/samples/ignore-warning/warnings.json rename to packages/svelte/test/validator/samples/ignore-warning/warnings.json diff --git a/test/validator/samples/ignore-warnings-cumulative/input.svelte b/packages/svelte/test/validator/samples/ignore-warnings-cumulative/input.svelte similarity index 100% rename from test/validator/samples/ignore-warnings-cumulative/input.svelte rename to packages/svelte/test/validator/samples/ignore-warnings-cumulative/input.svelte diff --git a/test/validator/samples/ignore-warnings-cumulative/warnings.json b/packages/svelte/test/validator/samples/ignore-warnings-cumulative/warnings.json similarity index 100% rename from test/validator/samples/ignore-warnings-cumulative/warnings.json rename to packages/svelte/test/validator/samples/ignore-warnings-cumulative/warnings.json diff --git a/test/validator/samples/ignore-warnings-newline/input.svelte b/packages/svelte/test/validator/samples/ignore-warnings-newline/input.svelte similarity index 100% rename from test/validator/samples/ignore-warnings-newline/input.svelte rename to packages/svelte/test/validator/samples/ignore-warnings-newline/input.svelte diff --git a/test/validator/samples/ignore-warnings-newline/warnings.json b/packages/svelte/test/validator/samples/ignore-warnings-newline/warnings.json similarity index 100% rename from test/validator/samples/ignore-warnings-newline/warnings.json rename to packages/svelte/test/validator/samples/ignore-warnings-newline/warnings.json diff --git a/test/validator/samples/ignore-warnings-stacked/input.svelte b/packages/svelte/test/validator/samples/ignore-warnings-stacked/input.svelte similarity index 100% rename from test/validator/samples/ignore-warnings-stacked/input.svelte rename to packages/svelte/test/validator/samples/ignore-warnings-stacked/input.svelte diff --git a/test/validator/samples/ignore-warnings-stacked/warnings.json b/packages/svelte/test/validator/samples/ignore-warnings-stacked/warnings.json similarity index 100% rename from test/validator/samples/ignore-warnings-stacked/warnings.json rename to packages/svelte/test/validator/samples/ignore-warnings-stacked/warnings.json diff --git a/test/validator/samples/ignore-warnings/input.svelte b/packages/svelte/test/validator/samples/ignore-warnings/input.svelte similarity index 100% rename from test/validator/samples/ignore-warnings/input.svelte rename to packages/svelte/test/validator/samples/ignore-warnings/input.svelte diff --git a/test/validator/samples/ignore-warnings/warnings.json b/packages/svelte/test/validator/samples/ignore-warnings/warnings.json similarity index 100% rename from test/validator/samples/ignore-warnings/warnings.json rename to packages/svelte/test/validator/samples/ignore-warnings/warnings.json diff --git a/packages/svelte/test/validator/samples/illegal-attribute-character/input.svelte b/packages/svelte/test/validator/samples/illegal-attribute-character/input.svelte new file mode 100644 index 0000000000..c0ef6849a1 --- /dev/null +++ b/packages/svelte/test/validator/samples/illegal-attribute-character/input.svelte @@ -0,0 +1,15 @@ + + +