create-juisy 2.0.0-beta.16 → 2.0.0-beta.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-juisy",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.18",
4
4
  "description": "Juisy boilerplate for npm init",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,7 +42,7 @@
42
42
  "homepage": "https://hperchec.gitlab.io/juisy",
43
43
  "dependencies": {
44
44
  "execa": "^9.5.2",
45
- "juisy": "2.0.0-beta.16",
45
+ "juisy": "2.0.0-beta.18",
46
46
  "mri": "^1.2.0"
47
47
  },
48
48
  "release-it": {
@@ -3,7 +3,7 @@ export default new CLI.Command({
3
3
  command: 'generate:api',
4
4
  describe: 'Generate API docs from source code',
5
5
  builder (cli) {
6
- cli
6
+ return cli
7
7
  },
8
8
  async handler (argv) {
9
9
  // Utils
@@ -1,4 +1,4 @@
1
- /** @type {import('#juisy/cli').Command} */
1
+ /** @type {import('juisy/cli').Command} */
2
2
  export default class TestCommand extends CLI.Command {
3
3
  /**
4
4
  * The command signature
@@ -55,11 +55,11 @@ export default {
55
55
  ],
56
56
  'after:bump': [
57
57
  // Build code and generate docs
58
- 'npm run build',
58
+ 'vite build',
59
59
  'node ./bin/cli docs generate:api',
60
60
  'node ./bin/cli docs generate:readme',
61
- 'node ./bin/cli docs:cli:private',
62
- 'node ./bin/cli docs:cli:public'
61
+ 'node ./bin/cli docs generate:cli -c ./docs/cli/private/config.js',
62
+ 'node ./bin/cli docs generate:cli -c ./docs/cli/public/config.js'
63
63
  ]
64
64
  }
65
65
  }
@@ -56,11 +56,11 @@ export default {
56
56
  ],
57
57
  'after:bump': [
58
58
  // Build code and generate docs
59
- 'npm run build',
59
+ 'vite build',
60
60
  'node ./bin/cli docs generate:api',
61
61
  'node ./bin/cli docs generate:readme',
62
- 'node ./bin/cli docs:cli:private',
63
- 'node ./bin/cli docs:cli:public'
62
+ 'node ./bin/cli docs generate:cli -c ./docs/cli/private/config.js',
63
+ 'node ./bin/cli docs generate:cli -c ./docs/cli/public/config.js'
64
64
  ]
65
65
  }
66
66
  }