Skip to content

Commit 9b7961a

Browse files
committed
fix(rust-plugins): πŸ› options camelCase
1 parent b25f318 commit 9b7961a

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farmfe/plugin-virtual": patch
3+
---
4+
5+
fix(virtual): options camelCase

β€Ž.changeset/pre.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"vuetify": "0.0.0"
2828
},
2929
"changesets": [
30+
"beige-eyes-repeat",
3031
"blue-crabs-fail",
3132
"brown-turkeys-clean"
3233
]

β€Žrust-plugins/virtual/CHANGELOG.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @farmfe/plugin-virtual
22

3+
## 2.0.0-beta.1
4+
5+
### Patch Changes
6+
7+
- fix(virtual): options camelCase
8+
39
## 2.0.0-beta.0
410

511
### Major Changes

β€Žrust-plugins/virtual/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@farmfe/plugin-virtual",
3-
"version": "2.0.0-beta.0",
3+
"version": "2.0.0-beta.1",
44
"private": false,
55
"main": "scripts/index.js",
66
"types": "scripts/index.d.ts",

β€Žrust-plugins/virtual/src/lib.rsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pub struct FarmPluginVirtualModule {
3737

3838
#[derive(Debug, Clone, serde::Deserialize)]
3939
#[serde(untagged)]
40+
#[serde(rename_all = "camelCase")]
4041
enum Value {
4142
Struct {
4243
raw: String,

0 commit comments

Comments
Β (0)