@toptal/davinci-workflow 1.10.5-alpha-feat-fx-2770-init-command.6 → 1.11.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/CHANGELOG.md +11 -0
- package/README.md +33 -0
- package/dist-package/package.json +50 -0
- package/package.json +8 -9
- package/workflows.yaml +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @toptal/davinci-workflow
|
|
2
2
|
|
|
3
|
+
## 1.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1430](https://github.com/toptal/davinci/pull/1430) [`53fdce83`](https://github.com/toptal/davinci/commit/53fdce83b96d7c33c5b9aa55c5cbd5e917664287) Thanks [@dmaklygin](https://github.com/dmaklygin)! - - Implement storybook deployment to temploy
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`45eabb19`](https://github.com/toptal/davinci/commit/45eabb194ccb01173182b5bad6f63b0184a8f640), [`b2f9c785`](https://github.com/toptal/davinci/commit/b2f9c78595d5f65c771b44c6dc2ca0a328f8c42c), [`53fdce83`](https://github.com/toptal/davinci/commit/53fdce83b96d7c33c5b9aa55c5cbd5e917664287)]:
|
|
12
|
+
- @toptal/davinci-skeleton@7.3.0
|
|
13
|
+
|
|
3
14
|
## 1.10.4
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -117,6 +117,39 @@ it creates a new instance of Docker image, pushes it to cloud and triggers an ap
|
|
|
117
117
|
|
|
118
118
|
Write a new comment in PR `@toptal-bot run temploy`
|
|
119
119
|
|
|
120
|
+
## deploy-storybook-temploy
|
|
121
|
+
Builds & Deploys storybook to Temploy
|
|
122
|
+
|
|
123
|
+
**Example:**
|
|
124
|
+
```bash
|
|
125
|
+
$ davinci new-workflow deploy-storybook-temploy
|
|
126
|
+
```
|
|
127
|
+
**Description:**
|
|
128
|
+
|
|
129
|
+
it creates a new instance of Storybook Docker image, pushes it to cloud and triggers an appropriate Jenkins job to deploy the image to temploy.
|
|
130
|
+
|
|
131
|
+
**Example of usage:**
|
|
132
|
+
|
|
133
|
+
Write a new comment in PR `@toptal-bot run storybook-temploy`
|
|
134
|
+
|
|
135
|
+
## deploy-storybook-staging
|
|
136
|
+
Builds & Deploys Storybook to staging
|
|
137
|
+
|
|
138
|
+
**Example:**
|
|
139
|
+
```bash
|
|
140
|
+
$ davinci new-workflow deploy-storybook-staging
|
|
141
|
+
```
|
|
142
|
+
**Description:**
|
|
143
|
+
|
|
144
|
+
This GH Workflow may start in one of the following cases:
|
|
145
|
+
|
|
146
|
+
* Merging PR to master/main branch
|
|
147
|
+
* Performing GH Workflow from `actions` tab: choose `Deploy Storybook to Staging` GH Workflow and provide a commit SHA
|
|
148
|
+
|
|
149
|
+
It triggers Jenkins job to deploy Storybook to staging
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
120
153
|
## deploy
|
|
121
154
|
Performs docker image build and deployment to staging/production environment
|
|
122
155
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@toptal/davinci-workflow",
|
|
3
|
+
"version": "1.11.0",
|
|
4
|
+
"description": "GH Workflow generator package for frontend applications",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"Github Actions",
|
|
10
|
+
"GH Workflows",
|
|
11
|
+
"generator"
|
|
12
|
+
],
|
|
13
|
+
"author": "Toptal",
|
|
14
|
+
"homepage": "https://github.com/toptal/davinci/tree/master/packages/workflow#readme",
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"bin": {
|
|
17
|
+
"davinci-workflow": "./bin/davinci-workflow.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:documentation": "./bin/build.js",
|
|
26
|
+
"build:package": "../../bin/build-package.js",
|
|
27
|
+
"prepublishOnly": "../../bin/prepublish.js",
|
|
28
|
+
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/toptal/davinci/issues"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@toptal/davinci-cli-shared": "1.5.4",
|
|
35
|
+
"@toptal/davinci-monorepo": "^6.6.2",
|
|
36
|
+
"@toptal/davinci-skeleton": "7.3.0",
|
|
37
|
+
"chalk": "^4.1.2",
|
|
38
|
+
"cosmiconfig": "^7.0.1",
|
|
39
|
+
"fs-extra": "^9.0.1",
|
|
40
|
+
"inquirer": "^8.2.4",
|
|
41
|
+
"inquirer-table-prompt": "^0.2.1",
|
|
42
|
+
"js-yaml": "^4.1.0",
|
|
43
|
+
"lodash.kebabcase": "^4.1.1",
|
|
44
|
+
"ora": "^5.4.1",
|
|
45
|
+
"remark": "^13.0.0",
|
|
46
|
+
"mdast-builder": "^1.1.1",
|
|
47
|
+
"mdast-util-heading-range": "^2.1.5",
|
|
48
|
+
"mdast-util-from-markdown": "^0.8.5"
|
|
49
|
+
}
|
|
50
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-workflow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "GH Workflow generator package for frontend applications",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"url": "https://github.com/toptal/davinci/issues"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@toptal/davinci-cli-shared": "1.5.
|
|
35
|
-
"@toptal/davinci-monorepo": "6.6.
|
|
36
|
-
"@toptal/davinci-skeleton": "7.
|
|
34
|
+
"@toptal/davinci-cli-shared": "1.5.4",
|
|
35
|
+
"@toptal/davinci-monorepo": "^6.6.2",
|
|
36
|
+
"@toptal/davinci-skeleton": "7.3.0",
|
|
37
37
|
"chalk": "^4.1.2",
|
|
38
38
|
"cosmiconfig": "^7.0.1",
|
|
39
39
|
"fs-extra": "^9.0.1",
|
|
@@ -41,11 +41,10 @@
|
|
|
41
41
|
"inquirer-table-prompt": "^0.2.1",
|
|
42
42
|
"js-yaml": "^4.1.0",
|
|
43
43
|
"lodash.kebabcase": "^4.1.1",
|
|
44
|
+
"ora": "^5.4.1",
|
|
45
|
+
"remark": "^13.0.0",
|
|
44
46
|
"mdast-builder": "^1.1.1",
|
|
45
|
-
"mdast-util-from-markdown": "^0.8.5",
|
|
46
47
|
"mdast-util-heading-range": "^2.1.5",
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
"gitHead": "c3d87e61b17feba320eb6f76c4f0e4d016955cbd"
|
|
48
|
+
"mdast-util-from-markdown": "^0.8.5"
|
|
49
|
+
}
|
|
51
50
|
}
|
package/workflows.yaml
CHANGED
|
@@ -31,6 +31,20 @@ workflows:
|
|
|
31
31
|
Write a new comment in PR `@toptal-bot run temploy`
|
|
32
32
|
description: |
|
|
33
33
|
it creates a new instance of Docker image, pushes it to cloud and triggers an appropriate Jenkins job to deploy the image to temploy.
|
|
34
|
+
deploy-storybook-temploy:
|
|
35
|
+
title: Builds & Deploys storybook to Temploy
|
|
36
|
+
example: |
|
|
37
|
+
Write a new comment in PR `@toptal-bot run storybook-temploy`
|
|
38
|
+
description: |
|
|
39
|
+
it creates a new instance of Storybook Docker image, pushes it to cloud and triggers an appropriate Jenkins job to deploy the image to temploy.
|
|
40
|
+
deploy-storybook-staging:
|
|
41
|
+
title: Builds & Deploys Storybook to staging
|
|
42
|
+
description: |
|
|
43
|
+
This GH Workflow may start in one of the following cases:
|
|
44
|
+
- Merging PR to master/main branch
|
|
45
|
+
- Performing GH Workflow from `actions` tab: choose `Deploy Storybook to Staging` GH Workflow and provide a commit SHA
|
|
46
|
+
|
|
47
|
+
It triggers Jenkins job to deploy Storybook to staging
|
|
34
48
|
deploy:
|
|
35
49
|
title: Performs docker image build and deployment to staging/production environment
|
|
36
50
|
description: |
|