File tree Expand file tree Collapse file tree 3 files changed +75
-1
lines changed Expand file tree Collapse file tree 3 files changed +75
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ if (BABEL_ENV === 'cjs') {
12
12
}
13
13
14
14
module . exports = {
15
+ comments : false ,
15
16
presets : [
16
17
'@babel/preset-typescript' ,
17
18
[
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 12
12
},
13
13
"version" : " 1.0.1-alpha.3" ,
14
14
"main" : " index.js" ,
15
- "files" : [" es" , " umd" ],
15
+ "files" : [" es" , " typings " , " umd" ],
16
16
"scripts" : {
17
17
"prebuild" : " yarn clean" ,
18
18
"build" :
You can’t perform that action at this time.
0 commit comments