create-slidev 52.20.1 → 53.1.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.
package/index.mjs CHANGED
@@ -105,7 +105,9 @@ async function init() {
105
105
  type: 'confirm',
106
106
  name: 'yes',
107
107
  initial: 'Y',
108
- message: `Install and start it now${pkgManager ? ` using ${pkgManager}` : ''}?`,
108
+ message: `Install and start it now${pkgManager
109
+ ? ` using ${pkgManager}`
110
+ : ''}?`,
109
111
  })
110
112
 
111
113
  if (yes) {
@@ -113,8 +115,12 @@ async function init() {
113
115
  return
114
116
 
115
117
  writeReadme(pkgManager)
116
- await x(pkgManager, ['install'], { nodeOptions: { stdio: 'inherit', cwd: root } })
117
- await x(pkgManager, ['run', 'dev'], { nodeOptions: { stdio: 'inherit', cwd: root } })
118
+ await x(pkgManager, ['install'], {
119
+ nodeOptions: { stdio: 'inherit', cwd: root },
120
+ })
121
+ await x(pkgManager, ['run', 'dev'], {
122
+ nodeOptions: { stdio: 'inherit', cwd: root },
123
+ })
118
124
  }
119
125
  else {
120
126
  writeReadme(pkgManager)
@@ -168,7 +174,9 @@ async function getValidPackageName(projectName) {
168
174
  name: 'inputPackageName',
169
175
  message: 'Package name:',
170
176
  initial: suggestedPackageName,
171
- validate: input => packageNameRegExp.test(input) ? true : 'Invalid package.json name',
177
+ validate: input => packageNameRegExp.test(input)
178
+ ? true
179
+ : 'Invalid package.json name',
172
180
  })
173
181
  return inputPackageName
174
182
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-slidev",
3
3
  "type": "module",
4
- "version": "52.20.1",
4
+ "version": "53.1.0",
5
5
  "description": "Create starter template for Slidev",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -21,12 +21,12 @@
21
21
  "template"
22
22
  ],
23
23
  "engines": {
24
- "node": ">=20.12.0"
24
+ "node": ">=22.12.0"
25
25
  },
26
26
  "dependencies": {
27
- "ansis": "^4.4.0",
27
+ "ansis": "^4.5.0",
28
28
  "minimist": "^1.2.8",
29
- "package-manager-detector": "^1.8.0",
29
+ "package-manager-detector": "^1.9.0",
30
30
  "pathe": "^2.0.3",
31
31
  "prompts": "^2.4.2",
32
32
  "tinyexec": "^1.3.1"
File without changes
@@ -8,7 +8,7 @@
8
8
  "export": "slidev export"
9
9
  },
10
10
  "dependencies": {
11
- "@slidev/cli": "^52.20.1",
11
+ "@slidev/cli": "^53.1.0",
12
12
  "@slidev/theme-default": "latest",
13
13
  "@slidev/theme-seriph": "latest",
14
14
  "vue": "^3.5.33"