chore: Add netlify.toml files for patterns
This commit is contained in:
parent
b3c4f63523
commit
e2cc955753
37 changed files with 325 additions and 1 deletions
9
packages/aaron/example/netlify.toml
Normal file
9
packages/aaron/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/aaron/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/albert/example/netlify.toml
Normal file
9
packages/albert/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/albert/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/benjamin/example/netlify.toml
Normal file
9
packages/benjamin/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/benjamin/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/bent/example/netlify.toml
Normal file
9
packages/bent/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/bent/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/breanna/example/netlify.toml
Normal file
9
packages/breanna/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/breanna/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/brian/example/netlify.toml
Normal file
9
packages/brian/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/brian/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/bruce/example/netlify.toml
Normal file
9
packages/bruce/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/bruce/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/carlita/example/netlify.toml
Normal file
9
packages/carlita/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/carlita/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/carlton/example/netlify.toml
Normal file
9
packages/carlton/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/carlton/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/cathrin/example/netlify.toml
Normal file
9
packages/cathrin/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/cathrin/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/{{name}}/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/diana/example/netlify.toml
Normal file
9
packages/diana/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/diana/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/examples/example/netlify.toml
Normal file
9
packages/examples/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/examples/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/florence/example/netlify.toml
Normal file
9
packages/florence/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/florence/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/florent/example/netlify.toml
Normal file
9
packages/florent/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/florent/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/holmes/example/netlify.toml
Normal file
9
packages/holmes/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/holmes/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/huey/example/netlify.toml
Normal file
9
packages/huey/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/huey/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/hugo/example/netlify.toml
Normal file
9
packages/hugo/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/hugo/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/jaeger/example/netlify.toml
Normal file
9
packages/jaeger/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/jaeger/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/legend/example/netlify.toml
Normal file
9
packages/legend/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/legend/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/paco/example/netlify.toml
Normal file
9
packages/paco/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/paco/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/penelope/example/netlify.toml
Normal file
9
packages/penelope/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/penelope/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/rendertest/example/netlify.toml
Normal file
9
packages/rendertest/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/rendertest/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/sandy/example/netlify.toml
Normal file
9
packages/sandy/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/sandy/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/shin/example/netlify.toml
Normal file
9
packages/shin/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/shin/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/simon/example/netlify.toml
Normal file
9
packages/simon/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/simon/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/simone/example/netlify.toml
Normal file
9
packages/simone/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/simone/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/sven/example/netlify.toml
Normal file
9
packages/sven/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/sven/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/tamiko/example/netlify.toml
Normal file
9
packages/tamiko/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/tamiko/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/teagan/example/netlify.toml
Normal file
9
packages/teagan/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/teagan/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/theo/example/netlify.toml
Normal file
9
packages/theo/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/theo/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/titan/example/netlify.toml
Normal file
9
packages/titan/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/titan/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/trayvon/example/netlify.toml
Normal file
9
packages/trayvon/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/trayvon/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/tutorial/example/netlify.toml
Normal file
9
packages/tutorial/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/tutorial/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/wahid/example/netlify.toml
Normal file
9
packages/wahid/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/wahid/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
9
packages/waralee/example/netlify.toml
Normal file
9
packages/waralee/example/netlify.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
base = "packages/waralee/example
|
||||
publish = "build"
|
||||
command = "npm run build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
|
@ -428,7 +428,7 @@ function configurePatternExample(pkg, config) {
|
|||
yarn: true,
|
||||
language: 'en'
|
||||
}
|
||||
for (let file of ['package.json', 'README.md']) {
|
||||
for (let file of ['package.json', 'README.md', 'netlify.toml']) {
|
||||
let template = handlebars.compile(fs.readFileSync(path.join(source, file), 'utf-8'))
|
||||
fs.writeFileSync(path.join(dest, file), template(replace))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue