Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Commit 36faca6

Browse files
Herre Groenatimmer
Herre Groen
authored andcommitted
Prepare the MonoRepo for Travis
1 parent e7dda39 commit 36faca6

File tree

27 files changed

+3475
-21125
lines changed

27 files changed

+3475
-21125
lines changed
File renamed without changes.

.travis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,33 @@ language: node_js
33
node_js:
44
- lts
55
- node
6+
7+
cache:
8+
yarn: true
9+
directories:
10+
- node_modules
11+
12+
install:
13+
- yarn --ignore-optional
14+
- yarn install-ci
15+
16+
script:
17+
- yarn lint
18+
- yarn test
19+
20+
#after_success:
21+
#- yarn global add codeclimate-test-reporter
22+
#- codeclimate-test-reporter < coverage/lcov.info
23+
24+
#notifications:
25+
# slack:
26+
# secure: W3StABr+AdcdQawTObK4nbsnn5nLrTTtZfVpD/GEN6gvSOQcykbGEC5+ceYg0jn5b4StDyCiTo5blEsrpVICFpYKc44+ogah+qaGRUfVRS/rpOvn4AueXTWn4JxhZzuxqKMiTmyW+MQG0uYM7sk7Q5S+15jj6ilkj4QATaBVNbY=
27+
28+
#deploy:
29+
# provider: npm
30+
# email: webmaster@yoast.com
31+
# api_key:
32+
# secure: zQGIEY373GvvXJav2qaeJ39qeFfz33/mZa4+VqvSBp+M68/VKdGukGd/oVqOsiKVX8+zqjjIsCnWY1LQ1sWjS2W5XAMQGC278lJj/YvKMAHcdVFqr1sE7C4CWY9JVQZy3YN/cfSwkSiu1ntIJQYsNJc8yBZgMP/1mu3auROlr//W6orT8H0ToVRJbfXIstmeDbrmEgU2fNEr+6Y6KADROUoQZcoFkxgSF/Pm2TU7gmHb4DuJO7aBw15Che/OSKCKG7kFobAl3Sw60BB3Caa4RWCFMFfA7GOlWtm6q6jVqBFb/rxmdYY0hpyidmcKFj6tAaHoh27kx8zzf8bRy9+ICtZuTFruHY9YKsALvRvKKprwM8nYE/T4mzSCOlRiCMWPo1AyNqtF1nGDVQOKQOCH5qsAC2dFgQJKfy8x+DPj+tPsV3aevq+VhgF0Rek1LqyQLsKZv5xFAvil9rU3We3R2foJDqMgZwf5QVI0ZlOAIQSh5zORMoKAPKxAOVcODiNEiOkOZrj1A4CLX33V0e3td5qBSltGzlZQEbryvy8yFB4rBqE+1TpcCnu29rYcdVB8X78mz/uuQJG+VMfHTmYXD1vRZbgEzACaOsZR7eKZGi5BmfVMVnkqjM2vR24xCPOB2Laj/889PWJZPtL9D5mD0lsG7ln36honrk3aI+fYBjM=
33+
# on:
34+
# tags: true
35+
# repo: Yoast/yoast-components

package.json

+14-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,18 @@
44
"devDependencies": {
55
"lerna": "^3.13.1"
66
},
7-
"workspaces": [
8-
"packages/*"
9-
]
7+
"workspaces": {
8+
"packages": [
9+
"packages/*"
10+
],
11+
"nohoist": [
12+
"**/grunt-*",
13+
"**/eslint*"
14+
]
15+
},
16+
"scripts": {
17+
"lint": "lerna run lint",
18+
"test": "lerna run test",
19+
"install-ci": "lerna run install-ci"
20+
}
1021
}

