@davidsneighbour/postcss-config 4.0.10 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +21 -44
  3. package/package.json +18 -16
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Patrick Kollitsch / David's Neighbour
3
+ Copyright (c) 2023 Patrick Kollitsch / David's Neighbour
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
package/README.md CHANGED
@@ -1,29 +1,15 @@
1
- ## @davidsneighbour/postcss-config
2
-
3
- ### Installation
4
-
5
- Use npm to install this package as development dependency:
6
-
7
- ```shell
8
- npm install --save-dev @davidsneighbour/postcss-config
9
- ```
10
-
11
- ### Configuration
1
+ # PostCSS
12
2
 
13
3
  Create `postcss.config.js` with the following content:
14
4
 
15
5
  ```js
16
- const config = require("@davidsneighbour/postcss-config");
6
+ const config = require("@davidsneighbour/config/postcss");
17
7
  module.exports = config;
18
8
  ```
19
9
 
20
10
  [More information about PostCSS configuration](https://github.com/postcss/postcss).
21
11
 
22
- ### Configuration rules in this package
23
-
24
- To be written ...
25
-
26
- ### Note about using PostCSS in [GoHugo](https://gohugo.io)
12
+ Note about using PostCSS in [GoHugo](https://gohugo.io)
27
13
 
28
14
  GoHugo is weird, but great. To get PostCSS to work with GoHugo the `postcss-cli` package needs to be installed in the
29
15
  project itself and is not handled through this configuration. Run the following to get PostCSS working in GoHugo:
@@ -34,30 +20,21 @@ npm install --save-dev postcss-cli
34
20
 
35
21
  A global `postcss-cli` installation won't work if the plugins in this package are not installed globally as well.
36
22
 
37
- <!-- CONFIGURATIONS BEGIN -->
38
-
39
- ## davidsneighbour/configurations
40
-
41
- A collection of configurations for website development at DNB Org.
42
-
43
- <!-- prettier-ignore -->
44
- |Package | Description |
45
- | --- | --- |
46
- | [babel-config](https://github.com/davidsneighbour/configurations/tree/main/packages/babel-config) | [Babel](https://babeljs.io/) configuration |
47
- | [bootstrap-config](https://github.com/davidsneighbour/configurations/tree/main/packages/bootstrap-config) | [Bootstrap](https://getbootstrap.com/) configuration |
48
- | [browserslist-config](https://github.com/davidsneighbour/configurations/tree/main/packages/browserslist-config) | [Browserslist](https://github.com/browserslist/browserslist) configuration |
49
- | [commitlint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/commitlint-config) | [Commitlint](https://github.com/conventional-changelog/commitlint) configuration |
50
- | [cssnano-config](https://github.com/davidsneighbour/configurations/tree/main/packages/cssnano-config) | [CSSnano](https://cssnano.co/) configuration |
51
- | [cypress-config](https://github.com/davidsneighbour/configurations/tree/main/packages/cypress-config) | [Cypress](https://www.cypress.io/) configuration |
52
- | [eslint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/eslint-config) | [ESLint](https://github.com/eslint/eslint) configuration |
53
- | [htmlvalidate-config](https://github.com/davidsneighbour/configurations/tree/main/packages/htmlvalidate-config) | [HTMLValidate](https://html-validate.org/) configuration |
54
- | [postcss-config](https://github.com/davidsneighbour/configurations/tree/main/packages/postcss-config) | [PostCSS](https://postcss.org/) configuration |
55
- | [prettier-config](https://github.com/davidsneighbour/configurations/tree/main/packages/prettier-config) | [Prettier](https://prettier.io/) configuration |
56
- | [remark-config](https://github.com/davidsneighbour/configurations/tree/main/packages/remark-config) | [ReMark](https://github.com/remarkjs/remark-lint) configuration |
57
- | [standard-version-config](https://github.com/davidsneighbour/configurations/tree/main/packages/standard-version-config) | [Standard Version](https://github.com/conventional-changelog/standard-version) configuration |
58
- | [stylelint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/stylelint-config) | [StyleLint](https://github.com/stylelint/stylelint) configuration |
59
- | [textlint-config](https://github.com/davidsneighbour/configurations/tree/main/packages/textlint-config) | [TextLint](https://github.com/textlint/textlint) configuration |
60
- | [webpack-config](https://github.com/davidsneighbour/configurations/tree/main/packages/webpack-config) | [Webpack](https://webpack.js.org/) configuration |
61
- | [tools](https://github.com/davidsneighbour/configurations/tree/main/packages/tools) | Tools |
62
-
63
- <!-- CONFIGURATIONS END -->
23
+ # All configurations
24
+
25
+ - [Babel](/packages/babel-config)
26
+ - [Bootstrap](/packages/bootstrap-config)
27
+ - [Browserslist](/packages/browserslist-config)
28
+ - [Commitlint](/packages/commitlint-config)
29
+ - [CssNano](/packages/cssnano-config)
30
+ - [Cypress](/packages/cypress-config)
31
+ - [ESLint](/packages/eslint-config)
32
+ - [Markdownlint](/packages/markdownlint-config)
33
+ - [PostCSS](/packages/postcss-config)
34
+ - [Prettier](/packages/prettier-config)
35
+ - [Remark Lint](/packages/remark-config)
36
+ - [Standard Version](/packages/standard-version-config)
37
+ - [Stylelint](/packages/stylelint-config)
38
+ - [Textlint](/packages/textlint-config)
39
+ - [Tools](/packages/tools)
40
+ - [Webpack](/packages/webpack-config)
package/package.json CHANGED
@@ -1,28 +1,30 @@
1
1
  {
2
2
  "name": "@davidsneighbour/postcss-config",
3
- "version": "4.0.10",
3
+ "description": "PostCSS configuration for use in @davidsneighbour projects.",
4
+ "version": "5.0.2",
4
5
  "license": "MIT",
5
- "description": "Postcss configuration for davidsneighbour projects.",
6
+ "repository": "davidsneighbour/configurations",
6
7
  "author": {
7
8
  "name": "Patrick Kollitsch",
8
9
  "email": "patrick@davids-neighbour.com",
9
10
  "web": "https://davids-neighbour.com"
10
11
  },
11
- "repository": "git+https://github.com/davidsneighbour/configurations/",
12
- "bugs": "git+https://github.com/davidsneighbour/configurations/issues",
12
+ "bugs": "https://github.com/davidsneighbour/configurations/issues",
13
+ "homepage": "https://github.com/davidsneighbour/configurations/blob/main/docs/postcss.md",
13
14
  "dependencies": {
14
- "@fullhuman/postcss-purgecss": "^4.1.3",
15
- "autoprefixer": "^10.4.8",
16
- "cssnano": "^5.1.12",
17
- "postcss": "^8.4.14",
18
- "postcss-cli": "^10.0.0",
19
- "postcss-import": "^14.1.0",
20
- "postcss-loader": "^7.0.1",
21
- "postcss-nesting": "^10.1.10",
22
- "postcss-preset-env": "^7.7.2"
15
+ "@fullhuman/postcss-purgecss": "5.0.0",
16
+ "autoprefixer": "10.4.13",
17
+ "cssnano": "5.1.14",
18
+ "postcss": "8.4.21",
19
+ "postcss-cli": "10.1.0",
20
+ "postcss-import": "15.1.0",
21
+ "postcss-loader": "7.0.2",
22
+ "postcss-nesting": "11.0.1",
23
+ "postcss-preset-env": "8.0.1"
23
24
  },
24
- "main": "index.js",
25
25
  "scripts": {
26
- "release": "../../release"
27
- }
26
+ "fixpack": "fixpack"
27
+ },
28
+ "main": "index.js",
29
+ "gitHead": "8af7f637920a8701d198aa71ecd164fe02b1f6e7"
28
30
  }