Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit c83d39a

Browse files
committed
cssnext -> postcss-cssnext
1 parent 84faf94 commit c83d39a

File tree

14 files changed

+250
-451
lines changed

14 files changed

+250
-451
lines changed

CHANGELOG.md

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
# 2.3.0 - 2015-12-16
22

33
- Added: we use latest version of pixrem(@^3)
4-
([19](https://github.com/cssnext/postcss-cssnext/pull/19))
4+
([6d44410](https://github.com/MoOx/postcss-cssnext/commit/6d4441023f30895211f010776b142d02359f4d0a))
55
So now `rem` have
66
[2 new parameters](https://github.com/robwierzbowski/node-pixrem#options):
77
- ``rootValue`` to define the root element font-size manually
88
- ``unitPrecision`` for rounded values
99

10-
1110
# 2.2.0 - 2015-10-21
1211

1312
- Added: [postcss-nesting](https://github.com/jonathantneal/postcss-nesting)
14-
([#14](https://github.com/cssnext/postcss-cssnext/issues/14)).
13+
([b31f167](https://github.com/MoOx/postcss-cssnext/commit/b31f167d7659a18a14fce65a7a94da07560e6a59)).
1514
Supports nesting via the `@nest` syntax. See postcss-nesting documentation.
1615

1716
# 2.1.0 - 2015-09-16
1817

1918
- Added: [postcss-initial](https://github.com/maximkoretskiy/postcss-initial)
20-
([#12](https://github.com/cssnext/postcss-cssnext/issues/12)).
19+
([a907881](https://github.com/MoOx/postcss-cssnext/commit/a90788153801a3f898f6cc1ade189d4de2af3367)).
2120
Supports `initial` value for all properties. Also it supports `all: initial`.
2221
_Does not support `all: unset` and `all: inherit`._
2322
Plugin can be useful for creating isolated components.
@@ -29,25 +28,28 @@ Plugin can be useful for creating isolated components.
2928
# 2.0.1 - 2015-09-14
3029

3130
- Fixed: plugin can be consumed correctly from es5 environment
32-
([#11](https://github.com/cssnext/postcss-cssnext/issues/11))
31+
([7d6d3c0](https://github.com/MoOx/postcss-cssnext/commit/7d6d3c018d8ca17091d4cfe3d5d61e246ad8775d)).
3332

3433
# 2.0.0 - 2015-09-14
3534

3635
- Added: support for PostCSS v5.x
3736
- Removed: support for PostCSS v4.x
37+
([b5ece99...8907c13](https://github.com/MoOx/postcss-cssnext/compare/b5ece99c1e1b5e4cdfd6c25f856946bbcbc2247c...8907c13d31662a2cb393edb0387144dfbba81659)).
3838

3939
---
4040

4141
**pre 2.0.0 information was related to `cssnext` package.**
4242

43+
---
44+
4345
# 1.8.4 - 2015-08-24
4446

4547
- Fixed: `compress` option now works again correctly. A recent update in cssnano
4648
has introduced some minor breaking changes the way cssnext changed plugins
4749
metadata (`pluginName`).
4850
A direct minor change is that `messages` (in console or in css output) now show
4951
real origin (postcss plugin name) instead of a vague "cssnext" origin.
50-
([#195](https://github.com/cssnext/cssnext/issues/195))
52+
([#195](https://github.com/MoOx/postcss-cssnext/issues/195))
5153

5254
# 1.8.3 - 2015-08-06
5355

@@ -57,28 +59,28 @@ severals fixes.
5759
# 1.8.2 - 2015-07-23
5860

5961
- Fixed: CLI watcher now works watchs correctl multiples `@import`
60-
([#123](https://github.com/cssnext/cssnext/issues/123))
62+
([#123](https://github.com/MoOx/postcss-cssnext/issues/123))
6163

6264
# 1.8.1 - 2015-07-15
6365

6466
- Added: cssnext now throw an error if used as a webpack loader to prevent
6567
unexpected usage with a recommendation for
66-
[cssnext-loader](https://github.com/cssnext/cssnext-loader)
67-
([#61](https://github.com/cssnext/cssnext/issues/61))
68+
[cssnext-loader](https://github.com/MoOx/postcss-cssnext-loader)
69+
([#61](https://github.com/MoOx/postcss-cssnext/issues/61))
6870

6971
# 1.8.0 - 2015-06-29
7072

7173
- Fixed: replacement of `postcss-log-warnings` (deprecated) by
7274
`postcss-reporter`
73-
([#162](https://github.com/cssnext/cssnext/issues/162))
75+
([#162](https://github.com/MoOx/postcss-cssnext/issues/162))
7476
- Fixed: CLI now add `to` option automatically
75-
([#159](https://github.com/cssnext/cssnext/issues/159))
77+
([#159](https://github.com/MoOx/postcss-cssnext/issues/159))
7678
If you were happy with the previous CLI behavior (which was not rebasing url),
7779
you should probably just add the `--no-url` to keep the CSS as it was.
7880
- Changed: `compress` option now use cssnano v2.x
79-
([#166](https://github.com/cssnext/cssnext/issues/166))
81+
([#166](https://github.com/MoOx/postcss-cssnext/issues/166))
8082
- Added: CLI output file dirname is now automatically created (using `mkdirp`)
81-
([#146](https://github.com/cssnext/cssnext/issues/146))
83+
([#146](https://github.com/MoOx/postcss-cssnext/issues/146))
8284

8385
# 1.7.1 - 2015-06-19
8486

@@ -94,28 +96,28 @@ Now you must use `@custom-selector :--{name}` syntax instead of
9496
`@custom-selector --{name}`
9597
The support of syntax without : and the warning message will be remove in the
9698
next major release
97-
([#97](https://github.com/cssnext/cssnext/issues/97))
99+
([#97](https://github.com/MoOx/postcss-cssnext/issues/97))
98100
- Added: `plugins` option that allows you to pipe your own transformations
99-
([#118](https://github.com/cssnext/cssnext/issues/118))
101+
([#118](https://github.com/MoOx/postcss-cssnext/issues/118))
100102
- Added: `messages` option that allows you to see messages of transformations
101-
([#88](https://github.com/cssnext/cssnext/issues/88))
103+
([#88](https://github.com/MoOx/postcss-cssnext/issues/88))
102104
- Added: `:any-link` pseudo class support
103105

104106
# 1.6.0 - 2015-06-02
105107

106108
- Added: prevent mutability issues with frozen options objects
107-
([#147](https://github.com/cssnext/cssnext/pull/147))
109+
([#147](https://github.com/MoOx/postcss-cssnext/pull/147))
108110

109111
# 1.5.2 - 2015-05-27
110112

111113
- Fixed: support for autoprefixer 5.2
112-
([#131](https://github.com/cssnext/cssnext/issues/131))
114+
([#131](https://github.com/MoOx/postcss-cssnext/issues/131))
113115

114116
# 1.5.1 - 2015-05-25
115117

116118
- Fixed: when printing a bug report in CLI, url was not printed, due to a
117119
replacement of colors lib by chalk in 1.5.0
118-
([#129](https://github.com/cssnext/cssnext/pull/129))
120+
([#129](https://github.com/MoOx/postcss-cssnext/pull/129))
119121

120122
# 1.5.0 - 2015-05-23
121123

@@ -163,7 +165,7 @@ files anymore
163165
# 1.0.1 - 2015-02-18
164166

165167
- Fixed: cssnext binary doesn't exit on an error if --watch is enabled
166-
([#69](https://github.com/cssnext/cssnext/pull/69))
168+
([#69](https://github.com/MoOx/postcss-cssnext/pull/69))
167169

168170
# 1.0.0 - 2015-02-06
169171

@@ -204,7 +206,7 @@ autoprefixer
204206
# 0.6.6 - 2014-12-22
205207

206208
- Fixed: `Cannot find module 'exit'` error when an error came out
207-
([#54](https://github.com/cssnext/cssnext/issues/54))
209+
([#54](https://github.com/MoOx/postcss-cssnext/issues/54))
208210

209211
# 0.6.5 - 2014-12-16
210212

@@ -258,7 +260,7 @@ v3.0.0 have by default `{inline: true, sourceContent: true}`
258260
# 0.4.3 - 2014-11-09
259261

260262
- Added: font-variant support
261-
([#42](https://github.com/cssnext/cssnext/issues/42))
263+
([#42](https://github.com/MoOx/postcss-cssnext/issues/42))
262264

263265
# 0.4.2 - 2014-11-02
264266

@@ -267,17 +269,17 @@ v3.0.0 have by default `{inline: true, sourceContent: true}`
267269
- Added: echo a warning when using a non root custom properties
268270
([#13](https://github.com/postcss/postcss-custom-properties/issues/13))
269271
- Added: cssnext can return a postcss instance of no string given
270-
([#3](https://github.com/cssnext/cssnext/issues/3))
272+
([#3](https://github.com/MoOx/postcss-cssnext/issues/3))
271273

272274
# 0.4.1 - 2014-11-01
273275

274276
- Added: gray() support
275-
([#44](https://github.com/cssnext/cssnext/issues/44))
277+
([#44](https://github.com/MoOx/postcss-cssnext/issues/44))
276278

277279
# 0.4.0 - 2014-10-23
278280

279281
- Changed: color feature has been exploded to multiples features
280-
([#40](https://github.com/cssnext/cssnext/issues/40)).
282+
([#40](https://github.com/MoOx/postcss-cssnext/issues/40)).
281283

282284
Before
283285

@@ -313,7 +315,7 @@ var output = cssnext(input, {
313315

314316
- Changed: cssnext options are not passed to all plugins anymore. You know need
315317
to specify feature options by passing object to `features` properties
316-
([#39](https://github.com/cssnext/cssnext/issues/39)).
318+
([#39](https://github.com/MoOx/postcss-cssnext/issues/39)).
317319

318320
Before
319321

@@ -348,7 +350,7 @@ This change have been made to avoid collision between options
348350
# 0.3.1 - 2014-08-27
349351

350352
- Fixed: nested custom properties usages
351-
([#25](https://github.com/cssnext/cssnext/issues/25))
353+
([#25](https://github.com/MoOx/postcss-cssnext/issues/25))
352354

353355
# 0.3.0 - 2014-08-26
354356

@@ -358,7 +360,7 @@ This change have been made to avoid collision between options
358360
# 0.2.3 - 2014-08-26
359361

360362
- Fixed: support empty files
361-
([#24](https://github.com/cssnext/cssnext/issues/24))
363+
([#24](https://github.com/MoOx/postcss-cssnext/issues/24))
362364

363365
# 0.2.2 - 2014-08-22
364366

README.md

Lines changed: 6 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,32 @@
11
# postcss-cssnext
22

33
[![NPM version](http://img.shields.io/npm/v/postcss-cssnext.svg?style=flat)](https://www.npmjs.org/package/postcss-cssnext)
4-
[![Travis Build Status](https://img.shields.io/travis/cssnext/postcss-cssnext.svg?label=unix%20build)](https://travis-ci.org/cssnext/postcss-cssnext)
4+
[![Travis Build Status](https://img.shields.io/travis/MoOx/postcss-cssnext.svg?label=unix%20build)](https://travis-ci.org/cssnext/postcss-cssnext)
55
[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/MoOx/postcss-cssnext.svg?label=windows%20build)](https://ci.appveyor.com/project/MoOx/postcss-cssnext)
6-
[![Join the chat at https://gitter.im/cssnext/cssnext](https://img.shields.io/badge/gitter%20-join%20chat%20%E2%9E%9E-1dce73.svg)](https://gitter.im/cssnext/cssnext)
6+
[![Join the chat at https://gitter.im/MoOx/postcss-cssnext](https://img.shields.io/badge/gitter%20-join%20chat%20%E2%9E%9E-1dce73.svg)](https://gitter.im/MoOx/postcss-cssnext)
77

88

99
> Use tomorrow’s CSS syntax, today.
1010
11-
cssnext is a CSS transpiler that allows you to use the latest CSS syntax today.
11+
PostCSS-cssnext is a PostCSS plugin that helps you to use the latest CSS syntax today.
1212
It transforms CSS specs into more compatible CSS so you don’t need to wait for browser support.
1313

1414
---
1515

16-
# This repository contains the PostCSS plugin.
17-
18-
## Why **postcss-cssnext** ? What is the difference with **cssnext** ?
19-
20-
### Short answer
21-
22-
If you're using PostCSS in your build process, and want to add cssnext, you need only `postcss-cssnext`
23-
(check the "options" section here below).
24-
Otherwise, if you like cssnext to work as a full standalone package with its own cli
25-
(independently of PostCSS), use `cssnext`.
26-
27-
### More details
28-
29-
cssnext was at first designed to be a complete tool, before PostCSS became
30-
popular; thus, includes some options that don't really belong in a PostCSS
31-
plugin (e.g., `import`, `url`, `compress`, `plugins`).
32-
These days, most people use PostCSS directly so we decided to make integration of
33-
cssnext more simple by providing a simple (real) plugin.
34-
35-
### Options
36-
37-
If you were using cssnext with some options here is what you need to know:
38-
39-
- `import`: just add into your plugins list
40-
[`postcss-import`](https://github.com/postcss/postcss-import)
41-
- `url`: just add into your plugins list
42-
[`postcss-url`](https://github.com/postcss/postcss-url)
43-
- `compress`: just add into your plugins list
44-
[`cssnano`](https://github.com/ben-eb/cssnano)
45-
- `plugins`: just add the plugins directly in your list
46-
- `messages`: see
47-
[`postcss-reporter`](https://github.com/postcss/postcss-reporter)
48-
and
49-
[`postcss-browser-reporter`](https://github.com/postcss/postcss-browser-reporter)
50-
- `sourcemap`, `map`, `to`, `from`: see
51-
[PostCSS source map documentation](https://github.com/postcss/postcss#source-map)
52-
53-
54-
## But I like cssnext as it was !
55-
56-
We plan to offer a simple migration by making postcss better.
57-
Please track this issue https://github.com/cssnext/cssnext/issues/208
58-
59-
---
60-
6116
## Check out [cssnext website](http://cssnext.io/)
6217

6318
- [Features](http://cssnext.io/features/)
6419
- [Setup](http://cssnext.io/setup/)
6520
- [Usage](http://cssnext.io/usage/)
6621
- [Playground](http://cssnext.io/playground/)
22+
- [Migration to postcss-cssnext](http://cssnext.io/postcss/)
6723

6824
For questions and support please visit the
69-
[gitter room](https://gitter.im/cssnext/cssnext).
25+
[gitter room](https://gitter.im/MoOx/postcss-cssnext).
7026

7127
---
7228

73-
_The [issue tracker](https://github.com/cssnext/cssnext/issues) is exclusively for bug reports and feature requests._
29+
_The [issue tracker](https://github.com/MoOx/postcss-cssnext/issues) is exclusively for bug reports and feature requests._
7430

7531
---
7632

docs/content/features.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: cssnext features
2+
title: postcss-cssnext features
33
subtitle: Discover the future of CSS
44

55
backgroundModifier: darkRoad
@@ -337,30 +337,13 @@ body {
337337
_Note that according to your [browser scope](#nodejs-options) some might be not
338338
transpiled to avoid extra useless output._
339339

340-
## Bonus features
341-
342-
_The features below are considered as bonus since it's totally not
343-
related to CSS specs._
344-
345-
### `@import`
346-
347-
`@import` inline local files and modules - `node_modules` or `web_modules`
348-
([](https://github.com/postcss/postcss-import)) to output a bundled CSS file.
349-
`url()` referenced are also rebased.
350-
351-
### minification
352-
353-
minification/compression is available ([](https://github.com/ben-eb/cssnano))
354-
if you want to compress the output for production.
355-
356-
357340
## @todo
358341

359342
Any omissions of the CSS specifications (even in draft) that are subject to be
360343
handled by cssnext are not intentional.
361-
You can take a look at the [list of features that are waiting to be implemented](https://github.com/cssnext/cssnext/issues?q=is%3Aopen+is%3Aissue+label%3A%22type%3A+feature+request%22).
344+
You can take a look at the [list of features that are waiting to be implemented](https://github.com/MoOx/postcss-cssnext/issues?q=is%3Aopen+is%3Aissue+label%3A%22type%3A+feature+request%22).
362345
Feel free to work on a feature ready to be added, or
363-
[open a new issue](https://github.com/cssnext/cssnext/issues/new)
346+
[open a new issue](https://github.com/MoOx/postcss-cssnext/issues/new)
364347
if you find something that should be handled.
365348
Keep in mind that, as of right now, this project is intended to support new CSS
366349
*syntax* only.

0 commit comments

Comments
 (0)