generate-react-cli 8.4.9 → 9.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generate-react-cli",
3
- "version": "8.4.9",
3
+ "version": "9.0.0",
4
4
  "description": "A simple React CLI to generate components instantly and more.",
5
5
  "repository": "https://github.com/arminbro/generate-react-cli",
6
6
  "bugs": "https://github.com/arminbro/generate-react-cli/issues",
@@ -38,31 +38,31 @@
38
38
  "prepare": "husky install"
39
39
  },
40
40
  "dependencies": {
41
- "chalk": "5.3.0",
42
- "commander": "12.1.0",
41
+ "chalk": "5.6.0",
42
+ "commander": "14.0.0",
43
43
  "deep-keys": "0.5.0",
44
- "dotenv": "16.4.5",
44
+ "dotenv": "16.6.1",
45
45
  "fs-extra": "11.2.0",
46
- "inquirer": "9.3.7",
46
+ "inquirer": "12.9.4",
47
47
  "lodash": "4.17.21",
48
48
  "replace": "1.2.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@commitlint/cli": "19.5.0",
52
- "@commitlint/config-conventional": "19.5.0",
53
- "@semantic-release/commit-analyzer": "13.0.0",
51
+ "@commitlint/cli": "19.8.1",
52
+ "@commitlint/config-conventional": "19.8.1",
53
+ "@semantic-release/commit-analyzer": "13.0.1",
54
54
  "@semantic-release/git": "10.0.1",
55
- "@semantic-release/github": "11.0.0",
56
- "@semantic-release/npm": "12.0.1",
57
- "@semantic-release/release-notes-generator": "14.0.1",
55
+ "@semantic-release/github": "11.0.5",
56
+ "@semantic-release/npm": "12.0.2",
57
+ "@semantic-release/release-notes-generator": "14.0.3",
58
58
  "eslint": "8.57.1",
59
59
  "eslint-config-airbnb-base": "15.0.0",
60
60
  "eslint-config-prettier": "9.1.0",
61
- "eslint-plugin-prettier": "5.2.1",
62
- "husky": "9.1.6",
63
- "prettier": "3.3.3",
64
- "pretty-quick": "4.0.0",
65
- "semantic-release": "24.2.0"
61
+ "eslint-plugin-prettier": "5.5.4",
62
+ "husky": "9.1.7",
63
+ "prettier": "3.6.2",
64
+ "pretty-quick": "4.2.2",
65
+ "semantic-release": "24.2.7"
66
66
  },
67
67
  "prettier": {
68
68
  "singleQuote": true,
package/readme.md CHANGED
@@ -22,7 +22,6 @@ You can also watch an excellent [video](https://www.youtube.com/watch?v=NEvnt3MW
22
22
  - [Custom component templates](#custom-component-templates)
23
23
  - [Custom component directory](#custom-component-directory)
24
24
  - [Custom component files](#custom-component-files)
25
- - [OpenAi integration (Alpha release)](https://github.com/arminbro/generate-react-cli/tree/alpha?tab=readme-ov-file#openai-integration-alpha-release)
26
25
 
27
26
  ## You can run it using npx like this:
28
27
 
@@ -19,17 +19,12 @@ export default function initGenerateComponentCommand(args, cliConfigFile, progra
19
19
  'You can pass a component type that you have configured in your GRC config file.',
20
20
  'default'
21
21
  )
22
- .option(
23
- '-d, --describe <describe>',
24
- 'Describe the component you want GRC to generate (e.g., Create a counter component that increments by one when I click on the increment button).',
25
- null
26
- )
27
22
  .option(
28
23
  '-f, --flat',
29
24
  'Generate the files in the mentioned path instead of creating new folder for it',
30
25
  selectedComponentType.flat || false
31
26
  )
32
- .option('-dr, --dry-run', 'Show what will be generated without writing to disk')
27
+ .option('--dry-run', 'Show what will be generated without writing to disk')
33
28
  .option(
34
29
  '--customDirectory <customDirectory>',
35
30
  'You can pass a cased path template that will be used as the component path for the component being generated.\n' +