File tree Expand file tree Collapse file tree 6 files changed +271
-12
lines changed
Expand file tree Collapse file tree 6 files changed +271
-12
lines changed Original file line number Diff line number Diff line change 1+ # Use the latest 2.1 version of CircleCI pipeline processing engine, see https://circleci.com/docs/2.0/configuration-reference/
2+ version : 2.1
3+
4+ defaults : &defaults
5+ working_directory : ~/repo
6+ # https://circleci.com/docs/2.0/circleci-images/#language-image-variants
7+ docker :
8+ - image : circleci/node:10.15.1
9+ environment :
10+ TERM : xterm # Enable colors in term
11+
12+ jobs :
13+ CHECKOUT :
14+ << : *defaults
15+ steps :
16+ - checkout
17+ - restore_cache :
18+ name : Restore Package Cache
19+ keys :
20+ - packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
21+ - packages-v1-{{ .Branch }}-
22+ - packages-v1-
23+ - run : yarn install
24+ - save_cache :
25+ name : Save Package Cache
26+ paths :
27+ - ~/.cache/yarn
28+ key : packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
29+ - persist_to_workspace :
30+ root : ~/repo
31+ paths : .
32+
33+ BUILD :
34+ << : *defaults
35+ steps :
36+ - attach_workspace :
37+ at : ~/repo
38+ - run : npm run build:release
39+ # https://circleci.com/docs/2.0/collect-test-data/#karma
40+ # - store_test_results:
41+ # path: reports/junit
42+ # - store_artifacts:
43+ # path: reports/junit
44+ - persist_to_workspace :
45+ root : ~/repo
46+ paths : .
47+
48+ NPM_PUBLISH :
49+ << : *defaults
50+ steps :
51+ - attach_workspace :
52+ at : ~/repo
53+ - run :
54+ name : Avoid hosts unknown for github
55+ command :
56+ mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking
57+ no\n" > ~/.ssh/config
58+ - run :
59+ name : Publish using Semantic Release
60+ command : npx semantic-release
61+
62+ workflows :
63+ version : 2
64+
65+ # PULL REQUEST
66+ PULL_REQUEST :
67+ jobs :
68+ - CHECKOUT :
69+ filters :
70+ branches :
71+ ignore :
72+ - master
73+ - feature/*
74+ - hotfix/*
75+ - BUILD :
76+ requires :
77+ - CHECKOUT
78+
79+ # MERGE TO MASTER
80+ TEST_AND_RELEASE :
81+ jobs :
82+ - CHECKOUT :
83+ filters :
84+ branches :
85+ only : master
86+ - BUILD :
87+ requires :
88+ - CHECKOUT
89+ - NPM_PUBLISH :
90+ requires :
91+ - BUILD
Original file line number Diff line number Diff line change @@ -13,3 +13,8 @@ npm install --save react-vtkjs-viewport
1313## License
1414
1515MIT © [ OHIF] ( https://github.com/OHIF )
16+
17+
18+ <!--
19+ Links
20+ -->
Original file line number Diff line number Diff line change 4949 "prop-types" : " ^15.7.2" ,
5050 "react" : " ^16.8.6" ,
5151 "react-app-polyfill" : " ^1.0.1" ,
52- "react-cornerstone-viewport" : " 0.2.2 " ,
52+ "react-cornerstone-viewport" : " ^ 0.2.4 " ,
5353 "react-dev-utils" : " ^7.0.5" ,
5454 "react-dom" : " ^16.8.6" ,
5555 "react-resize-detector" : " ^4.1.3" ,
Original file line number Diff line number Diff line change @@ -8690,10 +8690,10 @@ react-app-polyfill@^1.0.1:
86908690 regenerator-runtime "0.13.2"
86918691 whatwg-fetch "3.0.0"
86928692
8693- 8694- version "0.2.2 "
8695- resolved "https://registry.yarnpkg.com/react-cornerstone-viewport/-/react-cornerstone-viewport-0.2.2 .tgz#5860e35c48927d66839f66b59944442b8f6b5f67 "
8696- integrity sha512-NdfV3ZAxYJ6PhqO/NETWNWJ7WiV/jOCS0WkfMaA3FC2ySKXg/mtvQbwsDFKV6p+Y2/u5WANpgq13Gn++JhIHYA ==
8693+ react-cornerstone-viewport@^ 0.2.4 :
8694+ version "0.2.4 "
8695+ resolved "https://registry.yarnpkg.com/react-cornerstone-viewport/-/react-cornerstone-viewport-0.2.4 .tgz#d553c97482e0286e0c7c3cd38595905932410791 "
8696+ integrity sha512-PKDQZRJL94qKO6MVdxVf1c4xhs68FWhECYxftSHY83uAWn7yvSkVr+UtctX/6uKeE4T7FDn33QBji1ceTa+Hnw ==
86978697 dependencies :
86988698 lodash.debounce "^4.0.8"
86998699 moment "^2.23.0"
87898789 tiny-invariant "^1.0.2"
87908790 tiny-warning "^1.0.0"
87918791
8792- " react-vtkjs-viewport@link:.. " :
8793- version "0.0.0"
8794- uid ""
8792+ " react-vtkjs-viewport@file:.. " :
8793+ version "0.0.12"
8794+ dependencies :
8795+ moment "^2.24.0"
87958796
87968797react@^16.8.6 :
87978798 version "16.8.6"
Original file line number Diff line number Diff line change 2222 },
2323 "peerDependencies" : {
2424 "react" : " ^16.8.6" ,
25- "react-dom" : " ^16.8.6"
25+ "react-dom" : " ^16.8.6" ,
26+ "vtk.js" : " ^11.0.1"
2627 },
2728 "devDependencies" : {
2829 "@babel/core" : " ^7.4.5" ,
5354 "style-loader" : " ^0.23.1" ,
5455 "stylelint" : " ^10.1.0" ,
5556 "stylelint-config-recommended" : " ^2.2.0" ,
57+ "vtk.js" : " ^11.0.1" ,
5658 "webpack" : " 4.34.0" ,
5759 "webpack-cli" : " ^3.3.4" ,
5860 "worker-loader" : " ^2.0.0"
You can’t perform that action at this time.
0 commit comments