@gasket/preset-api 7.6.2 → 7.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, /**
6
6
  * presetConfig hook
7
- * @param {Gasket} gasket - Gasket API
8
- * @param {Create} context - Create context
9
- * @returns {Promise<CreateContext.presetConfig>} config
7
+ * @type {import('@gasket/core').PresetHook<'presetConfig'>}
10
8
  */ "default", {
11
9
  enumerable: true,
12
10
  get: function() {
@@ -3,10 +3,7 @@ Object.defineProperty(exports, "__esModule", {
3
3
  });
4
4
  Object.defineProperty(exports, /**
5
5
  * presetPrompt hook
6
- * @param {Gasket} gasket - Gasket API
7
- * @param {Create} context - Create context
8
- * @param {object} utils - Prompt utils
9
- * @param {Function} utils.prompt - Inquirer prompt
6
+ * @type {import('@gasket/core').PresetHook<'presetPrompt'>}
10
7
  */ "default", {
11
8
  enumerable: true,
12
9
  get: function() {
@@ -13,9 +13,7 @@ import pluginLint from '@gasket/plugin-lint';
13
13
 
14
14
  /**
15
15
  * presetConfig hook
16
- * @param {Gasket} gasket - Gasket API
17
- * @param {Create} context - Create context
18
- * @returns {Promise<CreateContext.presetConfig>} config
16
+ * @type {import('@gasket/core').PresetHook<'presetConfig'>}
19
17
  */
20
18
  export default async function presetConfig(gasket, context) {
21
19
  const plugins = new Set([
@@ -3,10 +3,7 @@ import swaggerPrompts from '@gasket/plugin-swagger/prompts';
3
3
 
4
4
  /**
5
5
  * presetPrompt hook
6
- * @param {Gasket} gasket - Gasket API
7
- * @param {Create} context - Create context
8
- * @param {object} utils - Prompt utils
9
- * @param {Function} utils.prompt - Inquirer prompt
6
+ * @type {import('@gasket/core').PresetHook<'presetPrompt'>}
10
7
  */
11
8
  export default async function presetPrompt(gasket, context, { prompt }) {
12
9
  context.apiApp = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gasket/preset-api",
3
- "version": "7.6.2",
3
+ "version": "7.6.3",
4
4
  "description": "Create Express-based API with Gasket",
5
5
  "type": "module",
6
6
  "types": "lib/index.d.ts",
@@ -28,19 +28,19 @@
28
28
  "bugs": "https://github.com/godaddy/gasket/issues",
29
29
  "homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-preset-api",
30
30
  "dependencies": {
31
- "@gasket/plugin-command": "^7.6.1",
31
+ "@gasket/plugin-command": "^7.6.2",
32
32
  "@gasket/plugin-cypress": "^7.5.3",
33
- "@gasket/plugin-docs": "^7.5.1",
33
+ "@gasket/plugin-docs": "^7.5.2",
34
34
  "@gasket/plugin-docusaurus": "^7.5.0",
35
35
  "@gasket/plugin-dynamic-plugins": "^7.5.0",
36
36
  "@gasket/plugin-express": "^7.5.0",
37
- "@gasket/plugin-fastify": "^7.5.0",
38
- "@gasket/plugin-git": "^7.4.7",
37
+ "@gasket/plugin-fastify": "^7.5.1",
38
+ "@gasket/plugin-git": "^7.4.8",
39
39
  "@gasket/plugin-https": "^7.4.0",
40
- "@gasket/plugin-jest": "^7.5.6",
40
+ "@gasket/plugin-jest": "^7.5.7",
41
41
  "@gasket/plugin-lint": "^7.4.4",
42
42
  "@gasket/plugin-logger": "^7.4.0",
43
- "@gasket/plugin-mocha": "^7.5.4",
43
+ "@gasket/plugin-mocha": "^7.5.5",
44
44
  "@gasket/plugin-swagger": "^7.4.0",
45
45
  "@gasket/plugin-typescript": "^7.4.6",
46
46
  "@gasket/plugin-vitest": "^7.2.0",
@@ -51,8 +51,8 @@
51
51
  "nodemon": "^3.1.9",
52
52
  "vitest": "^3.2.0",
53
53
  "@gasket/cjs": "^7.1.0",
54
- "@gasket/plugin-metadata": "^7.5.6",
55
- "create-gasket-app": "^7.4.16"
54
+ "@gasket/plugin-metadata": "^7.5.7",
55
+ "create-gasket-app": "^7.4.17"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "gasket-cjs ./lib",