@toptal/davinci-skeleton 11.0.2 → 11.0.3
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.
|
@@ -68,8 +68,7 @@ jobs:
|
|
|
68
68
|
npm-token: ${{ env.NPM_TOKEN }}
|
|
69
69
|
branch: ${{ steps.get-branch.outputs.branch }}
|
|
70
70
|
|
|
71
|
-
- name:
|
|
72
|
-
if: ${{ success() }}
|
|
71
|
+
- name: Check versions and post comment
|
|
73
72
|
uses: actions/github-script@v6
|
|
74
73
|
env:
|
|
75
74
|
versions: ${{ steps.alpha-package.outputs.versions }}
|
|
@@ -78,11 +77,21 @@ jobs:
|
|
|
78
77
|
script: |
|
|
79
78
|
const { repo: { owner, repo }, issue } = context
|
|
80
79
|
const { versions } = process.env
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
|
|
81
|
+
let body
|
|
82
|
+
if (versions) {
|
|
83
|
+
body = "Your alpha package is ready 🎉<br/>" + versions.split(' ').reduce((acc, version) => {
|
|
84
|
+
acc += `\`yarn add ${version}\`<br/>`
|
|
85
|
+
return acc
|
|
86
|
+
}, '')
|
|
87
|
+
} else {
|
|
88
|
+
body = "No changed packages to publish ❌<br/>"
|
|
89
|
+
}
|
|
90
|
+
|
|
85
91
|
await github.issues.createComment({ issue_number: issue.number, owner, repo, body })
|
|
92
|
+
if (!versions) {
|
|
93
|
+
return core.setFailed('No changed packages to publish')
|
|
94
|
+
}
|
|
86
95
|
|
|
87
96
|
- name: Set status check - success / failure / error
|
|
88
97
|
if: ${{ always() }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1980](https://github.com/toptal/davinci/pull/1980) [`361e10b2`](https://github.com/toptal/davinci/commit/361e10b24c7e55f183af46c15a5f6da6589f7c96) Thanks [@dmaklygin](https://github.com/dmaklygin)!
|
|
8
|
+
- check eslint errors instead of fixing them
|
|
9
|
+
|
|
3
10
|
## 11.0.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-skeleton",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.3",
|
|
4
4
|
"description": "Toptal frontend application created with Davinci CLI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
"test:integration:ci": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'yarn start:ci' https://local-development.staging.toptal.net:3000 'yarn happo-e2e -- -- yarn test:integration'",
|
|
46
46
|
"test:integration:ct": "NODE_ENV=development davinci-qa integration run --component",
|
|
47
47
|
"test:integration:ct:ci": "NODE_ENV=development yarn happo-e2e -- -- davinci-qa integration run --component",
|
|
48
|
-
"lint": "davinci-syntax lint code . && davinci-syntax lint styles .",
|
|
48
|
+
"lint": "davinci-syntax lint code --check . && davinci-syntax lint styles .",
|
|
49
|
+
"lint:fix": "davinci-syntax lint code . && davinci-syntax lint styles .",
|
|
49
50
|
"typecheck": "tsc --noEmit && tsc --project cypress --noEmit",
|
|
50
51
|
"prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
|
|
51
52
|
"storybook": "start-storybook -p 6006",
|
package/package.json.skeleton
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-skeleton",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.3",
|
|
4
4
|
"description": "Toptal frontend application created with Davinci CLI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
"test:integration:ci": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'yarn start:ci' https://local-development.staging.toptal.net:3000 'yarn happo-e2e -- -- yarn test:integration'",
|
|
46
46
|
"test:integration:ct": "NODE_ENV=development davinci-qa integration run --component",
|
|
47
47
|
"test:integration:ct:ci": "NODE_ENV=development yarn happo-e2e -- -- davinci-qa integration run --component",
|
|
48
|
-
"lint": "davinci-syntax lint code . && davinci-syntax lint styles .",
|
|
48
|
+
"lint": "davinci-syntax lint code --check . && davinci-syntax lint styles .",
|
|
49
|
+
"lint:fix": "davinci-syntax lint code . && davinci-syntax lint styles .",
|
|
49
50
|
"typecheck": "tsc --noEmit && tsc --project cypress --noEmit",
|
|
50
51
|
"prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
|
|
51
52
|
"storybook": "start-storybook -p 6006",
|