@toptal/davinci-skeleton 4.4.0 → 4.4.1-alpha-feature-comm-620-graphql-codegen.5

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,34 @@
1
+ name: Danger
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, synchronize, reopened, edited]
6
+ branches: [master]
7
+
8
+ jobs:
9
+ danger:
10
+ name: Check:Danger
11
+ runs-on: ubuntu-latest
12
+ env:
13
+ GITHUB_TOKEN: ${{ secrets.TOPTAL_DEVBOT_TOKEN }}
14
+ if: ${{ github.event.pull_request.head.ref != 'changeset-release/master' }}
15
+ steps:
16
+ - name: Cancel previous workflow
17
+ uses: styfle/cancel-workflow-action@dffcefda964529302c673388c65a8137995e9603
18
+
19
+ - name: Checkout project
20
+ uses: actions/checkout@v2
21
+
22
+ - name: Setup node
23
+ uses: actions/setup-node@v2
24
+
25
+ - name: Checkout davinci GHAs
26
+ uses: actions/checkout@v2
27
+ with:
28
+ repository: toptal/davinci-github-actions
29
+ token: ${{ env.GITHUB_TOKEN }}
30
+ path: ./.github/actions/
31
+
32
+ - uses: ./.github/actions/yarn-install
33
+
34
+ - uses: ./.github/actions/danger
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-skeleton",
3
- "version": "4.4.0",
3
+ "version": "4.4.1-alpha-feature-comm-620-graphql-codegen.5+772235c2",
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.0",
12
+ "@toptal/browserslist-config": "1.2.1-alpha-feature-comm-620-graphql-codegen.151+772235c2",
13
13
  "@types/jest": "^27.0.3",
14
14
  "@types/react": "^17.0.38",
15
15
  "@types/react-dom": "^16.8.4",
@@ -53,5 +53,6 @@
53
53
  }
54
54
  },
55
55
  "sideEffects": false,
56
- "main": "./src/index.tsx"
56
+ "main": "./src/index.tsx",
57
+ "gitHead": "772235c2a3e93c6d06cd233dc7c77a532831c83e"
57
58
  }
@@ -1,35 +0,0 @@
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
- }
@@ -1,57 +0,0 @@
1
- {
2
- "name": "@toptal/davinci-skeleton",
3
- "version": "4.4.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:ci": "LANG=en_US davinci qa unit --ci --maxWorkers 100% --testTimeout=10000 --silent",
27
- "test:e2e": "NODE_ENV=development davinci qa e2e --baseUrl=https://local-development.staging.toptal.net:3000",
28
- "test:e2e:ci": "yarn start:ci & wait-on -i 10000 https://local-development.staging.toptal.net:3000 && yarn test:e2e",
29
- "lint": "davinci syntax lint code . && davinci syntax lint styles .",
30
- "typecheck": "tsc --noEmit",
31
- "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
32
- "build:package": "../../bin/build-package.js",
33
- "prepack": "./bin/prepack-skeleton",
34
- "postpack": "./bin/postpack-skeleton",
35
- "prepublishOnly": "../../bin/prepublish.js"
36
- },
37
- "lint-staged": {
38
- "*.{js,jsx,ts,tsx}": [
39
- "davinci syntax lint code",
40
- "prettier",
41
- "git add"
42
- ],
43
- "styles.{js,jsx,ts,tsx}": [
44
- "davinci syntax lint styles",
45
- "prettier --write",
46
- "git add"
47
- ]
48
- },
49
- "husky": {
50
- "hooks": {
51
- "pre-commit": "lint-staged",
52
- "pre-push": "davinci ci danger --local"
53
- }
54
- },
55
- "sideEffects": false,
56
- "main": "./src/index.tsx"
57
- }
@@ -1,57 +0,0 @@
1
- {
2
- "name": "@toptal/davinci-skeleton",
3
- "version": "4.4.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:ci": "LANG=en_US davinci qa unit --ci --maxWorkers 100% --testTimeout=10000 --silent",
27
- "test:e2e": "NODE_ENV=development davinci qa e2e --baseUrl=https://local-development.staging.toptal.net:3000",
28
- "test:e2e:ci": "yarn start:ci & wait-on -i 10000 https://local-development.staging.toptal.net:3000 && yarn test:e2e",
29
- "lint": "davinci syntax lint code . && davinci syntax lint styles .",
30
- "typecheck": "tsc --noEmit",
31
- "prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi",
32
- "build:package": "../../bin/build-package.js",
33
- "prepack": "./bin/prepack-skeleton",
34
- "postpack": "./bin/postpack-skeleton",
35
- "prepublishOnly": "../../bin/prepublish.js"
36
- },
37
- "lint-staged": {
38
- "*.{js,jsx,ts,tsx}": [
39
- "davinci syntax lint code",
40
- "prettier",
41
- "git add"
42
- ],
43
- "styles.{js,jsx,ts,tsx}": [
44
- "davinci syntax lint styles",
45
- "prettier --write",
46
- "git add"
47
- ]
48
- },
49
- "husky": {
50
- "hooks": {
51
- "pre-commit": "lint-staged",
52
- "pre-push": "davinci ci danger --local"
53
- }
54
- },
55
- "sideEffects": false,
56
- "main": "./src/index.tsx"
57
- }