@toptal/davinci-code 1.5.8-alpha-fx-2764-add-webpack-config-js-common-additional-configurations.21 → 1.5.8-alpha-fx-use-node-env-variable-cypress.21

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/README.md CHANGED
@@ -6,37 +6,11 @@ Generates code that is compliant with the [Frontend Architecture Guidelines](htt
6
6
 
7
7
  Use it by installing `yarn add @toptal/davinci` in your project.
8
8
 
9
- ### Create module
9
+ #### Commands
10
10
 
11
- Creates a new module in `/modules` directory with the prepared inner structure of the module.
12
-
13
- `davinci code module module-name`
14
-
15
- Arguments:
16
-
17
- - `module-name` - the name of the module to create
18
-
19
- ### Create page component
20
-
21
- Creates new React page component in `/modules/{module-name}/pages`. Used for creating components that will be exposed to the router.
22
-
23
- `davinci code new page pageName moduleName`
24
-
25
- Arguments:
26
-
27
- - `moduleName` - name of the destination module
28
- - `pageName` - name of the React Page component
29
-
30
- ### Create component
31
-
32
- Creates new React component in `/modules/{module-name}/components`.
33
-
34
- `davinci code new component componentName moduleName`
35
-
36
- Arguments:
37
-
38
- - `moduleName` - name of the destination module
39
- - `componentName` - name of the React component
11
+ - [`module`](./docs/module.md): create a new module
12
+ - [`new page`](./docs/new-page.md): create a new page
13
+ - [`new component`](./docs/new-component.md): create a new component
40
14
 
41
15
  ## Alias
42
16
 
package/docs/module.md ADDED
@@ -0,0 +1,11 @@
1
+ # Create module
2
+
3
+ Creates a new module in `/modules` directory with the prepared inner structure of the module.
4
+
5
+ ```bash
6
+ davinci code module module-name
7
+ ```
8
+
9
+ Arguments:
10
+
11
+ - `module-name` - the name of the module to create
@@ -0,0 +1,12 @@
1
+ # Create component
2
+
3
+ Creates new React component in `/modules/<module-name>/components`.
4
+
5
+ ```bash
6
+ davinci code new component componentName moduleName
7
+ ```
8
+
9
+ Arguments:
10
+
11
+ - `moduleName` - name of the destination module
12
+ - `componentName` - name of the React component
@@ -0,0 +1,12 @@
1
+ # Create page component
2
+
3
+ Creates new React page component in `/modules/<module-name>/pages`. Used for creating components that will be exposed to the router.
4
+
5
+ ```bash
6
+ davinci code new page pageName moduleName
7
+ ```
8
+
9
+ Arguments:
10
+
11
+ - `moduleName` - name of the destination module
12
+ - `pageName` - name of the React Page component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-code",
3
- "version": "1.5.8-alpha-fx-2764-add-webpack-config-js-common-additional-configurations.21+44517dcb",
3
+ "version": "1.5.8-alpha-fx-use-node-env-variable-cypress.21+96dd4461",
4
4
  "description": "Code generation package for frontend applications",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -30,10 +30,10 @@
30
30
  "url": "https://github.com/toptal/davinci/issues"
31
31
  },
32
32
  "dependencies": {
33
- "@toptal/davinci-cli-shared": "1.5.5-alpha-fx-2764-add-webpack-config-js-common-additional-configurations.21+44517dcb",
33
+ "@toptal/davinci-cli-shared": "1.5.5-alpha-fx-use-node-env-variable-cypress.21+96dd4461",
34
34
  "hygen": "^6.2.7",
35
35
  "lodash.camelcase": "^4.3.0",
36
36
  "lodash.kebabcase": "^4.1.1"
37
37
  },
38
- "gitHead": "44517dcb7ae63fea99fc1aa75411746c93adb70d"
38
+ "gitHead": "96dd446128f9b9b03d961da13e0dc1d4e12d7fed"
39
39
  }