Skip to content

Commit c93b73e

Browse files
committed
2 parents f28cd27 + 91d62bd commit c93b73e

File tree

3 files changed

+75
-1
lines changed

3 files changed

+75
-1
lines changed

.babelrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ if (BABEL_ENV === 'cjs') {
1212
}
1313

1414
module.exports = {
15+
comments: false,
1516
presets: [
1617
'@babel/preset-typescript',
1718
[

.circleci/config.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"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":

0 commit comments

Comments
 (0)