@toptal/davinci-skeleton 14.0.0 → 15.0.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.
@@ -27,11 +27,16 @@ jobs:
27
27
  - name: Get the GraphViz's dot reporter
28
28
  run: sudo apt-get install graphviz
29
29
 
30
+ - name: Setup Node.js
31
+ uses: actions/setup-node@v6
32
+ with:
33
+ node-version: 20
34
+
30
35
  - name: Install dependencies
31
- uses: toptal/davinci-github-actions/yarn-install@v12.10.0
36
+ uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
32
37
 
33
38
  - name: Generate affected depency graph
34
- run: yarn generate:graph:affected --output-file ${{ env.GRAPH_FILE }}
39
+ run: pnpm generate:graph:affected --output-file ${{ env.GRAPH_FILE }}
35
40
 
36
41
  - name: GCS authentication
37
42
  uses: google-github-actions/auth@v2
@@ -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@v12.10.0
39
+ uses: toptal/davinci-github-actions/create-matrix@v20.0.0
40
40
  with:
41
41
  parallel-matrix: ${{ env.PARALLEL_MATRIX }}
42
42
 
@@ -61,13 +61,13 @@ jobs:
61
61
  uses: actions/checkout@v3
62
62
 
63
63
  - name: Setup Node.js
64
- uses: actions/setup-node@v3
64
+ uses: actions/setup-node@v6
65
65
  with:
66
66
  node-version: 20
67
67
 
68
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
68
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
69
69
 
70
- - uses: toptal/davinci-github-actions/integration-tests@v12.10.0
70
+ - uses: toptal/davinci-github-actions/integration-tests@v20.0.0
71
71
  with:
72
72
  command: workspace ${{ env.GROUP_PACKAGE }} ${{ env.COMMAND }}
73
73
 
@@ -98,7 +98,7 @@ jobs:
98
98
 
99
99
  - name: Print Coverage
100
100
  if: ${{ env.PRINT_COVERAGE == 'true' }}
101
- uses: toptal/davinci-github-actions/report-coverage@v12.10.0
101
+ uses: toptal/davinci-github-actions/report-coverage@v20.0.0
102
102
  with:
103
103
  path: code-coverage
104
104
  reporter: text-summary
@@ -30,7 +30,7 @@ jobs:
30
30
 
31
31
  - name: Run Matrix
32
32
  id: set-matrix
33
- uses: toptal/davinci-github-actions/create-matrix@v12.10.0
33
+ uses: toptal/davinci-github-actions/create-matrix@v20.0.0
34
34
  with:
35
35
  parallel-groups: ${{ env.PARALLEL_GROUPS }}
36
36
 
@@ -54,13 +54,13 @@ jobs:
54
54
  uses: actions/checkout@v3
55
55
 
56
56
  - name: Setup Node.js
57
- uses: actions/setup-node@v3
57
+ uses: actions/setup-node@v6
58
58
  with:
59
59
  node-version: 20
60
60
 
61
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
61
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
62
62
 
63
- - uses: toptal/davinci-github-actions/integration-tests@v12.10.0
63
+ - uses: toptal/davinci-github-actions/integration-tests@v20.0.0
64
64
  with:
65
65
  command: ${{ env.COMMAND }}
66
66
 
@@ -85,7 +85,7 @@ jobs:
85
85
 
86
86
  - name: Print Coverage
87
87
  if: ${{ env.PRINT_COVERAGE == 'true' }}
88
- uses: toptal/davinci-github-actions/report-coverage@v12.10.0
88
+ uses: toptal/davinci-github-actions/report-coverage@v20.0.0
89
89
  with:
90
90
  path: code-coverage
91
91
  reporter: text-summary
@@ -92,7 +92,7 @@ jobs:
92
92
 
93
93
  - name: Trigger alpha package
94
94
  id: alpha-package
95
- uses: toptal/davinci-github-actions/build-publish-alpha-package@v12.10.0
95
+ uses: toptal/davinci-github-actions/build-publish-alpha-package@v20.0.0
96
96
  with:
