-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upstream release changes [0.14.0] (#297)
* docs: update `code-item` to `CodeGroupItem` Changes required for vuepressV2 upfrontjs/docs@946e50d * chore(deps-dev): update eslint * docs(services): removed typo * ci: refined api docs deployment * Feat/0.14.0 (#296) ## Feature: * feat(collection): add dot notation to pluck method * feat(collection): add `shuffle` method ## Chore: * chore: increment version * chore: make tsc output predictable * chore(deps-dev): update dependencies ## Refactor: * refactor(helpers): split out functions into files * This will help with maintainability and with tree-shaking when packaging separately for cjs. * refactor: import helper methods from their respective path ## Testing: * test: fix timestamp * test(api-calls): removed some casting * The values can already be inferred from the code * test(helpers): fix node@16 fringe testing error * Potentially issue due to different architecture on the runner. * https://github.com/upfrontjs/framework/actions/runs/3118093610/jobs/5057158718#step:5:59 * test(helpers): use real timers where possible * test(helpers): clarified comment
- Loading branch information
Showing
68 changed files
with
1,209 additions
and
1,050 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,16 +24,18 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Nandor Kraszlan" | ||
rm -rf types/ | ||
cp -r ./api-docs/* ./ | ||
git add -f assets | ||
git add -f classes | ||
git add -f interfaces | ||
git add -f functions | ||
git add -f types | ||
touch .nojekyll | ||
git add -f .nojekyll | ||
git add -f index.html | ||
git add -f modules.html | ||
git commit -m "Updates from ${{ github.ref }} - {{ github.sha }}" --no-verify | ||
git fetch | ||
git switch gh-pages | ||
git branch -r | ||
git push gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,75 @@ | ||
const sidebar = [ | ||
{ | ||
title: 'Prologue', | ||
children: [ | ||
'/prologue/contributing', | ||
'/prologue/project-policies' | ||
] | ||
}, | ||
{ | ||
title: 'Getting Started', | ||
path: '/getting-started/', | ||
children: [ | ||
'/getting-started/installation' | ||
] | ||
}, | ||
{ | ||
title: 'Calliope', | ||
path: '/calliope/', | ||
children: [ | ||
'/calliope/attributes', | ||
'/calliope/api-calls', | ||
'/calliope/query-building', | ||
'/calliope/relationships', | ||
'/calliope/timestamps', | ||
'/calliope/model-collection' | ||
] | ||
}, | ||
{ | ||
title: 'Services', | ||
path: '/services/', | ||
children: [ | ||
'/services/api', | ||
'/services/api-response-handler' | ||
] | ||
}, | ||
{ | ||
title: 'Helpers', | ||
path: '/helpers/', | ||
children: [ | ||
'/helpers/collection', | ||
'/helpers/pagination', | ||
'/helpers/global-config', | ||
'/helpers/event-emitter' | ||
] | ||
}, | ||
{ | ||
title: 'Cookbook', | ||
path: '/cookbook' | ||
}, | ||
{ | ||
title: 'Testing', | ||
path: '/testing', | ||
children: [ | ||
'/testing/factories' | ||
] | ||
}, | ||
] | ||
|
||
module.exports = { | ||
sidebar, | ||
nav: [ | ||
{ text: 'API', link: 'https://upfrontjs.github.io/framework', target:'_blank' } | ||
] | ||
} | ||
import { SidebarConfig } from "vuepress"; | ||
import { NavbarConfig } from "@vuepress/theme-default/lib/shared/nav"; | ||
|
||
const sidebar: SidebarConfig = [ | ||
{ | ||
text: 'Prologue', | ||
collapsible: true, | ||
children: [ | ||
'/prologue/contributing', | ||
'/prologue/project-policies' | ||
] | ||
}, | ||
{ | ||
text: 'Getting Started', | ||
collapsible: true, | ||
children: [ | ||
'/getting-started/', | ||
'/getting-started/installation' | ||
] | ||
}, | ||
{ | ||
text: 'Calliope', | ||
collapsible: true, | ||
children: [ | ||
'/calliope/', | ||
'/calliope/attributes', | ||
'/calliope/api-calls', | ||
'/calliope/query-building', | ||
'/calliope/relationships', | ||
'/calliope/timestamps', | ||
'/calliope/model-collection' | ||
] | ||
}, | ||
{ | ||
text: 'Services', | ||
collapsible: true, | ||
children: [ | ||
'/services/', | ||
'/services/api', | ||
'/services/api-response-handler' | ||
] | ||
}, | ||
{ | ||
text: 'Helpers', | ||
collapsible: true, | ||
children: [ | ||
'/helpers/', | ||
'/helpers/collection', | ||
'/helpers/pagination', | ||
'/helpers/global-config', | ||
'/helpers/event-emitter' | ||
] | ||
}, | ||
{ | ||
text: 'Testing', | ||
collapsible: true, | ||
children: [ | ||
'/testing/', | ||
'/testing/factories' | ||
] | ||
}, | ||
{ | ||
text: 'Cookbook', | ||
link: '/cookbook' | ||
}, | ||
] | ||
|
||
const navbar: NavbarConfig = [ | ||
{ text: 'API', link: 'https://upfrontjs.github.io/framework', target:'_blank' } | ||
] | ||
|
||
export default { | ||
sidebar, | ||
navbar | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.