Skip to content

Commit

Permalink
Getting started migration (#283)
Browse files Browse the repository at this point in the history
* exporting next client

* doc: (#273) adding post list and single post pages using canary framework

* doc: (#272) adding pageUri page

* fix: correct router provider for getNextStaticProps

* fix: example is using new getNextStaticProps interface

* chore: adding next lint and fixing lint error

* fix: is404 will always refetch the entity

* feat: (#274) migrate categories

* chore: setting up workspaces

* chore: fixing actions to install and run correct scripts

* chore: actions use node 14

* chore: correcting action

* chore: correcting action

* chore: correcting test action to not run npm test

* chore: removing node version matrix from action

* chore: testing version action

* chore: testing version action

* chore: using node 15 to get npm 7

* chore: actions are building before running test or lint

* chore: actions should be working now with correct npm version

* doc: (#276) pagination working for posts

* doc: (#276) using pagination component for post pagination

* chore: removing unused code

* doc: (#276) pagination component using const and exporting props interface

* feat: (#272) demonstrate custom page use

* doc: adding 404 functionality to posts, adding featured category page and header link to blog

* feat: adding optional logger for queries

* feat: (#277) category pagination

* fix: lodash linting error

* fix: Add 404 checks to pages/categories

* fix: (#281,#271) previews working in next example

* fix: adding preview file

* fix: useHydrateCache always restores cache, logger is direct import

* chore: incrementing versions

* fix: removing console log

* chore: removing unused code

* refactor: prepare for demo

* feat: Add custom 404 page

* fix: display featured image on post/page if exists

* refactor: remove unused deps from example

* chore: incrementing package versions

* doc: (#271) adding page and post previews to a single page

* chore: using next package versions

* chore: updating dependencies

* fix: lint issue

Co-authored-by: Blake Wilson <[email protected]>
  • Loading branch information
wjohnsto and blakewilson authored Jun 18, 2021
1 parent 2120f82 commit 3eea712
Show file tree
Hide file tree
Showing 48 changed files with 62,290 additions and 146,666 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: lint
on: pull_request
jobs:
packages:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bootstrap dependencies
run: npm run bootstrap
env:
CI: TRUE
- name: Run eslint
run: npm run lint
- uses: actions/setup-node@v2
with:
node-version: '15'
- run: npm i -g npm@7 --registry=https://registry.npmjs.org
- run: npm install
- run: npm run build
- run: npm run lint
continue-on-error: FALSE
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: test
on: pull_request
jobs:
packages:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bootstrap dependencies
run: npm run bootstrap
env:
CI: TRUE
- name: Run tests
run: npm run test
- uses: actions/setup-node@v2
with:
node-version: '15'
- run: npm i -g npm@7 --registry=https://registry.npmjs.org
- run: npm install
- run: npm run build
- run: npm test
continue-on-error: FALSE
Loading

0 comments on commit 3eea712

Please sign in to comment.