Skip to content

Commit 9fd5f2d

Browse files
authored
Merge pull request #2 from primer/react_build
Going to merge this in and open issues/pr's for follow up work!
2 parents f714dfb + 3c4088d commit 9fd5f2d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+10545
-808
lines changed

.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
plugins: [
3+
'babel-plugin-emotion'
4+
]
5+
}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
*.log
12
.DS_Store
2-
node_modules
3+
docs/
4+
node_modules/

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js:
3+
- 10
4+
5+
script:
6+
- npm run build
7+
8+
notifications:
9+
slack: github:4OisIoqZYyMlWcw3hFtZgbmh

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
# Primer.style
2-
3-
Temporary website for [Primer](http://primer.style).

autocomplete.svg

Lines changed: 0 additions & 29 deletions
This file was deleted.

code-sample.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

components.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

contributing.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ This site is built with [Primer React components][components] and [x0].
1010
To start up your local dev environment, run:
1111

1212
1. `npm install` to install all the Node dependencies
13-
2. `npm start` to start the server
13+
2. `npm run dev` to start the dev server
14+
3. `npm run build` to build the static site
15+
4. `npm start` to serve the static site
1416

1517

1618
## Deployment
@@ -21,7 +23,7 @@ This site is deployed on [Now] and mapped to the `primer.style` domain. With the
2123
* All pull requests are automatically deployed by the [Now GitHub app].
2224
* You don't have to be a member of the the Primer team to deploy this site to Now! (You just won't be able to alias your deployment to `primer.style`.)
2325

24-
2. `now alias` to alias the most recent deployment to `primer.style`.
26+
2. `now alias primer.style` to alias the most recent deployment to the [primer.style] domain. (Note: the Now app is named `primer-style` to avoid ambiguity.)
2527

2628
3. `now alias -r rules.json` to update any [path aliases](#path-aliases) configured in `rules.json`.
2729

@@ -37,4 +39,5 @@ Because of the way that Now's path alias feature works, separate apps need to be
3739
[Now GitHub app]: https://github.com/apps/now
3840
[components]: https://primer.style/components/
3941
[path alias]: https://zeit.co/docs/features/path-aliases
42+
[primer.style]: https://primer.style/
4043
[x0]: https://github.com/c8r/x0

custom.css

Lines changed: 0 additions & 77 deletions
This file was deleted.

figma-text.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)