Skip to content

Commit 8b29263

Browse files
jonathantnealromainmenke
authored andcommitted
2.0.0
1 parent 70db2c0 commit 8b29263

18 files changed

+181
-126
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

plugins/postcss-double-position-gradients/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
dist
12
node_modules
2-
index.*.*
33
package-lock.json
44
*.log*
55
*.result.css
66
.*
77
!.editorconfig
8+
!.gitattributes
89
!.gitignore
910
!.rollup.js
1011
!.tape.js
Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
import babel from 'rollup-plugin-babel';
1+
import pkg from './package.json'
22

33
export default {
4-
input: 'index.js',
5-
output: [
6-
{ file: 'index.cjs.js', format: 'cjs', sourcemap: true },
7-
{ file: 'index.es.mjs', format: 'es', sourcemap: true }
8-
],
9-
plugins: [
10-
babel({
11-
presets: [
12-
['@babel/env', { modules: false, targets: { node: 6 } }]
13-
]
14-
})
15-
]
16-
};
4+
...pkg.rollup,
5+
plugins: pkg.rollup.plugins.map(plugin => require(plugin)()),
6+
onwarn(warning, warn) {
7+
if (warning.code !== 'UNRESOLVED_IMPORT') warn(warning)
8+
}
9+
}
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
module.exports = {
2-
'postcss-double-position-gradients': {
3-
'basic': {
4-
message: 'supports basic usage'
5-
},
6-
'basic:preserve': {
7-
message: 'supports { preserve: false } usage',
8-
options: { preserve: false }
9-
}
2+
'basic': {
3+
message: 'supports basic usage'
4+
},
5+
'basic:preserve': {
6+
message: 'supports { preserve: false } usage',
7+
options: { preserve: false }
108
}
119
};

plugins/postcss-double-position-gradients/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
language: node_js
44

55
node_js:
6-
- 6
6+
- 10
77

88
install:
99
- npm install --ignore-scripts
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changes to PostCSS Double Position Gradients
22

3+
### 2.0.0 (April 25, 2020)
4+
5+
- Updated: `postcss` to 7.0.27 (patch)
6+
- Updated: `postcss-value-parser` to 3.2.1 (major)
7+
- Updated: Support for Node 10+ (major)
8+
39
### 1.0.0 (October 28, 2018)
410

511
- Initial version

plugins/postcss-double-position-gradients/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ scope and avoid unrelated commits.
2626
cd postcss-double-position-gradients
2727

2828
# Assign the original repo to a remote called "upstream"
29-
git remote add upstream git@github.com:jonathantneal/postcss-double-position-gradients.git
29+
git remote add upstream git@github.com:csstools/postcss-double-position-gradients.git
3030

3131
# Install the tools necessary for testing
3232
npm install

plugins/postcss-double-position-gradients/INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,6 @@ grunt.initConfig({
165165
[PostCSS]: https://github.com/postcss/postcss
166166
[PostCSS CLI]: https://github.com/postcss/postcss-cli
167167
[PostCSS Loader]: https://github.com/postcss/postcss-loader
168-
[PostCSS Double Position Gradients]: https://github.com/jonathantneal/postcss-double-position-gradients
168+
[PostCSS Double Position Gradients]: https://github.com/csstools/postcss-double-position-gradients
169169
[React App Rewire PostCSS]: https://github.com/csstools/react-app-rewire-postcss
170170
[React App Rewired]: https://github.com/timarney/react-app-rewired

plugins/postcss-double-position-gradients/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# PostCSS Double Position Gradients [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss]
22

3-
[![NPM Version][npm-img]][npm-url]
4-
[![Build Status][cli-img]][cli-url]
5-
[![Support Chat][git-img]][git-url]
3+
[<img alt="NPM Version" src="https://img.shields.io/npm/v/postcss-double-position-gradients.svg" height="20">][npm-url]
4+
[<img alt="CSS Standard Status" src="https://cssdb.org/badge/double-position-gradients.svg" height="20">][css-url]
5+
[<img alt="Build Status" src="https://img.shields.io/travis/csstools/postcss-double-position-gradients/master.svg" height="20">][cli-url]
6+
[<img alt="Support Chat" src="https://img.shields.io/badge/support-chat-blue.svg" height="20">][git-url]
67

78
[PostCSS Double Position Gradients] lets you use double-position gradients in
89
CSS, following the [CSS Image Values and Replaced Content] specification.
@@ -92,13 +93,11 @@ postcssDoublePositionGradients({ preserve: false })
9293
}
9394
```
9495

95-
[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-double-position-gradients/master.svg
96-
[cli-url]: https://travis-ci.org/jonathantneal/postcss-double-position-gradients
97-
[git-img]: https://img.shields.io/badge/support-chat-blue.svg
96+
[css-url]: https://cssdb.org/#double-position-gradients
97+
[cli-url]: https://travis-ci.org/csstools/postcss-double-position-gradients
9898
[git-url]: https://gitter.im/postcss/postcss
99-
[npm-img]: https://img.shields.io/npm/v/postcss-double-position-gradients.svg
10099
[npm-url]: https://www.npmjs.com/package/postcss-double-position-gradients
101100

102101
[CSS Image Values and Replaced Content]: https://www.w3.org/TR/css-images-4/#color-stop-syntax
103102
[PostCSS]: https://github.com/postcss/postcss
104-
[PostCSS Double Position Gradients]: https://github.com/jonathantneal/postcss-double-position-gradients
103+
[PostCSS Double Position Gradients]: https://github.com/csstools/postcss-double-position-gradients

plugins/postcss-double-position-gradients/index.js

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

0 commit comments

Comments
 (0)