@toptal/davinci-skeleton 9.2.1-alpha-fix-execute-graphql-command-8169aa3b.34 → 9.2.1
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/.github/codebase-specific-workflows/monorepo/davinci-integration-tests.yml +4 -4
- package/.github/codebase-specific-workflows/spa/davinci-integration-tests.yml +4 -4
- package/.github/workflows/davinci-affected-packages.yml +1 -1
- package/.github/workflows/davinci-alpha-package.yml +1 -1
- package/.github/workflows/davinci-danger.yml +2 -2
- package/.github/workflows/davinci-deploy-production.yml +1 -1
- package/.github/workflows/davinci-deploy-staging.yml +1 -1
- package/.github/workflows/davinci-deploy-storybook-staging.yml +2 -2
- package/.github/workflows/davinci-deploy-storybook-temploy.yml +1 -1
- package/.github/workflows/davinci-deploy-temploy.yml +2 -2
- package/.github/workflows/davinci-deploy.yml +3 -3
- package/.github/workflows/davinci-lint.yml +2 -2
- package/.github/workflows/davinci-storybook-visual.yml +1 -1
- package/.github/workflows/davinci-typecheck.yml +2 -2
- package/.github/workflows/davinci-unit-tests.yml +2 -2
- package/CHANGELOG.md +8 -0
- package/dist-package/package.json +74 -0
- package/package.json +9 -10
- package/package.json.skeleton +74 -0
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
|
|
37
37
|
- name: Run Matrix
|
|
38
38
|
id: set-matrix
|
|
39
|
-
uses: toptal/davinci-github-actions/create-matrix@
|
|
39
|
+
uses: toptal/davinci-github-actions/create-matrix@v4.6.0
|
|
40
40
|
with:
|
|
41
41
|
parallel-matrix: ${{ env.PARALLEL_MATRIX }}
|
|
42
42
|
|
|
@@ -63,9 +63,9 @@ jobs:
|
|
|
63
63
|
- name: Setup node
|
|
64
64
|
uses: actions/setup-node@v2
|
|
65
65
|
|
|
66
|
-
- uses: toptal/davinci-github-actions/yarn-install@
|
|
66
|
+
- uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
67
67
|
|
|
68
|
-
- uses: toptal/davinci-github-actions/integration-tests@
|
|
68
|
+
- uses: toptal/davinci-github-actions/integration-tests@v4.6.0
|
|
69
69
|
with:
|
|
70
70
|
command: workspace ${{ env.GROUP_PACKAGE }} ${{ env.COMMAND }}
|
|
71
71
|
|
|
@@ -96,7 +96,7 @@ jobs:
|
|
|
96
96
|
|
|
97
97
|
- name: Print Coverage
|
|
98
98
|
if: ${{ env.PRINT_COVERAGE == 'true' }}
|
|
99
|
-
uses: toptal/davinci-github-actions/report-coverage@
|
|
99
|
+
uses: toptal/davinci-github-actions/report-coverage@v4.6.0
|
|
100
100
|
with:
|
|
101
101
|
path: code-coverage
|
|
102
102
|
reporter: text-summary
|
|
@@ -29,7 +29,7 @@ jobs:
|
|
|
29
29
|
|
|
30
30
|
- name: Run Matrix
|
|
31
31
|
id: set-matrix
|
|
32
|
-
uses: toptal/davinci-github-actions/create-matrix@
|
|
32
|
+
uses: toptal/davinci-github-actions/create-matrix@v4.6.0
|
|
33
33
|
with:
|
|
34
34
|
parallel-groups: ${{ env.PARALLEL_GROUPS }}
|
|
35
35
|
|
|
@@ -55,9 +55,9 @@ jobs:
|
|
|
55
55
|
- name: Setup node
|
|
56
56
|
uses: actions/setup-node@v2
|
|
57
57
|
|
|
58
|
-
- uses: toptal/davinci-github-actions/yarn-install@
|
|
58
|
+
- uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
59
59
|
|
|
60
|
-
- uses: toptal/davinci-github-actions/integration-tests@
|
|
60
|
+
- uses: toptal/davinci-github-actions/integration-tests@v4.6.0
|
|
61
61
|
with:
|
|
62
62
|
command: ${{ env.COMMAND }}
|
|
63
63
|
|
|
@@ -82,7 +82,7 @@ jobs:
|
|
|
82
82
|
|
|
83
83
|
- name: Print Coverage
|
|
84
84
|
if: ${{ env.PRINT_COVERAGE == 'true' }}
|
|
85
|
-
uses: toptal/davinci-github-actions/report-coverage@
|
|
85
|
+
uses: toptal/davinci-github-actions/report-coverage@v4.6.0
|
|
86
86
|
with:
|
|
87
87
|
path: code-coverage
|
|
88
88
|
reporter: text-summary
|
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
run: sudo apt-get install graphviz
|
|
29
29
|
|
|
30
30
|
- name: Install dependencies
|
|
31
|
-
uses: toptal/davinci-github-actions/yarn-install@v4.
|
|
31
|
+
uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
32
32
|
|
|
33
33
|
- name: Generate affected depency graph
|
|
34
34
|
run: yarn generate:graph:affected --output-file ${{ env.GRAPH_FILE }}
|
|
@@ -63,7 +63,7 @@ jobs:
|
|
|
63
63
|
|
|
64
64
|
- name: Trigger alpha package
|
|
65
65
|
id: alpha-package
|
|
66
|
-
uses: toptal/davinci-github-actions/build-publish-alpha-package@
|
|
66
|
+
uses: toptal/davinci-github-actions/build-publish-alpha-package@v4.6.0
|
|
67
67
|
with:
|
|
68
68
|
npm-token: ${{ env.NPM_TOKEN }}
|
|
69
69
|
branch: ${{ steps.get-branch.outputs.branch }}
|
|
@@ -22,6 +22,6 @@ jobs:
|
|
|
22
22
|
- name: Setup node
|
|
23
23
|
uses: actions/setup-node@v2
|
|
24
24
|
|
|
25
|
-
- uses: toptal/davinci-github-actions/yarn-install@
|
|
25
|
+
- uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
26
26
|
|
|
27
|
-
- uses: toptal/davinci-github-actions/danger@
|
|
27
|
+
- uses: toptal/davinci-github-actions/danger@v4.6.0
|
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
47
47
|
sha: ${{ steps.specify-sha.outputs.result }}
|
|
48
48
|
steps:
|
|
49
49
|
- id: specify-sha
|
|
50
|
-
uses: toptal/davinci-github-actions/get-workflow-sha@
|
|
50
|
+
uses: toptal/davinci-github-actions/get-workflow-sha@v4.6.0
|
|
51
51
|
|
|
52
52
|
trigger-deployment:
|
|
53
53
|
name: Trigger deployment
|
|
@@ -45,7 +45,7 @@ jobs:
|
|
|
45
45
|
sha: ${{ steps.specify-sha.outputs.result }}
|
|
46
46
|
steps:
|
|
47
47
|
- id: specify-sha
|
|
48
|
-
uses: toptal/davinci-github-actions/get-workflow-sha@
|
|
48
|
+
uses: toptal/davinci-github-actions/get-workflow-sha@v4.6.0
|
|
49
49
|
|
|
50
50
|
trigger-deployment:
|
|
51
51
|
name: Trigger deployment
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
should-deploy-to-staging: ${{ steps.deployment-necessity.outputs.should-deploy-to-staging }}
|
|
38
38
|
steps:
|
|
39
39
|
- id: specify-sha
|
|
40
|
-
uses: toptal/davinci-github-actions/get-workflow-sha@
|
|
40
|
+
uses: toptal/davinci-github-actions/get-workflow-sha@v4.6.0
|
|
41
41
|
|
|
42
42
|
- name: Checkout
|
|
43
43
|
uses: actions/checkout@v2
|
|
@@ -81,7 +81,7 @@ jobs:
|
|
|
81
81
|
token: ${{ env.GITHUB_TOKEN }}
|
|
82
82
|
ref: ${{ needs.check-event.outputs.sha }}
|
|
83
83
|
|
|
84
|
-
- uses: toptal/davinci-github-actions/deploy-storybook@v4.
|
|
84
|
+
- uses: toptal/davinci-github-actions/deploy-storybook@v4.6.0
|
|
85
85
|
with:
|
|
86
86
|
sha: ${{ needs.check-event.outputs.sha }}
|
|
87
87
|
environment: staging
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
with:
|
|
35
35
|
ref: ${{ steps.get-branch.outputs.branch }}
|
|
36
36
|
|
|
37
|
-
- uses: toptal/davinci-github-actions/deploy-storybook@v4.
|
|
37
|
+
- uses: toptal/davinci-github-actions/deploy-storybook@v4.6.0
|
|
38
38
|
with:
|
|
39
39
|
sha: ${{ steps.get-branch.outputs.sha }}
|
|
40
40
|
environment: temploy
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
61
61
|
- name: Setup node
|
|
62
62
|
uses: actions/setup-node@v2
|
|
63
63
|
|
|
64
|
-
- uses: toptal/davinci-github-actions/yarn-install@
|
|
64
|
+
- uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
65
65
|
|
|
66
66
|
- name: Build
|
|
67
67
|
run: yarn build
|
|
@@ -119,7 +119,7 @@ jobs:
|
|
|
119
119
|
with:
|
|
120
120
|
ref: ${{ needs.build-push-image.outputs.branch }}
|
|
121
121
|
|
|
122
|
-
- uses: toptal/davinci-github-actions/extract-env-variables@
|
|
122
|
+
- uses: toptal/davinci-github-actions/extract-env-variables@v4.6.0
|
|
123
123
|
id: env-variables
|
|
124
124
|
with:
|
|
125
125
|
github-token: ${{ env.GITHUB_TOKEN }}
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
should-deploy-to-production: ${{ steps.deployment-necessity.outputs.should-deploy-to-production }}
|
|
37
37
|
steps:
|
|
38
38
|
- id: specify-sha
|
|
39
|
-
uses: toptal/davinci-github-actions/get-workflow-sha@
|
|
39
|
+
uses: toptal/davinci-github-actions/get-workflow-sha@v4.6.0
|
|
40
40
|
|
|
41
41
|
- name: Checkout
|
|
42
42
|
uses: actions/checkout@v2
|
|
@@ -85,13 +85,13 @@ jobs:
|
|
|
85
85
|
token: ${{ env.GITHUB_TOKEN }}
|
|
86
86
|
ref: ${{ needs.check-event.outputs.sha }}
|
|
87
87
|
|
|
88
|
-
- uses: toptal/davinci-github-actions/build-push-release-image@
|
|
88
|
+
- uses: toptal/davinci-github-actions/build-push-release-image@v4.6.0
|
|
89
89
|
with:
|
|
90
90
|
sha: ${{ needs.check-event.outputs.sha }}
|
|
91
91
|
repository-name: ${{ github.event.repository.name }}
|
|
92
92
|
environment: ${{ env.ENVIRONMENT }}
|
|
93
93
|
|
|
94
|
-
- uses: toptal/davinci-github-actions/upload-source-maps@
|
|
94
|
+
- uses: toptal/davinci-github-actions/upload-source-maps@v4.6.0
|
|
95
95
|
continue-on-error: true
|
|
96
96
|
with:
|
|
97
97
|
sentry-project: ${{ github.event.repository.name }}
|
|
@@ -18,6 +18,6 @@ jobs:
|
|
|
18
18
|
- name: Setup node
|
|
19
19
|
uses: actions/setup-node@v2
|
|
20
20
|
|
|
21
|
-
- uses: toptal/davinci-github-actions/yarn-install@
|
|
21
|
+
- uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
22
22
|
|
|
23
|
-
- uses: toptal/davinci-github-actions/lint@
|
|
23
|
+
- uses: toptal/davinci-github-actions/lint@v4.6.0
|
|
@@ -19,6 +19,6 @@ jobs:
|
|
|
19
19
|
- name: Setup node
|
|
20
20
|
uses: actions/setup-node@v2
|
|
21
21
|
|
|
22
|
-
- uses: toptal/davinci-github-actions/yarn-install@
|
|
22
|
+
- uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
23
23
|
|
|
24
|
-
- uses: toptal/davinci-github-actions/typecheck@
|
|
24
|
+
- uses: toptal/davinci-github-actions/typecheck@v4.6.0
|
|
@@ -33,6 +33,6 @@ jobs:
|
|
|
33
33
|
with:
|
|
34
34
|
node-version: '14.17'
|
|
35
35
|
|
|
36
|
-
- uses: toptal/davinci-github-actions/yarn-install@
|
|
36
|
+
- uses: toptal/davinci-github-actions/yarn-install@v4.6.0
|
|
37
37
|
|
|
38
|
-
- uses: toptal/davinci-github-actions/unit-tests@
|
|
38
|
+
- uses: toptal/davinci-github-actions/unit-tests@v4.6.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1800](https://github.com/toptal/davinci/pull/1800) [`97bbeb7b`](https://github.com/toptal/davinci/commit/97bbeb7b9d8c5cec56e15547a4c7e6b9b9c79a48) Thanks [@OndrejTuma](https://github.com/OndrejTuma)! - ---
|
|
8
|
+
|
|
9
|
+
- update versions of davinci GH actions to latest `v4.6.0` in all workflows
|
|
10
|
+
|
|
3
11
|
## 9.2.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@toptal/davinci-skeleton",
|
|
3
|
+
"version": "9.2.1",
|
|
4
|
+
"description": "Toptal frontend application created with Davinci CLI",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"author": "Toptal",
|
|
9
|
+
"homepage": "https://github.com/toptal/davinci/tree/master/packages/bootstrap#readme",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@cypress/react": "^6.0.0",
|
|
13
|
+
"@toptal/browserslist-config": "^1.2.0",
|
|
14
|
+
"@types/happo-cypress": "^3.0.0",
|
|
15
|
+
"@types/jest": "^27.5.1",
|
|
16
|
+
"@types/react": "^18.0.14",
|
|
17
|
+
"@types/react-dom": "^18.0.4",
|
|
18
|
+
"@types/styled-components": "^5.1.25",
|
|
19
|
+
"happo-e2e": "^2.0.1",
|
|
20
|
+
"jest-environment-jsdom": "^28.1.0",
|
|
21
|
+
"local-cypress": "^1.2.6",
|
|
22
|
+
"postinstall-postinstall": "^2.1.0",
|
|
23
|
+
"yarn-deduplicate": "^4.0.0",
|
|
24
|
+
"@storybook/builder-webpack5": "^6.5.10",
|
|
25
|
+
"@storybook/manager-webpack5": "^6.5.14",
|
|
26
|
+
"@storybook/react": "^6.5.9",
|
|
27
|
+
"@storybook/testing-library": "^0.0.13",
|
|
28
|
+
"start-server-and-test": "^1.14.0"
|
|
29
|
+
},
|
|
30
|
+
"resolutions": {
|
|
31
|
+
"cypress": "^10.6.0",
|
|
32
|
+
"webpack": "^5.0.0",
|
|
33
|
+
"glob-parent": "^6.0.2",
|
|
34
|
+
"trim": "^0.0.3",
|
|
35
|
+
"trim-newlines": "^3.0.1",
|
|
36
|
+
"postcss": "8.4.14"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"analyze": "davinci-engine analyze",
|
|
40
|
+
"build": "davinci-engine build",
|
|
41
|
+
"start": "PORT=3000 davinci-engine start --https --open-url https://local-development.staging.toptal.net:3000",
|
|
42
|
+
"start:ci": "PORT=3000 davinci-engine start --https",
|
|
43
|
+
"test": "davinci-qa unit --runInBand true",
|
|
44
|
+
"test:ci": "LANG=en_US davinci-qa unit --ci --maxWorkers 100% --testTimeout=10000 --silent",
|
|
45
|
+
"test:integration": "NODE_ENV=development davinci-qa integration run --baseUrl=https://local-development.staging.toptal.net:3000",
|
|
46
|
+
"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'",
|
|
47
|
+
"test:integration:ct": "NODE_ENV=development davinci-qa integration run --component",
|
|
48
|
+
"test:integration:ct:ci": "NODE_ENV=development yarn happo-e2e -- -- davinci-qa integration run --component",
|
|
49
|
+
"lint": "davinci-syntax lint code . && davinci-syntax lint styles .",
|
|
50
|
+
"typecheck": "tsc --noEmit && tsc --project cypress --noEmit",
|
|
51
|
+
"prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
|
|
52
|
+
"build:package": "../../bin/build-package.js",
|
|
53
|
+
"storybook": "start-storybook -p 6006",
|
|
54
|
+
"storybook:build": "build-storybook --docs -c .storybook -o ./storybook-static",
|
|
55
|
+
"storybook:test:visual": "happo run",
|
|
56
|
+
"storybook:test:visual:ci": "happo-ci-github-actions",
|
|
57
|
+
"generate:graph:affected": "davinci-monorepo graph-generate --diff master",
|
|
58
|
+
"prepack": "./bin/prepack-skeleton",
|
|
59
|
+
"postpack": "./bin/postpack-skeleton",
|
|
60
|
+
"prepublishOnly": "../../bin/prepublish.js"
|
|
61
|
+
},
|
|
62
|
+
"lint-staged": {
|
|
63
|
+
"*.{js,jsx,ts,tsx}": [
|
|
64
|
+
"davinci-syntax lint code",
|
|
65
|
+
"prettier --write"
|
|
66
|
+
],
|
|
67
|
+
"styles.{js,jsx,ts,tsx}": [
|
|
68
|
+
"davinci-syntax lint styles",
|
|
69
|
+
"prettier --write"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"sideEffects": false,
|
|
73
|
+
"main": "./src/index.tsx"
|
|
74
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-skeleton",
|
|
3
|
-
"version": "9.2.1
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"description": "Toptal frontend application created with Davinci CLI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -10,11 +10,7 @@
|
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@cypress/react": "^6.0.0",
|
|
13
|
-
"@
|
|
14
|
-
"@storybook/manager-webpack5": "^6.5.14",
|
|
15
|
-
"@storybook/react": "^6.5.9",
|
|
16
|
-
"@storybook/testing-library": "^0.0.13",
|
|
17
|
-
"@toptal/browserslist-config": "1.2.1-alpha-fix-execute-graphql-command-8169aa3b.680+8169aa3b",
|
|
13
|
+
"@toptal/browserslist-config": "^1.2.0",
|
|
18
14
|
"@types/happo-cypress": "^3.0.0",
|
|
19
15
|
"@types/jest": "^27.5.1",
|
|
20
16
|
"@types/react": "^18.0.14",
|
|
@@ -24,8 +20,12 @@
|
|
|
24
20
|
"jest-environment-jsdom": "^28.1.0",
|
|
25
21
|
"local-cypress": "^1.2.6",
|
|
26
22
|
"postinstall-postinstall": "^2.1.0",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
23
|
+
"yarn-deduplicate": "^4.0.0",
|
|
24
|
+
"@storybook/builder-webpack5": "^6.5.10",
|
|
25
|
+
"@storybook/manager-webpack5": "^6.5.14",
|
|
26
|
+
"@storybook/react": "^6.5.9",
|
|
27
|
+
"@storybook/testing-library": "^0.0.13",
|
|
28
|
+
"start-server-and-test": "^1.14.0"
|
|
29
29
|
},
|
|
30
30
|
"resolutions": {
|
|
31
31
|
"cypress": "^10.6.0",
|
|
@@ -70,6 +70,5 @@
|
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
72
|
"sideEffects": false,
|
|
73
|
-
"main": "./src/index.tsx"
|
|
74
|
-
"gitHead": "8169aa3bf223d6c1348d45f5ce4706768a091104"
|
|
73
|
+
"main": "./src/index.tsx"
|
|
75
74
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@toptal/davinci-skeleton",
|
|
3
|
+
"version": "9.2.1",
|
|
4
|
+
"description": "Toptal frontend application created with Davinci CLI",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"author": "Toptal",
|
|
9
|
+
"homepage": "https://github.com/toptal/davinci/tree/master/packages/bootstrap#readme",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@cypress/react": "^6.0.0",
|
|
13
|
+
"@toptal/browserslist-config": "^1.2.0",
|
|
14
|
+
"@types/happo-cypress": "^3.0.0",
|
|
15
|
+
"@types/jest": "^27.5.1",
|
|
16
|
+
"@types/react": "^18.0.14",
|
|
17
|
+
"@types/react-dom": "^18.0.4",
|
|
18
|
+
"@types/styled-components": "^5.1.25",
|
|
19
|
+
"happo-e2e": "^2.0.1",
|
|
20
|
+
"jest-environment-jsdom": "^28.1.0",
|
|
21
|
+
"local-cypress": "^1.2.6",
|
|
22
|
+
"postinstall-postinstall": "^2.1.0",
|
|
23
|
+
"yarn-deduplicate": "^4.0.0",
|
|
24
|
+
"@storybook/builder-webpack5": "^6.5.10",
|
|
25
|
+
"@storybook/manager-webpack5": "^6.5.14",
|
|
26
|
+
"@storybook/react": "^6.5.9",
|
|
27
|
+
"@storybook/testing-library": "^0.0.13",
|
|
28
|
+
"start-server-and-test": "^1.14.0"
|
|
29
|
+
},
|
|
30
|
+
"resolutions": {
|
|
31
|
+
"cypress": "^10.6.0",
|
|
32
|
+
"webpack": "^5.0.0",
|
|
33
|
+
"glob-parent": "^6.0.2",
|
|
34
|
+
"trim": "^0.0.3",
|
|
35
|
+
"trim-newlines": "^3.0.1",
|
|
36
|
+
"postcss": "8.4.14"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"analyze": "davinci-engine analyze",
|
|
40
|
+
"build": "davinci-engine build",
|
|
41
|
+
"start": "PORT=3000 davinci-engine start --https --open-url https://local-development.staging.toptal.net:3000",
|
|
42
|
+
"start:ci": "PORT=3000 davinci-engine start --https",
|
|
43
|
+
"test": "davinci-qa unit --runInBand true",
|
|
44
|
+
"test:ci": "LANG=en_US davinci-qa unit --ci --maxWorkers 100% --testTimeout=10000 --silent",
|
|
45
|
+
"test:integration": "NODE_ENV=development davinci-qa integration run --baseUrl=https://local-development.staging.toptal.net:3000",
|
|
46
|
+
"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'",
|
|
47
|
+
"test:integration:ct": "NODE_ENV=development davinci-qa integration run --component",
|
|
48
|
+
"test:integration:ct:ci": "NODE_ENV=development yarn happo-e2e -- -- davinci-qa integration run --component",
|
|
49
|
+
"lint": "davinci-syntax lint code . && davinci-syntax lint styles .",
|
|
50
|
+
"typecheck": "tsc --noEmit && tsc --project cypress --noEmit",
|
|
51
|
+
"prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
|
|
52
|
+
"build:package": "../../bin/build-package.js",
|
|
53
|
+
"storybook": "start-storybook -p 6006",
|
|
54
|
+
"storybook:build": "build-storybook --docs -c .storybook -o ./storybook-static",
|
|
55
|
+
"storybook:test:visual": "happo run",
|
|
56
|
+
"storybook:test:visual:ci": "happo-ci-github-actions",
|
|
57
|
+
"generate:graph:affected": "davinci-monorepo graph-generate --diff master",
|
|
58
|
+
"prepack": "./bin/prepack-skeleton",
|
|
59
|
+
"postpack": "./bin/postpack-skeleton",
|
|
60
|
+
"prepublishOnly": "../../bin/prepublish.js"
|
|
61
|
+
},
|
|
62
|
+
"lint-staged": {
|
|
63
|
+
"*.{js,jsx,ts,tsx}": [
|
|
64
|
+
"davinci-syntax lint code",
|
|
65
|
+
"prettier --write"
|
|
66
|
+
],
|
|
67
|
+
"styles.{js,jsx,ts,tsx}": [
|
|
68
|
+
"davinci-syntax lint styles",
|
|
69
|
+
"prettier --write"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"sideEffects": false,
|
|
73
|
+
"main": "./src/index.tsx"
|
|
74
|
+
}
|