1
0
Fork 0

chore: Add netlify.toml files for patterns

This commit is contained in:
Joost De Cock 2020-10-25 14:05:27 +01:00
parent b3c4f63523
commit e2cc955753
37 changed files with 325 additions and 1 deletions

View file

@ -0,0 +1,9 @@
[build]
base = "packages/aaron/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/albert/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/benjamin/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/bent/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/breanna/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/brian/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/bruce/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/carlita/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/carlton/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/cathrin/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/{{name}}/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/diana/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/examples/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/florence/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/florent/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/holmes/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/huey/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/hugo/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/jaeger/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/legend/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/paco/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/penelope/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/rendertest/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/sandy/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/shin/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/simon/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/simone/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/sven/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/tamiko/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/teagan/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/theo/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/titan/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/trayvon/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/tutorial/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/wahid/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -0,0 +1,9 @@
[build]
base = "packages/waralee/example
publish = "build"
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View file

@ -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))
}