Skip to content

CSS Blank Pseudo #486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
WIP
  • Loading branch information
Antonio-Laguna committed Jun 18, 2022
commit 8d8cacfabdcf059788efb1e0a7d64c92723e6dc1
11 changes: 1 addition & 10 deletions plugins/css-blank-pseudo/.gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
node_modules
dist
package-lock.json
yarn.lock
browser.js
!src/browser.js
browser-legacy.js
*.log*
*.result.css
*.result.css.map
!.editorconfig
!.gitignore
!.rollup.js
!.tape.js
!.travis.yml
dist/*
24 changes: 24 additions & 0 deletions plugins/css-blank-pseudo/.tape.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,28 @@ postcssTape(plugin)({
preserve: false
}
},
'examples/example': {
message: 'minimal example',
},
'examples/example:preserve-false': {
message: 'minimal example',
options: {
preserve: false
}
},
'examples/example:replacewith': {
message: 'minimal example',
options: {
replaceWith: '.css-blank'
}
},
'browser': {
message: 'css for browser tests',
},
'browser:replacewith': {
message: 'css for browser tests',
options: {
replaceWith: '.css-blank'
}
},
});
21 changes: 21 additions & 0 deletions plugins/css-blank-pseudo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changes to CSS Blank Pseudo

### Unreleased (major)

- Breaking: removed old CDN urls
- Breaking: removed old CLI

#### How to migrate:

- If you use a CDN url, please update it.
- Re-build your CSS with the new version of the library.

```diff
- <script src="https://unpkg.com/css-blank-pseudo/browser"></script>
- <script src="https://unpkg.com/css-blank-pseudo/browser.min"></script>
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
```

```diff
- cssBlankPseudo(document)
+ cssBlankPseudoInit()
```

### 3.0.3 (February 5, 2022)

- Rebuild of browser polyfills
Expand Down
80 changes: 0 additions & 80 deletions plugins/css-blank-pseudo/README-BROWSER.md

This file was deleted.

116 changes: 0 additions & 116 deletions plugins/css-blank-pseudo/README-POSTCSS.md

This file was deleted.

Loading