Skip to content

Commit

Permalink
Merge branch 'main' into foss-379
Browse files Browse the repository at this point in the history
  • Loading branch information
kbader-godaddy authored Sep 29, 2023
2 parents c2fbd7e + b960f6c commit efdf30f
Show file tree
Hide file tree
Showing 14 changed files with 156 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [16.x,18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ Available presets

| Name | Version | Description |
| ----------------------- | ------- | ------------------------------------------ |
| [@gasket/preset-api] | 6.41.0 | Create Express-based API with Gasket |
| [@gasket/preset-nextjs] | 6.41.0 | Basic NextJS Framework |
| [@gasket/preset-api] | 6.41.2 | Create Express-based API with Gasket |
| [@gasket/preset-nextjs] | 6.41.2 | Basic NextJS Framework |
| [@gasket/preset-pwa] | 6.39.3 | Turn Gasket apps into Progressive Web Apps |

## Plugins
Expand All @@ -158,29 +158,29 @@ Available plugins
| ------------------------------- | ------- | -------------------------------------------------------------------------- |
| [@gasket/plugin-analyze] | 6.39.3 | Gasket Analyzer Plugin |
| [@gasket/plugin-command] | 6.41.0 | Plugin to enable other plugins to inject new gasket commands |
| [@gasket/plugin-config] | 6.41.0 | Supports application-specific (non-Gasket) configuration |
| [@gasket/plugin-config] | 6.41.1 | Supports application-specific (non-Gasket) configuration |
| [@gasket/plugin-cypress] | 6.39.0 | Integrates Cypress based testing into your Gasket application |
| [@gasket/plugin-docs] | 6.39.3 | Centralize doc files from plugins and modules |
| [@gasket/plugin-docs] | 6.41.1 | Centralize doc files from plugins and modules |
| [@gasket/plugin-docs-graphs] | 6.39.0 | Generate mermaid graphs of an applications gasket lifecycles |
| [@gasket/plugin-docsify] | 6.39.3 | View collated docs with Docsify |
| [@gasket/plugin-docusaurus] | 6.39.3 | Gasket plugin for docusaurus |
| [@gasket/plugin-elastic-apm] | 6.39.3 | Adds Elastic APM instrumentation to your application |
| [@gasket/plugin-express] | 6.39.3 | Adds express support to your application |
| [@gasket/plugin-fastify] | 6.39.3 | Adds fastify support to your application |
| [@gasket/plugin-express] | 6.41.2 | Adds express support to your application |
| [@gasket/plugin-fastify] | 6.41.1 | Adds fastify support to your application |
| [@gasket/plugin-git] | 6.41.0 | Adds git support to your application |
| [@gasket/plugin-happyfeet] | 6.39.1 | A gasket plugin to enable happyfeet healthchecks |
| [@gasket/plugin-https] | 6.39.3 | Create http/s servers with graceful termination |
| [@gasket/plugin-intl] | 6.39.3 | NodeJS script to build localization files. |
| [@gasket/plugin-intl] | 6.41.2 | NodeJS script to build localization files. |
| [@gasket/plugin-jest] | 6.39.0 | Integrated jest into your application. |
| [@gasket/plugin-lifecycle] | 6.39.3 | Allows a gasket/ directory to be used for lifecycle hooks in applications. |
| [@gasket/plugin-lint] | 6.41.0 | Adds GoDaddy standard linting to your application |
| [@gasket/plugin-log] | 6.39.3 | Gasket log plugin |
| [@gasket/plugin-manifest] | 6.39.3 | The web app manifest for progressive Gasket applications |
| [@gasket/plugin-metadata] | 6.41.0 | Adds metadata to gasket lifecycles |
| [@gasket/plugin-metadata] | 6.41.1 | Adds metadata to gasket lifecycles |
| [@gasket/plugin-metrics] | 6.39.3 | Collect metrics for gasket commands |
| [@gasket/plugin-mocha] | 6.39.0 | Integrates mocha based testing in to your Gasket application |
| [@gasket/plugin-morgan] | 6.39.3 | Adds morgan request logger to your app |
| [@gasket/plugin-nextjs] | 6.41.0 | Adds Next support to your application |
| [@gasket/plugin-nextjs] | 6.41.1 | Adds Next support to your application |
| [@gasket/plugin-redux] | 6.39.3 | Gasket Redux Setup |
| [@gasket/plugin-service-worker] | 6.39.3 | Gasket Service Worker Plugin |
| [@gasket/plugin-start] | 6.39.3 | Adds commands for building and starting Gasket apps |
Expand All @@ -195,19 +195,19 @@ Supporting modules
| Name | Version | Description |
| -------------------------- | ------- | ------------------------------------------------------------------------------------ |
| [@gasket/assets] | 6.39.0 | Gasket assets |
| [@gasket/cli] | 6.41.0 | CLI for rapid application development with gasket |
| [@gasket/data] | 6.39.0 | Helper package for accessing embedded Gasket Data in the browser |
| [@gasket/cli] | 6.41.1 | CLI for rapid application development with gasket |
| [@gasket/data] | 6.41.1 | Helper package for accessing embedded Gasket Data in the browser |
| [@gasket/engine] | 6.41.0 | Plugin engine for gasket |
| [@gasket/fetch] | 6.39.0 | Gasket Fetch API |
| [@gasket/helper-intl] | 6.39.0 | Internal helpers used by loaders to resolve locale file paths |
| [@gasket/helper-intl] | 6.41.2 | Internal helpers used by loaders to resolve locale file paths |
| [@gasket/log] | 6.39.0 | Gasket client and server logger |
| [@gasket/nextjs] | 6.40.0 | Gasket integrations for Next.js apps |
| [@gasket/react-intl] | 6.39.0 | React component library to enable localization for gasket apps. |
| [@gasket/nextjs] | 6.41.1 | Gasket integrations for Next.js apps |
| [@gasket/react-intl] | 6.41.2 | React component library to enable localization for gasket apps. |
| [@gasket/redux] | 6.39.0 | Gasket Redux Configuration |
| [@gasket/resolve] | 6.41.0 | Essential module resolution & configuration management for gasket plugins & presets. |
| [@gasket/typescript-tests] | 6.41.0 | Not a published package; hosts unit tests to verify TypeScript support |
| [@gasket/typescript-tests] | 6.41.2 | Not a published package; hosts unit tests to verify TypeScript support |
| [@gasket/utils] | 6.41.0 | Reusable utilities for Gasket internals |
| [create-gasket-app] | 6.41.0 | starter pack for creating a gasket app |
| [create-gasket-app] | 6.41.1 | starter pack for creating a gasket app |

## Configurations

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.41.1",
"version": "6.41.2",
"$schema": "https://json.schemastore.org/lerna.json",
"useWorkspaces": true,
"useNx": true,
Expand Down
58 changes: 29 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions packages/gasket-cli/docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,14 @@ type Hook = HandlerFunction | {
}
```
The `before` and other timing properties establish ordering with respect to
other plugins. You can also use a first or last boolean instead to try to ensure
that it runs first or last (if multiple plugins do this, they'll run in
parallel).
The timing properties establish the execution order of a lifecycle hook with respect to that of other plugins. This does not change the order of lifecycle events, only the execution order of the hooks for the lifecycle event.
| Property | Description |
|----------|-------------|
| `before` | Array of names of plugins whose hooks for the lifecycle your own hook should run before. This will guarantee that the hooks of those other plugins will wait for your hook to complete before running. |
| `after` | Array of names of plugins whose hooks for the lifecycle your own hook should run after. This will guarantee that your hook will wait for the hooks of those other plugins to complete before running. |
| `first` | Boolean indicating that your hook will run before that of any other plugin. You should avoid this whenever possible because it will prevent the ability of other hooks to run before yours, unless they also set `first`. Instead, use the `before` property to list _known plugins_ that have hooks known to be incompatible with running before or in parallel to yours. If multiple plugins use this flag for the same lifecycle, they will run in parallel unless `before` or `after` are also set. |
| `last` | Boolean indicating that your hook will run after those of all the other plugins. You should avoid this whenever possible because it will prevent the ability of other hooks to run after yours, unless they also set `last`. Instead, use the `after` property to list _known plugins_ that must have their hooks complete before yours runs. If multiple plugins use this flag for the same lifecycle, they will run in parallel unless `before` or `after` are also set. |
The handler functions are called with a `GasketAPI` followed by any arguments
passed when the event was invoked. You can see the full definitions for the
Expand Down
Loading

0 comments on commit efdf30f

Please sign in to comment.