-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: (#500) setting appropriate faust links from the plugin (#501) * make: (#504) release `0.6.1` (#505) * chore: update package-lock.json for 0.11.0 (#506) * Use `.env.local` instead of `.env` (#512) * Use `.env.local` instead of `.env` * Exclude `.env.local.sample` from gitignore * fix: (#503) remove refresh token logic (#507) Remove the existing refresh token upon an unauthorized response from the fetch token endpoint * Implement changesets (#521) * Implement changesets * Update changesets config * Release faust packages in lockstep * changeset commands * Create version:status command * Create release packages action * Update contributing guide * Include changeset to kick off PR * Remove old version script * Fix node version in release packages action (#522) * Implement `logoutHandler` middleware (#525) * Implment `logoutHandler` middleware * Create changeset * chore: include gqty as a monorepo dev dependency (#527) * Add option to disable redirect in `useAuth` hook when a user is unauthenticated (#531) * Add option to disable redirect in `useAuth` hook Introduced `UseAuthOptions` that allows a user to specify the `shouldRedirect` property. This property defines if the `useAuth` hook should redirect to the appropriate url when unauthenticated. * `UseAuthOptions` docs Describe the new `UseAuthOptions` properties and provide examples * `UseAuthOptions` changeset * Changeset for `Content-Type` header fix * Fix middleware tests Added `setHeader` to res mock * Use lodash defaults for `UseAuthOptions` * e2e test improvements (#530) * chore: avoid using default mysql port on host machine * chore: update broken test * chore: update broken preview test * chore: update e2e test instructions * docs: formatting and wording updates * docs: .env.test.local -> .env.test * Feat isr timing (#520) * feat: (#516) adding a next config, moving nextConfig to withFaust * fix: removing try/catch from getProps and adding beforeEach to getProps.test for creating config * feat: (#516) configuration is separate per package * feat: (#516) updating tests, docs, exports, and examples to use config instead of headlessConfig * doc: (#516) adding changeset for ISR timing configuration * Introduce `apiRouter` to handle Faust.js API endpoints (#532) * Create API Router node handler for api middleware Removed the `apiEndpoint` config option in exchange for `apiBasePath`. Additionally, the `pages/api/auth/wpe-headless.ts` file was deleted in exchange for the API route, `pages/api/faust/[[...route]].ts` * Rename `faustApiRouter` to `apiRouter` * Update preview docs to use `apiRouter` * Import Faust API endpoint partials from config * Do not expose the makeup of the Faust API on 404 * feat: (#533) separating server and client exports, dynamically importing server code where necessary * Use `headlessConfig` -> `config` * Remove old params from `config()` Co-authored-by: William Johnston <will@wwj.dev> * Version Packages (#523) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fix remove old publish script (#534) * Remove old publish script * Remove package-lock on release * Remove package-lock.json in all actions * Release Notes for 0.12.0 (#535) * Authentication Docs (#484) * WIP: Auth docs * docs: auth strategies * docs: auth hooks * docs: misc auth fixes * docs: making auth requests * docs: auth final touches * docs: update auth page desc * Add pr to `0.11.0` release notes * Update release notes for 0.12.0 * Make 0.12.0 breaking changes more clear * make breaking changes clearer in 0.12.0 Co-authored-by: William Johnston <will@wwj.dev> Co-authored-by: Will Johnston <wjohnsto@users.noreply.github.com> Co-authored-by: Andrew Matthews <andrew.matthews@wpengine.com> Co-authored-by: William Johnston <will@wwj.dev> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a763e19
commit f240512
Showing
72 changed files
with
14,157 additions
and
10,506 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/config@1.6.1/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"linked": [ | ||
["@faustjs/core", "@faustjs/next", "@faustjs/react"] | ||
], | ||
"access": "public", | ||
"baseBranch": "canary", | ||
"updateInternalDependencies": "patch", | ||
"ignore": ["next-headless-getting-started"] | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Release Packages | ||
|
||
on: | ||
push: | ||
branches: | ||
- canary | ||
|
||
jobs: | ||
release_packages: | ||
name: Release Packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@master | ||
with: | ||
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js 16.x | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 16.x | ||
|
||
- name: Remove package-lock.json | ||
run: | | ||
rm package-lock.json | ||
- name: Install Dependencies | ||
run: npm install | ||
|
||
- name: Create .npmrc | ||
run: | | ||
cat << EOF > "$HOME/.npmrc" | ||
//registry.npmjs.org/:_authToken=$NPM_TOKEN | ||
EOF | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Create Release Pull Request or Publish to npm | ||
id: changesets | ||
uses: changesets/action@master | ||
with: | ||
# This expects you to have a script called release which does a build for your packages and calls changeset publish | ||
publish: npm run release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
|
@@ -8,6 +8,6 @@ process.yml | |
.next | ||
.env | ||
.env.* | ||
!.env.sample | ||
!.env.local.sample | ||
.docusaurus | ||
build/ |
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.
f240512
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Branch main was deployed successfully
Your environment Production of app faustjs-site was successfully updated
View build logs: https://my.wpengine.com/atlas#/faustjs-site/cwa4v7z4d1u9vi7qw7hythg2/rdu8dz8iovj00fro1undsirs
View your environment URL: https://faustjs.org