Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 1 addition & 2 deletions plugins/postcss-nesting/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Changes to PostCSS Nesting

⚠️ We will most likely not finish this release and switch over to the plugin being worked on in the experimental track.

### Unreleased (major)

- Updated: Support for Node v14+ (major).
- Fix: Do not throw when a selector is invalid, show a warning instead.
- Removed: Support for Deno (breaking)

### 10.2.0 (September 14, 2022)

Expand Down
12 changes: 0 additions & 12 deletions plugins/postcss-nesting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,6 @@ postcss([
| [Node](INSTALL.md#node) | [Webpack](INSTALL.md#webpack) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
| --- | --- | --- | --- |

### Deno

You can also use [PostCSS Nesting] on [Deno]:

```js
import postcss from "https://deno.land/x/postcss/mod.js";
import postcssNesting from "https://cdn.jsdelivr.net/npm/postcss-nesting@10/mod.js";

await postcss([postcssNesting]).process(YOUR_CSS /*, processOptions */);
```

## Options

### noIsPseudoSelector
Expand Down Expand Up @@ -189,7 +178,6 @@ interfere with PostCSS' plugin nature such as with `@mixin`
[CSS Nesting]: https://drafts.csswg.org/css-nesting-1/
[PostCSS]: https://github.com/postcss/postcss
[PostCSS Nesting]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting
[Deno]: https://deno.land/x/postcss_nesting
[PostCSS Nested]: https://github.com/postcss/postcss-nested
[Sass]: https://sass-lang.com/
[CSS Nesting Module]: https://www.w3.org/TR/css-nesting-1/
3 changes: 0 additions & 3 deletions plugins/postcss-nesting/mod.js

This file was deleted.

1 change: 0 additions & 1 deletion plugins/postcss-nesting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"lint:package-json": "node ../../.github/bin/format-package-json.mjs",
"prepublishOnly": "npm run clean && npm run build && npm run test",
"test": "node .tape.mjs && npm run test:exports",
"test:deno": "deno run --unstable --allow-env --allow-read test/deno/test.js",
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs",
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
},
Expand Down
22 changes: 0 additions & 22 deletions plugins/postcss-nesting/test/deno/test.js

This file was deleted.

2 changes: 0 additions & 2 deletions rollup/configs/externals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,3 @@ export const externalsForPlugin = [
];

export const externalsForBrowser = [];

export const externalsForDeno = [];
14 changes: 0 additions & 14 deletions rollup/default.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import fs from 'fs';
import { browserJavascript } from './presets/browser-javascript.mjs';
import { cliTypescript } from './presets/cli-typescript.mjs';
import { denoJavascript } from './presets/deno-javascript.mjs';
import { packageJavascript } from './presets/package-javascript.mjs';
import { packageTypescript } from './presets/package-typescript.mjs';

Expand All @@ -19,15 +18,6 @@ const isTypescript = (() => {
return false;
})();

const hasDenoOutput = (() => {
try {
fs.statSync('./mod.js').isFile();
return true;
} catch (_) {
return false;
}
})();

const presets = [];

if (isTypescript) {
Expand All @@ -44,10 +34,6 @@ if (isTypescript) {
presets.push(...packageJavascript());
}

if (hasDenoOutput) {
presets.push(...denoJavascript());
}

if (packageInfo.exports && ('./browser' in packageInfo.exports)) {
presets.push(...browserJavascript());
}
Expand Down
36 changes: 0 additions & 36 deletions rollup/presets/deno-javascript.mjs

This file was deleted.