fix(cli): use vue-sfc-transformer for SFC transpilation #667
Annotations
3 errors and 1 warning
|
test
Process completed with exit code 1.
|
|
test/utils/transform-sfc.test.ts > transformSFC > defineProps with package props:
packages/cli/test/utils/transform-sfc.test.ts#L227
Error: Snapshot `transformSFC > defineProps with package props 1` mismatched
- Expected
+ Received
@@ -1,6 +1,7 @@
"<script setup>
+ import {} from "reka-ui";
const props = defineProps({
foo: { type: String, required: false, default: "bar" },
for: { type: String, required: false },
asChild: { type: Boolean, required: false },
as: { type: null, required: false },
❯ test/utils/transform-sfc.test.ts:227:20
|
|
test/utils/transform-sfc.test.ts > transformSFC > defineProps with external props:
packages/cli/test/utils/transform-sfc.test.ts#L211
Error: Snapshot `transformSFC > defineProps with external props 1` mismatched
- Expected
+ Received
@@ -1,6 +1,7 @@
"<script setup>
+ import {} from "./__fixtures__/props";
const props = defineProps({
foo: { type: String, required: false, default: "bar" },
a: { type: String, required: true },
b: { type: Number, required: true },
});
❯ test/utils/transform-sfc.test.ts:211:20
|
|
test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|