@toptal/davinci-skeleton 4.0.3-alpha-gha-create-command-tool-typecheck.27 → 4.1.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.
@@ -0,0 +1,35 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Debug Tests - Single Run",
6
+ "type": "node",
7
+ "runtimeExecutable": "yarn",
8
+ "request": "launch",
9
+ "args": ["test", "--runInBand"],
10
+ "cwd": "${workspaceFolder}",
11
+ "console": "integratedTerminal",
12
+ "internalConsoleOptions": "neverOpen"
13
+ },
14
+ {
15
+ "name": "Debug Tests - Watch Mode",
16
+ "type": "node",
17
+ "runtimeExecutable": "yarn",
18
+ "request": "launch",
19
+ "args": ["test", "--runInBand"],
20
+ "cwd": "${workspaceFolder}",
21
+ "console": "integratedTerminal",
22
+ "internalConsoleOptions": "neverOpen"
23
+ },
24
+ {
25
+ "name": "Debug Tests - Current File",
26
+ "type": "node",
27
+ "runtimeExecutable": "yarn",
28
+ "request": "launch",
29
+ "args": ["test", "${relativeFile}", "--runInBand", "--watchAll"],
30
+ "cwd": "${workspaceFolder}",
31
+ "console": "integratedTerminal",
32
+ "internalConsoleOptions": "neverOpen"
33
+ }
34
+ ]
35
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1124](https://github.com/toptal/davinci/pull/1124) [`0588901d`](https://github.com/toptal/davinci/commit/0588901dad937c0c16755cdd242a8763405a7ad6) Thanks [@dmaklygin1](https://github.com/dmaklygin1)! - Create Github Workflows package
8
+
3
9
  ## 4.0.2
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@toptal/davinci-skeleton",
3
+ "version": "4.1.0",
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
+ "@toptal/browserslist-config": "^1.2.0",
13
+ "@types/jest": "^27.0.3",
14
+ "@types/react": "^17.0.38",
15
+ "@types/react-dom": "^16.8.4",
16
+ "@types/styled-components": "^5.1.14",
17
+ "wait-on": "^5.2.0",
18
+ "yarn-deduplicate": "^2.0.0"
19
+ },
20
+ "scripts": {
21
+ "analyze": "davinci engine analyze",
22
+ "build": "davinci engine build",
23
+ "start": "PORT=3000 davinci engine start --https --open-url https://local-development.staging.toptal.net:3000",
24
+ "start:ci": "PORT=3000 davinci engine start --https",
25
+ "test": "davinci qa unit --runInBand true",
26
+ "test:e2e": "NODE_ENV=development davinci qa e2e --baseUrl=https://local-development.staging.toptal.net:3000",
27
+ "test:e2e:ci": "yarn start:ci & wait-on -i 10000 https://local-development.staging.toptal.net:3000 && yarn test:e2e",
28
+ "lint": "davinci syntax lint code . && davinci syntax lint styles .",
29
+ "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
30
+ "build:package": "../../bin/build-package.js",
31
+ "prepack": "./bin/prepack-skeleton",
32
+ "postpack": "./bin/postpack-skeleton",
33
+ "prepublishOnly": "../../bin/prepublish.js"
34
+ },
35
+ "lint-staged": {
36
+ "*.{js,jsx,ts,tsx}": [
37
+ "davinci syntax lint code",
38
+ "prettier",
39
+ "git add"
40
+ ],
41
+ "styles.{js,jsx,ts,tsx}": [
42
+ "davinci syntax lint styles",
43
+ "prettier --write",
44
+ "git add"
45
+ ]
46
+ },
47
+ "husky": {
48
+ "hooks": {
49
+ "pre-commit": "lint-staged",
50
+ "pre-push": "davinci ci danger --local"
51
+ }
52
+ },
53
+ "sideEffects": false,
54
+ "main": "./src/index.tsx"
55
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-skeleton",
3
- "version": "4.0.3-alpha-gha-create-command-tool-typecheck.27+04c94300",
3
+ "version": "4.1.0",
4
4
  "description": "Toptal frontend application created with Davinci CLI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,7 +9,7 @@
9
9
  "homepage": "https://github.com/toptal/davinci/tree/master/packages/bootstrap#readme",
10
10
  "license": "ISC",
