Skip to content

Commit

Permalink
add saas setting file (#11)
Browse files Browse the repository at this point in the history
* chore: open url on vercel

* chore: add netlify file

* chore: add custom header

* chore: hello wrold

* fix: npmrc

* chore: browserlistrc

* fix: readme
  • Loading branch information
sadnessOjisan authored Sep 29, 2020
1 parent 77faff1 commit 0431bf2
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
defaults
not IE 11
not IE_Mob 11
maintained node versions
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,5 @@ dist/*
.yarn/install-state.gz
.pnp.*

!.gitkeep

storybook-static
storybook-static/*
!.gitkeep
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
also=dev
save-exact=true
progress=false
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v12.18.4
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Hello World App with Enterprise Deploy Protocol

- prd: firebase
- prd: https://helloworldenterpriseedition.web.app/
- stg: https://enterprise-storybook.netlify.app/
- stg-test: https://sadnessojisan.github.io/HelloWorldEnterpriseEdition
- dev: https://enterprise-storybook.netlify.app/
Expand Down
3 changes: 3 additions & 0 deletions _headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
publish = "storybook-static"

[[plugins]]
package = "netlify-plugin-gatsby-cache"
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import { App } from "./App";
import "./style.css";

ReactDOM.render(
<App message="This is Hello World Enterprise Edition!!"></App>,
<App message="Hello World !"></App>,
document.getElementById("root")
);
Empty file added storybook-static/.gitkeep
Empty file.
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"public": true
}

1 comment on commit 0431bf2

@vercel
Copy link

@vercel vercel bot commented on 0431bf2 Sep 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.