File tree Expand file tree Collapse file tree 3 files changed +76
-2
lines changed
Expand file tree Collapse file tree 3 files changed +76
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ if (BABEL_ENV === 'cjs') {
1212}
1313
1414module . exports = {
15+ comments : false ,
1516 presets : [
1617 '@babel/preset-typescript' ,
1718 [
Original file line number Diff line number Diff line change 1+
2+ aliases :
3+ - &restore-cache
4+ keys :
5+ - v1-dependencies-{{ .Branch }}-{{ checksum "yarn.lock" }}
6+ # Fallback in case checksum fails
7+ - v1-dependencies-{{ .Branch }}-
8+
9+ - &install
10+ run : yarn --no-progress
11+
12+ - &save-cache
13+ paths :
14+ - node_modules
15+ key : v1-dependencies-{{ .Branch }}-{{ checksum "yarn.lock" }}
16+
17+ - &cypress-dependencies-install
18+ run :
19+ name : Install Cypress dependencies
20+ command : sudo apt-get install xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
21+
22+ version : 2
23+ jobs :
24+ Typecheck :
25+ docker :
26+ - image : circleci/node:8
27+ steps :
28+ - checkout
29+ - restore-cache : *restore-cache
30+ - *install
31+ - run : yarn typecheck
32+
33+ Build :
34+ docker :
35+ - image : circleci/node:8
36+ steps :
37+ - checkout
38+ - restore-cache : *restore-cache
39+ - *install
40+ - run : yarn build
41+ - save-cache : *save-cache
42+
43+ Semantic Release :
44+ docker :
45+ - image : circleci/node:8
46+ steps :
47+ - checkout
48+ - restore-cache : *restore-cache
49+ - *install
50+ # - run:
51+ # name: scroll-into-view-if-needed
52+ # command: npx --no-install semantic-release -e semantic-release-monorepo
53+ # working_directory: packages/scroll-into-view-if-needed
54+ # - run:
55+ # name: smooth-scroll-into-view-if-needed
56+ # command: npx --no-install semantic-release -e semantic-release-monorepo
57+ # working_directory: packages/smooth-scroll-into-view-if-needed
58+
59+ # Workflows enables us to run multiple jobs in parallel
60+ workflows :
61+ version : 2
62+ Build and Deploy :
63+ jobs :
64+ - Typecheck
65+ - Build
66+ - Semantic Release :
67+ requires :
68+ - Typecheck
69+ - Build
70+ filters :
71+ branches :
72+ only :
73+ - master
Original file line number Diff line number Diff line change 1010 "url" :
1111 " git+https://github.com/stipsan/smooth-scroll-into-view-if-needed.git"
1212 },
13- "version" : " 1.0.1-alpha.2 " ,
13+ "version" : " 1.0.1-alpha.3 " ,
1414 "main" : " index.js" ,
15- "files" : [" es" , " umd" ],
15+ "files" : [" es" , " typings " , " umd" ],
1616 "scripts" : {
1717 "prebuild" : " yarn clean" ,
1818 "build" :
You can’t perform that action at this time.
0 commit comments