From 025a4197c3ab0fde89c0b8654ef0bf7133e23c7d Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Wed, 30 Aug 2023 16:48:24 +0200 Subject: [PATCH 1/4] config: update config for codesandbox --- examples/basics/.codesandbox/Dockerfile | 1 + examples/basics/sandbox.config.json | 11 ----------- examples/blog/.codesandbox/Dockerfile | 1 + examples/blog/sandbox.config.json | 11 ----------- examples/deno/.codesandbox/Dockerfile | 1 + examples/deno/sandbox.config.json | 11 ----------- examples/framework-alpine/.codesandbox/Dockerfile | 1 + examples/framework-alpine/sandbox.config.json | 11 ----------- examples/framework-lit/.codesandbox/Dockerfile | 1 + examples/framework-lit/sandbox.config.json | 11 ----------- examples/framework-multiple/.codesandbox/Dockerfile | 1 + examples/framework-multiple/sandbox.config.json | 11 ----------- examples/framework-preact/.codesandbox/Dockerfile | 1 + examples/framework-preact/sandbox.config.json | 11 ----------- examples/framework-react/.codesandbox/Dockerfile | 1 + examples/framework-react/sandbox.config.json | 11 ----------- examples/framework-solid/.codesandbox/Dockerfile | 1 + examples/framework-solid/sandbox.config.json | 11 ----------- examples/framework-svelte/.codesandbox/Dockerfile | 1 + examples/framework-svelte/sandbox.config.json | 11 ----------- examples/framework-vue/.codesandbox/Dockerfile | 1 + examples/framework-vue/sandbox.config.json | 11 ----------- examples/hackernews/.codesandbox/Dockerfile | 1 + examples/hackernews/sandbox.config.json | 11 ----------- examples/minimal/.codesandbox/Dockerfile | 1 + examples/minimal/sandbox.config.json | 11 ----------- examples/non-html-pages/.codesandbox/Dockerfile | 1 + examples/non-html-pages/sandbox.config.json | 11 ----------- examples/portfolio/.codesandbox/Dockerfile | 1 + examples/portfolio/sandbox.config.json | 11 ----------- examples/ssr/.codesandbox/Dockerfile | 1 + examples/with-markdoc/.codesandbox/Dockerfile | 1 + examples/with-markdoc/sandbox.config.json | 11 ----------- .../with-markdown-plugins/.codesandbox/Dockerfile | 1 + examples/with-markdown-plugins/sandbox.config.json | 11 ----------- examples/with-markdown-shiki/.codesandbox/Dockerfile | 1 + examples/with-markdown-shiki/sandbox.config.json | 11 ----------- examples/with-mdx/.codesandbox/Dockerfile | 1 + examples/with-mdx/sandbox.config.json | 11 ----------- examples/with-nanostores/.codesandbox/Dockerfile | 1 + examples/with-nanostores/sandbox.config.json | 11 ----------- examples/with-tailwindcss/.codesandbox/Dockerfile | 1 + examples/with-tailwindcss/sandbox.config.json | 11 ----------- examples/with-vite-plugin-pwa/.codesandbox/Dockerfile | 1 + examples/with-vite-plugin-pwa/sandbox.config.json | 11 ----------- examples/with-vitest/.codesandbox/Dockerfile | 1 + examples/with-vitest/sandbox.config.json | 11 ----------- 47 files changed, 24 insertions(+), 253 deletions(-) create mode 100644 examples/basics/.codesandbox/Dockerfile delete mode 100644 examples/basics/sandbox.config.json create mode 100644 examples/blog/.codesandbox/Dockerfile delete mode 100644 examples/blog/sandbox.config.json create mode 100644 examples/deno/.codesandbox/Dockerfile delete mode 100644 examples/deno/sandbox.config.json create mode 100644 examples/framework-alpine/.codesandbox/Dockerfile delete mode 100644 examples/framework-alpine/sandbox.config.json create mode 100644 examples/framework-lit/.codesandbox/Dockerfile delete mode 100644 examples/framework-lit/sandbox.config.json create mode 100644 examples/framework-multiple/.codesandbox/Dockerfile delete mode 100644 examples/framework-multiple/sandbox.config.json create mode 100644 examples/framework-preact/.codesandbox/Dockerfile delete mode 100644 examples/framework-preact/sandbox.config.json create mode 100644 examples/framework-react/.codesandbox/Dockerfile delete mode 100644 examples/framework-react/sandbox.config.json create mode 100644 examples/framework-solid/.codesandbox/Dockerfile delete mode 100644 examples/framework-solid/sandbox.config.json create mode 100644 examples/framework-svelte/.codesandbox/Dockerfile delete mode 100644 examples/framework-svelte/sandbox.config.json create mode 100644 examples/framework-vue/.codesandbox/Dockerfile delete mode 100644 examples/framework-vue/sandbox.config.json create mode 100644 examples/hackernews/.codesandbox/Dockerfile delete mode 100644 examples/hackernews/sandbox.config.json create mode 100644 examples/minimal/.codesandbox/Dockerfile delete mode 100644 examples/minimal/sandbox.config.json create mode 100644 examples/non-html-pages/.codesandbox/Dockerfile delete mode 100644 examples/non-html-pages/sandbox.config.json create mode 100644 examples/portfolio/.codesandbox/Dockerfile delete mode 100644 examples/portfolio/sandbox.config.json create mode 100644 examples/ssr/.codesandbox/Dockerfile create mode 100644 examples/with-markdoc/.codesandbox/Dockerfile delete mode 100644 examples/with-markdoc/sandbox.config.json create mode 100644 examples/with-markdown-plugins/.codesandbox/Dockerfile delete mode 100644 examples/with-markdown-plugins/sandbox.config.json create mode 100644 examples/with-markdown-shiki/.codesandbox/Dockerfile delete mode 100644 examples/with-markdown-shiki/sandbox.config.json create mode 100644 examples/with-mdx/.codesandbox/Dockerfile delete mode 100644 examples/with-mdx/sandbox.config.json create mode 100644 examples/with-nanostores/.codesandbox/Dockerfile delete mode 100644 examples/with-nanostores/sandbox.config.json create mode 100644 examples/with-tailwindcss/.codesandbox/Dockerfile delete mode 100644 examples/with-tailwindcss/sandbox.config.json create mode 100644 examples/with-vite-plugin-pwa/.codesandbox/Dockerfile delete mode 100644 examples/with-vite-plugin-pwa/sandbox.config.json create mode 100644 examples/with-vitest/.codesandbox/Dockerfile delete mode 100644 examples/with-vitest/sandbox.config.json diff --git a/examples/basics/.codesandbox/Dockerfile b/examples/basics/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/basics/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/basics/sandbox.config.json b/examples/basics/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/basics/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/blog/.codesandbox/Dockerfile b/examples/blog/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/blog/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/blog/sandbox.config.json b/examples/blog/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/blog/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/deno/.codesandbox/Dockerfile b/examples/deno/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/deno/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/deno/sandbox.config.json b/examples/deno/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/deno/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-alpine/.codesandbox/Dockerfile b/examples/framework-alpine/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-alpine/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-alpine/sandbox.config.json b/examples/framework-alpine/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-alpine/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-lit/.codesandbox/Dockerfile b/examples/framework-lit/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-lit/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-lit/sandbox.config.json b/examples/framework-lit/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-lit/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-multiple/.codesandbox/Dockerfile b/examples/framework-multiple/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-multiple/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-multiple/sandbox.config.json b/examples/framework-multiple/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-multiple/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-preact/.codesandbox/Dockerfile b/examples/framework-preact/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-preact/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-preact/sandbox.config.json b/examples/framework-preact/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-preact/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-react/.codesandbox/Dockerfile b/examples/framework-react/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-react/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-react/sandbox.config.json b/examples/framework-react/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-react/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-solid/.codesandbox/Dockerfile b/examples/framework-solid/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-solid/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-solid/sandbox.config.json b/examples/framework-solid/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-solid/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-svelte/.codesandbox/Dockerfile b/examples/framework-svelte/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-svelte/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-svelte/sandbox.config.json b/examples/framework-svelte/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-svelte/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/framework-vue/.codesandbox/Dockerfile b/examples/framework-vue/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/framework-vue/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/framework-vue/sandbox.config.json b/examples/framework-vue/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/framework-vue/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/hackernews/.codesandbox/Dockerfile b/examples/hackernews/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/hackernews/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/hackernews/sandbox.config.json b/examples/hackernews/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/hackernews/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/minimal/.codesandbox/Dockerfile b/examples/minimal/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/minimal/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/minimal/sandbox.config.json b/examples/minimal/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/minimal/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/non-html-pages/.codesandbox/Dockerfile b/examples/non-html-pages/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/non-html-pages/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/non-html-pages/sandbox.config.json b/examples/non-html-pages/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/non-html-pages/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/portfolio/.codesandbox/Dockerfile b/examples/portfolio/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/portfolio/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/portfolio/sandbox.config.json b/examples/portfolio/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/portfolio/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/ssr/.codesandbox/Dockerfile b/examples/ssr/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/ssr/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-markdoc/.codesandbox/Dockerfile b/examples/with-markdoc/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-markdoc/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-markdoc/sandbox.config.json b/examples/with-markdoc/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-markdoc/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/with-markdown-plugins/.codesandbox/Dockerfile b/examples/with-markdown-plugins/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-markdown-plugins/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-markdown-plugins/sandbox.config.json b/examples/with-markdown-plugins/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-markdown-plugins/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/with-markdown-shiki/.codesandbox/Dockerfile b/examples/with-markdown-shiki/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-markdown-shiki/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-markdown-shiki/sandbox.config.json b/examples/with-markdown-shiki/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-markdown-shiki/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/with-mdx/.codesandbox/Dockerfile b/examples/with-mdx/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-mdx/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-mdx/sandbox.config.json b/examples/with-mdx/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-mdx/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/with-nanostores/.codesandbox/Dockerfile b/examples/with-nanostores/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-nanostores/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-nanostores/sandbox.config.json b/examples/with-nanostores/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-nanostores/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/with-tailwindcss/.codesandbox/Dockerfile b/examples/with-tailwindcss/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-tailwindcss/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-tailwindcss/sandbox.config.json b/examples/with-tailwindcss/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-tailwindcss/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/with-vite-plugin-pwa/.codesandbox/Dockerfile b/examples/with-vite-plugin-pwa/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-vite-plugin-pwa/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-vite-plugin-pwa/sandbox.config.json b/examples/with-vite-plugin-pwa/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-vite-plugin-pwa/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} diff --git a/examples/with-vitest/.codesandbox/Dockerfile b/examples/with-vitest/.codesandbox/Dockerfile new file mode 100644 index 000000000000..d4e8dce9bd43 --- /dev/null +++ b/examples/with-vitest/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:20-bullseye diff --git a/examples/with-vitest/sandbox.config.json b/examples/with-vitest/sandbox.config.json deleted file mode 100644 index 8e476b8cc75f..000000000000 --- a/examples/with-vitest/sandbox.config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "infiniteLoopProtection": true, - "hardReloadOnChange": false, - "view": "browser", - "template": "node", - "container": { - "port": 4321, - "startScript": "start", - "node": "14" - } -} From e543548d4e7c84699aa44737b7ad6099564f93e5 Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Wed, 30 Aug 2023 16:58:24 +0200 Subject: [PATCH 2/4] feat: update create-astro to remove .codesandbox folder --- packages/create-astro/src/actions/template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-astro/src/actions/template.ts b/packages/create-astro/src/actions/template.ts index 887ba69f56e9..3d3d1075d79e 100644 --- a/packages/create-astro/src/actions/template.ts +++ b/packages/create-astro/src/actions/template.ts @@ -48,7 +48,7 @@ export async function template(ctx: Pick fs.promises.readFile(file, 'utf-8').then((value) => { From 57a152b3a9e693fcae286275ee003351a84e3b7c Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Wed, 30 Aug 2023 17:08:02 +0200 Subject: [PATCH 3/4] chore: changeset --- .changeset/soft-penguins-tease.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/soft-penguins-tease.md diff --git a/.changeset/soft-penguins-tease.md b/.changeset/soft-penguins-tease.md new file mode 100644 index 000000000000..3ddc98a266d0 --- /dev/null +++ b/.changeset/soft-penguins-tease.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Correctly remove new `.codesandbox` folder when copying template From 8a4576e5d696c8af0bf4c5900f56b01fa6267d6b Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Wed, 30 Aug 2023 18:51:41 +0200 Subject: [PATCH 4/4] fix: use node18 --- examples/basics/.codesandbox/Dockerfile | 2 +- examples/blog/.codesandbox/Dockerfile | 2 +- examples/deno/.codesandbox/Dockerfile | 2 +- examples/framework-alpine/.codesandbox/Dockerfile | 2 +- examples/framework-lit/.codesandbox/Dockerfile | 2 +- examples/framework-multiple/.codesandbox/Dockerfile | 2 +- examples/framework-preact/.codesandbox/Dockerfile | 2 +- examples/framework-react/.codesandbox/Dockerfile | 2 +- examples/framework-solid/.codesandbox/Dockerfile | 2 +- examples/framework-svelte/.codesandbox/Dockerfile | 2 +- examples/framework-vue/.codesandbox/Dockerfile | 2 +- examples/hackernews/.codesandbox/Dockerfile | 2 +- examples/minimal/.codesandbox/Dockerfile | 2 +- examples/non-html-pages/.codesandbox/Dockerfile | 2 +- examples/portfolio/.codesandbox/Dockerfile | 2 +- examples/ssr/.codesandbox/Dockerfile | 2 +- examples/with-markdoc/.codesandbox/Dockerfile | 2 +- examples/with-markdown-plugins/.codesandbox/Dockerfile | 2 +- examples/with-markdown-shiki/.codesandbox/Dockerfile | 2 +- examples/with-mdx/.codesandbox/Dockerfile | 2 +- examples/with-nanostores/.codesandbox/Dockerfile | 2 +- examples/with-tailwindcss/.codesandbox/Dockerfile | 2 +- examples/with-vite-plugin-pwa/.codesandbox/Dockerfile | 2 +- examples/with-vitest/.codesandbox/Dockerfile | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/examples/basics/.codesandbox/Dockerfile b/examples/basics/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/basics/.codesandbox/Dockerfile +++ b/examples/basics/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/blog/.codesandbox/Dockerfile b/examples/blog/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/blog/.codesandbox/Dockerfile +++ b/examples/blog/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/deno/.codesandbox/Dockerfile b/examples/deno/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/deno/.codesandbox/Dockerfile +++ b/examples/deno/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-alpine/.codesandbox/Dockerfile b/examples/framework-alpine/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-alpine/.codesandbox/Dockerfile +++ b/examples/framework-alpine/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-lit/.codesandbox/Dockerfile b/examples/framework-lit/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-lit/.codesandbox/Dockerfile +++ b/examples/framework-lit/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-multiple/.codesandbox/Dockerfile b/examples/framework-multiple/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-multiple/.codesandbox/Dockerfile +++ b/examples/framework-multiple/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-preact/.codesandbox/Dockerfile b/examples/framework-preact/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-preact/.codesandbox/Dockerfile +++ b/examples/framework-preact/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-react/.codesandbox/Dockerfile b/examples/framework-react/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-react/.codesandbox/Dockerfile +++ b/examples/framework-react/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-solid/.codesandbox/Dockerfile b/examples/framework-solid/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-solid/.codesandbox/Dockerfile +++ b/examples/framework-solid/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-svelte/.codesandbox/Dockerfile b/examples/framework-svelte/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-svelte/.codesandbox/Dockerfile +++ b/examples/framework-svelte/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/framework-vue/.codesandbox/Dockerfile b/examples/framework-vue/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/framework-vue/.codesandbox/Dockerfile +++ b/examples/framework-vue/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/hackernews/.codesandbox/Dockerfile b/examples/hackernews/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/hackernews/.codesandbox/Dockerfile +++ b/examples/hackernews/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/minimal/.codesandbox/Dockerfile b/examples/minimal/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/minimal/.codesandbox/Dockerfile +++ b/examples/minimal/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/non-html-pages/.codesandbox/Dockerfile b/examples/non-html-pages/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/non-html-pages/.codesandbox/Dockerfile +++ b/examples/non-html-pages/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/portfolio/.codesandbox/Dockerfile b/examples/portfolio/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/portfolio/.codesandbox/Dockerfile +++ b/examples/portfolio/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/ssr/.codesandbox/Dockerfile b/examples/ssr/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/ssr/.codesandbox/Dockerfile +++ b/examples/ssr/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-markdoc/.codesandbox/Dockerfile b/examples/with-markdoc/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-markdoc/.codesandbox/Dockerfile +++ b/examples/with-markdoc/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-markdown-plugins/.codesandbox/Dockerfile b/examples/with-markdown-plugins/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-markdown-plugins/.codesandbox/Dockerfile +++ b/examples/with-markdown-plugins/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-markdown-shiki/.codesandbox/Dockerfile b/examples/with-markdown-shiki/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-markdown-shiki/.codesandbox/Dockerfile +++ b/examples/with-markdown-shiki/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-mdx/.codesandbox/Dockerfile b/examples/with-mdx/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-mdx/.codesandbox/Dockerfile +++ b/examples/with-mdx/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-nanostores/.codesandbox/Dockerfile b/examples/with-nanostores/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-nanostores/.codesandbox/Dockerfile +++ b/examples/with-nanostores/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-tailwindcss/.codesandbox/Dockerfile b/examples/with-tailwindcss/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-tailwindcss/.codesandbox/Dockerfile +++ b/examples/with-tailwindcss/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-vite-plugin-pwa/.codesandbox/Dockerfile b/examples/with-vite-plugin-pwa/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-vite-plugin-pwa/.codesandbox/Dockerfile +++ b/examples/with-vite-plugin-pwa/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye diff --git a/examples/with-vitest/.codesandbox/Dockerfile b/examples/with-vitest/.codesandbox/Dockerfile index d4e8dce9bd43..c3b5c81a121d 100644 --- a/examples/with-vitest/.codesandbox/Dockerfile +++ b/examples/with-vitest/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:20-bullseye +FROM node:18-bullseye