postcss-prefixwrap
Advanced tools
Comparing version 1.20.0 to 1.21.0
@@ -1,9 +0,16 @@ | ||
# [PostCSS Prefix Wrap](./README.md) / Changelog | ||
# [PostCSS Prefix Wrap](./README.md) // Changelog | ||
Releases ordered so that the most recent are displayed at the top, with the currently being developed release at the top, labeled as **In Development**. This release will be given a number once it is ready to be released. Each release can contain both a **Features and Improvements** and **Bug Fixes** sections. | ||
## [1.20.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.19.0) | ||
## [1.21.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.21.0) | ||
### Features and Improvements | ||
- Dependency Updates | ||
- Documentation Cleanup | ||
## [1.20.0](https://github.com/dbtedman/postcss-prefixwrap/releases/tag/1.20.0) | ||
### Features and Improvements | ||
- Dependency updates | ||
@@ -10,0 +17,0 @@ |
@@ -1,2 +0,2 @@ | ||
# [PostCSS Prefix Wrap](./README.md) / Contributing | ||
# [PostCSS Prefix Wrap](./README.md) // Contributing | ||
@@ -3,0 +3,0 @@ - [Thanks](#thanks) |
MIT License | ||
Copyright © 2020 [Daniel Tedman](https://danieltedman.com/my-work/postcss-prefixwrap) | ||
Copyright © 2021 [Daniel Tedman](https://danieltedman.com) | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "postcss-prefixwrap", | ||
"version": "1.20.0", | ||
"version": "1.21.0", | ||
"description": "A PostCSS plugin that is used to wrap css styles with a css selector to constrain their affect on parent elements in a page.", | ||
@@ -38,10 +38,10 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "7.12.9", | ||
"@types/jest": "26.0.16", | ||
"@types/node": "14.14.10", | ||
"@typescript-eslint/eslint-plugin": "4.9.0", | ||
"@typescript-eslint/parser": "4.9.0", | ||
"@babel/core": "7.12.10", | ||
"@types/jest": "26.0.20", | ||
"@types/node": "14.14.22", | ||
"@typescript-eslint/eslint-plugin": "4.14.2", | ||
"@typescript-eslint/parser": "4.14.2", | ||
"codecov": "3.8.1", | ||
"eslint": "7.14.0", | ||
"eslint-config-prettier": "6.15.0", | ||
"eslint": "7.19.0", | ||
"eslint-config-prettier": "7.2.0", | ||
"eslint-plugin-import": "2.22.1", | ||
@@ -51,3 +51,3 @@ "eslint-plugin-jest": "24.1.3", | ||
"eslint-plugin-security-node": "1.0.14", | ||
"husky": "4.3.0", | ||
"husky": "4.3.8", | ||
"jest": "26.6.3", | ||
@@ -57,6 +57,6 @@ "postcss": "8.1.0", | ||
"prettier": "2.2.1", | ||
"ts-jest": "26.4.4", | ||
"ts-node": "9.0.0", | ||
"typescript": "4.1.2" | ||
"ts-jest": "26.5.0", | ||
"ts-node": "9.1.1", | ||
"typescript": "4.1.3" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # [PostCSS Prefix Wrap](https://danieltedman.com/my-work/postcss-prefixwrap) | ||
[![CI Build Test](https://github.com/dbtedman/postcss-prefixwrap/workflows/build-test/badge.svg)](https://github.com/dbtedman/postcss-prefixwrap/actions?workflow=build-test) | ||
[![CI Build Test](https://github.com/dbtedman/postcss-prefixwrap/workflows/ci/badge.svg)](https://github.com/dbtedman/postcss-prefixwrap/actions?workflow=ci) | ||
[![Test Code Coverage](https://codecov.io/gh/dbtedman/postcss-prefixwrap/branch/master/graph/badge.svg)](https://codecov.io/gh/dbtedman/postcss-prefixwrap) | ||
@@ -16,3 +16,2 @@ [![Package Downloads (Weekly)](https://badgen.net/npm/dw/postcss-prefixwrap?label=downloads&style=flat)](https://www.npmjs.com/package/postcss-prefixwrap) | ||
- [Is this project secure?](#is-this-project-secure) | ||
- [How is the project structured?](#how-is-the-project-structured) | ||
- [License](#license) | ||
@@ -42,44 +41,9 @@ | ||
#### With Gulp | ||
```javascript | ||
const Gulp = require("gulp"); | ||
const PostCSS = require("gulp-postcss"); | ||
const PrefixWrap = require("postcss-prefixwrap"); | ||
Gulp.task("css", () => | ||
Gulp.src("./src/*.css") | ||
.pipe(PostCSS([PrefixWrap(".my-custom-wrap")])) | ||
.pipe(Gulp.dest("./dest")) | ||
); | ||
PostCSS([PrefixWrap(".my-custom-wrap")]); | ||
``` | ||
#### With WebPack | ||
```javascript | ||
const PrefixWrap = require("postcss-prefixwrap"); | ||
module.exports = { | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.css$/, | ||
use: [ | ||
"style-loader", | ||
{ loader: "css-loader", options: { importLoaders: 1 } }, | ||
{ | ||
loader: "postcss-loader", | ||
options: { | ||
plugins: [PrefixWrap(".my-custom-wrap")], | ||
}, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}; | ||
``` | ||
> Based on example from [https://webpack.js.org/loaders/postcss-loader/](https://webpack.js.org/loaders/postcss-loader/). | ||
### Container | ||
@@ -189,8 +153,4 @@ | ||
## How is the project structured? | ||
Read our [Architecture Document](ARCHITECTURE.md) to learn how this project is structured. | ||
## License | ||
The [MIT License](./LICENSE.md) is used by this project. |
@@ -1,2 +0,2 @@ | ||
# [PostCSS Prefix Wrap](./README.md) / Security | ||
# [PostCSS Prefix Wrap](./README.md) // Security | ||
@@ -3,0 +3,0 @@ - [Dependency Vulnerability Scanning](#dependency-vulnerability-scanning) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31530
14
153