babel-preset-cssxjs 0.2.32 → 0.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index.js +1 -3
  3. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.3.0-alpha.0](https://github.com/startupjs/cssx/compare/v0.2.33...v0.3.0-alpha.0) (2026-03-25)
7
+
8
+
9
+ ### Features
10
+
11
+ * use the new pug babel plugn and eslint plugin from 'react-pug' with support for 'style' tags and full TSX support ([28e7a22](https://github.com/startupjs/cssx/commit/28e7a22e8069dec77c4a120f42b951ef90a4bef9))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.2.32](https://github.com/startupjs/cssx/compare/v0.2.31...v0.2.32) (2026-01-25)
7
18
 
8
19
  **Note:** Version bump only for package babel-preset-cssxjs
package/index.js CHANGED
@@ -36,9 +36,7 @@ module.exports = (api, {
36
36
  plugins: [
37
37
  // transform pug to jsx. This generates a bunch of new AST nodes
38
38
  // (it's important to do this first before any dead code elimination runs)
39
- transformPug && [require('@cssxjs/babel-plugin-react-pug'), {
40
- classAttribute: 'styleName'
41
- }],
39
+ transformPug && [require('@react-pug/babel-plugin-react-pug')],
42
40
  // inline CSS modules (styl`` in the same JSX file -- similar to how it is in Vue.js)
43
41
  transformCss && [require('@cssxjs/babel-plugin-rn-stylename-inline'), {
44
42
  platform
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-preset-cssxjs",
3
- "version": "0.2.32",
3
+ "version": "0.3.0-alpha.0",
4
4
  "description": "Babel preset for compiling CSSX",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -16,9 +16,9 @@
16
16
  "dependencies": {
17
17
  "@babel/plugin-syntax-jsx": "^7.0.0",
18
18
  "@babel/plugin-syntax-typescript": "^7.23.3",
19
- "@cssxjs/babel-plugin-react-pug": "^0.2.27",
20
- "@cssxjs/babel-plugin-rn-stylename-inline": "^0.2.32",
21
- "@cssxjs/babel-plugin-rn-stylename-to-style": "^0.2.32"
19
+ "@cssxjs/babel-plugin-rn-stylename-inline": "^0.3.0-alpha.0",
20
+ "@cssxjs/babel-plugin-rn-stylename-to-style": "^0.3.0-alpha.0",
21
+ "@react-pug/babel-plugin-react-pug": "^0.1.9"
22
22
  },
23
- "gitHead": "2d5f40fdc99ec3cbfb397741444993e2d09d7975"
23
+ "gitHead": "f8b469f811404d434b29e9a69e94c622cbf9bab3"
24
24
  }