diff options
author | 2021-04-30 16:33:35 -0500 | |
---|---|---|
committer | 2021-04-30 16:33:35 -0500 | |
commit | 4df1347156cf2632ea2f3475d3a5f8f08d197cc3 (patch) | |
tree | 9d50de89dfe62827c32a8a4046120af4ab61dc0c /test/fixtures/react-component/src | |
parent | 1d498facc8f78a3ffbfecd05cc6ecd45e8a4a1ae (diff) | |
download | astro-4df1347156cf2632ea2f3475d3a5f8f08d197cc3.tar.gz astro-4df1347156cf2632ea2f3475d3a5f8f08d197cc3.tar.zst astro-4df1347156cf2632ea2f3475d3a5f8f08d197cc3.zip |
Migrate to `yarn` monorepo (#157)
* chore: use monorepo
* chore: scaffold astro-scripts
* chore: move tests inside packages/astro
* chore: refactor tests, add scripts
* chore: move parser to own module
* chore: move runtime to packages/astro
* fix: move parser to own package
* test: fix prettier-plugin-astro tests
* fix: tests
* chore: update package-lock
* chore: add changesets
* fix: cleanup examples
* fix: starter example
* chore: update changeset config
* chore: update changeset config
* chore: setup changeset release workflow
* chore: bump lockfiles
* chore: prism => astro-prism
* fix: tsc --emitDeclarationOnly
* chore: final cleanup, switch to yarn
* chore: add lerna
* chore: update workflows to yarn
* chore: update workflows
* chore: remove lint workflow
* chore: add astro-dev script
* chore: add symlinked README
Diffstat (limited to 'test/fixtures/react-component/src')
-rw-r--r-- | test/fixtures/react-component/src/components/Goodbye.vue | 11 | ||||
-rw-r--r-- | test/fixtures/react-component/src/components/Hello.jsx | 5 | ||||
-rw-r--r-- | test/fixtures/react-component/src/pages/index.astro | 14 |
3 files changed, 0 insertions, 30 deletions
diff --git a/test/fixtures/react-component/src/components/Goodbye.vue b/test/fixtures/react-component/src/components/Goodbye.vue deleted file mode 100644 index 430dfdb71..000000000 --- a/test/fixtures/react-component/src/components/Goodbye.vue +++ /dev/null @@ -1,11 +0,0 @@ -<template> - <h2 id="vue-h2">Hasta la vista, {{ name }}</h2> -</template> - -<script> -export default { - props: { - name: String, - }, -}; -</script> diff --git a/test/fixtures/react-component/src/components/Hello.jsx b/test/fixtures/react-component/src/components/Hello.jsx deleted file mode 100644 index 4b6c416a9..000000000 --- a/test/fixtures/react-component/src/components/Hello.jsx +++ /dev/null @@ -1,5 +0,0 @@ -import React from 'react'; - -export default function ({ name }) { - return <h2 id="react-h2">Hello {name}!</h2>; -} diff --git a/test/fixtures/react-component/src/pages/index.astro b/test/fixtures/react-component/src/pages/index.astro deleted file mode 100644 index 74475f34e..000000000 --- a/test/fixtures/react-component/src/pages/index.astro +++ /dev/null @@ -1,14 +0,0 @@ ---- -import Hello from '../components/Hello.jsx'; -import Later from '../components/Goodbye.vue'; // use different specifier ---- - -<html> - <head> - <!-- Head Stuff --> - </head> - <body> - <Hello name="world" /> - <Later name="baby" /> - </body> -</html> |