packages/yoast-components/composites/AlgoliaSearch/tests/__snapshots__/AlgoliaSearcherTest.js.snap

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,32 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`the AlgoliaSearcher component with headingText matches the snapshot 1`] = `
4+
.c5 {
5+
color: #fff;
6+
background: #64a60a;
7+
min-width: 152px;
8+
text-shadow: 0 0 2px #000;
9+
overflow: visible;
10+
cursor: pointer;
11+
}
12+
13+
.c5::-moz-focus-inner {
14+
border-width: 0;
15+
}
16+
17+
.c5 span {
18+
display: inherit;
19+
-webkit-align-items: inherit;
20+
-webkit-box-align: inherit;
21+
-ms-flex-align: inherit;
22+
align-items: inherit;
23+
-webkit-box-pack: inherit;
24+
-webkit-justify-content: inherit;
25+
-ms-flex-pack: inherit;
26+
justify-content: inherit;
27+
width: 100%;
28+
}
29+
430
.c4 {
531
display: -webkit-inline-box;
632
display: -webkit-inline-flex;
@@ -43,32 +69,6 @@ exports[`the AlgoliaSearcher component with headingText matches the snapshot 1`]
4369
box-shadow: none;
4470
}
4571
46-
.c5 {
47-
color: #fff;
48-
background: #64a60a;
49-
min-width: 152px;
50-
text-shadow: 0 0 2px #000;
51-
overflow: visible;
52-
cursor: pointer;
53-
}
54-
55-
.c5::-moz-focus-inner {
56-
border-width: 0;
57-
}
58-
59-
.c5 span {
60-
display: inherit;
61-
-webkit-align-items: inherit;
62-
-webkit-box-align: inherit;
63-
-ms-flex-align: inherit;
64-
align-items: inherit;
65-
-webkit-box-pack: inherit;
66-
-webkit-justify-content: inherit;
67-
-ms-flex-pack: inherit;
68-
justify-content: inherit;
69-
width: 100%;
70-
}
71-
7272
.c1 form {
7373
display: -webkit-box;
7474
display: -webkit-flex;
@@ -163,7 +163,7 @@ exports[`the AlgoliaSearcher component with headingText matches the snapshot 1`]
163163
/>
164164
<button
165165
aria-expanded={undefined}
166-
className="c4 YoastButton-hNXTAd c5"
166+
className="c4 c5"
167167
onClick={undefined}
168168
type="submit"
169169
>

packages/yoast-components/composites/AlgoliaSearch/tests/__snapshots__/SearchBarTest.js.snap

+54-54
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,32 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`the SearchBar component with headingText matches the snapshot 1`] = `
4+
.c4 {
5+
color: #fff;
6+
background: #64a60a;
7+
min-width: 152px;
8+
text-shadow: 0 0 2px #000;
9+
overflow: visible;
10+
cursor: pointer;
11+
}
12+
13+
.c4::-moz-focus-inner {
14+
border-width: 0;
15+
}
16+
17+
.c4 span {
18+
display: inherit;
19+
-webkit-align-items: inherit;
20+
-webkit-box-align: inherit;
21+
-ms-flex-align: inherit;
22+
align-items: inherit;
23+
-webkit-box-pack: inherit;
24+
-webkit-justify-content: inherit;
25+
-ms-flex-pack: inherit;
26+
justify-content: inherit;
27+
width: 100%;
28+
}
29+
430
.c3 {
531
display: -webkit-inline-box;
632
display: -webkit-inline-flex;
@@ -43,32 +69,6 @@ exports[`the SearchBar component with headingText matches the snapshot 1`] = `
4369
box-shadow: none;
4470
}
4571
46-
.c4 {
47-
color: #fff;
48-
background: #64a60a;
49-
min-width: 152px;
50-
text-shadow: 0 0 2px #000;
51-
overflow: visible;
52-
cursor: pointer;
53-
}
54-
55-
.c4::-moz-focus-inner {
56-
border-width: 0;
57-
}
58-
59-
.c4 span {
60-
display: inherit;
61-
-webkit-align-items: inherit;
62-
-webkit-box-align: inherit;
63-
-ms-flex-align: inherit;
64-
align-items: inherit;
65-
-webkit-box-pack: inherit;
66-
-webkit-justify-content: inherit;
67-
-ms-flex-pack: inherit;
68-
justify-content: inherit;
69-
width: 100%;
70-
}
71-
7272
.c0 form {
7373
display: -webkit-box;
7474
display: -webkit-flex;
@@ -155,7 +155,7 @@ exports[`the SearchBar component with headingText matches the snapshot 1`] = `
155155
/>
156156
<button
157157
aria-expanded={undefined}
158-
className="c3 YoastButton-hNXTAd c4"
158+
className="c3 c4"
159159
onClick={undefined}
160160
type="submit"
161161
>
@@ -168,6 +168,32 @@ exports[`the SearchBar component with headingText matches the snapshot 1`] = `
168168
`;
169169

170170
exports[`the SearchBar component without headingText matches the snapshot 1`] = `
171+
.c4 {
172+
color: #fff;
173+
background: #64a60a;
174+
min-width: 152px;
175+
text-shadow: 0 0 2px #000;
176+
overflow: visible;
177+
cursor: pointer;
178+
}
179+
180+
.c4::-moz-focus-inner {
181+
border-width: 0;
182+
}
183+
184+
.c4 span {
185+
display: inherit;
186+
-webkit-align-items: inherit;
187+
-webkit-box-align: inherit;
188+
-ms-flex-align: inherit;
189+
align-items: inherit;
190+
-webkit-box-pack: inherit;
191+
-webkit-justify-content: inherit;
192+
-ms-flex-pack: inherit;
193+
justify-content: inherit;
194+
width: 100%;
195+
}
196+
171197
.c3 {
172198
display: -webkit-inline-box;
173199
display: -webkit-inline-flex;
@@ -210,32 +236,6 @@ exports[`the SearchBar component without headingText matches the snapshot 1`] =
210236
box-shadow: none;
211237
}
212238
213-
.c4 {
214-
color: #fff;
215-
background: #64a60a;
216-
min-width: 152px;
217-
text-shadow: 0 0 2px #000;
218-
overflow: visible;
219-
cursor: pointer;
220-
}
221-
222-
.c4::-moz-focus-inner {
223-
border-width: 0;
224-
}
225-
226-
.c4 span {
227-
display: inherit;
228-
-webkit-align-items: inherit;
229-
-webkit-box-align: inherit;
230-
-ms-flex-align: inherit;
231-
align-items: inherit;
232-
-webkit-box-pack: inherit;
233-
-webkit-justify-content: inherit;
234-
-ms-flex-pack: inherit;
235-
justify-content: inherit;
236-
width: 100%;
237-
}
238-
239239
.c0 form {
240240
display: -webkit-box;
241241
display: -webkit-flex;
@@ -322,7 +322,7 @@ exports[`the SearchBar component without headingText matches the snapshot 1`] =
322322
/>
323323
<button
324324
aria-expanded={undefined}
325-
className="c3 YoastButton-hNXTAd c4"
325+
className="c3 c4"
326326
onClick={undefined}
327327
type="submit"
328328
>

packages/yoast-components/composites/AlgoliaSearch/tests/__snapshots__/SearchResultDetailTest.js.snap

+27-27
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ exports[`the SearchResultDetail component matches the snapshot 1`] = `
77
border: none;
88
}
99
10+
.c3 {
11+
color: #fff;
12+
background: #64a60a;
13+
min-width: 152px;
14+
text-shadow: 0 0 2px #000;
15+
overflow: visible;
16+
cursor: pointer;
17+
}
18+
19+
.c3::-moz-focus-inner {
20+
border-width: 0;
21+
}
22+
23+
.c3 span {
24+
display: inherit;
25+
-webkit-align-items: inherit;
26+
-webkit-box-align: inherit;
27+
-ms-flex-align: inherit;
28+
align-items: inherit;
29+
-webkit-box-pack: inherit;
30+
-webkit-justify-content: inherit;
31+
-ms-flex-pack: inherit;
32+
justify-content: inherit;
33+
width: 100%;
34+
}
35+
1036
.c2 {
1137
display: -webkit-inline-box;
1238
display: -webkit-inline-flex;
@@ -49,32 +75,6 @@ exports[`the SearchResultDetail component matches the snapshot 1`] = `
4975
box-shadow: none;
5076
}
5177
52-
.c3 {
53-
color: #fff;
54-
background: #64a60a;
55-
min-width: 152px;
56-
text-shadow: 0 0 2px #000;
57-
overflow: visible;
58-
cursor: pointer;
59-
}
60-
61-
.c3::-moz-focus-inner {
62-
border-width: 0;
63-
}
64-
65-
.c3 span {
66-
display: inherit;
67-
-webkit-align-items: inherit;
68-
-webkit-box-align: inherit;
69-
-ms-flex-align: inherit;
70-
align-items: inherit;
71-
-webkit-box-pack: inherit;
72-
-webkit-justify-content: inherit;
73-
-ms-flex-pack: inherit;
74-
justify-content: inherit;
75-
width: 100%;
76-
}
77-
7878
.c6 {
7979
-webkit-text-decoration: none;
8080
text-decoration: none;
@@ -146,7 +146,7 @@ exports[`the SearchResultDetail component matches the snapshot 1`] = `
146146
>
147147
<button
148148
aria-expanded={undefined}
149-
className="c2 YoastButton-hNXTAd c3"
149+
className="c2 c3"
150150
onClick={[Function]}
151151
type="button"
152152
>

0 commit comments

Comments
 (0)