Skip to content

Commit c29eae3

Browse files
authored
fix: updated example with version number (#48)
* fix: updated example with version number * chore: added changeset lint
1 parent 6b47a3d commit c29eae3

File tree

6 files changed

+77
-19
lines changed

6 files changed

+77
-19
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
/node_modules
33
/reports
44
**/dist/**
5+
!.changeset
6+
.changeset/README.md

.lintstagedrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
'*.{js,jsx,ts,tsx}': ['davinci-syntax lint code', 'prettier --write'],
2+
'{**/*.{js,jsx,ts,tsx},.changeset/*.md}': ['davinci-syntax lint code', 'prettier --write'],
33
'{action.yml,README.md}': paths =>
44
paths.length > 0
55
? ['yarn documentation:generate', `git add */README.md`]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@changesets/cli": "^2.22.0",
2020
"@toptal/browserslist-config": "^1.2.0",
2121
"@toptal/davinci-qa": "^12.1.0",
22-
"@toptal/davinci-syntax": "^16.1.3",
22+
"@toptal/davinci-syntax": "^16.2.0",
2323
"@types/js-yaml": "^4.0.5",
2424
"@types/marked": "^4.0.3",
2525
"@types/node": "^17.0.34",

report-affected-packages/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Report affected packages
22

3-
Generate a diagram of affected monorepo packages as a job summary. Works with worksflows triggered by pull\_request event.
3+
Generate a diagram of affected monorepo packages as a job summary. Works with workflows triggered by pull\_request event.
44

55
### Description
66

@@ -22,5 +22,5 @@ Not specified
2222

2323
```yaml
2424
- name: Generate the affected packages report
25-
uses: toptal/davinci-github-actions/report-affected-packages
25+
uses: toptal/davinci-github-actions/report-affected-packages@v4.2.1
2626
```

report-affected-packages/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'Report affected packages'
2-
description: 'Generate a diagram of affected monorepo packages as a job summary. Works with worksflows triggered by pull_request event.'
2+
description: 'Generate a diagram of affected monorepo packages as a job summary. Works with workflows triggered by pull_request event.'
33

44
runs:
55
using: 'composite'

yarn.lock

+70-14
Original file line numberDiff line numberDiff line change
@@ -1817,10 +1817,10 @@
18171817
dependencies:
18181818
"@sinonjs/commons" "^1.7.0"
18191819

1820-
"@stylelint/postcss-css-in-js@^0.37.2":
1821-
version "0.37.3"
1822-
resolved "https://registry.yarnpkg.com/@stylelint/postcss-css-in-js/-/postcss-css-in-js-0.37.3.tgz#d149a385e07ae365b0107314c084cb6c11adbf49"
1823-
integrity sha512-scLk3cSH1H9KggSniseb2KNAU5D9FWc3H7BxCSAIdtU9OWIyw0zkEZ9qEKHryRM+SExYXRKNb7tOOVNAsQ3iwg==
1820+
"@stylelint/postcss-css-in-js@^0.38.0":
1821+
version "0.38.0"
1822+
resolved "https://registry.yarnpkg.com/@stylelint/postcss-css-in-js/-/postcss-css-in-js-0.38.0.tgz#eabb061df932744db766f11a153ae1c465b6263c"
1823+
integrity sha512-XOz5CAe49kS95p5yRd+DAIWDojTjfmyAQ4bbDlXMdbZTQ5t0ThjSLvWI6JI2uiS7MFurVBkZ6zUqcimzcLTBoQ==
18241824
dependencies:
18251825
"@babel/core" "^7.17.9"
18261826

@@ -1932,15 +1932,15 @@
19321932
matchmedia-polyfill "^0.3.2"
19331933
semver "^7.3.2"
19341934

1935-
"@toptal/davinci-syntax@^16.1.3":
1936-
version "16.1.3"
1937-
resolved "https://registry.yarnpkg.com/@toptal/davinci-syntax/-/davinci-syntax-16.1.3.tgz#a257aa41b40a5d3408fb4b875c3820de0f7f940f"
1938-
integrity sha512-srr/Qb7MuPJHlyxnXpDo1jimImn6C1mk7kbv+BNzdDXtR7dZQtAoScZyKIsNMSEHIJcUDBAp/cicczjLPCWvww==
1935+
"@toptal/davinci-syntax@^16.2.0":
1936+
version "16.2.0"
1937+
resolved "https://registry.yarnpkg.com/@toptal/davinci-syntax/-/davinci-syntax-16.2.0.tgz#50ad8b7c79384d981b3ea52404ba07844e139119"
1938+
integrity sha512-I0dio118qtgYuMNfT78S0v43J6sFsAhN5ZRSGxfBUkhC/kdk4rcuCJQzBR+rA96QAdkLqR3LS5l6Pz+xWnNXCg==
19391939
dependencies:
1940-
"@stylelint/postcss-css-in-js" "^0.37.2"
1940+
"@stylelint/postcss-css-in-js" "^0.38.0"
19411941
"@toptal/davinci-cli-shared" "1.7.0"
19421942
"@toptal/davinci-dir-lint" "^0.2.1"
1943-
"@toptal/eslint-plugin-davinci" "5.3.1"
1943+
"@toptal/eslint-plugin-davinci" "5.4.0"
19441944
"@typescript-eslint/eslint-plugin" "^5.19.0"
19451945
"@typescript-eslint/parser" "^5.30.7"
19461946
eslint "^8.19.0"
@@ -1968,17 +1968,19 @@
19681968
stylelint-config-styled-components "^0.1.1"
19691969
stylelint-processor-styled-components "^1.10.0"
19701970

1971-
"@toptal/eslint-plugin-davinci@5.3.1":
1972-
version "5.3.1"
1973-
resolved "https://registry.yarnpkg.com/@toptal/eslint-plugin-davinci/-/eslint-plugin-davinci-5.3.1.tgz#90f268bc2603461c40b118ae125c71fdf05e56e1"
1974-
integrity sha512-LnxsCp26sJ8yB7RwY2zxCVsX7jTEeVFkryI78DeT1DXrQOMlPGLmamKfMDuxk4306kPZ3kiMYUiPiImIYVmC7Q==
1971+
"@toptal/eslint-plugin-davinci@5.4.0":
1972+
version "5.4.0"
1973+
resolved "https://registry.yarnpkg.com/@toptal/eslint-plugin-davinci/-/eslint-plugin-davinci-5.4.0.tgz#3a77c3ce8daf0ffde85f8b26e36c95438043ca57"
1974+
integrity sha512-oCSopFB7HKsSSTfOuNrOwhsWXoSHjm2AM3tsq2ht9Ead/6JKCzwZuFvlyvWf9EYHwAtSusEoiBgDQCFDSWToBw==
19751975
dependencies:
19761976
eslint "^8.19.0"
1977+
eslint-plugin-markdownlint "^0.4.0"
19771978
eslint-plugin-sort-keys-fix "^1.1.2"
19781979
find-up "^5.0.0"
19791980
find-yarn-workspace-root "^2.0.0"
19801981
ignore "^5.2.0"
19811982
lodash.kebabcase "^4.1.1"
1983+
markdownlint "^0.26.2"
19821984
micromatch "^4.0.4"
19831985
require-json5 "^1.1.0"
19841986
requireindex "^1.2.0"
@@ -3721,6 +3723,11 @@ enquirer@^2.3.0, enquirer@^2.3.6:
37213723
dependencies:
37223724
ansi-colors "^4.1.1"
37233725

3726+
entities@~3.0.1:
3727+
version "3.0.1"
3728+
resolved "https://registry.yarnpkg.com/entities/-/entities-3.0.1.tgz#2b887ca62585e96db3903482d336c1006c3001d4"
3729+
integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==
3730+
37243731
error-ex@^1.3.1:
37253732
version "1.3.2"
37263733
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
@@ -3881,6 +3888,13 @@ eslint-plugin-jest@^26.4.5:
38813888
dependencies:
38823889
"@typescript-eslint/utils" "^5.10.0"
38833890

3891+
eslint-plugin-markdownlint@^0.4.0:
3892+
version "0.4.0"
3893+
resolved "https://registry.yarnpkg.com/eslint-plugin-markdownlint/-/eslint-plugin-markdownlint-0.4.0.tgz#ee70192efb05d451d5287c1b0454a280e5568f30"
3894+
integrity sha512-k5ZvMP11HJd3ggpmgfc+LSesx/QK75wsD7wQJjj2lLf0eJCMGQl8Osq0T4EmjJzBX0T0D3IlmArkhpj2wLg7Lg==
3895+
dependencies:
3896+
markdownlint "0.26.0"
3897+
38843898
eslint-plugin-no-inline-styles@^1.0.5:
38853899
version "1.0.5"
38863900
resolved "https://registry.yarnpkg.com/eslint-plugin-no-inline-styles/-/eslint-plugin-no-inline-styles-1.0.5.tgz#c37a7e7a53b46312852d2c44c02cac0df2e700c3"
@@ -6066,6 +6080,13 @@ lines-and-columns@^1.1.6:
60666080
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
60676081
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
60686082

6083+
linkify-it@^4.0.1:
6084+
version "4.0.1"
6085+
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-4.0.1.tgz#01f1d5e508190d06669982ba31a7d9f56a5751ec"
6086+
integrity sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==
6087+
dependencies:
6088+
uc.micro "^1.0.1"
6089+
60696090
lint-staged@^13.0.2:
60706091
version "13.0.3"
60716092
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.0.3.tgz#d7cdf03a3830b327a2b63c6aec953d71d9dc48c6"
@@ -6319,11 +6340,36 @@ map-obj@^4.0.0:
63196340
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a"
63206341
integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==
63216342

6343+
6344+
version "13.0.1"
6345+
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-13.0.1.tgz#c6ecc431cacf1a5da531423fc6a42807814af430"
6346+
integrity sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==
6347+
dependencies:
6348+
argparse "^2.0.1"
6349+
entities "~3.0.1"
6350+
linkify-it "^4.0.1"
6351+
mdurl "^1.0.1"
6352+
uc.micro "^1.0.5"
6353+
63226354
markdown-table@^3.0.0:
63236355
version "3.0.2"
63246356
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-3.0.2.tgz#9b59eb2c1b22fe71954a65ff512887065a7bb57c"
63256357
integrity sha512-y8j3a5/DkJCmS5x4dMCQL+OR0+2EAq3DOtio1COSHsmW2BGXnNCK3v12hJt1LrUz5iZH5g0LmuYOjDdI+czghA==
63266358

6359+
6360+
version "0.26.0"
6361+
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.26.0.tgz#1e800ecc709ed4061c18ab03f1cba23f58511421"
6362+
integrity sha512-I7nfRVwKVs/AJi4BlBkUCNj/S4HJjZSSM1wbzdy7vZerFkSGpbs7wX9Rk8rvopvZjTTKFPQWItqdbl2Hh6YXQQ==
6363+
dependencies:
6364+
markdown-it "13.0.1"
6365+
6366+
markdownlint@^0.26.2:
6367+
version "0.26.2"
6368+
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.26.2.tgz#11d3d03e7f0dd3c2e239753ee8fd064a861d9237"
6369+
integrity sha512-2Am42YX2Ex5SQhRq35HxYWDfz1NLEOZWWN25nqd2h3AHRKsGRE+Qg1gt1++exW792eXTrR4jCNHfShfWk9Nz8w==
6370+
dependencies:
6371+
markdown-it "13.0.1"
6372+
63276373
matchmedia-polyfill@^0.3.2:
63286374
version "0.3.2"
63296375
resolved "https://registry.yarnpkg.com/matchmedia-polyfill/-/matchmedia-polyfill-0.3.2.tgz#4666e252aead72e8dd232a9fbde5d93fa50497d3"
@@ -6395,6 +6441,11 @@ mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0:
63956441
resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.1.0.tgz#56c506d065fbf769515235e577b5a261552d56e9"
63966442
integrity sha512-n4Vypz/DZgwo0iMHLQL49dJzlp7YtAJP+N07MZHpjPf/5XJuHUWstviF4Mn2jEiR/GNmtnRRqnwsXExk3igfFA==
63976443

6444+
mdurl@^1.0.1:
6445+
version "1.0.1"
6446+
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
6447+
integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==
6448+
63986449
meow@^6.0.0:
63996450
version "6.1.1"
64006451
resolved "https://registry.yarnpkg.com/meow/-/meow-6.1.1.tgz#1ad64c4b76b2a24dfb2f635fddcadf320d251467"
@@ -8561,6 +8612,11 @@ typescript@^4.6.4:
85618612
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
85628613
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==
85638614

8615+
uc.micro@^1.0.1, uc.micro@^1.0.5:
8616+
version "1.0.6"
8617+
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
8618+
integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
8619+
85648620
unbox-primitive@^1.0.2:
85658621
version "1.0.2"
85668622
resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e"

0 commit comments

Comments
 (0)