Skip to content

Commit

Permalink
chore(changesets): 🦋 publish packages (#30)
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 Sep 17, 2023
1 parent c7b6aa6 commit b033f3c
Show file tree
Hide file tree
Showing 14 changed files with 158 additions and 133 deletions.
6 changes: 0 additions & 6 deletions .changeset/cool-impalas-report.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/dirty-rings-burn.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/gentle-feet-sparkle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-rocks-try.md

This file was deleted.

32 changes: 0 additions & 32 deletions .changeset/moody-cameras-vanish.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-boxes-jog.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/olive-elephants-smash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-poets-jam.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/slimy-queens-develop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-months-push.md

This file was deleted.

52 changes: 52 additions & 0 deletions packages/compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# @excss/compiler

## 0.1.0

### Minor Changes

- [#48](https://github.com/taishinaritomi/excss/pull/48) [`c7b6aa6`](https://github.com/taishinaritomi/excss/commit/c7b6aa6ae92302eb19cc57665b9edcba544ce62f) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - refactor: rename inject to helper

```diff
// excss.config.ts
import { defineConfig } from "excss/config";

export default defineConfig({
- inject: ``,
+ helper: ``,
});
```

- [#32](https://github.com/taishinaritomi/excss/pull/32) [`6955f23`](https://github.com/taishinaritomi/excss/commit/6955f2330bcb59cf9366a64a52124e29c6352cd6) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: integrated variants field into inject field

```diff
+import { variants } from "excss/config";

{
- variants: {
- red: "#ff0000",
- },
helper: `
+ ${variants({
+ red: "#ff0000",
+ })}
$breakpoints: (
400: "screen and (max-width: 400px)",
800: "screen and (max-width: 800px)",
1000: "screen and (max-width: 1000px)",
) !default;

@mixin mq($breakpoint) {
@media #{map-get($breakpoints, $breakpoint)} {
@content;
}
}
`,
}
```

### Patch Changes

- [#28](https://github.com/taishinaritomi/excss/pull/28) [`2f59bf8`](https://github.com/taishinaritomi/excss/commit/2f59bf85a9fe4148f9ddb4cc465bf5a0c9033fda) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: change in hash generation method for FILE_ID

- [#29](https://github.com/taishinaritomi/excss/pull/29) [`10b44d8`](https://github.com/taishinaritomi/excss/commit/10b44d85d4f05e4e0f7020a4d68b9b7af2024830) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - refactor: modification of the shim injected into wasm.

- [#31](https://github.com/taishinaritomi/excss/pull/31) [`7e18937`](https://github.com/taishinaritomi/excss/commit/7e189372376e10298e93c054e73619d59f8cde67) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: add support for ESM

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@excss/compiler",
"version": "0.0.1",
"version": "0.1.0",
"license": "MIT",
"author": "Taishi Naritomi",
"description": "",
Expand Down
104 changes: 104 additions & 0 deletions packages/excss/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,109 @@
# excss

## 0.1.0

### Minor Changes

- [#48](https://github.com/taishinaritomi/excss/pull/48) [`c7b6aa6`](https://github.com/taishinaritomi/excss/commit/c7b6aa6ae92302eb19cc57665b9edcba544ce62f) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - refactor: rename inject to helper

```diff
// excss.config.ts
import { defineConfig } from "excss/config";

export default defineConfig({
- inject: ``,
+ helper: ``,
});
```

- [#35](https://github.com/taishinaritomi/excss/pull/35) [`8953f56`](https://github.com/taishinaritomi/excss/commit/8953f568fe6cf6565bba3c8d5e729fcb790d1221) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: support for excss.config.ts

#### vite.config.ts

In the updated configuration, we have simplified the excss plugin initialization in `vite.config.ts`. Similar changes are also implemented in Next.js and webpack.

```diff
import Excss from "excss/vite";
import { defineConfig } from "vite";

export default defineConfig({
plugins: [
+ Excss(),
- Excss({
- inject: ``,
- }),
],
});
```

#### excss.config.ts

A new file `excss.config.ts` has been introduced to house the excess configuration settings, which includes the `inject` option.

```diff
+import { defineConfig } from "excss/config";
+
+export default defineConfig({
+ helper: ``,
+});
```

- [#40](https://github.com/taishinaritomi/excss/pull/40) [`5e03c41`](https://github.com/taishinaritomi/excss/commit/5e03c417592395481f74a82e10a4b3ee911902c9) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - refactor: webpack plugin

- [#32](https://github.com/taishinaritomi/excss/pull/32) [`6955f23`](https://github.com/taishinaritomi/excss/commit/6955f2330bcb59cf9366a64a52124e29c6352cd6) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: integrated variants field into inject field

```diff
+import { variants } from "excss/config";

{
- variants: {
- red: "#ff0000",
- },
helper: `
+ ${variants({
+ red: "#ff0000",
+ })}
$breakpoints: (
400: "screen and (max-width: 400px)",
800: "screen and (max-width: 800px)",
1000: "screen and (max-width: 1000px)",
) !default;

@mixin mq($breakpoint) {
@media #{map-get($breakpoints, $breakpoint)} {
@content;
}
}
`,
}
```

- [#33](https://github.com/taishinaritomi/excss/pull/33) [`9d49dc8`](https://github.com/taishinaritomi/excss/commit/9d49dc840eaceebe2bdf7a43f72548c70b3adb9a) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: change export method for plugins from named export to default export

```diff
-import { Excss } from "excss/vite";
+import Excss from "excss/vite";

-import { ExcssPlugin } from "excss/webpack";
+import ExcssPlugin from "excss/webpack";

-import { createExcss } from "excss/next";
+import createExcss from "excss/next";
```

### Patch Changes

- [#28](https://github.com/taishinaritomi/excss/pull/28) [`2f59bf8`](https://github.com/taishinaritomi/excss/commit/2f59bf85a9fe4148f9ddb4cc465bf5a0c9033fda) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: change in hash generation method for FILE_ID

- [#49](https://github.com/taishinaritomi/excss/pull/49) [`303e279`](https://github.com/taishinaritomi/excss/commit/303e279b52f3341d91cf66db68f2a8711868f3f1) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - fix: remove next warn log

- [#31](https://github.com/taishinaritomi/excss/pull/31) [`7e18937`](https://github.com/taishinaritomi/excss/commit/7e189372376e10298e93c054e73619d59f8cde67) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat: add support for ESM

- [#34](https://github.com/taishinaritomi/excss/pull/34) [`05dd416`](https://github.com/taishinaritomi/excss/commit/05dd416d55553e3599871321b031fedb2b875b21) Thanks [@taishinaritomi](https://github.com/taishinaritomi)! - feat(next-plugin): simplify next plugin

- Updated dependencies [[`2f59bf8`](https://github.com/taishinaritomi/excss/commit/2f59bf85a9fe4148f9ddb4cc465bf5a0c9033fda), [`c7b6aa6`](https://github.com/taishinaritomi/excss/commit/c7b6aa6ae92302eb19cc57665b9edcba544ce62f), [`6955f23`](https://github.com/taishinaritomi/excss/commit/6955f2330bcb59cf9366a64a52124e29c6352cd6), [`10b44d8`](https://github.com/taishinaritomi/excss/commit/10b44d85d4f05e4e0f7020a4d68b9b7af2024830), [`7e18937`](https://github.com/taishinaritomi/excss/commit/7e189372376e10298e93c054e73619d59f8cde67)]:
- @excss/compiler@0.1.0

## 0.0.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/excss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "excss",
"version": "0.0.11",
"version": "0.1.0",
"license": "MIT",
"author": "Taishi Naritomi",
"description": "",
Expand Down

0 comments on commit b033f3c

Please sign in to comment.