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: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ For information on contributing, please see [Creative Commons' Contribution Guid
28
28
29
29
If you create a PR for your work, but you are not finished yet, please include `WIP:` in the beginning of your PR title. When your work on your PR is completed and you are ready for a final review, please remove the `WIP:` prefix from the title to indicate that your work is done.
30
30
31
-
Here's a [handy link](https://github.com/creativecommons/chooser/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22help+wanted%22+-label%3A%22in+progress%22) that will show you all open issues in this repo that have the `help wanted` tag, but do not have the `in progress` tag.
32
-
All issues in this list are up for grabs!
31
+
Here's a [handy link](https://github.com/creativecommons/chooser/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22help+wanted%22+-label%3A%22in+progress%22) that will show you all open issues in this repo that have the `help wanted` tag, but do not have the `in progress` tag.
32
+
All issues in this list are up for grabs!
33
33
If it says "No results matched your search", then there are no issues currently up for grabs.
34
34
35
35
*If no progress has been made on an issue for seven days after assignment, the assignment will be removed to allow others to contribute.*
@@ -42,8 +42,10 @@ $ npm run test
42
42
```
43
43
To run e2e tests, you must have Java installed. [[download Java here](https://java.com/download/)]
44
44
45
+
## CSS Build
46
+
The Chooser uses PostCSS plugin for PurgeCSS to make CSS bundle size smaller. It automatically removes unused CSS based on the classes found in the final built bundle. Some styles for dynamic components or dynamically-imported files can also be removed. If you find that the built site misses some styles, you can manually add the necessary classes or Regex expressions to the `safelist` array in the `postcss.config.js` file.
45
47
46
48
## Deployment
47
-
The chooser is deployed to GitHub Pages. The source files for the beta deployment are contained in the `./docs/` dir, and are live. Any changes to this dir's contents will be automatically deployed, so please take care when making modifications to this location.
49
+
The chooser is deployed to GitHub Pages. The source files for the beta deployment are contained in the `./docs/` dir, and are live. Any changes to this dir's contents will be automatically deployed, so please take care when making modifications to this location.
48
50
49
-
To update the dist bundle, run ```$ npm run build```, and copy the generated files from `./dist/` to `./docs/`, taking care to not delete the CNAME file in `./docs/`.
51
+
To update the dist bundle, run ```$ npm run build```. This and copy the generated files from `./dist/` to `./docs/`, taking care to not delete the CNAME file in `./docs/`.
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metahttp-equiv="X-UA-Compatible" content="IE=edge"><metaname="viewport" content="width=device-width,initial-scale=1"><metaname="description" content="Want to license your work with Creative Commons, but not sure where to start, or which license is right for you? Use our license chooser!"><linkrel="icon" href="/favicon.ico"><linkrel="icon" type="image/png" href="https://d15omoko64skxi.cloudfront.net/wp-content/uploads/2016/05/cc-site-icon-300x300.png" sizes="192x192"><linkrel="apple-touch-icon-precomposed" href="https://d15omoko64skxi.cloudfront.net/wp-content/uploads/2016/05/cc-site-icon-300x300.png"><metaname="twitter:card" content="summary"><metaname="twitter:site" content="@creativecommons"><metaname="twitter:creator" content="@creativecommons"><metaproperty="og:url" content="https://beta-chooser.creativecommons.org"><metaproperty="og:title" content="Choose a License"><metaproperty="og:type" content="website"><metaproperty="og:description" content="Want to license your work with Creative Commons, but not sure where to start, or which license is right for you? Use our license chooser!"><metaproperty="og:image" content="https://mirrors.creativecommons.org/presskit/logos/cc.logo.large.png"><metaproperty="og:locale" content="en_US"><metaproperty="og:locale:alternate" content="ru_RU"><title>Choose a License</title><linkhref="/css/app.600dc745.css" rel="preload" as="style"><linkhref="/js/app.02a91d51.js" rel="preload" as="script"><linkhref="/js/chunk-vendors.59d80c80.js" rel="preload" as="script"><linkhref="/css/app.600dc745.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but License Chooser doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><divid="app"></div><scriptsrc="/js/chunk-vendors.59d80c80.js"></script><scriptsrc="/js/app.02a91d51.js"></script></body></html>
1
+
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metahttp-equiv="X-UA-Compatible" content="IE=edge"><metaname="viewport" content="width=device-width,initial-scale=1"><metaname="description" content="Want to license your work with Creative Commons, but not sure where to start, or which license is right for you? Use our license chooser!"><linkrel="icon" href="/favicon.ico"><linkrel="icon" type="image/png" href="https://d15omoko64skxi.cloudfront.net/wp-content/uploads/2016/05/cc-site-icon-300x300.png" sizes="192x192"><linkrel="apple-touch-icon-precomposed" href="https://d15omoko64skxi.cloudfront.net/wp-content/uploads/2016/05/cc-site-icon-300x300.png"><metaname="twitter:card" content="summary"><metaname="twitter:site" content="@creativecommons"><metaname="twitter:creator" content="@creativecommons"><metaproperty="og:url" content="https://beta-chooser.creativecommons.org"><metaproperty="og:title" content="Choose a License"><metaproperty="og:type" content="website"><metaproperty="og:description" content="Want to license your work with Creative Commons, but not sure where to start, or which license is right for you? Use our license chooser!"><metaproperty="og:image" content="https://mirrors.creativecommons.org/presskit/logos/cc.logo.large.png"><metaproperty="og:locale" content="en_US"><metaproperty="og:locale:alternate" content="ru_RU"><title>Choose a License</title><linkhref="/css/app.613bf7ff.css" rel="preload" as="style"><linkhref="/js/app.2e8e2f0f.js" rel="preload" as="script"><linkhref="/js/chunk-vendors.fa662221.js" rel="preload" as="script"><linkhref="/css/app.613bf7ff.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but License Chooser doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><divid="app"></div><scriptsrc="/js/chunk-vendors.fa662221.js"></script><scriptsrc="/js/app.2e8e2f0f.js"></script></body></html>
0 commit comments