@gasket/preset-api 7.0.0-next.34 → 7.0.0-next.37
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.
- package/lib/index.d.ts +0 -3
- package/lib/index.js +4 -1
- package/lib/preset-config.js +1 -5
- package/package.json +12 -14
package/lib/index.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import '@gasket/plugin-data';
|
|
2
|
-
import '@gasket/plugin-docs';
|
|
3
|
-
import '@gasket/plugin-docusaurus';
|
|
4
2
|
import '@gasket/plugin-express';
|
|
5
3
|
import '@gasket/plugin-https';
|
|
6
4
|
import '@gasket/plugin-lint';
|
|
7
|
-
import '@gasket/plugin-start';
|
|
8
5
|
import '@gasket/plugin-swagger';
|
|
9
6
|
import '@gasket/plugin-winston';
|
package/lib/index.js
CHANGED
|
@@ -3,10 +3,13 @@ import presetPrompt from './preset-prompt.js';
|
|
|
3
3
|
import presetConfig from './preset-config.js';
|
|
4
4
|
import create from './create.js';
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
|
-
const { name } = require('../package.json');
|
|
6
|
+
const { name, version, description } = require('../package.json');
|
|
7
7
|
|
|
8
|
+
// TODO: need to create types for "preset" plugins
|
|
8
9
|
export default {
|
|
9
10
|
name,
|
|
11
|
+
version,
|
|
12
|
+
description,
|
|
10
13
|
hooks: {
|
|
11
14
|
presetPrompt,
|
|
12
15
|
presetConfig,
|
package/lib/preset-config.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import pluginExpress from '@gasket/plugin-express';
|
|
2
2
|
import pluginHttps from '@gasket/plugin-https';
|
|
3
|
-
import pluginDocs from '@gasket/plugin-docs';
|
|
4
|
-
import pluginDocusaurus from '@gasket/plugin-docusaurus';
|
|
5
3
|
import pluginData from '@gasket/plugin-data';
|
|
6
4
|
import pluginWinston from '@gasket/plugin-winston';
|
|
7
5
|
import pluginSwagger from '@gasket/plugin-swagger';
|
|
@@ -15,7 +13,7 @@ import pluginLint from '@gasket/plugin-lint';
|
|
|
15
13
|
*/
|
|
16
14
|
export default async function presetConfig(gasket, context) {
|
|
17
15
|
let typescriptPlugin;
|
|
18
|
-
|
|
16
|
+
const testPlugins = [];
|
|
19
17
|
|
|
20
18
|
if ('testPlugins' in context && context.testPlugins.length > 0) {
|
|
21
19
|
await Promise.all(context.testPlugins.map(async (testPlugin) => {
|
|
@@ -32,8 +30,6 @@ export default async function presetConfig(gasket, context) {
|
|
|
32
30
|
plugins: [
|
|
33
31
|
pluginExpress,
|
|
34
32
|
pluginHttps,
|
|
35
|
-
pluginDocs,
|
|
36
|
-
pluginDocusaurus,
|
|
37
33
|
pluginData,
|
|
38
34
|
pluginWinston,
|
|
39
35
|
pluginSwagger,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gasket/preset-api",
|
|
3
|
-
"version": "7.0.0-next.
|
|
3
|
+
"version": "7.0.0-next.37",
|
|
4
4
|
"description": "Create Express-based API with Gasket",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -30,18 +30,16 @@
|
|
|
30
30
|
"url": "https://github.com/godaddy/gasket/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@gasket/plugin-cypress": "^7.0.0-next.
|
|
34
|
-
"@gasket/plugin-data": "^7.0.0-next.
|
|
35
|
-
"@gasket/plugin-
|
|
36
|
-
"@gasket/plugin-
|
|
37
|
-
"@gasket/plugin-
|
|
38
|
-
"@gasket/plugin-
|
|
39
|
-
"@gasket/plugin-
|
|
40
|
-
"@gasket/plugin-
|
|
41
|
-
"@gasket/plugin-
|
|
42
|
-
"@gasket/plugin-
|
|
43
|
-
"@gasket/plugin-typescript": "^7.0.0-next.34",
|
|
44
|
-
"@gasket/plugin-winston": "^7.0.0-next.34"
|
|
33
|
+
"@gasket/plugin-cypress": "^7.0.0-next.37",
|
|
34
|
+
"@gasket/plugin-data": "^7.0.0-next.37",
|
|
35
|
+
"@gasket/plugin-express": "^7.0.0-next.37",
|
|
36
|
+
"@gasket/plugin-https": "^7.0.0-next.37",
|
|
37
|
+
"@gasket/plugin-jest": "^7.0.0-next.37",
|
|
38
|
+
"@gasket/plugin-lint": "^7.0.0-next.37",
|
|
39
|
+
"@gasket/plugin-mocha": "^7.0.0-next.37",
|
|
40
|
+
"@gasket/plugin-swagger": "^7.0.0-next.37",
|
|
41
|
+
"@gasket/plugin-typescript": "^7.0.0-next.37",
|
|
42
|
+
"@gasket/plugin-winston": "^7.0.0-next.37"
|
|
45
43
|
},
|
|
46
44
|
"devDependencies": {
|
|
47
45
|
"cross-env": "^7.0.3",
|
|
@@ -70,5 +68,5 @@
|
|
|
70
68
|
"jest": {
|
|
71
69
|
"transform": {}
|
|
72
70
|
},
|
|
73
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "5bf71e70be11a36fd53df3ab535a7199c9d0f320"
|
|
74
72
|
}
|