summaryrefslogtreecommitdiff
path: root/examples/framework-react
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-08-26 12:08:52 -0700
committerGravatar GitHub <noreply@github.com> 2021-08-26 12:08:52 -0700
commitff92be637ffd9a9841b771e94d8deef1c62422cb (patch)
tree56dab4a40c432e95914eaedbf3df7d3f8175b60d /examples/framework-react
parent155676275b1c61fb37e22fb09c4967224b2c17af (diff)
downloadastro-ff92be637ffd9a9841b771e94d8deef1c62422cb.tar.gz
astro-ff92be637ffd9a9841b771e94d8deef1c62422cb.tar.zst
astro-ff92be637ffd9a9841b771e94d8deef1c62422cb.zip
add "astro preview" command (#1226)
* add "astro preview" command * Update green-buttons-reflect.md * Update cli-reference.md
Diffstat (limited to 'examples/framework-react')
-rw-r--r--examples/framework-react/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 7b49040d5..ba75403e2 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -5,7 +5,8 @@
"scripts": {
"dev": "astro dev",
"start": "astro dev",
- "build": "astro build"
+ "build": "astro build",
+ "preview": "astro preview"
},
"devDependencies": {
"astro": "^0.20.0"
91/astro/commit/packages/astro/src/vite-plugin-markdown-legacy/index.ts?h=@astrojs/prefetch@0.1.1&id=a6bb2694b4f7307844995fbb4481a40993d09a0d&follow=1'>Refactor hydration path handling (#4918)Gravatar Bjorn Lu 14-44/+137 * Refactor hydration path handling * Remove old code * Fix jsx strip * Postprocess fix * Handle jsx to tsx stuff * Skip bigint tests * Fix deno * Try fix windows * Fix windows * Add more comments 2022-10-04fix: import.meta.env.BASE_URL will be '/' in client loaded component on dev ↵Gravatar 董雨航 9-0/+82 mode (#4886) 2022-10-04fix object styles not escaped (#4887)Gravatar Calvin Liang 8-2/+71 * fix object styles not escaped * fix `shouldEscape` not passed down * add tests * fix package name * fix pnpm-lock * add changeset 2022-10-04closes #4633 (#4977)Gravatar Tony Sullivan 3-3/+11 * closes #4633 * chore: add changeset 2022-10-04[ci] update lockfile (#4946)Gravatar Fred K. Bot 1-150/+159 Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com> 2022-10-04[ci] formatGravatar matthewp 1-4/+4 2022-10-04Update config base type description (#4954)Gravatar Zihan Chen 1-1/+10 2022-10-04Support Astro.slots.render for mdx (#4973)Gravatar Bjorn Lu 8-2/+69 * Support Astro.slots.render for mdx * Remove extra imports 2022-10-03[ci] release (#4968)astro@1.4.4Gravatar Fred K. Bot 28-57/+58 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-10-03Fix regression in rendering strings (#4967)Gravatar Matthew Phillips 2-2/+9 2022-10-03[ci] formatGravatar matthewp 1-1/+2 2022-10-03Adds a better test for benchmarking (#4966)Gravatar Matthew Phillips 2-7/+77 * Rendering: speed up rendering of HTML chunks * Add a changeset * Remove the fix * remove the changeset 2022-10-03Benchmark action: provide the PR number (#4964)Gravatar Matthew Phillips 1-0/+1 * Testing benchmarking * Provide the PR number 2022-10-03Build packages in the benchmark action (#4962)Gravatar Matthew Phillips 1-0/+11 * Just a test * Run the build * Add turbo stuff 2022-10-03Run benchmarks on comment (#4960)Gravatar Matthew Phillips 2-1/+85 * Run benchmarks on !bench command * Re-enable main 2022-10-03[ci] release (#4957)astro@1.4.3@astrojs/mdx@0.11.4Gravatar Fred K. Bot 32-70/+69 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-10-03[ci] formatGravatar matthewp 5-6/+6 2022-10-03Improve rendering perf (#4956)Gravatar Matthew Phillips 8-31/+73 * Improve rendering perf * Adding a changeset * Disable eslint warning 2022-10-03Suppress eslint warnings (#4953)Gravatar Bjorn Lu 3-3/+14 2022-10-03[ci] formatGravatar bluwy 1-1/+1 2022-10-03Refactor ViteConfigWithSSR type (#4952)Gravatar Bjorn Lu 7-20/+20 2022-10-01[ci] release (#4945)@astrojs/image@0.9.11.3.0Gravatar Fred K. Bot 3-6/+7 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-09-30Astro image cache dependency fix scottaw66 (#4944)Gravatar Scott Willsey 3-3/+7 * Moves http-cache-semantics from dev dependency to dependency * Pull request for astro image http-cache-semantics dependency 2022-09-30[ci] release (#4943)astro@1.4.2Gravatar Fred K. Bot 29-60/+58 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-09-30[ci] formatGravatar natemoo-re 1-1/+1 2022-09-30Convert HTMLString to regular string, preventing hydration script fro… (#4932)Gravatar Matthew Phillips 2-1/+6 * Convert HTMLString to regular string, preventing hydration script from being missing * Add a changeset 2022-10-01Fix missing language tag on README code block (#4940)Gravatar Chris Swithinbank 1-1/+1 2022-09-30[ci] formatGravatar natemoo-re 2-2/+2 2022-09-30P5: fix MDX memory leak (#4939)Gravatar Nate Moore 10-1/+84 * fix(astro): tag jsx vnodes with renderer so errors are properly handled * chore: fix missing package in test Co-authored-by: Nate Moore <nate@astro.build> 2022-09-30chore: delete .stackblitzrc files from examples (#4922)Gravatar Nate Moore 22-132/+0 Co-authored-by: Nate Moore <nate@astro.build>