Skip to content

Commit 8a1a5bb

Browse files
authored
Add Cypress and NextJS POC (#137)
* cypress * preparing for new docs page * Working on setting up docs page * try using jekyll to build the page * lock to LTS * refactor scripts * used often enough to be in package.json after all * Up the cache
1 parent ef9a265 commit 8a1a5bb

File tree

23 files changed

+4201
-73
lines changed

23 files changed

+4201
-73
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:latest
5+
- image: circleci/node:carbon
66

77
working_directory: ~/repo
88

@@ -11,8 +11,8 @@ jobs:
1111

1212
- restore_cache:
1313
keys:
14-
- v1-dependencies-{{ checksum "package.json" }}
15-
- v1-dependencies-
14+
- v2-dependencies-{{ checksum "yarn.lock" }}
15+
- v2-dependencies-
1616

1717
- run: yarn install
1818

@@ -21,6 +21,6 @@ jobs:
2121
- save_cache:
2222
paths:
2323
- node_modules
24-
key: v1-dependencies-{{ checksum "package.json" }}
24+
key: v2-dependencies-{{ checksum "yarn.lock" }}
2525

2626
- run: yarn semantic-release || true

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
dist
3+
docs/out
34
package.json

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.exclude": {
3+
"docs/**/*.js": true
4+
}
5+
}

cypress.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

cypress/fixtures/example.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "Using fixtures to represent data",
3+
"email": "hello@cypress.io",
4+
"body": "Fixtures are a great way to mock data for responses to routes"
5+
}

cypress/fixtures/profile.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": 8739,
3+
"name": "Jane",
4+
"email": "jane@example.com"
5+
}

