Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting started migration #283

Merged
merged 49 commits into from
Jun 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
1c2786b
exporting next client
wjohnsto Jun 14, 2021
cfc013e
doc: (#273) adding post list and single post pages using canary frame…
wjohnsto Jun 15, 2021
550136f
doc: (#272) adding pageUri page
wjohnsto Jun 15, 2021
29cefb7
fix: correct router provider for getNextStaticProps
wjohnsto Jun 15, 2021
53ac38d
fix: example is using new getNextStaticProps interface
wjohnsto Jun 15, 2021
32781ca
chore: adding next lint and fixing lint error
wjohnsto Jun 15, 2021
2f48592
Merge branch 'canary' into getting-started-migration
wjohnsto Jun 16, 2021
44ce1af
fix: is404 will always refetch the entity
wjohnsto Jun 16, 2021
849ceb3
feat: (#274) migrate categories
blakewilson Jun 16, 2021
6db38a2
chore: setting up workspaces
wjohnsto Jun 16, 2021
7be5638
Merge branch 'getting-started-migration' of https://github.com/wpengi…
wjohnsto Jun 16, 2021
7418dd5
chore: fixing actions to install and run correct scripts
wjohnsto Jun 16, 2021
485799a
chore: actions use node 14
wjohnsto Jun 16, 2021
52d3f43
chore: correcting action
wjohnsto Jun 16, 2021
95e186e
chore: correcting action
wjohnsto Jun 16, 2021
aa5d26e
chore: correcting test action to not run npm test
wjohnsto Jun 16, 2021
cff51ba
chore: removing node version matrix from action
wjohnsto Jun 16, 2021
99957a9
chore: testing version action
wjohnsto Jun 16, 2021
1d33556
chore: testing version action
wjohnsto Jun 16, 2021
2416edf
chore: using node 15 to get npm 7
wjohnsto Jun 16, 2021
af2ad46
chore: actions are building before running test or lint
wjohnsto Jun 16, 2021
b33c862
chore: actions should be working now with correct npm version
wjohnsto Jun 16, 2021
8b20df6
doc: (#276) pagination working for posts
wjohnsto Jun 16, 2021
7890fd4
doc: (#276) using pagination component for post pagination
wjohnsto Jun 17, 2021
66bef93
chore: removing unused code
wjohnsto Jun 17, 2021
5b0d16c
doc: (#276) pagination component using const and exporting props inte…
wjohnsto Jun 17, 2021
a7c80e1
feat: (#272) demonstrate custom page use
blakewilson Jun 17, 2021
f0e5ae2
doc: adding 404 functionality to posts, adding featured category page…
wjohnsto Jun 17, 2021
0aa4bd2
feat: adding optional logger for queries
wjohnsto Jun 17, 2021
a3b8850
feat: (#277) category pagination
blakewilson Jun 17, 2021
dffd8ad
fix: lodash linting error
blakewilson Jun 17, 2021
9b0172f
fix: Add 404 checks to pages/categories
blakewilson Jun 17, 2021
3ec213c
fix: (#281,#271) previews working in next example
wjohnsto Jun 17, 2021
9681dd5
Merge branch 'getting-started-migration' of https://github.com/wpengi…
wjohnsto Jun 17, 2021
9b6a1a4
fix: adding preview file
wjohnsto Jun 17, 2021
aaea4ea
fix: useHydrateCache always restores cache, logger is direct import
wjohnsto Jun 17, 2021
59a29e8
chore: incrementing versions
wjohnsto Jun 17, 2021
144eaf2
fix: removing console log
wjohnsto Jun 17, 2021
77735dd
chore: removing unused code
wjohnsto Jun 18, 2021
72e9ec4
refactor: prepare for demo
blakewilson Jun 18, 2021
0d4813f
feat: Add custom 404 page
blakewilson Jun 18, 2021
7084f36
fix: display featured image on post/page if exists
blakewilson Jun 18, 2021
13bb3b2
refactor: remove unused deps from example
blakewilson Jun 18, 2021
90993cd
chore: incrementing package versions
wjohnsto Jun 18, 2021
7cfd2ac
doc: (#271) adding page and post previews to a single page
wjohnsto Jun 18, 2021
2d4aaf1
chore: using next package versions
wjohnsto Jun 18, 2021
6a0b747
merge: canary
wjohnsto Jun 18, 2021
51c0a24
chore: updating dependencies
wjohnsto Jun 18, 2021
49a642b
fix: lint issue
wjohnsto Jun 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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