Skip to content

Commit

Permalink
Version Packages (#939)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Mar 26, 2023
1 parent 7488bb1 commit ae0f161
Show file tree
Hide file tree
Showing 22 changed files with 201 additions and 90 deletions.
13 changes: 0 additions & 13 deletions .changeset/I-made-this.md

This file was deleted.

54 changes: 0 additions & 54 deletions .changeset/chilled-dragons-fetch.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/browserify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 29.0.0

### Major Changes

- [`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98) Thanks [@tivac](https://github.com/tivac)! - All the various interfaces to `@modular-css/processor` need to be updated because of the breaking changes to composition rules in #926

### Patch Changes

- Updated dependencies [[`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096)]:
- @modular-css/processor@29.0.0

## 28.1.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/browserify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modular-css/browserify",
"version": "28.1.5",
"version": "29.0.0",
"description": "Browserify transform for modular-css",
"main": "./browserify.js",
"repository": {
Expand All @@ -27,7 +27,7 @@
"postcss"
],
"dependencies": {
"@modular-css/processor": "^28.1.5",
"@modular-css/processor": "^29.0.0",
"mkdirp": "^2.1.3",
"p-each-series": "^2.0.0",
"sink-transform": "^2.0.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 29.0.0

### Major Changes

- [`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98) Thanks [@tivac](https://github.com/tivac)! - All the various interfaces to `@modular-css/processor` need to be updated because of the breaking changes to composition rules in #926

### Patch Changes

- Updated dependencies [[`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98), [`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096)]:
- @modular-css/glob@29.0.0
- @modular-css/processor@29.0.0

## 28.1.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modular-css/cli",
"version": "28.1.5",
"version": "29.0.0",
"description": "CLI for modular-css",
"main": "./cli.js",
"bin": {
Expand Down Expand Up @@ -28,8 +28,8 @@
"cli"
],
"dependencies": {
"@modular-css/glob": "^28.1.5",
"@modular-css/processor": "^28.1.5",
"@modular-css/glob": "^29.0.0",
"@modular-css/processor": "^29.0.0",
"meow": "^9.0.0",
"mkdirp": "^2.1.3"
}
Expand Down
11 changes: 11 additions & 0 deletions packages/css-to-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 29.0.0

### Major Changes

- [`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98) Thanks [@tivac](https://github.com/tivac)! - All the various interfaces to `@modular-css/processor` need to be updated because of the breaking changes to composition rules in #926

### Patch Changes

- Updated dependencies [[`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096)]:
- @modular-css/processor@29.0.0

## 28.4.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/css-to-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modular-css/css-to-js",
"version": "28.4.1",
"version": "29.0.0",
"description": "modular-css powered conversion of CSS to JavaScript",
"main": "./css-to-js.js",
"repository": {
Expand All @@ -24,7 +24,7 @@
"postcss"
],
"dependencies": {
"@modular-css/processor": "^28.1.5",
"@modular-css/processor": "^29.0.0",
"dedent": "^0.7.0",
"identifierfy": "^2.0.0",
"just-extend": "^6.0.1"
Expand Down
11 changes: 11 additions & 0 deletions packages/glob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 29.0.0

### Major Changes

- [`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98) Thanks [@tivac](https://github.com/tivac)! - All the various interfaces to `@modular-css/processor` need to be updated because of the breaking changes to composition rules in #926

### Patch Changes

- Updated dependencies [[`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096)]:
- @modular-css/processor@29.0.0

## 28.1.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/glob/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modular-css/glob",
"version": "28.1.5",
"version": "29.0.0",
"description": "Glob support for modular-css",
"main": "./glob.js",
"repository": {
Expand All @@ -24,7 +24,7 @@
"modular-css"
],
"dependencies": {
"@modular-css/processor": "^28.1.5",
"@modular-css/processor": "^29.0.0",
"globule": "^1.1.0"
}
}
11 changes: 11 additions & 0 deletions packages/postcss/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 29.0.0

### Major Changes

- [`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98) Thanks [@tivac](https://github.com/tivac)! - All the various interfaces to `@modular-css/processor` need to be updated because of the breaking changes to composition rules in #926

### Patch Changes

- Updated dependencies [[`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096)]:
- @modular-css/processor@29.0.0

## 28.1.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/postcss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modular-css/postcss",
"version": "28.1.5",
"version": "29.0.0",
"description": "Use modular-css via postcss",
"main": "./postcss.js",
"repository": {
Expand All @@ -24,7 +24,7 @@
"postcss"
],
"dependencies": {
"@modular-css/processor": "^28.1.5",
"@modular-css/processor": "^29.0.0",
"mkdirp": "^2.1.3"
},
"peerDependencies": {
Expand Down
75 changes: 75 additions & 0 deletions packages/processor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,80 @@
# Change Log

## 29.0.0

### Major Changes

- [#926](https://github.com/tivac/modular-css/pull/926) [`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096) Thanks [@tivac](https://github.com/tivac)! - Errors will be reported for more invalid uses of `composes:`

```css
.fooga {
color: red;
}

/* ✅ still valid */
.wooga {
composes: fooga;
}

/* 🚫, previously reported */
.wooga .tooga {
composes: fooga;
}

/* 🚫, previously reported */
.wooga.tooga {
composes: fooga;
}

/* 🆕🚫, previously silently ignored */
html {
composes: fooga;
}

/* 🆕🚫, previously acted like .class */
.class:focus {
composes: fooga;
}

/* 🆕🚫, previously acted like .class */
.class::after {
composes: fooga;
}

/* 🆕🚫, previously acted like .class */
@media (min-width: 800px) {
.class {
composes: fooga;
}
}
```

The most likely breaking change will be the removal of pseudo selectors as valid. Previously classes with a pseudo were treated as though the pseudo didn't exist. If you have class selectors that contain a pseudo that need to use `composes` the suggested workaround is something like this:

```css
.fooga {
color: red;
}

/* BEFORE */
.wooga,
.wooga:active {
composes: fooga;

background: blue;
}

/* AFTER */
.wooga {
composes: fooga;
}

.wooga,
.wooga:active {
background: blue;
}
```

## 28.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/processor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modular-css/processor",
"version": "28.1.5",
"version": "29.0.0",
"description": "A streamlined reinterpretation of CSS Modules",
"main": "./processor.js",
"repository": {
Expand Down
12 changes: 12 additions & 0 deletions packages/rollup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 29.0.0

### Major Changes

- [`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98) Thanks [@tivac](https://github.com/tivac)! - All the various interfaces to `@modular-css/processor` need to be updated because of the breaking changes to composition rules in #926

### Patch Changes

- Updated dependencies [[`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98), [`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096)]:
- @modular-css/css-to-js@29.0.0
- @modular-css/processor@29.0.0

## 28.3.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/rollup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modular-css/rollup",
"version": "28.3.2",
"version": "29.0.0",
"description": "Add modular-css support to rollup",
"main": "./rollup.js",
"repository": {
Expand All @@ -26,8 +26,8 @@
"postcss"
],
"dependencies": {
"@modular-css/css-to-js": "^28.4.1",
"@modular-css/processor": "^28.1.5",
"@modular-css/css-to-js": "^29.0.0",
"@modular-css/processor": "^29.0.0",
"@rollup/pluginutils": "^5.0.2",
"slash": "^3.0.0"
},
Expand Down
11 changes: 11 additions & 0 deletions packages/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 29.0.0

### Major Changes

- [`7488bb1`](https://github.com/tivac/modular-css/commit/7488bb12add1175e8c5a1be59ca97ea8207a9d98) Thanks [@tivac](https://github.com/tivac)! - All the various interfaces to `@modular-css/processor` need to be updated because of the breaking changes to composition rules in #926

### Patch Changes

- Updated dependencies [[`a61fa35`](https://github.com/tivac/modular-css/commit/a61fa35f81e0c5c181c425e596c27f017acd5096)]:
- @modular-css/processor@29.0.0

## 28.2.2

### Patch Changes
Expand Down
Loading

0 comments on commit ae0f161

Please sign in to comment.