Skip to content

Commit c9048cc

Browse files
authored
Merge branch 'main' into fix/ts-version-user-saved
2 parents 3e45be1 + bbc740b commit c9048cc

File tree

14 files changed

+912
-763
lines changed

14 files changed

+912
-763
lines changed

.github/workflows/release-continuous.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ jobs:
99
- name: Checkout code
1010
uses: actions/checkout@v4
1111

12-
- run: corepack enable
13-
- uses: actions/setup-node@v4
12+
- name: Install pnpm
13+
uses: pnpm/action-setup@v4
14+
15+
- name: Install Node.js
16+
uses: actions/setup-node@v4
1417
with:
15-
node-version: lts/*
18+
node-version-file: '.node-version'
1619
cache: 'pnpm'
1720

1821
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20-
- run: corepack enable
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
2122

22-
- name: Set node
23+
- name: Install Node.js
2324
uses: actions/setup-node@v4
2425
with:
25-
node-version: lts/*
26+
node-version-file: '.node-version'
2627
cache: pnpm
2728
registry-url: 'https://registry.npmjs.org'
2829

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# [4.5.0](https://github.com/vuejs/repl/compare/v4.4.3...v4.5.0) (2025-02-03)
2+
3+
4+
### Features
5+
6+
* pass on descriptor vapor flag when compiling template ([adaaceb](https://github.com/vuejs/repl/commit/adaaceb24984435ae02ab3eda071f10dba9e0362))
7+
8+
9+
110
## [4.4.3](https://github.com/vuejs/repl/compare/v4.4.2...v4.4.3) (2025-01-02)
211

312

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,28 @@ productionMode.value = true
107107
<Repl :store="store" :editor="Monaco" :showCompileOutput="true" />
108108
</template>
109109
```
110+
111+
Use only the Preview without the editor
112+
113+
```vue
114+
<script setup>
115+
import { ref } from 'vue'
116+
import { Sandbox, useStore } from '@vue/repl'
117+
118+
// retrieve some configuration options from the URL
119+
const query = new URLSearchParams(location.search)
120+
121+
const store = useStore(
122+
{
123+
// custom vue version
124+
vueVersion: ref(query.get('vue')),
125+
},
126+
// initialize repl with previously serialized state
127+
location.hash,
128+
)
129+
</script>
130+
131+
<template>
132+
<Sandbox :store="store" />
133+
</template>
134+
```

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@vue/repl",
3-
"version": "4.4.3",
3+
"version": "4.5.0",
44
"description": "Vue component for editing Vue components",
5-
"packageManager": "[email protected].2",
5+
"packageManager": "[email protected].5",
66
"type": "module",
77
"main": "dist/ssr-stub.js",
88
"module": "dist/vue-repl.js",
@@ -71,40 +71,40 @@
7171
},
7272
"homepage": "https://github.com/vuejs/repl#readme",
7373
"devDependencies": {
74-
"@babel/standalone": "^7.26.4",
75-
"@babel/types": "^7.26.3",
76-
"@eslint/js": "^9.17.0",
74+
"@babel/standalone": "^7.26.9",
75+
"@babel/types": "^7.26.9",
76+
"@eslint/js": "^9.20.0",
7777
"@rollup/plugin-replace": "^6.0.2",
78-
"@shikijs/monaco": "^1.25.1",
78+
"@shikijs/monaco": "^1.29.2",
7979
"@types/babel__standalone": "^7.1.9",
8080
"@types/codemirror": "^5.60.15",
8181
"@types/hash-sum": "^1.0.2",
82-
"@types/node": "^22.10.3",
82+
"@types/node": "^22.13.4",
8383
"@vitejs/plugin-vue": "^5.2.1",
8484
"@volar/jsdelivr": "~2.4.11",
8585
"@volar/monaco": "~2.4.11",
8686
"@vue/babel-plugin-jsx": "^1.2.5",
87-
"@vue/language-service": "~2.2.0",
87+
"@vue/language-service": "~2.2.2",
8888
"assert": "^2.1.0",
89-
"bumpp": "^9.9.2",
89+
"bumpp": "^9.11.1",
9090
"codemirror": "^5.65.18",
9191
"conventional-changelog-cli": "^5.0.0",
92-
"eslint": "^9.17.0",
92+
"eslint": "^9.20.1",
9393
"eslint-plugin-vue": "^9.32.0",
9494
"fflate": "^0.8.2",
9595
"hash-sum": "^2.0.0",
96-
"lint-staged": "^15.3.0",
96+
"lint-staged": "^15.4.3",
9797
"monaco-editor-core": "^0.52.2",
98-
"prettier": "^3.4.2",
99-
"shiki": "^1.25.1",
98+
"prettier": "^3.5.1",
99+
"shiki": "^1.29.2",
100100
"simple-git-hooks": "^2.11.1",
101101
"sucrase": "^3.35.0",
102-
"typescript": "^5.7.2",
103-
"typescript-eslint": "^8.19.0",
104-
"vite": "^6.0.6",
105-
"vite-plugin-dts": "^4.4.0",
106-
"vscode-uri": "^3.0.8",
102+
"typescript": "^5.7.3",
103+
"typescript-eslint": "^8.24.1",
104+
"vite": "^6.1.0",
105+
"vite-plugin-dts": "^4.5.0",
106+
"vscode-uri": "^3.1.0",
107107
"vue": "^3.5.13",
108-
"vue-tsc": "~2.2.0"
108+
"vue-tsc": "~2.2.2"
109109
}
110110
}

0 commit comments

Comments
 (0)