diff --git a/cypress/videos/sampleBlog.spec.js.mp4 b/cypress/videos/sampleBlog.spec.js.mp4 new file mode 100644 index 000000000..4845c56dc Binary files /dev/null and b/cypress/videos/sampleBlog.spec.js.mp4 differ diff --git a/ng-projects/sampleBlog/src/app/user/users/users.component.html b/ng-projects/sampleBlog/src/app/user/users/users.component.html index 4eb2e3c0c..a1aecf10b 100644 --- a/ng-projects/sampleBlog/src/app/user/users/users.component.html +++ b/ng-projects/sampleBlog/src/app/user/users/users.component.html @@ -10,7 +10,7 @@

Users

{{ user.id }} - {{ user.name }} + {{ user.name }} diff --git a/projects/sampleBlog/src/assets/scully-routes.json b/projects/sampleBlog/src/assets/scully-routes.json new file mode 100644 index 000000000..d98d9ec1d --- /dev/null +++ b/projects/sampleBlog/src/assets/scully-routes.json @@ -0,0 +1,119 @@ +[ + {"route": "/about"}, + {"route": "/home/all"}, + {"route": "/home/unpublished"}, + {"route": "/home/"}, + {"route": "/home"}, + {"route": "/blog"}, + { + "route": "/blog/2014/2/12/asdf", + "title": "Deeply embedded", + "author": "Sander Elias", + "publish date": "2019-11-27T00:00:00.000Z", + "published": true, + "description": "This is the deep folder demo page in this sample.", + "slugs": null, + "sourceFile": "asdf.md" + }, + { + "route": "/blog/look_at_my-urls_Cool", + "title": "My first page", + "author": "Sander Elias", + "publish date": "2019-11-26T00:00:00.000Z", + "slug": "look at_my-urls Cool", + "slugs": ["page-1"], + "description": "This is the first demo page in this sample.", + "sourceFile": "page-1.md" + }, + { + "route": "/blog/page-1", + "title": "My first page", + "author": "Sander Elias", + "publish date": "2019-11-26T00:00:00.000Z", + "slug": "look at_my-urls Cool", + "slugs": ["page-1"], + "description": "This is the first demo page in this sample.", + "sourceFile": "page-1.md" + }, + { + "route": "/blog/___UNPUBLISHED___k5nhcflm_SJwD4Z0QDrIHg1PGHo2mrfLZE8sfUsPy", + "title": "My second page", + "author": "Sander Elias", + "publish date": "2019-11-27T00:00:00.000Z", + "published": false, + "description": "This is the second demo page in this sample.", + "slugs": ["___UNPUBLISHED___k5nhcflm_SJwD4Z0QDrIHg1PGHo2mrfLZE8sfUsPy", "page-2"], + "slug": "___UNPUBLISHED___k5nhcflm_SJwD4Z0QDrIHg1PGHo2mrfLZE8sfUsPy", + "sourceFile": "page-2.md" + }, + { + "route": "/blog/My_third_page%2C", + "title": "My third page", + "author": "Sander Elias", + "publish date": "2019-11-28T00:00:00.000Z", + "description": "At this point, I should write something different in here.", + "slug": "My third page,", + "slugs": ["page-3"], + "sourceFile": "page-3.md" + }, + { + "route": "/blog/page-3", + "title": "My third page", + "author": "Sander Elias", + "publish date": "2019-11-28T00:00:00.000Z", + "description": "At this point, I should write something different in here.", + "slug": "My third page,", + "slugs": ["page-3"], + "sourceFile": "page-3.md" + }, + { + "route": "/blog/page-4", + "title": "The Rainbow Cat, A free book out of the Guttenberg library", + "author": "Rose Fyleman and Thelma Cudlipp Grosvenor", + "publish date": "2019-12-16T00:00:00.000Z", + "sourceFile": "page-4.adoc" + }, + {"route": "/blog/page-5", "sourceFile": "page-5.md"}, + { + "route": "/blog/test/testing", + "title": "My test sub page", + "author": "Sander Elias", + "publish date": "2019-11-27T00:00:00.000Z", + "published": true, + "description": "This is the second demo page in this sample.", + "slugs": null, + "sourceFile": "testing.md" + }, + {"route": "/user"}, + {"route": "/user/1"}, + {"route": "/user/2"}, + {"route": "/user/1/post/1"}, + {"route": "/user/1/post/2"}, + {"route": "/user/1/post/3"}, + {"route": "/user/1/post/4"}, + {"route": "/user/1/post/5"}, + {"route": "/user/1/post/6"}, + {"route": "/user/1/post/7"}, + {"route": "/user/1/post/8"}, + {"route": "/user/1/post/9"}, + {"route": "/user/1/post/10"}, + {"route": "/user/2/post/11"}, + {"route": "/user/2/post/12"}, + {"route": "/user/2/post/13"}, + {"route": "/user/2/post/14"}, + {"route": "/user/2/post/15"}, + {"route": "/user/2/post/16"}, + {"route": "/user/2/post/17"}, + {"route": "/user/2/post/18"}, + {"route": "/user/2/post/19"}, + {"route": "/user/2/post/20"}, + {"route": "/demo/0"}, + {"route": "/demo/1"}, + {"route": "/demo/2"}, + {"route": "/demo/3"}, + {"route": "/demo/4"}, + {"route": "/slow"}, + {"route": "/manualIdle"}, + {"route": "/"}, + {"route": "/exclude/present"} +] diff --git a/scully/package-lock.json b/scully/package-lock.json index 408cf0c0d..1a3874d33 100644 --- a/scully/package-lock.json +++ b/scully/package-lock.json @@ -1,6 +1,6 @@ { "name": "@scullyio/scully", - "version": "0.0.88", + "version": "0.0.89", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/scully/package.json b/scully/package.json index 4c39a888f..2dcada55f 100644 --- a/scully/package.json +++ b/scully/package.json @@ -1,6 +1,6 @@ { "name": "@scullyio/scully", - "version": "0.0.88", + "version": "0.0.89", "description": "Scully CLI", "repository": { "type": "GIT", diff --git a/tests/jest/src/__tests__/__snapshots__/users.spec.ts.snap b/tests/jest/src/__tests__/__snapshots__/users.spec.ts.snap index d83cd8c21..c1bc82453 100644 --- a/tests/jest/src/__tests__/__snapshots__/users.spec.ts.snap +++ b/tests/jest/src/__tests__/__snapshots__/users.spec.ts.snap @@ -11,7 +11,7 @@ exports[`JsonPlugin: test user List Check clean blog index by scully 1`] = ` - Scully demo blog app! rendering inside scully🏠

Users

IdUsername
1 Leanne Graham
2 Ervin Howell
3 Clementine Bauch
4 Patricia Lebsack
5 Chelsey Dietrich
6 Mrs. Dennis Schulist
7 Kurtis Weissnat
8 Nicholas Runolfsdottir V
9 Glenna Reichert
10 Clementina DuBuque
+ Scully demo blog app! rendering inside scully🏠

Users

IdUsername
1 Leanne Graham
2 Ervin Howell
3 Clementine Bauch
4 Patricia Lebsack
5 Chelsey Dietrich
6 Mrs. Dennis Schulist
7 Kurtis Weissnat
8 Nicholas Runolfsdottir V
9 Glenna Reichert
10 Clementina DuBuque
"