97
97
  npm-token: ${{ env.NPM_TOKEN }}
98
98
  branch: ${{ steps.get-branch.outputs.branch }}
@@ -110,7 +110,7 @@ jobs:
110
110
  let body
111
111
  if (versions) {
112
112
  body = "Your alpha package is ready 🎉<br/>" + versions.split(' ').reduce((acc, version) => {
113
- acc += `\`yarn add ${version}\`<br/>`
113
+ acc += `\`pnpm add ${version}\`<br/>`
114
114
  return acc
115
115
  }, '')
116
116
  } else {
@@ -20,10 +20,10 @@ jobs:
20
20
  uses: actions/checkout@v3
21
21
 
22
22
  - name: Setup Node.js
23
- uses: actions/setup-node@v3
23
+ uses: actions/setup-node@v6
24
24
  with:
25
25
  node-version: 20
26
26
 
27
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
27
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
28
28
 
29
- - uses: toptal/davinci-github-actions/danger@v12.10.0
29
+ - uses: toptal/davinci-github-actions/danger@v20.0.0
@@ -46,7 +46,7 @@ jobs:
46
46
  sha: ${{ steps.specify-sha.outputs.result }}
47
47
  steps:
48
48
  - id: specify-sha
49
- uses: toptal/davinci-github-actions/get-workflow-sha@v12.10.0
49
+ uses: toptal/davinci-github-actions/get-workflow-sha@v20.0.0
50
50
 
51
51
  trigger-deployment:
52
52
  name: Trigger deployment
@@ -43,7 +43,7 @@ jobs:
43
43
  sha: ${{ steps.specify-sha.outputs.result }}
44
44
  steps:
45
45
  - id: specify-sha
46
- uses: toptal/davinci-github-actions/get-workflow-sha@v12.7.1
46
+ uses: toptal/davinci-github-actions/get-workflow-sha@v20.0.0
47
47
 
48
48
  trigger-deployment:
49
49
  name: Trigger deployment
@@ -62,7 +62,7 @@ jobs:
62
62
  echo 'EOF' >> $GITHUB_ENV
63
63
 
64
64
  - id: specify-sha
65
- uses: toptal/davinci-github-actions/get-workflow-sha@v12.10.0
65
+ uses: toptal/davinci-github-actions/get-workflow-sha@v20.0.0
66
66
 
67
67
  - name: Checkout
68
68
  uses: actions/checkout@v3
@@ -59,14 +59,14 @@ jobs:
59
59
  path: davinci
60
60
 
61
61
  - name: Setup Node.js
62
- uses: actions/setup-node@v3
62
+ uses: actions/setup-node@v6
63
63
  with:
64
64
  node-version: 20
65
65
 
66
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
66
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
67
67
 
68
68
  - name: Build
69
- run: yarn build
69
+ run: pnpm build
70
70
  env:
71
71
  GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
72
72
 
@@ -141,7 +141,7 @@ jobs:
141
141
  with:
142
142
  json: ${{ steps.secrets_manager.outputs.secrets }}
143
143
 
144
- - uses: toptal/davinci-github-actions/extract-env-variables@v12.10.0
144
+ - uses: toptal/davinci-github-actions/extract-env-variables@v20.0.0
145
145
  id: env-variables
146
146
  with:
147
147
  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@v12.10.0
39
+ uses: toptal/davinci-github-actions/get-workflow-sha@v20.0.0
40
40
 
41
41
  - name: Checkout
42
42
  uses: actions/checkout@v3
@@ -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@v12.10.0
88
+ - uses: toptal/davinci-github-actions/build-push-release-image@v20.0.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@v12.10.0
94
+ - uses: toptal/davinci-github-actions/upload-source-maps@v20.0.0
95
95
  continue-on-error: true
96
96
  with:
97
97
  sentry-project: ${{ github.event.repository.name }}
@@ -16,10 +16,10 @@ jobs:
16
16
  uses: actions/checkout@v3
17
17
 
18
18
  - name: Setup Node.js
19
- uses: actions/setup-node@v3
19
+ uses: actions/setup-node@v6
20
20
  with:
21
21
  node-version: 20
22
22
 
23
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
23
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
24
24
 
25
- - uses: toptal/davinci-github-actions/lint@v12.10.0
25
+ - uses: toptal/davinci-github-actions/lint@v20.0.0
@@ -27,14 +27,14 @@ jobs:
27
27
  uses: actions/checkout@v3
28
28
 
29
29
  - name: Setup Node.js
30
- uses: actions/setup-node@v3
30
+ uses: actions/setup-node@v6
31
31
  with:
32
32
  node-version: 20
33
33
 
34
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
34
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
35
35
 
36
36
  - name: Visual Tests
37
- run: yarn storybook:test:visual:ci
37
+ run: pnpm storybook:test:visual:ci
38
38
  env:
39
39
  HAPPO_PROJECT: ${{ env.REPOSITORY_NAME }}
40
40
  HAPPO_API_KEY: ${{ env.HAPPO_API_KEY }}
@@ -17,10 +17,10 @@ jobs:
17
17
  uses: actions/checkout@v3
18
18
 
19
19
  - name: Setup Node.js
20
- uses: actions/setup-node@v3
20
+ uses: actions/setup-node@v6
21
21
  with:
22
22
  node-version: 20
23
23
 
24
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
24
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
25
25
 
26
- - uses: toptal/davinci-github-actions/typecheck@v12.10.0
26
+ - uses: toptal/davinci-github-actions/typecheck@v20.0.0
@@ -29,10 +29,10 @@ jobs:
29
29
  uses: actions/checkout@v3
30
30
 
31
31
  - name: Setup Node.js
32
- uses: actions/setup-node@v3
32
+ uses: actions/setup-node@v6
33
33
  with:
34
34
  node-version: 20
35
35
 
36
- - uses: toptal/davinci-github-actions/yarn-install@v12.10.0
36
+ - uses: toptal/davinci-github-actions/pnpm-install@v20.0.0
37
37
 
38
- - uses: toptal/davinci-github-actions/unit-tests@v12.10.0
38
+ - uses: toptal/davinci-github-actions/unit-tests@v20.0.0
@@ -26,8 +26,6 @@
26
26
  .env.production.local
27
27
 
28
28
  npm-debug.log*
29
- yarn-debug.log*
30
- yarn-error.log*
31
29
 
32
30
  # env
33
31
  .envrc
package/.husky/pre-commit CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- yarn lint-staged
4
+ pnpm lint-staged
package/.husky/pre-push CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- yarn davinci-ci danger --local
4
+ pnpm davinci-ci danger --local
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "name": "Debug Tests - Single Run",
6
6
  "type": "node",
7
- "runtimeExecutable": "yarn",
7
+ "runtimeExecutable": "pnpm",
8
8
  "request": "launch",
9
9
  "args": ["test", "--runInBand"],
10
10
  "cwd": "${workspaceFolder}",
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "name": "Debug Tests - Watch Mode",
16
16
  "type": "node",
17
- "runtimeExecutable": "yarn",
17
+ "runtimeExecutable": "pnpm",
18
18
  "request": "launch",
19
19
  "args": ["test", "--runInBand"],
20
20
  "cwd": "${workspaceFolder}",
@@ -24,7 +24,7 @@
24
24
  {
25
25
  "name": "Debug Tests - Current File",
26
26
  "type": "node",
27
- "runtimeExecutable": "yarn",
27
+ "runtimeExecutable": "pnpm",
28
28
  "request": "launch",
29
29
  "args": ["test", "${relativeFile}", "--runInBand", "--watchAll"],
30
30
  "cwd": "${workspaceFolder}",
package/README.md CHANGED
@@ -4,7 +4,7 @@ This project was bootstrapped with [Davinci CLI](https://github.com/toptal/davin
4
4
 
5
5
  In the project directory, you can run:
6
6
 
7
- ### `yarn start`
7
+ ### `pnpm start`
8
8
 
9
9
  Runs the app in the development mode.<br>
10
10
  Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
@@ -12,12 +12,12 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
12
12
  The page will reload if you make edits.<br>
13
13
  You will also see any lint errors in the console.
14
14
 
15
- ### `yarn test`
15
+ ### `pnpm test`
16
16
 
17
17
  Launches the test runner in the interactive watch mode.<br>
18
18
  See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
19
19
 
20
- ### `yarn build`
20
+ ### `pnpm build`
21
21
 
22
22
  Builds the app for production to the `build` folder.<br>
23
23
  It correctly bundles React in production mode and optimizes the build for the best performance.
File without changes
File without changes
package/package.json CHANGED
@@ -1,35 +1,11 @@
1
1
  {
2
2
  "name": "@toptal/davinci-skeleton",
3
- "version": "14.0.0",
3
+ "version": "15.0.0",
4
4
  "description": "Toptal frontend application created with Davinci CLI",
5
5
  "author": "Toptal",
6
6
  "license": "SEE LICENSE IN LICENSE.MD",
7
7
  "homepage": "https://github.com/toptal/davinci/tree/master/packages/bootstrap#readme",
8
8
  "main": "./src/index.tsx",
9
- "scripts": {
10
- "analyze": "davinci-engine analyze",
11
- "build": "davinci-engine build",
12
- "lint": "davinci-syntax lint code --check . && davinci-syntax lint styles .",
13
- "lint:fix": "davinci-syntax lint code . && davinci-syntax lint styles .",
14
- "postpack": "./bin/postpack-skeleton",
15
- "prepack": "./bin/prepack-skeleton",
16
- "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
17
- "start": "PORT=3000 davinci-engine start --https --open-url https://local-development.staging.toptal.net:3000",
18
- "start:ci": "PORT=3000 davinci-engine start --https",
19
- "storybook": "storybook dev -p 6006",
20
- "storybook:build": "storybook build --docs -c .storybook -o ./storybook-static",
21
- "storybook:test:visual": "happo run",
22
- "storybook:test:visual:ci": "happo-ci-github-actions",
23
- "test": "davinci-qa unit --runInBand true",
24
- "test:ci": "LANG=en_US davinci-qa unit --ci --maxWorkers 100% --testTimeout=10000 --silent",
25
- "test:integration": "NODE_ENV=development davinci-qa integration run --baseUrl=https://local-development.staging.toptal.net:3000",
26
- "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'",
27
- "test:integration:ci:skip-visual": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'yarn start:ci' https://local-development.staging.toptal.net:3000 'yarn test:integration'",
28
- "test:integration:ct": "NODE_ENV=development davinci-qa integration run --component",
29
- "test:integration:ct:ci": "NODE_ENV=development yarn happo-e2e -- -- davinci-qa integration run --component",
30
- "test:integration:ct:ci:skip-visual": "NODE_ENV=development yarn test:integration:ct",
31
- "typecheck": "tsc --noEmit && tsc --project cypress --noEmit"
32
- },
33
9
  "devDependencies": {
34
10
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
35
11
  "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
@@ -37,7 +13,6 @@
37
13
  "@storybook/react-webpack5": "^8.6.9",
38
14
  "@storybook/test": "^8.6.9",
39
15
  "@testing-library/jest-dom": "^6.1.2",
40
- "@toptal/browserslist-config": "1.2.1",
41
16
  "@types/happo-cypress": "^4.1.1",
42
17
  "@types/jest": "^28.1.1",
43
18
  "@types/react": "^18.0.14",
@@ -51,7 +26,7 @@
51
26
  "start-server-and-test": "^2.0.2",
52
27
  "storybook": "^8.6.9",
53
28
  "webpack": "^5.94.0",
54
- "yarn-deduplicate": "^6.0.2"
29
+ "@toptal/browserslist-config": "^2.0.0"
55
30
  },
56
31
  "lint-staged": {
57
32
  "*.{js,jsx,ts,tsx}": [
@@ -66,14 +41,26 @@
66
41
  "publishConfig": {
67
42
  "access": "public"
68
43
  },
69
- "resolutions": {
70
- "**/danger/**/commander": "^2.18.0",
71
- "glob-parent": "^6.0.2",
72
- "postcss": "^8.4.32",
73
- "tailwindcss": "^3.3.5",
74
- "trim": "^0.0.3",
75
- "trim-newlines": "^3.0.1",
76
- "webpack": "^5.86.0"
77
- },
78
- "sideEffects": false
79
- }
44
+ "sideEffects": false,
45
+ "scripts": {
46
+ "analyze": "davinci-engine analyze",
47
+ "build": "davinci-engine build",
48
+ "lint": "davinci-syntax lint code --check . && davinci-syntax lint styles .",
49
+ "lint:fix": "davinci-syntax lint code . && davinci-syntax lint styles .",
50
+ "start": "PORT=3000 davinci-engine start --https --open-url https://local-development.staging.toptal.net:3000",
51
+ "start:ci": "PORT=3000 davinci-engine start --https",
52
+ "storybook": "storybook dev -p 6006",
53
+ "storybook:build": "storybook build --docs -c .storybook -o ./storybook-static",
54
+ "storybook:test:visual": "happo run",
55
+ "storybook:test:visual:ci": "happo-ci-github-actions",
56
+ "test": "davinci-qa unit --runInBand true",
57
+ "test:ci": "LANG=en_US davinci-qa unit --ci --maxWorkers 100% --testTimeout=10000 --silent",
58
+ "test:integration": "NODE_ENV=development davinci-qa integration run --baseUrl=https://local-development.staging.toptal.net:3000",
59
+ "test:integration:ci": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'pnpm start:ci' https://local-development.staging.toptal.net:3000 'pnpm happo-e2e -- -- pnpm test:integration'",
60
+ "test:integration:ci:skip-visual": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'pnpm start:ci' https://local-development.staging.toptal.net:3000 'pnpm test:integration'",
61
+ "test:integration:ct": "NODE_ENV=development davinci-qa integration run --component",
62
+ "test:integration:ct:ci": "NODE_ENV=development pnpm happo-e2e -- -- davinci-qa integration run --component",
63
+ "test:integration:ct:ci:skip-visual": "NODE_ENV=development pnpm test:integration:ct",
64
+ "typecheck": "tsc --noEmit && tsc --project cypress --noEmit"
65
+ }
66
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-skeleton",
3
- "version": "14.0.0",
3
+ "version": "15.0.0",
4
4
  "description": "Toptal frontend application created with Davinci CLI",
5
5
  "author": "Toptal",
6
6
  "license": "SEE LICENSE IN LICENSE.MD",
@@ -13,7 +13,6 @@
13
13
  "lint:fix": "davinci-syntax lint code . && davinci-syntax lint styles .",
14
14
  "postpack": "./bin/postpack-skeleton",
15
15
  "prepack": "./bin/prepack-skeleton",
16
- "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
17
16
  "start": "PORT=3000 davinci-engine start --https --open-url https://local-development.staging.toptal.net:3000",
18
17
  "start:ci": "PORT=3000 davinci-engine start --https",
19
18
  "storybook": "storybook dev -p 6006",
@@ -23,11 +22,11 @@
23
22
  "test": "davinci-qa unit --runInBand true",
24
23
  "test:ci": "LANG=en_US davinci-qa unit --ci --maxWorkers 100% --testTimeout=10000 --silent",
25
24
  "test:integration": "NODE_ENV=development davinci-qa integration run --baseUrl=https://local-development.staging.toptal.net:3000",
26
- "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'",
27
- "test:integration:ci:skip-visual": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'yarn start:ci' https://local-development.staging.toptal.net:3000 'yarn test:integration'",
25
+ "test:integration:ci": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'pnpm start:ci' https://local-development.staging.toptal.net:3000 'pnpm happo-e2e -- -- pnpm test:integration'",
26
+ "test:integration:ci:skip-visual": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test 'pnpm start:ci' https://local-development.staging.toptal.net:3000 'pnpm test:integration'",
28
27
  "test:integration:ct": "NODE_ENV=development davinci-qa integration run --component",
29
- "test:integration:ct:ci": "NODE_ENV=development yarn happo-e2e -- -- davinci-qa integration run --component",
30
- "test:integration:ct:ci:skip-visual": "NODE_ENV=development yarn test:integration:ct",
28
+ "test:integration:ct:ci": "NODE_ENV=development pnpm happo-e2e -- -- davinci-qa integration run --component",
29
+ "test:integration:ct:ci:skip-visual": "NODE_ENV=development pnpm test:integration:ct",
31
30
  "typecheck": "tsc --noEmit && tsc --project cypress --noEmit"
32
31
  },
33
32
  "devDependencies": {
@@ -37,7 +36,7 @@
37
36
  "@storybook/react-webpack5": "^8.6.9",
38
37
  "@storybook/test": "^8.6.9",
39
38
  "@testing-library/jest-dom": "^6.1.2",
40
- "@toptal/browserslist-config": "1.2.1",
39
+ "@toptal/browserslist-config": "workspace:^",
41
40
  "@types/happo-cypress": "^4.1.1",
42
41
  "@types/jest": "^28.1.1",
43
42
  "@types/react": "^18.0.14",
@@ -50,8 +49,7 @@
50
49
  "react-refresh": "^0.14.0",
51
50
  "start-server-and-test": "^2.0.2",
52
51
  "storybook": "^8.6.9",
53
- "webpack": "^5.94.0",
54
- "yarn-deduplicate": "^6.0.2"
52
+ "webpack": "^5.94.0"
55
53
  },
56
54
  "lint-staged": {
57
55
  "*.{js,jsx,ts,tsx}": [
@@ -63,17 +61,19 @@
63
61
  "prettier --write"
64
62
  ]
65
63
  },
64
+ "pnpm": {
65
+ "overrides": {
66
+ "danger>commander": "^2.18.0",
67
+ "glob-parent": "^6.0.2",
68
+ "postcss": "^8.4.32",
69
+ "tailwindcss": "^4.2.1",
70
+ "trim": "^0.0.3",
71
+ "trim-newlines": "^3.0.1",
72
+ "webpack": "^5.86.0"
73
+ }
74
+ },
66
75
  "publishConfig": {
67
76
  "access": "public"
68
77
  },
69
- "resolutions": {
70
- "**/danger/**/commander": "^2.18.0",
71
- "glob-parent": "^6.0.2",
72
- "postcss": "^8.4.32",
73
- "tailwindcss": "^3.3.5",
74
- "trim": "^0.0.3",
75
- "trim-newlines": "^3.0.1",
76
- "webpack": "^5.86.0"
77
- },
78
78
  "sideEffects": false
79
79
  }
package/src/index.css CHANGED
@@ -1,3 +1,2 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
1
+ @import 'tailwindcss';
2
+ @config "../tailwind.config.js";
@@ -1,6 +1,9 @@
1
+ const picassoTailwind = require('@toptal/picasso-tailwind')
2
+
1
3
  /** @type {import('tailwindcss').Config} */
2
4
  module.exports = {
3
- presets: [require('@toptal/picasso-tailwind')],
5
+ theme: picassoTailwind.theme,
6
+ plugins: picassoTailwind.plugins,
4
7
  content: [
5
8
  './src/**/*.{js,jsx,ts,tsx}',
6
9
  './node_modules/@toptal/picasso/**/*.js',