@toptal/davinci-skeleton 4.0.3-alpha-gha-create-command-tool-typecheck.33 → 4.2.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,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1137](https://github.com/toptal/davinci/pull/1137) [`d2319b35`](https://github.com/toptal/davinci/commit/d2319b350bb5aac23a12572174ad143de24bc107) Thanks [@dmaklygin1](https://github.com/dmaklygin1)! - Put typecheck GH workflow to skeleton
8
+
9
+ ## 4.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#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
14
+
3
15
  ## 4.0.2
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@toptal/davinci-skeleton",
3
+ "version": "4.2.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
+ "typecheck": "tsc --noEmit",
30
+ "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
31
+ "build:package": "../../bin/build-package.js",
32
+ "prepack": "./bin/prepack-skeleton",
33
+ "postpack": "./bin/postpack-skeleton",
34
+ "prepublishOnly": "../../bin/prepublish.js"
35
+ },
36
+ "lint-staged": {
37
+ "*.{js,jsx,ts,tsx}": [
38
+ "davinci syntax lint code",
39
+ "prettier",
40
+ "git add"
41
+ ],
42
+ "styles.{js,jsx,ts,tsx}": [
43
+ "davinci syntax lint styles",
44
+ "prettier --write",
45
+ "git add"
46
+ ]
47
+ },
48
+ "husky": {
49
+ "hooks": {
50
+ "pre-commit": "lint-staged",
51
+ "pre-push": "davinci ci danger --local"
52
+ }
53
+ },
54
+ "sideEffects": false,
55
+ "main": "./src/index.tsx"
56
+ }
@@ -0,0 +1,30 @@
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
+ GITHUB_TOKEN: ${{ secrets.TOPTAL_DEVBOT_TOKEN }}
14
+ steps:
15
+
16
+ - name: Checkout
17
+ uses: actions/checkout@v2
18
+
19
+ - name: Setup node
20
+ uses: actions/setup-node@v2
21
+
22
+ - uses: actions/checkout@v2
23
+ with:
24
+ repository: toptal/davinci-github-actions
25
+ token: ${{ env.GITHUB_TOKEN }}
26
+ path: ./.github/actions/
27
+
28
+ - uses: ./.github/actions/yarn-install
29
+
30
+ - uses: ./.github/actions/typecheck
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.33+449ca754",
3
+ "version": "4.2.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.140+449ca754",
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",
@@ -26,6 +26,7 @@
26
26
  "test:e2e": "NODE_ENV=development davinci qa e2e --baseUrl=https://local-development.staging.toptal.net:3000",
27
27
  "test:e2e:ci": "yarn start:ci & wait-on -i 10000 https://local-development.staging.toptal.net:3000 && yarn test:e2e",
28
28
  "lint": "davinci syntax lint code . && davinci syntax lint styles .",
29
+ "typecheck": "tsc --noEmit",
29
30
  "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
30
31
  "build:package": "../../bin/build-package.js",
31
32
  "prepack": "./bin/prepack-skeleton",
@@ -51,6 +52,5 @@
51
52
  }
52
53
  },
53
54
  "sideEffects": false,
54
- "main": "./src/index.tsx",
55
- "gitHead": "449ca7540abe85ce6eebddcf896b91969c9740db"
55
+ "main": "./src/index.tsx"
56
56
  }
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@toptal/davinci-skeleton",
3
+ "version": "4.2.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
+ "typecheck": "tsc --noEmit",
30
+ "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
31
+ "build:package": "../../bin/build-package.js",
32
+ "prepack": "./bin/prepack-skeleton",
33
+ "postpack": "./bin/postpack-skeleton",
34
+ "prepublishOnly": "../../bin/prepublish.js"
35
+ },
36
+ "lint-staged": {
37
+ "*.{js,jsx,ts,tsx}": [
38
+ "davinci syntax lint code",
39
+ "prettier",
40
+ "git add"
41
+ ],
42
+ "styles.{js,jsx,ts,tsx}": [
43
+ "davinci syntax lint styles",
44
+ "prettier --write",
45
+ "git add"
46
+ ]
47
+ },
48
+ "husky": {
49
+ "hooks": {
50
+ "pre-commit": "lint-staged",
51
+ "pre-push": "davinci ci danger --local"
52
+ }
53
+ },
54
+ "sideEffects": false,
55
+ "main": "./src/index.tsx"
56
+ }