mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-11 15:57:04 +02:00
modified
This commit is contained in:
-42
@@ -1,42 +0,0 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [3.0.0](https://github.com/postcss-modules-local-by-default/compare/v3.0.0-rc.3...v3.0.0) - 2020-10-13
|
||||
|
||||
### Fixes
|
||||
|
||||
- compatibility with plugins other plugins
|
||||
|
||||
## [3.0.0-rc.3](https://github.com/postcss-modules-local-by-default/compare/v3.0.0-rc.2...v3.0.0-rc.3) - 2020-10-11
|
||||
|
||||
### Fixes
|
||||
|
||||
- broken release
|
||||
|
||||
## [3.0.0-rc.2](https://github.com/postcss-modules-local-by-default/compare/v3.0.0-rc.1...v3.0.0-rc.2) - 2020-10-08
|
||||
|
||||
### BREAKING CHANGE
|
||||
|
||||
- minimum supported `postcss` version is `^8.1.0`
|
||||
|
||||
### Fixes
|
||||
|
||||
- minimum supported `Node.js` version is `^10 || ^12 || >= 14`
|
||||
- compatibility with other plugins
|
||||
- compatibility with PostCSS 8
|
||||
|
||||
## [3.0.0-rc.1](https://github.com/postcss-modules-local-by-default/compare/v3.0.0-rc.0...v3.0.0-rc.1) - 2020-09-18
|
||||
|
||||
### Fixes
|
||||
|
||||
- avoid using `postcss` directly for new rules and decls
|
||||
|
||||
## [3.0.0-rc.0](https://github.com/postcss-modules-local-by-default/compare/2.0.0...v3.0.0-rc.0) - 2020-09-18
|
||||
|
||||
### BREAKING CHANGE
|
||||
|
||||
- minimum supported `Node.js` version is `>= 10.13.0 || >= 12.13.0 || >= 14`
|
||||
- minimum supported `postcss` version is `^8.0.3`
|
||||
- `postcss` was moved to `peerDependencies`, you need to install `postcss` in your project before use the plugin
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
Copyright 2015 Glen Maddern
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
-76
@@ -1,76 +0,0 @@
|
||||
# CSS Modules: Extract Imports
|
||||
|
||||
[](https://travis-ci.org/css-modules/postcss-modules-extract-imports)
|
||||
|
||||
Transforms:
|
||||
|
||||
```css
|
||||
:local(.continueButton) {
|
||||
composes: button from "library/button.css";
|
||||
color: green;
|
||||
}
|
||||
```
|
||||
|
||||
into:
|
||||
|
||||
```css
|
||||
:import("library/button.css") {
|
||||
button: __tmp_487387465fczSDGHSABb;
|
||||
}
|
||||
:local(.continueButton) {
|
||||
composes: __tmp_487387465fczSDGHSABb;
|
||||
color: green;
|
||||
}
|
||||
```
|
||||
|
||||
## Specification
|
||||
|
||||
- Only a certain whitelist of properties are inspected. Currently, that whitelist is `['composes']` alone.
|
||||
- An extend-import has the following format:
|
||||
|
||||
```
|
||||
composes: className [... className] from "path/to/file.css";
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
- `failOnWrongOrder` `bool` generates exception for unpredictable imports order.
|
||||
|
||||
```css
|
||||
.aa {
|
||||
composes: b from "./b.css";
|
||||
composes: c from "./c.css";
|
||||
}
|
||||
|
||||
.bb {
|
||||
/* "b.css" should be before "c.css" in this case */
|
||||
composes: c from "./c.css";
|
||||
composes: b from "./b.css";
|
||||
}
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
```
|
||||
npm install
|
||||
npm test
|
||||
```
|
||||
|
||||
[](https://travis-ci.org/css-modules/postcss-modules-extract-imports)
|
||||
|
||||
- Lines: [](https://coveralls.io/r/css-modules/postcss-modules-extract-imports?branch=master)
|
||||
- Statements: [](http://codecov.io/github/css-modules/postcss-modules-extract-imports?branch=master)
|
||||
|
||||
## License
|
||||
|
||||
ISC
|
||||
|
||||
## With thanks
|
||||
|
||||
- Mark Dalgleish
|
||||
- Tobias Koppers
|
||||
- Guy Bedford
|
||||
|
||||
---
|
||||
|
||||
Glen Maddern, 2015.
|
||||
-51
@@ -1,51 +0,0 @@
|
||||
{
|
||||
"name": "postcss-modules-extract-imports",
|
||||
"version": "3.0.0",
|
||||
"description": "A CSS Modules transform to extract local aliases for inline imports",
|
||||
"main": "src/index.js",
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || >= 14"
|
||||
},
|
||||
"files": [
|
||||
"src"
|
||||
],
|
||||
"scripts": {
|
||||
"prettier": "prettier -l --ignore-path .gitignore . \"!test/test-cases\"",
|
||||
"eslint": "eslint --ignore-path .gitignore .",
|
||||
"lint": "yarn eslint && yarn prettier",
|
||||
"test:only": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage --collectCoverageFrom=\"src/**/*\"",
|
||||
"pretest": "yarn lint",
|
||||
"test": "yarn test:coverage",
|
||||
"prepublishOnly": "yarn test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/css-modules/postcss-modules-extract-imports.git"
|
||||
},
|
||||
"keywords": [
|
||||
"css-modules",
|
||||
"postcss",
|
||||
"plugin"
|
||||
],
|
||||
"author": "Glen Maddern",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/css-modules/postcss-modules-extract-imports/issues"
|
||||
},
|
||||
"homepage": "https://github.com/css-modules/postcss-modules-extract-imports",
|
||||
"devDependencies": {
|
||||
"coveralls": "^3.1.0",
|
||||
"eslint": "^7.10.0",
|
||||
"eslint-config-prettier": "^6.12.0",
|
||||
"husky": "^4.3.0",
|
||||
"jest": "^26.5.2",
|
||||
"lint-staged": "^10.4.0",
|
||||
"postcss": "^8.1.1",
|
||||
"prettier": "^2.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.1.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user