Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 19 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,35 @@ jobs:
working_directory: ~/build
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
# - restore_cache:
# keys:
# - v1-dependencies-{{ checksum "package.json" }}
# # fallback to using the latest cache if no exact match is found
# - v1-dependencies-
# check the licenses for production dependencies
- run: npm run license-validation
- run: cd demo && npm run license-validation
# compile and lint
- run: npm install
- run: npm ci
- run: npm install react react-dom
# run tests
- run: npm test
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: sudo npm install -g typescript
- run: npm run compile
- run: npm run lint
- restore_cache:
keys:
- v1-dependencies-{{ checksum "./demo/package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
# - restore_cache:
# keys:
# - v1-dependencies-{{ checksum "./demo/package.json" }}
# # fallback to using the latest cache if no exact match is found
# - v1-dependencies-
# build the demo
- run: cd demo && npm install
- save_cache:
paths:
- ./demo/node_modules
key: v1-dependencies-{{ checksum "./demo/package.json" }}
- run: cd demo && npm run build
# - save_cache:
# paths:
# - ./demo/node_modules
# key: v1-dependencies-{{ checksum "./demo/package.json" }}
- run: npm run build
24,325 changes: 19,765 additions & 4,560 deletions demo/package-lock.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
"openfin-layouts": "^1.0.3",
"openfin-react-hooks": "file:../",
"prismjs": "^1.16.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-html-parser": "^2.0.2",
"react-router-dom": "^5.0.0",
"react-switch": "^5.0.0",
Expand Down Expand Up @@ -54,7 +52,11 @@
"@types/uuid": "^3.4.4",
"cross-env": "^5.2.0",
"openfin-cli": "^2.0.8",
"react-scripts": "^3.3.0",
"react-scripts": "3.4.1",
"typescript": "3.4.5"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.10.1"
}
}
Loading