diff --git a/.husky/pre-commit b/.husky/pre-commit index 89d7972e..e5d7f7cc 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ +pnpm prettier ./**/*.md -w pnpm pre-commit diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 626d5769..169f5c06 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -8,7 +8,8 @@ ### Patch Changes -- a388ad0: Don't notify the user that an update is available, if it is only a pre-release. +- a388ad0: Don't notify the user that an update is available, if it is only a + pre-release. - Updated dependencies [11e0509] - Updated dependencies [87fdf27] - @pantheon-systems/pcc-sdk-core@3.7.0 diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 039033a8..e778274f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -4,9 +4,10 @@ ### Patch Changes -- 11e0509: Fixed issue where some GQL parameters would not be passed to the API in - `getAllArticles` -- 87fdf27: PCC-GRANT (preview token) cookie now set with most relaxed security so that preview-pages can be shown in iframes. +- 11e0509: Fixed issue where some GQL parameters would not be passed to the API + in `getAllArticles` +- 87fdf27: PCC-GRANT (preview token) cookie now set with most relaxed security + so that preview-pages can be shown in iframes. ## 3.6.1 diff --git a/packages/react-sdk/CHANGELOG.md b/packages/react-sdk/CHANGELOG.md index f87100b2..8f959ffa 100644 --- a/packages/react-sdk/CHANGELOG.md +++ b/packages/react-sdk/CHANGELOG.md @@ -4,7 +4,9 @@ ### Patch Changes -- e7d5252: Gracefully handle implementation edge case where a smart component map was provided to the ArticlerRenderer but without defining the react components that should be used. +- e7d5252: Gracefully handle implementation edge case where a smart component + map was provided to the ArticlerRenderer but without defining the react + components that should be used. - Updated dependencies [11e0509] - Updated dependencies [87fdf27] - @pantheon-systems/pcc-sdk-core@3.7.0 diff --git a/starters/gatsby-starter-ts/README.md b/starters/gatsby-starter-ts/README.md index 3c09b37b..408526fe 100644 --- a/starters/gatsby-starter-ts/README.md +++ b/starters/gatsby-starter-ts/README.md @@ -54,14 +54,21 @@ npm init pantheon-decoupled-kit -- gatsby-pcc ## Serverside Rendering -This starter uses Gatsby's [createPages API](https://www.gatsbyjs.com/docs/creating-and-modifying-pages/) to pre-render the pages on the server. See `gatsby-node.mjs` file for the implementation details. +This starter uses Gatsby's +[createPages API](https://www.gatsbyjs.com/docs/creating-and-modifying-pages/) +to pre-render the pages on the server. See `gatsby-node.mjs` file for the +implementation details. -You could also use the provided client-side hooks in @pantheon-systems/pcc-react-sdk (`useArticles` and `useArticle`) to render the pages on the client. +You could also use the provided client-side hooks in +@pantheon-systems/pcc-react-sdk (`useArticles` and `useArticle`) to render the +pages on the client. ## Pantheon @pantheon-systems/gatsby-kit and @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/gatsby-kit and @pantheon-systems/pcc-react-sdk are included as dependencies in this project. This allows developers to make use of utility functions to simplify the -process of building and maintaining a Front-End site on Pantheon. +Pantheon's @pantheon-systems/gatsby-kit and @pantheon-systems/pcc-react-sdk are +included as dependencies in this project. This allows developers to make use of +utility functions to simplify the process of building and maintaining a +Front-End site on Pantheon. Full documentation can be found at: https://github.com/pantheon-systems/decoupled-kit-js/tree/canary/web/docs/Packages diff --git a/starters/nextjs-starter-approuter-ts/README.md b/starters/nextjs-starter-approuter-ts/README.md index 50efbbf5..ad66e4b2 100644 --- a/starters/nextjs-starter-approuter-ts/README.md +++ b/starters/nextjs-starter-approuter-ts/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own @@ -26,7 +25,8 @@ pcc init ./my-new-site --template=nextjs ## Pantheon's @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this project. +Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this +project. ## Tests diff --git a/starters/nextjs-starter-ts/README.md b/starters/nextjs-starter-ts/README.md index aacdd4a3..e5705712 100644 --- a/starters/nextjs-starter-ts/README.md +++ b/starters/nextjs-starter-ts/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own @@ -26,7 +25,8 @@ pcc init ./my-new-site --template=nextjs ## Pantheon's @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this project. +Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this +project. ## Tests diff --git a/starters/nextjs-starter/README.md b/starters/nextjs-starter/README.md index 4d1eeb63..58e49d38 100644 --- a/starters/nextjs-starter/README.md +++ b/starters/nextjs-starter/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own @@ -26,7 +25,8 @@ pcc init ./my-new-site --template=nextjs ## Pantheon's @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this project. +Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this +project. ## Tests diff --git a/starters/vue-starter-ts/README.md b/starters/vue-starter-ts/README.md index b18556b3..65b7a208 100644 --- a/starters/vue-starter-ts/README.md +++ b/starters/vue-starter-ts/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own diff --git a/starters/vue-starter/README.md b/starters/vue-starter/README.md index fd2907c3..91997eae 100644 --- a/starters/vue-starter/README.md +++ b/starters/vue-starter/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own