Skip to content
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

Remove filescoping from babel-plugin, Add transform integration APIs #827

Merged
merged 28 commits into from Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
cd631f1
Remoe filescoping from babel-plugin
mattcompiles Sep 13, 2022
dc12def
WIP
mattcompiles Sep 14, 2022
872d976
WIP
mattcompiles Sep 14, 2022
66d8afe
Add changesets
mattcompiles Sep 14, 2022
5a0bc9d
Fix site
mattcompiles Sep 14, 2022
49813ff
Update docs
mattcompiles Sep 14, 2022
36a137c
Fix changeset
mattcompiles Sep 14, 2022
65afdc1
Trim the README
mattcompiles Sep 14, 2022
e21ddd1
Merge branch 'master' into rm-filescope-babel
mattcompiles Sep 14, 2022
524387c
Rename babel-plugin
mattcompiles Sep 14, 2022
229786b
Fix integration package.json
mattcompiles Sep 14, 2022
2b000cf
Fix typo
mattcompiles Sep 14, 2022
b436e35
Update site/docs/overview/test-environments.md
mattcompiles Sep 14, 2022
63992df
Update packages/rollup-plugin/src/index.ts
mattcompiles Sep 14, 2022
5549217
Fix typo
mattcompiles Sep 14, 2022
752bbae
Merge branch 'rm-filescope-babel' of github.com:seek-oss/vanilla-extr…
mattcompiles Sep 14, 2022
9e32d55
Add next to changeset
mattcompiles Sep 14, 2022
a683a39
Update changesets
mattcompiles Sep 14, 2022
49c341e
Update to jest-transform
mattcompiles Sep 14, 2022
40b36ac
Update .changeset/nice-tools-wink.md
mattcompiles Sep 18, 2022
8c7fa66
Update changeset wording
mattcompiles Sep 19, 2022
b6af010
Merge branch 'master' into rm-filescope-babel
mattcompiles Sep 19, 2022
35b13bc
Add Vitest setup info
mattcompiles Sep 19, 2022
e1b1390
Merge branch 'master' into rm-filescope-babel
mattcompiles Sep 21, 2022
c4d3868
Fix install commands
mattcompiles Sep 21, 2022
862c528
Merge branch 'rm-filescope-babel' of github.com:seek-oss/vanilla-extr…
mattcompiles Sep 21, 2022
8cae667
Update language
mattcompiles Sep 21, 2022
c70aaaf
Improve docs
mattcompiles Sep 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/early-experts-bathe.md
@@ -0,0 +1,18 @@
---
'@vanilla-extract/esbuild-plugin': minor
'@vanilla-extract/vite-plugin': minor
'@vanilla-extract/rollup-plugin': minor
---

Add automatic debug IDs

Automatic debug IDs allow your styles and other identifiers (e.g. CSS Vars, keyframes, etc) to have names that more closely reflect your source code when in development. This makes it easier to understand how the CSS output links to your source code.

```ts
// styles.css.ts

// redBox ~= 'styles_redBox_asdfgj'
const redBox = style({
background: 'red'
})
```
7 changes: 7 additions & 0 deletions .changeset/fuzzy-bags-hide.md
@@ -0,0 +1,7 @@
---
'@vanilla-extract/integration': minor
---

Add `transform` and `transformSync` functions

The transform APIs can be used to append filescopes and automatic debug IDs to `.css.ts` files.
8 changes: 8 additions & 0 deletions .changeset/nice-tools-wink.md
@@ -0,0 +1,8 @@
---
'@vanilla-extract/webpack-plugin': minor
'@vanilla-extract/next-plugin': minor
---

Remove requirement for `@vanilla-extract/babel-plugin`

Previously, to get automatic debug IDs you needed to use Babel with the `@vanilla-extract/babel-plugin` in your config. As this is no longer the case, the `@vanilla-extract/babel-plugin` should be removed completely from your project.
5 changes: 5 additions & 0 deletions .changeset/strong-apricots-marry.md
@@ -0,0 +1,5 @@
---
'@vanilla-extract/integration': major
---

`vanillaExtractFilescopePlugin` has been renamed to `vanillaExtractTransformPlugin`
5 changes: 5 additions & 0 deletions .changeset/tasty-pans-fry.md
@@ -0,0 +1,5 @@
---
'@vanilla-extract/integration': major
---

`compile` now expects a valid `identOption` parameter