Skip to content

Commit 92a93d0

Browse files
🔥 Improve content
1 parent ffb00bf commit 92a93d0

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "create-nuxt-netlify-cms-docs-",
2+
"name": "create-nuxt-netlify-cms-docs",
33
"version": "0.2020.0",
44
"files": [
55
"src",

src/cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { version } = require('../package.json')
88

99
const generator = path.resolve(__dirname, './')
1010

11-
const cli = cac('create-nuxt-content-docs')
11+
const cli = cac('create-nuxt-netlify-cms-docs')
1212

1313
cli
1414
.command('[out-dir]', 'Generate in a custom directory or current directory')
@@ -17,13 +17,13 @@ cli
1717
.action((outDir = '.', cliOptions) => {
1818
const files = fs.existsSync(outDir) ? fs.readdirSync(outDir) : []
1919
// eslint-disable-next-line no-console
20-
console.log(chalk`{cyan create-nuxt-content-docs v${version}}`)
20+
console.log(chalk`{cyan create-nuxt-netlify-cms-docs v${version}}`)
2121
if (files.length) {
2222
// eslint-disable-next-line no-console
2323
return console.log(chalk.red(`Can't create ${outDir} because there's already a non-empty directory ${outDir} existing in path.`))
2424
}
2525
// eslint-disable-next-line no-console
26-
console.log(chalk`✨ Generating @nuxt/content documentation in {cyan ${outDir}}`)
26+
console.log(chalk`✨ Generating @nuxt/netlify-cms-docs documentation in {cyan ${outDir}}`)
2727

2828
const { verbose, answers } = cliOptions
2929
const logLevel = verbose ? 4 : 2

src/saofile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
{
2121
name: 'github',
2222
message: 'GitHub repository (owner/name):',
23-
default: 'nuxt/content'
23+
default: 'RoboMx/create-nuxt-netlify-cms-docs'
2424
},
2525
{
2626
name: 'twitter',

yarn.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
22
# yarn lockfile v1
33

4-
54
"@mrmlnc/readdir-enhanced@^2.2.1":
65
version "2.2.1"
76
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"

0 commit comments

Comments
 (0)