You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE.md
+2-64Lines changed: 2 additions & 64 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,6 @@ For all of these steps, replace `1.0.0` with the correct version!
9
9
This assumes the following repo's are cloned and `npm` installed:
10
10
11
11
-https://github.com/pure-css/pure
12
-
-https://github.com/pure-css/pure-site
13
-
-https://github.com/pure-css/pure-release
14
-
15
-
You will also need `bower` installed globally.
16
12
17
13
## First, check everything
18
14
@@ -31,7 +27,6 @@ You will also need `bower` installed globally.
31
27
32
28
- [ ] **Review all src/.../tests/manual/ files in target environments, including:**
33
29
34
-
- [ ] IE 10
35
30
- [ ] IE 11
36
31
- [ ] Edge
37
32
- [ ] Chrome
@@ -43,7 +38,6 @@ You will also need `bower` installed globally.
43
38
44
39
- [ ] **Review pure-site in target environments with [Pure served locally](https://github.com/pure-css/pure-site/blob/master/README.md#running-with-pure-served-locally)**
45
40
46
-
- [ ] IE 10
47
41
- [ ] IE 11
48
42
- [ ] Edge
49
43
- [ ] Chrome
@@ -67,7 +61,6 @@ You will also need `bower` installed globally.
67
61
68
62
It should have already been determined whether this is a minor or patch version release. Update Pure's version number to the new version in the following places. You'll likely be dropping a "-pre" suffix which was in place during the last development cycle. Do not use a "v" in the version (e.g., 1.0.0):
69
63
70
-
- [ ] bower.json
71
64
- [ ] package.json
72
65
- [ ] HISTORY.md (Update "NEXT")
73
66
- [ ] README.md (x2 CDN URLs)
@@ -82,15 +75,6 @@ You will also need `bower` installed globally.
82
75
83
76
**Note:** If the build fails it's for a good reason, most likely because there's code which is not passing CSSLint. We should always fix these issues and never force a release.
84
77
85
-
### Pure-release repo
86
-
87
-
- [ ] **Update the pure-release repo**
88
-
89
-
This repo is used by Bower. It must be updated and released (and hence tagged).
90
-
91
-
- [ ] **Drop the Readme, History, and all build/*.css files into the pure-release repo**
92
-
- [ ] **Commit and push the changes to the pure-release repo**
93
-
- [ ] **git tag vX.X.X** and push to origin
94
78
95
79
## Publish pure to NPM
96
80
@@ -108,56 +92,10 @@ Verify via https://unpkg.com/purecss@VERSION
108
92
- [ ] **Draft a new release on [GitHub](https://github.com/pure-css/pure/releases) for all three repos,** using "v" in the version number (e.g., v1.0.0). Drafts are invisible to the public. Once these are published, the repos will be visible, and they will be tagged. **Don't publish them just yet.**
109
93
110
94
- [ ] **pure**
111
-
- [ ] **pure-release**
112
-
- [ ] **pure-site** (**Note:** pure-site has its own version number)
113
-
114
-
## Publishing the pure-site
115
-
116
-
**NOTE: The pure-site is currently hosted on Now.sh.**
117
-
118
-
Let's review where we're at:
119
-
120
-
* All the repos are checked and ready.
121
-
* The build files are on the CDN.
122
-
* We're ready to publish release notes and tag our repos by publishing the draft releases using GitHub.
123
-
* Then we'll build the pure-site and check it.
124
-
* Then we can deploy the pure-site to where the public can see it.
125
-
126
-
- [ ] **Update Pure Version in pure-css/pure-site**
127
-
128
-
Bump the version number to the new Pure version in package.json.
129
-
130
-
- [ ] **Commit those changes**
131
-
132
-
- [ ] **Publish pure-release**
133
-
134
-
From the [pure-release repo](https://github.com/pure-css/pure-release/releases), publish the release you drafted earlier. Otherwise Bower won't be able to take advantage of the version number you just updated, because pure-release won't yet have the tag.
135
-
136
-
- [ ] **Git push changes to pure-css/pure-site#master**
137
-
138
-
The local changes that were done to update the website for the release needs to be pushed back up to pure-css/pure-site#master on GitHub.com:
139
-
140
-
```
141
-
$ git push upstream master
142
-
```
143
-
144
-
- [ ] **Test pure-site on Now host**
145
-
146
-
```
147
-
$ now .
148
-
```
149
-
150
-
- [ ] **Publish pure-site release** If everything is looking good, you can publish the [release of pure-site](https://github.com/pure-css/pure-site/releases) on GitHub.
151
-
152
-
## Promote pure-site to Now alias
153
-
154
-
```
155
-
$ now alias set <new pure deployment> purecss.io
156
-
```
157
95
158
96
## Formally publish Pure
159
97
160
-
Now all our files are out there, the pure-release release is published, the pure-site release is published, and everything is looking good.
98
+
Now all our files are out there and everything is looking good.
161
99
162
100
- [ ] **Publish pure**
163
101
@@ -170,4 +108,4 @@ Now all our files are out there, the pure-release release is published, the pure
170
108
171
109
## Mark repo as pre-release
172
110
173
-
- [ ] We should mark the version number of the project (in package.json and bower.json) as 0.6.1-pre for clarity, so there's no mistaking the leading edge of the project from the last release. Commit those changes and push to master.
111
+
- [ ] We should mark the version number of the project (in package.json) as 0.6.1-pre for clarity, so there's no mistaking the leading edge of the project from the last release. Commit those changes and push to master.
Copy file name to clipboardExpand all lines: site/README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,4 +30,11 @@ This command generates static content into the `build` directory and can be serv
30
30
$ GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy
31
31
```
32
32
33
-
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
33
+
The site is hosted on [Vercel](https://vercel.com/) and will automatically deploy when commits are merged to `master`.
34
+
35
+
### Including Pure
36
+
37
+
We want to use the locally built version of Pure so that the [layout examples](https://purecss.io/layouts/) are always using the `master` version, previously they had used a hardcoded CDN link.
38
+
39
+
To get Docusaurus to register the css as `static`, they have to exist in the `static/` directory before the site is built. Therefore, we copy the Pure `build/` in manually and `.gitignore` them. Once Docusaurus builds, they resolve as proper CSS files.
0 commit comments