@toptal/davinci-code 1.6.2-alpha-fx-2996-add-error-message-for-missing-engine.21 → 1.6.2
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/CHANGELOG.md +7 -0
- package/README.md +6 -3
- package/dist-package/package.json +38 -0
- package/docs/module.md +1 -1
- package/docs/new-page.md +1 -1
- package/docs/stories.md +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1541](https://github.com/toptal/davinci/pull/1541) [`397a53c9`](https://github.com/toptal/davinci/commit/397a53c9add9f7e8d485648b51cd22676d97c78f) Thanks [@TomasSlama](https://github.com/TomasSlama)! - ---
|
|
8
|
+
- Update documentation about prefering individual davinci packages usage
|
|
9
|
+
|
|
3
10
|
## 1.6.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Generates code that is compliant with the [Frontend Architecture Guidelines](htt
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
Use it by installing `yarn add @toptal/davinci` in your project.
|
|
7
|
+
Use it by installing `yarn add @toptal/davinci-code` in your project.
|
|
8
8
|
|
|
9
9
|
#### Commands
|
|
10
10
|
|
|
@@ -15,7 +15,10 @@ Use it by installing `yarn add @toptal/davinci` in your project.
|
|
|
15
15
|
|
|
16
16
|
## Alias
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
You can use davinci code both as a standalone command `davinci-code [...args]`
|
|
19
|
+
or as a sub-command of the davinci command: `davinci code [args...]`, in this case @toptal/davinci package is required.
|
|
20
|
+
Recommended way is to use individual davinci packages, i.e. `davinci-code new component`.
|
|
21
|
+
|
|
19
22
|
|
|
20
23
|
## Custom templates
|
|
21
24
|
|
|
@@ -35,7 +38,7 @@ All the hygen template files have a format of [hygen templates](http://www.hygen
|
|
|
35
38
|
|
|
36
39
|
To create a component from your custom template execute the command:
|
|
37
40
|
|
|
38
|
-
`davinci
|
|
41
|
+
`davinci-code templateName componentName moduleName`
|
|
39
42
|
|
|
40
43
|
Arguments:
|
|
41
44
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@toptal/davinci-code",
|
|
3
|
+
"version": "1.6.2",
|
|
4
|
+
"description": "Code generation package for frontend applications",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"code",
|
|
10
|
+
"templates",
|
|
11
|
+
"generator"
|
|
12
|
+
],
|
|
13
|
+
"author": "Toptal",
|
|
14
|
+
"homepage": "https://github.com/toptal/davinci/tree/master/packages/code#readme",
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"bin": {
|
|
17
|
+
"davinci-code": "./bin/davinci-code.js"
|
|
18
|
+
},
|
|
19
|
+
"main": "./src/index.js",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/toptal/davinci.git"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build:package": "../../bin/build-package.js",
|
|
26
|
+
"prepublishOnly": "../../bin/prepublish.js",
|
|
27
|
+
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/toptal/davinci/issues"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@toptal/davinci-cli-shared": "1.6.0",
|
|
34
|
+
"hygen": "^6.2.7",
|
|
35
|
+
"lodash.camelcase": "^4.3.0",
|
|
36
|
+
"lodash.kebabcase": "^4.1.1"
|
|
37
|
+
}
|
|
38
|
+
}
|
package/docs/module.md
CHANGED
package/docs/new-page.md
CHANGED
package/docs/stories.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-code",
|
|
3
|
-
"version": "1.6.2
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "Code generation package for frontend applications",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -30,10 +30,9 @@
|
|
|
30
30
|
"url": "https://github.com/toptal/davinci/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@toptal/davinci-cli-shared": "1.6.
|
|
33
|
+
"@toptal/davinci-cli-shared": "1.6.0",
|
|
34
34
|
"hygen": "^6.2.7",
|
|
35
35
|
"lodash.camelcase": "^4.3.0",
|
|
36
36
|
"lodash.kebabcase": "^4.1.1"
|
|
37
|
-
}
|
|
38
|
-
"gitHead": "227d5ea750c2b2ce9f4abd1ff33bbe1838ae9d28"
|
|
37
|
+
}
|
|
39
38
|
}
|