11
11
  "devDependencies": {
12
- "@toptal/browserslist-config": "1.2.1-alpha-gha-create-command-tool-typecheck.134+04c94300",
12
+ "@toptal/browserslist-config": "^1.2.0",
13
13
  "@types/jest": "^27.0.3",
14
14
  "@types/react": "^17.0.38",
15
15
  "@types/react-dom": "^16.8.4",
@@ -51,6 +51,5 @@
51
51
  }
52
52
  },
53
53
  "sideEffects": false,
54
- "main": "./src/index.tsx",
55
- "gitHead": "04c9430036b834ef7f77d9695c0e3973302eba38"
54
+ "main": "./src/index.tsx"
56
55
  }
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@toptal/davinci-skeleton",
3
+ "version": "4.1.0",
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
+ "@toptal/browserslist-config": "^1.2.0",
13
+ "@types/jest": "^27.0.3",
14
+ "@types/react": "^17.0.38",
15
+ "@types/react-dom": "^16.8.4",
16
+ "@types/styled-components": "^5.1.14",
17
+ "wait-on": "^5.2.0",
18
+ "yarn-deduplicate": "^2.0.0"
19
+ },
20
+ "scripts": {
21
+ "analyze": "davinci engine analyze",
22
+ "build": "davinci engine build",
23
+ "start": "PORT=3000 davinci engine start --https --open-url https://local-development.staging.toptal.net:3000",
24
+ "start:ci": "PORT=3000 davinci engine start --https",
25
+ "test": "davinci qa unit --runInBand true",
26
+ "test:e2e": "NODE_ENV=development davinci qa e2e --baseUrl=https://local-development.staging.toptal.net:3000",
27
+ "test:e2e:ci": "yarn start:ci & wait-on -i 10000 https://local-development.staging.toptal.net:3000 && yarn test:e2e",
28
+ "lint": "davinci syntax lint code . && davinci syntax lint styles .",
29
+ "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
30
+ "build:package": "../../bin/build-package.js",
31
+ "prepack": "./bin/prepack-skeleton",
32
+ "postpack": "./bin/postpack-skeleton",
33
+ "prepublishOnly": "../../bin/prepublish.js"
34
+ },
35
+ "lint-staged": {
36
+ "*.{js,jsx,ts,tsx}": [
37
+ "davinci syntax lint code",
38
+ "prettier",
39
+ "git add"
40
+ ],
41
+ "styles.{js,jsx,ts,tsx}": [
42
+ "davinci syntax lint styles",
43
+ "prettier --write",
44
+ "git add"
45
+ ]
46
+ },
47
+ "husky": {
48
+ "hooks": {
49
+ "pre-commit": "lint-staged",
50
+ "pre-push": "davinci ci danger --local"
51
+ }
52
+ },
53
+ "sideEffects": false,
54
+ "main": "./src/index.tsx"
55
+ }
@@ -1,51 +0,0 @@
1
- name: Typecheck
2
-
3
- on:
4
- pull_request:
5
- types: [opened, synchronize, reopened, edited]
6
- branches: [master]
7
-
8
- jobs:
9
- typecheck:
10
- name: Check:Typecheck
11
- runs-on: ubuntu-latest
12
- env:
13
- NPM_TOKEN: ${{ secrets.NPM_TOKEN_READ_ONLY }}
14
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15
- steps:
16
- - name: Checkout
17
- uses: actions/checkout@v2
18
-
19
- - name: Setup node
20
- uses: actions/setup-node@v2
21
- with:
22
- node-version: '14.17'
23
-
24
- - name: Check node modules cache
25
- uses: actions/cache@v2
26
- id: node-modules-cache
27
- with:``````
28
- path: '**/node_modules'
29
- key: ${{ runner.os }}-typecheck-node_modules-${{ github.event.pull_request.head.sha }}
30
-
31
- - name: Get yarn cache directory path
32
- if: ${{ steps.node-modules-cache.outputs.cache-hit != 'true' }}
33
- id: yarn-cache-dir-path
34
- run: echo "::set-output name=dir::$(yarn cache dir)"
35
-
36
- - name: Check yarn cache
37
- if: ${{ steps.node-modules-cache.outputs.cache-hit != 'true' }}
38
- uses: actions/cache@v2
39
- with:
40
- path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
41
- key: node-cache-${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
42
- restore-keys: |
43
- node-cache-${{ runner.os }}-yarn-
44
-
45
- - name: Install dependencies
46
- run: |
47
- yarn policies set-version
48
- yarn install --frozen-lockfile --ignore-optional --silent --non-interactive
49
-
50
- - name: Run typescript checks
51
- run: yarn typecheck