@tsrx/prettier-plugin 0.3.47 → 0.3.49

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 (2) hide show
  1. package/package.json +4 -4
  2. package/src/index.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsrx/prettier-plugin",
3
- "version": "0.3.47",
3
+ "version": "0.3.49",
4
4
  "description": "Ripple plugin for Prettier",
5
5
  "type": "module",
6
6
  "module": "src/index.js",
@@ -26,11 +26,11 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^24.3.0",
28
28
  "prettier": "^3.8.3",
29
- "ripple": "0.3.47"
29
+ "ripple": "0.3.49"
30
30
  },
31
31
  "dependencies": {
32
- "@tsrx/core": "0.0.27",
33
- "@tsrx/ripple": "0.0.29"
32
+ "@tsrx/core": "0.0.28",
33
+ "@tsrx/ripple": "0.0.30"
34
34
  },
35
35
  "files": [
36
36
  "src/"
package/src/index.js CHANGED
@@ -1632,6 +1632,10 @@ function printRippleNode(node, path, options, print, args) {
1632
1632
  nodeContent = ['{ref ', path.call(print, 'argument'), '}'];
1633
1633
  break;
1634
1634
 
1635
+ case 'RefExpression':
1636
+ nodeContent = ['ref ', path.call(print, 'argument')];
1637
+ break;
1638
+
1635
1639
  case 'SpreadAttribute': {
1636
1640
  /** @type {Doc[]} */
1637
1641
  const parts = ['{...', path.call(print, 'argument'), '}'];