From 8b54242a466e3c90ac1266f71f3ce69188760074 Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Date: Fri, 5 Nov 2021 12:41:37 -0300 Subject: [PATCH] Adding CodeSandbox config file to all the "next" examples (#1744) * Create sandbox.config.json specifying port 3000 * Update sandbox.config.json * Create sandbox.config.json for blog example * Create sandbox.config.json for multiple authors blog * added sandbox config to portfolios * [ci] yarn format * added sandbox.config.json to more frameworks examples * [ci] yarn format Co-authored-by: sarah11918 --- examples/blog-multiple-authors/sandbox.config.json | 11 +++++++++++ examples/blog/sandbox.config.json | 11 +++++++++++ examples/docs/sandbox.config.json | 11 +++++++++++ examples/framework-lit/sandbox.config.json | 11 +++++++++++ examples/framework-multiple/sandbox.config.json | 11 +++++++++++ examples/framework-preact/sandbox.config.json | 11 +++++++++++ examples/framework-react/sandbox.config.json | 11 +++++++++++ examples/framework-solid/sandbox.config.json | 11 +++++++++++ examples/framework-svelte/sandbox.config.json | 11 +++++++++++ examples/framework-vue/sandbox.config.json | 11 +++++++++++ examples/minimal/sandbox.config.json | 11 +++++++++++ examples/portfolio-svelte/sandbox.config.json | 11 +++++++++++ examples/portfolio/sandbox.config.json | 11 +++++++++++ examples/with-markdown-plugins/sandbox.config.json | 11 +++++++++++ examples/with-markdown/sandbox.config.json | 11 +++++++++++ examples/with-nanostores/sandbox.config.json | 11 +++++++++++ examples/with-tailwindcss/sandbox.config.json | 11 +++++++++++ 17 files changed, 187 insertions(+) create mode 100644 examples/blog-multiple-authors/sandbox.config.json create mode 100644 examples/blog/sandbox.config.json create mode 100644 examples/docs/sandbox.config.json create mode 100644 examples/framework-lit/sandbox.config.json create mode 100644 examples/framework-multiple/sandbox.config.json create mode 100644 examples/framework-preact/sandbox.config.json create mode 100644 examples/framework-react/sandbox.config.json create mode 100644 examples/framework-solid/sandbox.config.json create mode 100644 examples/framework-svelte/sandbox.config.json create mode 100644 examples/framework-vue/sandbox.config.json create mode 100644 examples/minimal/sandbox.config.json create mode 100644 examples/portfolio-svelte/sandbox.config.json create mode 100644 examples/portfolio/sandbox.config.json create mode 100644 examples/with-markdown-plugins/sandbox.config.json create mode 100644 examples/with-markdown/sandbox.config.json create mode 100644 examples/with-nanostores/sandbox.config.json create mode 100644 examples/with-tailwindcss/sandbox.config.json diff --git a/examples/blog-multiple-authors/sandbox.config.json b/examples/blog-multiple-authors/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/blog-multiple-authors/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/blog/sandbox.config.json b/examples/blog/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/blog/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/docs/sandbox.config.json b/examples/docs/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/docs/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/framework-lit/sandbox.config.json b/examples/framework-lit/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/framework-lit/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/framework-multiple/sandbox.config.json b/examples/framework-multiple/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/framework-multiple/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/framework-preact/sandbox.config.json b/examples/framework-preact/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/framework-preact/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/framework-react/sandbox.config.json b/examples/framework-react/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/framework-react/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/framework-solid/sandbox.config.json b/examples/framework-solid/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/framework-solid/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/framework-svelte/sandbox.config.json b/examples/framework-svelte/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/framework-svelte/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/framework-vue/sandbox.config.json b/examples/framework-vue/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/framework-vue/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/minimal/sandbox.config.json b/examples/minimal/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/minimal/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/portfolio-svelte/sandbox.config.json b/examples/portfolio-svelte/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/portfolio-svelte/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/portfolio/sandbox.config.json b/examples/portfolio/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/portfolio/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/with-markdown-plugins/sandbox.config.json b/examples/with-markdown-plugins/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/with-markdown-plugins/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/with-markdown/sandbox.config.json b/examples/with-markdown/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/with-markdown/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/with-nanostores/sandbox.config.json b/examples/with-nanostores/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/with-nanostores/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +} diff --git a/examples/with-tailwindcss/sandbox.config.json b/examples/with-tailwindcss/sandbox.config.json new file mode 100644 index 0000000000..9178af77d7 --- /dev/null +++ b/examples/with-tailwindcss/sandbox.config.json @@ -0,0 +1,11 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser", + "template": "node", + "container": { + "port": 3000, + "startScript": "start", + "node": "14" + } +}