From b1162b8aafcad28682755cd3912b0a4cf806b744 Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Tue, 26 Nov 2024 10:47:17 -0500 Subject: [PATCH 1/5] Update legacy docs --- internal/legacy.faustjs.org/docs/next/getting-started.mdx | 4 ++-- .../docs/next/guides/post-page-previews.mdx | 2 +- internal/legacy.faustjs.org/docs/release-notes.mdx | 2 +- packages/core/package.json | 2 +- packages/next/package.json | 2 +- packages/react/package.json | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/legacy.faustjs.org/docs/next/getting-started.mdx b/internal/legacy.faustjs.org/docs/next/getting-started.mdx index f0c5b31b8..32c3e2bb6 100644 --- a/internal/legacy.faustjs.org/docs/next/getting-started.mdx +++ b/internal/legacy.faustjs.org/docs/next/getting-started.mdx @@ -13,7 +13,7 @@ Please install our Next.js Getting Started example using the following command: ```bash npx create-next-app \ - -e https://github.com/wpengine/faustjs/tree/main \ + -e https://github.com/wpengine/faustjs/tree/archive-legacy \ --example-path examples/next/getting-started \ --use-npm \ my-app @@ -24,7 +24,7 @@ cd my-app ```ps npx create-next-app ` - -e https://github.com/wpengine/faustjs/tree/main ` + -e https://github.com/wpengine/faustjs/tree/archive-legacy ` --example-path examples/next/getting-started ` --use-npm ` my-app && cd my-app diff --git a/internal/legacy.faustjs.org/docs/next/guides/post-page-previews.mdx b/internal/legacy.faustjs.org/docs/next/guides/post-page-previews.mdx index 56e5cf36a..c5a40a94c 100644 --- a/internal/legacy.faustjs.org/docs/next/guides/post-page-previews.mdx +++ b/internal/legacy.faustjs.org/docs/next/guides/post-page-previews.mdx @@ -37,7 +37,7 @@ FAUSTWP_SECRET_KEY=xxxx ### Ensure you've created your `faust.config.js` file and are importing it in your `_app.tsx` -Like the [`next/getting-started`](https://github.com/wpengine/faustjs/tree/main/examples/next/getting-started) Faust.js example, your [`faust.config.js`](https://github.com/wpengine/faustjs/blob/main/examples/next/getting-started/src/faust.config.js) file will live in the `src` directory. +Like the [`next/getting-started`](https://github.com/wpengine/faustjs/tree/archive-legacy/examples/next/getting-started) Faust.js example, your [`faust.config.js`](https://github.com/wpengine/faustjs/blob/main/examples/next/getting-started/src/faust.config.js) file will live in the `src` directory. You'll need to import it at the top of your `_app.tsx` file to ensure the `config` is set, and your Faust.js app initializes appropriately. diff --git a/internal/legacy.faustjs.org/docs/release-notes.mdx b/internal/legacy.faustjs.org/docs/release-notes.mdx index 1d6b423af..03f3ffeac 100644 --- a/internal/legacy.faustjs.org/docs/release-notes.mdx +++ b/internal/legacy.faustjs.org/docs/release-notes.mdx @@ -57,7 +57,7 @@ export default coreConfig({ **Notice**: `headlessConfig` has been renamed to just `config` -[Take a look at the Getting Started example for a closer look at these breaking changes.](https://github.com/wpengine/faustjs/tree/main/examples/next/getting-started) +[Take a look at the Getting Started example for a closer look at these breaking changes.](https://github.com/wpengine/faustjs/tree/archive-legacy/examples/next/getting-started) ### Faust.js 0.11.0 - Sept 23, 2021 diff --git a/packages/core/package.json b/packages/core/package.json index c24ce60dc..c546271a6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -50,7 +50,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/wpengine/faustjs/tree/main/packages/core" + "url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/core" }, "keywords": [ "WordPress", diff --git a/packages/next/package.json b/packages/next/package.json index bf4b43d9b..0a6a7732d 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -58,7 +58,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/wpengine/faustjs/tree/main/packages/next" + "url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/next" }, "keywords": [ "WordPress", diff --git a/packages/react/package.json b/packages/react/package.json index 48d030803..4bb119090 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -30,7 +30,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/wpengine/faustjs/tree/main/packages/react" + "url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/react" }, "keywords": [ "WordPress", From 4da6edc63ca57b50bb88ab23c6aa0a1977394524 Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Tue, 26 Nov 2024 10:52:02 -0500 Subject: [PATCH 2/5] Update legacy package documents links --- packages/core/README.md | 2 +- packages/next/README.md | 2 +- packages/react/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/README.md b/packages/core/README.md index 4e0727171..9ecfe01b1 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -25,4 +25,4 @@ `@faustjs/core` is the core library for the Faust.js framework. It contains the core classes and interfaces that are used by other libraries in the framework. -[View legacy Faust.js Documentation](https://legacy.faustjs.org/) +[View legacy Faust.js Documentation](https://faustjs.org/legacy) diff --git a/packages/next/README.md b/packages/next/README.md index 7985fdcb9..c081d32d1 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -25,4 +25,4 @@ `@faustjs/next` is part of the Faust.js framework. It aids in building Headless WordPress websites with Next.js. -[View legacy Faust.js Documentation](https://legacy.faustjs.org/) +[View legacy Faust.js Documentation](https://faustjs.org/legacy) diff --git a/packages/react/README.md b/packages/react/README.md index f80b0433f..d54369a17 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -25,4 +25,4 @@ `@faustjs/react` is part of the Faust.js framework. It aids in building Headless WordPress websites with React.js. -[View legacy Faust.js Documentation](https://legacy.faustjs.org/) +[View legacy Faust.js Documentation](https://faustjs.org/legacy) From 9009bc0eefa7f0a9180b608fb1b9f80bfbbbf876 Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Tue, 26 Nov 2024 10:52:17 -0500 Subject: [PATCH 3/5] Update edit path for legacy site --- internal/legacy.faustjs.org/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/legacy.faustjs.org/docusaurus.config.js b/internal/legacy.faustjs.org/docusaurus.config.js index 4aa9f7ae1..f9c643879 100644 --- a/internal/legacy.faustjs.org/docusaurus.config.js +++ b/internal/legacy.faustjs.org/docusaurus.config.js @@ -156,7 +156,7 @@ module.exports = { sidebarPath: require.resolve('./sidebars.js'), // Please change this to your repo. editUrl: - 'https://github.com/wpengine/faustjs/edit/canary/internal/legacy.faustjs.org/', + 'https://github.com/wpengine/faustjs/edit/archive-legacy/internal/legacy.faustjs.org/', showLastUpdateAuthor: true, showLastUpdateTime: true, }, From e1708c8c62a084ac54ccbcc027edaf9e8370cce0 Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Tue, 26 Nov 2024 11:26:38 -0500 Subject: [PATCH 4/5] Revert "Update legacy package documents links" This reverts commit 4da6edc63ca57b50bb88ab23c6aa0a1977394524. --- packages/core/README.md | 2 +- packages/next/README.md | 2 +- packages/react/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/README.md b/packages/core/README.md index 9ecfe01b1..4e0727171 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -25,4 +25,4 @@ `@faustjs/core` is the core library for the Faust.js framework. It contains the core classes and interfaces that are used by other libraries in the framework. -[View legacy Faust.js Documentation](https://faustjs.org/legacy) +[View legacy Faust.js Documentation](https://legacy.faustjs.org/) diff --git a/packages/next/README.md b/packages/next/README.md index c081d32d1..7985fdcb9 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -25,4 +25,4 @@ `@faustjs/next` is part of the Faust.js framework. It aids in building Headless WordPress websites with Next.js. -[View legacy Faust.js Documentation](https://faustjs.org/legacy) +[View legacy Faust.js Documentation](https://legacy.faustjs.org/) diff --git a/packages/react/README.md b/packages/react/README.md index d54369a17..f80b0433f 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -25,4 +25,4 @@ `@faustjs/react` is part of the Faust.js framework. It aids in building Headless WordPress websites with React.js. -[View legacy Faust.js Documentation](https://faustjs.org/legacy) +[View legacy Faust.js Documentation](https://legacy.faustjs.org/) From a9e84e0cb023f57a09aa2411eea5b1ca563bf982 Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Tue, 26 Nov 2024 11:27:57 -0500 Subject: [PATCH 5/5] Revert package updates --- packages/core/package.json | 2 +- packages/next/package.json | 2 +- packages/react/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index c546271a6..c24ce60dc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -50,7 +50,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/core" + "url": "https://github.com/wpengine/faustjs/tree/main/packages/core" }, "keywords": [ "WordPress", diff --git a/packages/next/package.json b/packages/next/package.json index 0a6a7732d..bf4b43d9b 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -58,7 +58,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/next" + "url": "https://github.com/wpengine/faustjs/tree/main/packages/next" }, "keywords": [ "WordPress", diff --git a/packages/react/package.json b/packages/react/package.json index 4bb119090..48d030803 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -30,7 +30,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/react" + "url": "https://github.com/wpengine/faustjs/tree/main/packages/react" }, "keywords": [ "WordPress",