cypress/fixtures/users.json

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
[
2+
{
3+
"id": 1,
4+
"name": "Leanne Graham",
5+
"username": "Bret",
6+
"email": "Sincere@april.biz",
7+
"address": {
8+
"street": "Kulas Light",
9+
"suite": "Apt. 556",
10+
"city": "Gwenborough",
11+
"zipcode": "92998-3874",
12+
"geo": {
13+
"lat": "-37.3159",
14+
"lng": "81.1496"
15+
}
16+
},
17+
"phone": "1-770-736-8031 x56442",
18+
"website": "hildegard.org",
19+
"company": {
20+
"name": "Romaguera-Crona",
21+
"catchPhrase": "Multi-layered client-server neural-net",
22+
"bs": "harness real-time e-markets"
23+
}
24+
},
25+
{
26+
"id": 2,
27+
"name": "Ervin Howell",
28+
"username": "Antonette",
29+
"email": "Shanna@melissa.tv",
30+
"address": {
31+
"street": "Victor Plains",
32+
"suite": "Suite 879",
33+
"city": "Wisokyburgh",
34+
"zipcode": "90566-7771",
35+
"geo": {
36+
"lat": "-43.9509",
37+
"lng": "-34.4618"
38+
}
39+
},
40+
"phone": "010-692-6593 x09125",
41+
"website": "anastasia.net",
42+
"company": {
43+
"name": "Deckow-Crist",
44+
"catchPhrase": "Proactive didactic contingency",
45+
"bs": "synergize scalable supply-chains"
46+
}
47+
},
48+
{
49+
"id": 3,
50+
"name": "Clementine Bauch",
51+
"username": "Samantha",
52+
"email": "Nathan@yesenia.net",
53+
"address": {
54+
"street": "Douglas Extension",
55+
"suite": "Suite 847",
56+
"city": "McKenziehaven",
57+
"zipcode": "59590-4157",
58+
"geo": {
59+
"lat": "-68.6102",
60+
"lng": "-47.0653"
61+
}
62+
},
63+
"phone": "1-463-123-4447",
64+
"website": "ramiro.info",
65+
"company": {
66+
"name": "Romaguera-Jacobson",
67+
"catchPhrase": "Face to face bifurcated interface",
68+
"bs": "e-enable strategic applications"
69+
}
70+
},
71+
{
72+
"id": 4,
73+
"name": "Patricia Lebsack",
74+
"username": "Karianne",
75+
"email": "Julianne.OConner@kory.org",
76+
"address": {
77+
"street": "Hoeger Mall",
78+
"suite": "Apt. 692",
79+
"city": "South Elvis",
80+
"zipcode": "53919-4257",
81+
"geo": {
82+
"lat": "29.4572",
83+
"lng": "-164.2990"
84+
}
85+
},
86+
"phone": "493-170-9623 x156",
87+
"website": "kale.biz",
88+
"company": {
89+
"name": "Robel-Corkery",
90+
"catchPhrase": "Multi-tiered zero tolerance productivity",
91+
"bs": "transition cutting-edge web services"
92+
}
93+
},
94+
{
95+
"id": 5,
96+
"name": "Chelsey Dietrich",
97+
"username": "Kamren",
98+
"email": "Lucio_Hettinger@annie.ca",
99+
"address": {
100+
"street": "Skiles Walks",
101+
"suite": "Suite 351",
102+
"city": "Roscoeview",
103+
"zipcode": "33263",
104+
"geo": {
105+
"lat": "-31.8129",
106+
"lng": "62.5342"
107+
}
108+
},
109+
"phone": "(254)954-1289",
110+
"website": "demarco.info",
111+
"company": {
112+
"name": "Keebler LLC",
113+
"catchPhrase": "User-centric fault-tolerant solution",
114+
"bs": "revolutionize end-to-end systems"
115+
}
116+
},
117+
{
118+
"id": 6,
119+
"name": "Mrs. Dennis Schulist",
120+
"username": "Leopoldo_Corkery",
121+
"email": "Karley_Dach@jasper.info",
122+
"address": {
123+
"street": "Norberto Crossing",
124+
"suite": "Apt. 950",
125+
"city": "South Christy",
126+
"zipcode": "23505-1337",
127+
"geo": {
128+
"lat": "-71.4197",
129+
"lng": "71.7478"
130+
}
131+
},
132+
"phone": "1-477-935-8478 x6430",
133+
"website": "ola.org",
134+
"company": {
135+
"name": "Considine-Lockman",
136+
"catchPhrase": "Synchronised bottom-line interface",
137+
"bs": "e-enable innovative applications"
138+
}
139+
},
140+
{
141+
"id": 7,
142+
"name": "Kurtis Weissnat",
143+
"username": "Elwyn.Skiles",
144+
"email": "Telly.Hoeger@billy.biz",
145+
"address": {
146+
"street": "Rex Trail",
147+
"suite": "Suite 280",
148+
"city": "Howemouth",
149+
"zipcode": "58804-1099",
150+
"geo": {
151+
"lat": "24.8918",
152+
"lng": "21.8984"
153+
}
154+
},
155+
"phone": "210.067.6132",
156+
"website": "elvis.io",
157+
"company": {
158+
"name": "Johns Group",
159+
"catchPhrase": "Configurable multimedia task-force",
160+
"bs": "generate enterprise e-tailers"
161+
}
162+
},
163+
{
164+
"id": 8,
165+
"name": "Nicholas Runolfsdottir V",
166+
"username": "Maxime_Nienow",
167+
"email": "Sherwood@rosamond.me",
168+
"address": {
169+
"street": "Ellsworth Summit",
170+
"suite": "Suite 729",
171+
"city": "Aliyaview",
172+
"zipcode": "45169",
173+
"geo": {
174+
"lat": "-14.3990",
175+
"lng": "-120.7677"
176+
}
177+
},
178+
"phone": "586.493.6943 x140",
179+
"website": "jacynthe.com",
180+
"company": {
181+
"name": "Abernathy Group",
182+
"catchPhrase": "Implemented secondary concept",
183+
"bs": "e-enable extensible e-tailers"
184+
}
185+
},
186+
{
187+
"id": 9,
188+
"name": "Glenna Reichert",
189+
"username": "Delphine",
190+
"email": "Chaim_McDermott@dana.io",
191+
"address": {
192+
"street": "Dayna Park",
193+
"suite": "Suite 449",
194+
"city": "Bartholomebury",
195+
"zipcode": "76495-3109",
196+
"geo": {
197+
"lat": "24.6463",
198+
"lng": "-168.8889"
199+
}
200+
},
201+
"phone": "(775)976-6794 x41206",
202+
"website": "conrad.com",
203+
"company": {
204+
"name": "Yost and Sons",
205+
"catchPhrase": "Switchable contextually-based project",
206+
"bs": "aggregate real-time technologies"
207+
}
208+
},
209+
{
210+
"id": 10,
211+
"name": "Clementina DuBuque",
212+
"username": "Moriah.Stanton",
213+
"email": "Rey.Padberg@karina.biz",
214+
"address": {
215+
"street": "Kattie Turnpike",
216+
"suite": "Suite 198",
217+
"city": "Lebsackbury",
218+
"zipcode": "31428-2261",
219+
"geo": {
220+
"lat": "-38.2386",
221+
"lng": "57.2232"
222+
}
223+
},
224+
"phone": "024-648-3804",
225+
"website": "ambrose.net",
226+
"company": {
227+
"name": "Hoeger LLC",
228+
"catchPhrase": "Centralized empowering task-force",
229+
"bs": "target end-to-end models"
230+
}
231+
}
232+
]

0 commit comments

Comments
 (0)