|
1 | 1 | <idea-plugin> |
2 | 2 | <id>com.faebeee.reactcomponentcreator</id> |
3 | 3 | <name>React Component Creator</name> |
4 | | - <version>0.5.0</version> |
| 4 | + <version>0.6.0</version> |
5 | 5 | < vendor email= "[email protected]" url= "http://fabs.io">Fabio Gianini</ vendor> |
6 | 6 |
|
7 | 7 | <!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description --> |
|
13 | 13 | <depends>com.intellij.modules.lang</depends> |
14 | 14 | <description> |
15 | 15 | <![CDATA[ |
16 | | - <h1><a href="#react-component-creator" id="react-component-creator">react-component-creator</a></h1> |
17 | | -<p><img src="https://img.shields.io/jetbrains/plugin/d/13965-react-component-creator?style=for-the-badge" alt="Downloads" /> |
18 | | -<img src="https://img.shields.io/jetbrains/plugin/v/13965-react-component-creator?style=for-the-badge" alt="Version" /> |
19 | | -<img src="https://img.shields.io/jetbrains/plugin/r/rating/13965-react-component-creator?style=for-the-badge" alt="Rating" /></p> |
20 | | -<ul> |
21 | | - <li>An Brainstorm Plugin to create a new react functional component with all additional files like |
22 | | - SCSS, Spec, Storybook.</li> |
23 | | - <li>Add Redux reducer module with actions, mutations, state and types.</li> |
24 | | - <li>Add custom templates to match your coding style and your needs.</li> |
25 | | -</ul> |
26 | | -<p><img src="https://github.com/faebeee/react-component-creator-plugin/blob/master/doc/settings.png?raw=true" alt="Settings" title="" /> |
27 | | -<img src="https://github.com/faebeee/react-component-creator-plugin/blob/master/doc/create_component.gif?raw=true" alt="Create component" title="" /> |
28 | | -<img src="https://github.com/faebeee/react-component-creator-plugin/blob/master/doc/create_reducer.gif?raw=true" alt="Create Reducer" title="" /></p> |
29 | | -<h1><a href="#install" id="install">Install</a></h1> |
30 | | -<p>Search for <code>React Component Creator</code> in the plugins settings. Or download the plugin from the <a href="https://github.com/faebeee/react-component-creator-plugin/releases">release site</a></p> |
31 | | -<h1><a href="#custom-templates" id="custom-templates">Custom Templates</a></h1> |
32 | | -<p>If you are not happy with the predefined templates, you can choose your |
33 | | -own templates. The templates will be processed with mustache as templating. |
34 | | -All variables can also be used for the filenames.</p> |
35 | | -<p>Following variables are available</p> |
36 | | -<p><strong>Component</strong></p> |
37 | | -<table> |
38 | | - <thead> |
39 | | - <tr><th> variable </th><th> Description </th></tr> |
40 | | - </thead> |
41 | | - <tbody> |
42 | | - <tr><td> {{componentName}} </td><td> the inputted component name. Without any alterations </td></tr> |
43 | | - <tr><td> {{componentCamelcaseName}} </td><td> Camelcased input <code>my-component</code> becomes <code>MyComponent</code> </td></tr> |
44 | | - </tbody> |
45 | | -</table> |
46 | | -<p><strong>Reducer</strong></p> |
47 | | -<table> |
48 | | - <thead> |
49 | | - <tr><th> variable </th><th> Description </th></tr> |
50 | | - </thead> |
51 | | - <tbody> |
52 | | - <tr><td> {{actionFunctionName}} </td><td> Name of the function inside the <code>actions.ts</code> file </td></tr> |
53 | | - <tr><td> {{moduleName}} </td><td> Name of the folder </td></tr> |
54 | | - <tr><td> {{mutationType}} </td><td> String which will be used as type of the dispatch/mutation </td></tr> |
55 | | - <tr><td> {{moduleNamePascalCase}} </td><td> Pascalcased moduleName </td></tr> |
56 | | - <tr><td> {{stateName}} </td><td> Name for the state. <code>my-component</code> becomes <code>MyComponentState</code> </td></tr> |
57 | | - <tr><td> {{actionTypeName}} </td><td> Takes the input of <code>actionFunctionName</code> and capitalizes the first letter and appends <code>Action</code>. From <code>setData</code> becomes <code>SetDataAction</code> </td></tr> |
58 | | - <tr><td> {{actionTypesEnumName}} </td><td> Name used for the action types enum. actionTypesEnumName is the namespace where all <code>mutationType</code> actions are kept </td></tr> |
59 | | - </tbody> |
60 | | -</table> |
61 | | -<h1><a href="#development" id="development">Development</a></h1> |
62 | | -<p>Follow the <a href="./doc/DEVELOPMENT.md">Setup Instructions</a></p> |
63 | | -<h1><a href="#icons" id="icons">Icons</a></h1> |
64 | | -<p>Icons provided by <a href="https://www.iconfinder.com/justicon">https://www.iconfinder.com/justicon</a> via <a href="https://www.iconfinder.com">https://www.iconfinder.com</a></p> |
| 16 | +An Brainstorm Plugin to create a new react functional component with all additional files like |
| 17 | +SCSS, Spec, Storybook. Add Redux reducer module with actions, mutations, state and types. |
| 18 | +Add custom templates to match your coding style and your needs. |
65 | 19 | ]]> |
66 | 20 | </description> |
67 | 21 |
|
68 | 22 | <change-notes> |
69 | 23 | <![CDATA[ |
70 | 24 | <ul> |
71 | | - <li>v0.5.0 Checkboxes checked by default can be configured in the settings</li> |
72 | | - <li>v0.4.0 Add Customisable templates. Improve a lot of code. Update doc</li> |
73 | | - <li>v0.2.1 Export enum for action types</li> |
74 | | - <li>v0.2.1 Export enum for action types</li> |
75 | | - <li>v0.2.0 Add <code>Add Redux Reducer</code> Action</li> |
76 | | - <li>v0.1.0 Add <code>Add React Component</code> Action</li> |
| 25 | +<li>v0.6.0 Use component-creator-lib |
| 26 | +<ul> |
| 27 | +<li>Fix windows paths</li> |
| 28 | +<li>Update documentation</li> |
| 29 | +<li>Add camelcase and pascalcase variables for templates</li> |
| 30 | +</ul> |
| 31 | +</li> |
| 32 | +<li>v0.5.0 Checkboxes checked by default can be configured in the settings</li> |
| 33 | +<li>v0.4.0 Add Customisable templates. Improve a lot of code. Update doc</li> |
| 34 | +<li>v0.2.1 Export enum for action types</li> |
| 35 | +<li>v0.2.1 Export enum for action types</li> |
| 36 | +<li>v0.2.0 Add <code>Add Redux Reducer</code> Action</li> |
| 37 | +<li>v0.1.0 Add <code>Add React Component</code> Action</li> |
77 | 38 | </ul> |
78 | 39 | ]]> |
79 | 40 | </change-notes> |
80 | 41 |
|
81 | 42 |
|
82 | 43 | <extensions defaultExtensionNs="com.intellij"> |
83 | 44 | <projectConfigurable |
84 | | - instance="fabs.react.component.settings.ComponentSettings" |
| 45 | + instance="io.fabs.react.component.settings.ComponentSettings" |
85 | 46 | id="rcc.settings" |
86 | 47 | displayName="React Component Creator" |
87 | 48 | nonDefaultProject="true"/> |
88 | 49 |
|
89 | 50 | <projectConfigurable |
90 | | - instance="fabs.react.reducer.settings.ReducerSettings" |
| 51 | + instance="io.fabs.react.reducer.settings.ReducerSettings" |
91 | 52 | id="rcc.settings.redux" |
92 | 53 | displayName="Redux" |
93 | 54 | parentId="rcc.settings" |
94 | 55 | nonDefaultProject="true"/> |
95 | 56 |
|
96 | 57 | <projectConfigurable |
97 | | - instance="fabs.react.component.settings.ComponentSettings" |
| 58 | + instance="io.fabs.react.component.settings.ComponentSettings" |
98 | 59 | id="rcc.settings.component" |
99 | 60 | displayName="Component" |
100 | 61 | parentId="rcc.settings" |
101 | 62 | nonDefaultProject="true"/> |
102 | 63 |
|
103 | | - <projectService serviceInterface="fabs.react.reducer.data.ReducerSettingsState" |
104 | | - serviceImplementation="fabs.react.reducer.data.ReducerSettingsState"/> |
| 64 | + <projectService serviceInterface="io.fabs.react.reducer.data.ReducerSettingsState" |
| 65 | + serviceImplementation="io.fabs.react.reducer.data.ReducerSettingsState"/> |
105 | 66 |
|
106 | | - <projectService serviceInterface="fabs.react.component.data.ComponentSettingsState" |
107 | | - serviceImplementation="fabs.react.component.data.ComponentSettingsState"/> |
| 67 | + <projectService serviceInterface="io.fabs.react.component.data.ComponentSettingsState" |
| 68 | + serviceImplementation="io.fabs.react.component.data.ComponentSettingsState"/> |
108 | 69 | </extensions> |
109 | 70 |
|
110 | 71 | <actions> |
111 | 72 | <group description="React" id="React"> |
112 | 73 | <separator/> |
113 | 74 | <action id="ReactComponent.ComponentCreatorAction" |
114 | | - class="fabs.react.component.action.ComponentCreatorAction" |
| 75 | + class="io.fabs.react.component.action.ComponentCreatorAction" |
115 | 76 | icon="/icons/component.png" |
116 | 77 | text="React component" |
117 | 78 | description="create new react component"> |
118 | 79 | </action> |
119 | 80 |
|
120 | 81 | <action id="ReactComponent.ReducerCreatorAction" |
121 | | - class="fabs.react.reducer.action.ReducerCreatorAction" |
| 82 | + class="io.fabs.react.reducer.action.ReducerCreatorAction" |
122 | 83 | icon="/icons/store.png" |
123 | 84 | text="Redux reducer" |
124 | 85 | description="create new redux reducer"> |
|
0 commit comments