Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to monorepo using lerna.js #153

Merged
merged 1,411 commits into from
Jan 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1411 commits
Select commit Hold shift + click to select a range
24af618
v0.1.0
necolas Aug 23, 2013
5f54133
Ignore more CSS Lint rules by default
necolas Oct 17, 2013
e95d3d1
Fix the generated README's description placeholder
necolas Oct 19, 2013
8de9897
v0.1.1
necolas Oct 19, 2013
861274f
Use Component(1) for SUIT package development
necolas Nov 13, 2013
cc17d16
Add 'suit-test' to generated app dev dependencies
necolas Nov 13, 2013
97a9f53
v0.2.0
necolas Nov 13, 2013
7bee843
Remove 'testing' section of README
necolas Nov 13, 2013
de66604
Remove CSSLint tooling from modules
necolas Feb 8, 2014
df571c8
Add 'component-builder-suit' to provided tooling
necolas Feb 8, 2014
e2997f8
0.3.0
necolas Feb 8, 2014
68ed0eb
Generate latest package format
necolas Apr 5, 2014
8013152
0.4.0
necolas Apr 5, 2014
3324128
Merge pull request #7 from giuseppeg/update-modules-in-generated-pkg
necolas Sep 8, 2015
c58c828
0.5.0
necolas Sep 8, 2015
45199c2
Merge pull request #8 from suitcss/rewrite
giuseppeg Mar 25, 2016
87a3076
1.0.0
giuseppeg Mar 25, 2016
d1f4d6f
Merge pull request #10 from suitcss/fix-npm-package
giuseppeg Apr 14, 2016
d672777
1.0.1
giuseppeg Apr 14, 2016
cd8bbc3
Merge pull request #11 from suitcss/fix/repo-pkg-name
giuseppeg Jun 6, 2016
0f8ed3a
Merge pull request #12 from suitcss/fix/misc
giuseppeg Jun 7, 2016
4f8e481
1.0.2
giuseppeg Jun 7, 2016
4372032
Merge pull request #13 from briandrum/update-package
giuseppeg Oct 14, 2016
e84884f
Merge pull request #15 from briandrum/add-year-and-author-name
giuseppeg Oct 14, 2016
4da589f
0.1.1
necolas Mar 24, 2014
4e76c46
Merge pull request #2 from simonsmith/doc-update
necolas Apr 7, 2014
beba1ad
Update 'rework-suit' to 2.0.x
necolas Apr 21, 2014
ef090e7
Update autoprefixer
necolas Apr 21, 2014
4bddfbe
0.2.0
necolas Apr 21, 2014
12001d7
Add 'files' to package.json
necolas Apr 21, 2014
760a30a
Minor README change
necolas May 27, 2014
2fcc44a
Add support for configuration
necolas Jun 20, 2014
adb9355
Update preprocessing dependencies
necolas Jun 20, 2014
20d7613
Add CSS import fixtures
necolas Jun 21, 2014
602ee07
Move cli fixtures
necolas Jun 21, 2014
4ea1900
Move all CSS feature fixtures
necolas Jun 21, 2014
8c96431
Add new CLI options
necolas Jun 21, 2014
105b1f7
Update tests; add tests for new features
necolas Jun 21, 2014
3dce3d6
Update README
necolas Jun 21, 2014
2691f31
Update CHANGELOG
necolas Jun 21, 2014
633f85b
0.3.0
necolas Jun 21, 2014
10922a5
Update README
necolas Jun 24, 2014
d038640
Fix preprocessor options in test file
necolas Jun 24, 2014
035f05b
Fix README CLI docs
necolas Jul 1, 2014
e6f66d9
Update 'rework-suit' to ^4.0.0
necolas Jul 1, 2014
3bbfa53
0.4.0
necolas Jul 1, 2014
faacc7d
Merge pull request #12 from suitcss/postcss
simonsmith Nov 23, 2015
c6844f2
0.5.0
simonsmith Nov 23, 2015
0f177d8
Add note on minification
simonsmith Nov 23, 2015
5416e31
Merge pull request #14 from suitcss/fix_reporter_options
simonsmith Nov 24, 2015
640af9c
0.5.1
simonsmith Nov 24, 2015
65c1c21
Merge pull request #15 from suitcss/plugin-order
simonsmith Nov 24, 2015
9f1edba
Improve docs
simonsmith Nov 24, 2015
9dc46ba
Update packages to latest
simonsmith Nov 25, 2015
bb89be0
0.6.0
simonsmith Nov 25, 2015
520c34c
Correct JSDoc
simonsmith Nov 25, 2015
ae4e8f0
Merge pull request #16 from suitcss/before-lint
simonsmith Nov 27, 2015
5496e51
Use `safe` option in cssnano
simonsmith Nov 27, 2015
d277f2e
Flatten options object
simonsmith Nov 27, 2015
2f7f228
Documentation updates
simonsmith Nov 27, 2015
7ed024b
Add additional test to ensure merged options are passed to beforeLint
simonsmith Nov 27, 2015
5ec9cc1
Remove unused npm package
simonsmith Nov 27, 2015
2db6eb0
0.7.0
simonsmith Nov 27, 2015
667711c
Merge pull request #18 from suitcss/stylelint
simonsmith Nov 29, 2015
4b5c786
Fix default lint option
simonsmith Nov 29, 2015
e9fa437
Merge pull request #19 from suitcss/eslint
simonsmith Dec 2, 2015
8c342d3
Update package.json dependencies
simonsmith Dec 2, 2015
f1cb8f7
0.8.0
simonsmith Dec 2, 2015
5bd5f1e
Update documentation around .stylelintrc usage
simonsmith Dec 2, 2015
bb81f8a
Update README
simonsmith Dec 2, 2015
fd79bac
Use `stylelint-config-suitcss` as a dev dependency
simonsmith Dec 2, 2015
100b2cb
Merge pull request #20 from akrawchyk/readme-link-fix
giuseppeg Dec 4, 2015
17e6912
Upgrade stylelint to 3.0.3
simonsmith Dec 11, 2015
ea243ca
Fix ESLint conformance
simonsmith Dec 11, 2015
d56abd6
Revert "Upgrade stylelint to 3.0.3"
simonsmith Dec 11, 2015
3e8b914
Merge pull request #23 from suitcss/postcss-options
giuseppeg Jan 31, 2016
d2b6051
Merge pull request #24 from suitcss/improve-tests
simonsmith Feb 5, 2016
0f5064e
Update stylelint-config URL
simonsmith Feb 5, 2016
925602e
Upgrade eslint-config-airbnb to latest
simonsmith Feb 5, 2016
29a8562
Merge pull request #25 from suitcss/upgrade-stylelint
giuseppeg Feb 8, 2016
ce88a02
1.0.0
simonsmith Feb 8, 2016
b757cab
Merge pull request #26 from suitcss/appveyor
simonsmith Feb 14, 2016
aac8d9d
Fix issue with transform Promise not being resolved
simonsmith Feb 16, 2016
e13a964
Update comment
simonsmith Feb 16, 2016
2bab338
Increase test timeout for AppVeyor
simonsmith Feb 17, 2016
6f70e40
Code formatting
simonsmith Feb 17, 2016
556909d
1.0.1
simonsmith Feb 17, 2016
73b94e8
Update stylelint and stylelint-config-suitcss to latest
simonsmith Mar 17, 2016
61d635d
1.0.2
simonsmith Mar 17, 2016
ac589ba
Merge pull request #29 from suitcss/postcss-easy-import
giuseppeg Apr 12, 2016
9fee70d
2.0.0
simonsmith Apr 12, 2016
339053f
Merge pull request #32 from suitcss/stylelint7
giuseppeg Sep 20, 2016
0b0ca7d
Merge pull request #37 from suitcss/local-suit-config
simonsmith Sep 21, 2016
b295c69
Add default browsers list for autoprefixer (#38)
giuseppeg Sep 21, 2016
23af21d
Merge pull request #40 from suitcss/beforelint-refactor
simonsmith Sep 22, 2016
0b378b8
Merge pull request #42 from suitcss/transform-and-onimport
simonsmith Sep 23, 2016
b04abc5
Add debug option (#46)
giuseppeg Sep 24, 2016
e25b7b4
Add postcss-color-function and postcss-apply (#47)
simonsmith Sep 25, 2016
ce91188
Merge pull request #49 from suitcss/lint-on-default
giuseppeg Sep 26, 2016
835a41a
Merge pull request #50 from suitcss/add-throw-error-flag
giuseppeg Sep 26, 2016
42fae0a
Merge pull request #51 from suitcss/lint-main-file
simonsmith Sep 27, 2016
cadbead
Merge pull request #52 from suitcss/test-refactor
simonsmith Sep 27, 2016
4152ae6
Merge pull request #55 from suitcss/cli-options-override
giuseppeg Oct 17, 2016
73ada31
Merge pull request #53 from suitcss/styles-isolation
simonsmith Oct 19, 2016
0ce4981
Add note about disabling stylelint on empty rules
simonsmith Oct 19, 2016
bf820ac
Fix README typo
simonsmith Oct 19, 2016
5f7cd7f
Merge pull request #56 from suitcss/fix-merging-use
giuseppeg Oct 20, 2016
4710d02
Update CHANGELOG
giuseppeg Oct 20, 2016
38c7b1e
3.0.0
giuseppeg Oct 20, 2016
1ad59e2
Merge pull request #57 from suitcss/doc-update
simonsmith Oct 20, 2016
65a13f0
Update encapsulation fixture (#61)
simonsmith Nov 12, 2016
76bacdb
Bump reporter version to 2 (#63)
danalloway Nov 13, 2016
5624a35
Fix undefined cli flags override config
giuseppeg Nov 15, 2016
48221cf
Allow config file to be arbitrarily named (#66)
casio Nov 30, 2016
fb1f152
Update CHANGELOG.md
giuseppeg Nov 30, 2016
d5ea9d3
Disable postcss-bem-linter when lint is set to false (#68)
simonsmith Dec 1, 2016
be98715
Allow --importRoot to override root config option (#70)
simonsmith Dec 9, 2016
44ce2ed
3.0.1
simonsmith Dec 9, 2016
fe210cf
Merge pull request #74 from suitcss/update-packages
simonsmith Mar 8, 2017
53780ee
Merge pull request #78 from suitcss/node-4
simonsmith Apr 16, 2017
0d62fc0
Update dependencies
simonsmith Apr 16, 2017
20886a3
Merge pull request #79 from suitcss/upgrade-easy-import
simonsmith Apr 18, 2017
a3e21bf
Update CHANGELOG
simonsmith Apr 18, 2017
b31cb99
4.0.0
simonsmith Apr 18, 2017
6fbb28c
Initial commit
jeddy3 Jun 28, 2015
cbfb997
Init
Jun 28, 2015
ef8a629
Add appveyor solution file
Jun 28, 2015
2c9aa50
Remove postinstall script
Jun 28, 2015
2616935
Fix package name
Jun 28, 2015
5893a15
Expand usage instructions
Jun 28, 2015
8d996d6
Clean up examples
Jun 29, 2015
71dce5e
Correct package keyword
Jun 29, 2015
c74847c
Use modules.export
Jun 29, 2015
226dd3c
Use stylelint 0.1.0
Jul 9, 2015
b3ffe58
Merge branch 'master' of github.com:stylelint/stylelint-config-suitcss
Jul 9, 2015
c2d482f
Readd install instructions
Jul 9, 2015
f426e28
Consistent language
Jul 9, 2015
edbafb3
Update deps
Jul 17, 2015
9b74e44
Add color-hex-* rules
Jul 17, 2015
4414b99
Added new rules to changelog
Jul 17, 2015
a6db751
0.2.0 release
Jul 17, 2015
418d637
2.0.1 release
Jul 17, 2015
a3b92df
Use hyphen in keywords
Jul 18, 2015
b97ef92
Add nesting-block-* rules.
Jul 22, 2015
b0c22e4
Update deps
Jul 22, 2015
82ee690
0.3.0 release
Jul 22, 2015
55dc077
Add shorthand-overrides rule
Jul 30, 2015
9107921
Use stylelint 0.5.0
Jul 30, 2015
7b68846
Add new rule to changelog
Jul 30, 2015
a4b3e3d
0.4.0 release
Jul 30, 2015
942d14f
Remove unneeded file exclusions
Aug 3, 2015
dfdfb78
Use eslint 1.0.0 and eslint-config-stylelint
Aug 4, 2015
3f796bb
Fix single-line closing brace whitespace rules
jeddy3 Sep 10, 2015
60871b9
Add whitespace fix to changelog
jeddy3 Sep 10, 2015
8774ca7
Bump deps
jeddy3 Sep 10, 2015
d9c0ba1
Release 0.5.0
jeddy3 Sep 10, 2015
7747ad9
Fix changelog rule
jeddy3 Sep 10, 2015
a57debd
Fix typo
jeddy3 Sep 10, 2015
99056df
Tweak readme
jeddy3 Sep 10, 2015
5339f51
Tweak read examples
jeddy3 Sep 10, 2015
5d4f8be
Bump deps
jeddy3 Oct 16, 2015
ada1d6d
Show new extends usage
jeddy3 Oct 16, 2015
9463b8e
Fix punctuation
jeddy3 Oct 16, 2015
54bf925
Add node v4 to CI
jeddy3 Oct 16, 2015
91cd992
Update changelog
jeddy3 Oct 16, 2015
61262a1
Prepare 0.5.1
jeddy3 Oct 16, 2015
45981cd
Use standalone JS API for tests
jeddy3 Oct 18, 2015
ed6db56
Add node 5 to CI
jeddy3 Nov 10, 2015
a49e9f0
Update deps
jeddy3 Nov 10, 2015
2992abb
Incorporate latest stylelint rules
jeddy3 Nov 10, 2015
0c0b6cc
Prepare 1.0.0
jeddy3 Nov 15, 2015
4966413
Move eslint config into package.json
jeddy3 Nov 16, 2015
f054da4
Merge pull request #1 from simonsmith/patch-1
jeddy3 Nov 30, 2015
54018f1
Use stylelint appveyor account
jeddy3 Nov 30, 2015
0c11263
Use stylelint 3.0
jeddy3 Dec 11, 2015
7e1f409
Prepare 2.0.0
jeddy3 Dec 11, 2015
2005e51
Use null to disable rule
jeddy3 Dec 11, 2015
1079017
Use ava for tests
jeddy3 Jan 20, 2016
fe09f61
Add release npm script
jeddy3 Jan 20, 2016
3c7cd9f
Use stylelint 4.0.0
jeddy3 Jan 20, 2016
50aebf8
Add max-line-length rule
jeddy3 Jan 20, 2016
bd18fa1
Add dangling comma
jeddy3 Jan 20, 2016
d20adb7
Tweak test descriptions
jeddy3 Jan 20, 2016
1083f07
Prepare 3.0.0
jeddy3 Jan 20, 2016
671a9b4
Fix conflicts
jeddy3 Jan 20, 2016
369dad4
Return in tests
jeddy3 Jan 20, 2016
939ca2c
Tweak appveyor settings
jeddy3 Jan 20, 2016
89196f5
Remove unneeded catches
jeddy3 Jan 25, 2016
ac0a65b
Only test on stable
jeddy3 Jan 27, 2016
952a50e
Use pretest
jeddy3 Jan 27, 2016
c7762da
Alter rule-nested-empty-line-before
simonsmith Feb 11, 2016
e1f8eb7
Update test fixture
simonsmith Feb 12, 2016
ca6494e
Update travis badge
simonsmith Feb 12, 2016
2a864a9
Merge pull request #8 from ntwb/patch-1
simonsmith Feb 12, 2016
77df51a
Merge pull request #10 from ntwb/patch-2
simonsmith Feb 12, 2016
e098585
Update AppVeyor badge
simonsmith Feb 12, 2016
a3bb033
4.0.0
simonsmith Feb 12, 2016
9b6b8a4
Merge pull request #15 from ntwb/stylelint5
simonsmith Mar 17, 2016
785a237
Merge pull request #16 from ntwb/peerdeps
simonsmith Mar 17, 2016
db48709
Merge pull request #12 from ntwb/ava-devdep-update
simonsmith Mar 17, 2016
0cb7f0e
Merge branch 'eslint2' of https://github.com/ntwb/stylelint-config-su…
simonsmith Mar 17, 2016
56178c0
Prepare 5.0.0
simonsmith Mar 17, 2016
c0b98ac
Update stylelint to ^6.0.0
simonsmith Apr 25, 2016
5e467e1
6.0.0
simonsmith Apr 26, 2016
c882f1e
function-url-quotes double -> always (#19)
andykog Jun 15, 2016
6aa7396
Update deprecated number-zero-length-no-unit (#20)
anglepoised Jun 15, 2016
140e1c2
Update to stylelint ^6.6.0
jeddy3 Jun 15, 2016
9d59d86
Make changelog formatting consistent
jeddy3 Jun 15, 2016
e49811f
Prepare 7.0.0
jeddy3 Jun 15, 2016
3a75172
Update to stylelint 7 (#23)
jeddy3 Jul 14, 2016
2d33d43
Prepare 8.0.0
jeddy3 Jul 14, 2016
e6cb210
Update to [email protected] (#26)
jeddy3 Feb 13, 2017
f7f01ad
Prepare 9.0.0
jeddy3 Feb 13, 2017
6fa41a9
Merge pull request #27 from suitcss/add-stylelint-suitcss
simonsmith Mar 5, 2017
6da7ab7
10.0.0
simonsmith Mar 5, 2017
384ccef
Update stylelint-order. (#29)
satazor Apr 7, 2017
f02bdfd
Prepare 11.0.0
jeddy3 Apr 7, 2017
955d34c
Update stylelint to ^8.0.0 (#31)
elyseholladay Sep 22, 2017
fc14f92
Prepare 12.0.0
jeddy3 Sep 22, 2017
831893c
Updating stylelint-suitcss and stylelint-order (#33)
vidhem Jan 12, 2018
3417b84
Update CHANGELOG
jeddy3 Jan 12, 2018
03ecf69
Prepare 13.0.0
jeddy3 Jan 12, 2018
23197cb
Update stylelint to v9 (#34)
satazor Feb 25, 2018
2a0d689
Switch to yarn
simonsmith Feb 25, 2018
30e6fd1
14.0.0
simonsmith Feb 25, 2018
c48fbeb
Initial commit
simonsmith Mar 1, 2017
5685a04
Add plugin files
simonsmith Mar 1, 2017
c01a158
Add lint to test script
simonsmith Mar 1, 2017
575011f
Fix ESLint failure
simonsmith Mar 1, 2017
c958cdf
Update README
simonsmith Mar 1, 2017
328b95b
Update package.json
simonsmith Mar 1, 2017
6ac0b6f
Add CHANGELOG
simonsmith Mar 1, 2017
b9a246b
1.0.0
simonsmith Mar 1, 2017
619a73f
Merge pull request #2 from vidhem/master
simonsmith Jan 10, 2018
4cc7315
Update yarn.lock
simonsmith Jan 10, 2018
c4ed67f
2.0.0
simonsmith Jan 10, 2018
43f8bf3
Merge pull request #3 from satazor/update-stylelint
simonsmith Feb 24, 2018
c797b2e
Remove .nvmrc Rely on Travis to test older versions
simonsmith Feb 24, 2018
6bebbd7
3.0.0
simonsmith Feb 24, 2018
7b71bac
Upgrade mocha, remove pre publish audit
mlnmln Jan 2, 2019
afa4279
Bootstrap all packages
mlnmln Jan 2, 2019
fbde917
Remove package-lock for components grid
mlnmln Jan 2, 2019
afda66d
Point repository uris to monorepo
mlnmln Jan 2, 2019
73a946d
Point bugtracker uri to monorepo
mlnmln Jan 2, 2019
a11ffe8
Point homepage uris to monorepo
mlnmln Jan 2, 2019
767a412
Don't ignore components folder (conflicts with lerna version)
mlnmln Jan 2, 2019
a798a81
Move suit to its own package
mlnmln Jan 10, 2019
a7470d9
Bootstrap packages
mlnmln Jan 10, 2019
ec4525b
Update links to packages
mlnmln Jan 10, 2019
67e1469
Duplicate readme
mlnmln Jan 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
bower_components
build
components
Copy link
Member

Choose a reason for hiding this comment

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

you didn't remove this from other packages. Should we do for all of them or for none?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lerna version was (wrongfully?) complaining that some packages would be under gitignore, e.g. components-button. It think it would be safe to remove it from all packages. component itself is deprecated for more than 3 years now.

node_modules
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Style tools for component-based UI development.
SUIT CSS provides a reliable and testable styling solution for component-based
web application development. The project includes:

* [CSS base styles](https://github.com/suitcss/base) for web apps.
* [CSS utilities](https://github.com/suitcss/utils).
* [CSS components](https://github.com/suitcss/components).
* A [future-facing CSS preprocessor](https://github.com/suitcss/preprocessor)
* [CSS base styles](https://github.com/suitcss/suit/tree/master/packages/base) for web apps.
* [CSS utilities](https://github.com/suitcss/suit/tree/master/packages/utils).
* [CSS components](https://github.com/suitcss/suit/tree/master/packages/components).
* A [future-facing CSS preprocessor](https://github.com/suitcss/suit/tree/master/packages/preprocessor)

Each of these modules are made up of smaller modules, making it easy to customize
your setup and build pipeline.
Expand Down Expand Up @@ -65,7 +65,7 @@ Now run `npm run build` on the command line to output the built packages to
`build/build.css`. The preprocessor can also watch for file changes by passing
the `-w` flag e.g. `npm run build -- -w`.

Refer to the [SUIT theme](https://github.com/suitcss/theme) for a more thorough
Refer to the [SUIT theme](https://github.com/suitcss/suit/tree/master/packages/theme) for a more thorough
example.

## Community Packages
Expand Down Expand Up @@ -153,14 +153,14 @@ them, however, you can install all the CSS packages at once if you prefer:
Each package is stand-alone, contains its own documentation and tests, and is
written to follow a common set of [naming conventions](doc/naming-conventions.md).

* [base](https://github.com/suitcss/base/): a thin reset for web apps, built on top of normalize.css.
* [utils](https://github.com/suitcss/utils/): all the utility packages.
* [components-arrange](https://github.com/suitcss/components-arrange/): flexbox-like horizontal arrangements.
* [components-button](https://github.com/suitcss/components-button/): robust, structural button styles.
* [components-flex-embed](https://github.com/suitcss/components-flex-embed/): aspect-ratios for embeds.
* [components-grid](https://github.com/suitcss/components-grid/): a grid foundation.
* [components-test](https://github.com/suitcss/components-test/): structure for visual tests.
* [theme](https://github.com/suitcss/theme/): example theme.
* [base](https://github.com/suitcss/suit/tree/master/packages/base/): a thin reset for web apps, built on top of normalize.css.
* [utils](https://github.com/suitcss/suit/tree/master/packages/utils/): all the utility packages.
* [components-arrange](https://github.com/suitcss/suit/tree/master/packages/components-arrange/): flexbox-like horizontal arrangements.
* [components-button](https://github.com/suitcss/suit/tree/master/packages/components-button/): robust, structural button styles.
* [components-flex-embed](https://github.com/suitcss/suit/tree/master/packages/components-flex-embed/): aspect-ratios for embeds.
* [components-grid](https://github.com/suitcss/suit/tree/master/packages/components-grid/): a grid foundation.
* [components-test](https://github.com/suitcss/suit/tree/master/packages/components-test/): structure for visual tests.
* [theme](https://github.com/suitcss/suit/tree/master/packages/theme/): example theme.

You can also download pre-built bundles to try things out without setting up a
build process:
Expand All @@ -172,7 +172,7 @@ build process:

## Build and test tools

The [suitcss-preprocessor](https://github.com/suitcss/preprocessor) runs CSS
The [suitcss-preprocessor](https://github.com/suitcss/suit/tree/master/packages/preprocessor) runs CSS
through a build pipeline. It performs per-file tests for conformance to the
SUIT CSS naming conventions, offers minification and allows additional PostCSS
plugins to be added. A CLI and Node API are available
Expand Down
7 changes: 7 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"packages": [
"packages/*"
],
"npmClient": "yarn",
"version": "independent"
}
33 changes: 4 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,8 @@
{
"name": "suitcss",
"version": "3.0.0",
"description": "CSS base styles, utilities, and structural components for web apps",
"style": "index.css",
"files": [
"index.css"
],
"dependencies": {
"suitcss-base": "^3.0.0",
"suitcss-components": "^2.0.0",
"suitcss-utils": "^3.0.0"
},
"name": "suit",
"private": true,
"devDependencies": {
"suitcss-preprocessor": "^4.0.0"
},
"scripts": {
"build": "npm run setup && npm run preprocess",
"preprocess": "suitcss index.css build/build.css",
"setup": "npm install"
},
"repository": {
"type": "git",
"url": "git://github.com/suitcss/suit.git"
"lerna": "^3.4.3"
},
"keywords": [
"browser",
"css-components",
"css-utilities",
"suitcss",
"style"
]
"license": "MIT"
}
4 changes: 4 additions & 0 deletions packages/base/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bower_components
build
components
node_modules
4 changes: 4 additions & 0 deletions packages/base/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
Copy link
Member

Choose a reason for hiding this comment

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

I think that with the monorepo now we need a centralized .travis.yml config and maybe even a centralized test runner

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, but I would track that in a separate issue.

Copy link
Member

Choose a reason for hiding this comment

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

yep makes sense, thanks!

sudo: false
node_js:
Copy link
Member

Choose a reason for hiding this comment

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

we should normalize this field too. I'd pick node 8 and 10, 6 is going out the LTS maintenance in April.

- "stable"
80 changes: 80 additions & 0 deletions packages/base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
### HEAD

### 5.0.0 (October 8th, 2018)

* Update normalize.css to `^8.0.0`.
* Remove `tabindex=-1` ruleset.

### 4.0.0 (September 25th, 2017)

* Update normalize.css to `^7.0.0`.

### 3.0.0 (April 28th, 2017)

* Update normalize.css to `^6.0.0`.
* Add reset rules removed from normalize.css.

### 2.0.0 (April 11, 2016)

* Update normalize.css to `^4.0.0`.
* Update stylelint-config-suitcss to `^5.0.0`.

### 1.0.2 (February 28, 2016)

* Update preprocessor to `^1.0.1`.
* Fix `max-line-length` error with stylelint.

### 1.0.1 (October 31, 2015)

* Revert removal of `component.json`.

### 1.0.0 (October 25, 2015)

* Use `box-sizing: border-box;` as a default.
* Remove `bower.json` and `component.json`.

### 0.8.0 (October 28, 2014)

* Add support for JS bundling.
* Remove typography and link color configuration.

### 0.7.0 (June 26, 2014)

* Change variable names.
* Add `.css` extension to imports for interoperability.

### 0.6.0 (June 21, 2014)

* Support npm-based workflow.
* Add preprocessor build tools.
* Work around a Firefox/IE bug that removes `button` focus styles.

### 0.5.0 (May 20, 2014)

* Update to use latest variable syntax.
* Reset default 'button' styles.

### 0.4.0 (March 27, 2014)

* Add npm support.
* Add SUIT-style Component(1) build pipeline.
* Depend on normalize.css 3.0.x.
* Introduce base theme variables for `html` and `a`.
* Remove default `figure` margin.

### 0.3.0 (November 20, 2013)

* Add `!important` to the `tabindex=-1` styles.
* Update Bower ignores.
* Add 'suit-test' as a development dependency.
* Use Component(1) for development.
* Add CSS linting and configuration.

### 0.2.0 (August 25, 2013)

* Remove focus outline from elements removed from the keyboard tab flow.
* Remove default border from iframes.

### 0.1.0 (June 1, 2013)

* Initial release.
File renamed without changes.
50 changes: 50 additions & 0 deletions packages/base/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# SUIT CSS base

[![Build Status](https://travis-ci.org/suitcss/base.svg?branch=master)](https://travis-ci.org/suitcss/base)

Base styles for web applications. Provides a thin layer on top of
[Normalize.css](https://github.com/necolas/normalize.css).

Read more about how to use [SUIT CSS](https://github.com/suitcss/suit/).

## Installation

* [npm](http://npmjs.org/): `npm install suitcss-base`
* [Component(1)](http://github.com/component/component): `component install suitcss/base`
Copy link
Member

Choose a reason for hiding this comment

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

will this keep working?

Copy link
Contributor Author

@mlnmln mlnmln Jan 7, 2019

Choose a reason for hiding this comment

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

It's not even working right now. :)

mlnmln@localhost ~/d/component> component install suitcss/base

   installed : suitcss/[email protected] in 2099ms

       fatal : no remote found for dependency "necolas/[email protected]". Visit http://component.github.io/troubleshooting for help.

having said that. for as long as we keep the original repo and archive it, . component installation should still work.

* [Download](https://github.com/suitcss/base/releases)
Copy link
Member

Choose a reason for hiding this comment

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

probably we should remove these download links

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed.


## Testing

Install [Node](http://nodejs.org) (comes with npm).

```
npm install
```

To generate a build:

```
npm run build
```

To lint code with [postcss-bem-linter](https://github.com/postcss/postcss-bem-linter) and [stylelint](http://stylelint.io/)

```
npm run lint
```

To generate the testing build.

```
npm run build-test
```

Basic visual tests are in `test/index.html`.

## Browser support

* Google Chrome
* Firefox
* Safari
* Opera
* Internet Explorer 9+
11 changes: 11 additions & 0 deletions packages/base/component.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "suitcss-base",
"repo": "suitcss/base",
"version": "3.0.0",
"styles": ["lib/base.css"],
"dependencies": {
"necolas/normalize.css": "6.0.0"
},
"author": "Nicolas Gallagher",
"license": "MIT"
}
2 changes: 2 additions & 0 deletions packages/base/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "normalize.css";
@import "./lib/base.css";
2 changes: 2 additions & 0 deletions packages/base/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require('normalize.css/normalize.css');
require('./lib/base.css');
73 changes: 73 additions & 0 deletions packages/base/lib/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/**
* A thin layer on top of normalize.css that provides a starting point more
* suitable for web applications.
*/

/**
* 1. Prevent padding and border from affecting element width
* https://goo.gl/pYtbK7.
* 2. Change the default font family in all browsers (opinionated).
*/

html {
box-sizing: border-box; /* 1 */
font-family: sans-serif; /* 2 */
}

*,
*::before,
*::after {
box-sizing: inherit;
}

/**
* Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
p,
pre {
margin: 0;
}

button {
background: transparent;
border: 0;
padding: 0;
}

/**
* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
*/

button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
border: 0;
margin: 0;
padding: 0;
}

iframe {
border: 0;
}

ol,
ul {
list-style: none;
margin: 0;
padding: 0;
}
41 changes: 41 additions & 0 deletions packages/base/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "suitcss-base",
"version": "5.0.0",
"description": "CSS base styles",
"keywords": [
"base",
"browser",
"css",
"normalize-css",
"suitcss",
"style"
],
"homepage": "https://github.com/suitcss/suit/tree/master/packages/base",
"bugs": "https://github.com/suitcss/suit/labels/bug",
"license": "MIT",
"author": "Nicolas Gallagher",
"files": [
"index.css",
"index.js",
"lib"
],
"style": "index.css",
"repository": "https://github.com/suitcss/suit/tree/master/packages/base",
"scripts": {
"build": "npm run setup && npm run preprocess",
"build-test": "npm run setup && npm run preprocess-test",
"lint": "suitcss -e index.css build/lint.css && rm build/lint.css",
"preprocess": "suitcss index.css build/build.css",
"preprocess-test": "suitcss -i test test/test.css build/test.css",
"setup": "npm install",
"watch": "npm run preprocess-test -- -w -v",
"test": "npm run lint"
},
"dependencies": {
"normalize.css": "^8.0.0"
},
"devDependencies": {
"suitcss-components-test": "*",
"suitcss-preprocessor": "^4.0.0"
}
}
Loading