@gasket/preset-api 7.0.0-next.6 → 7.0.0-next.8

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.
Files changed (2) hide show
  1. package/lib/create.js +4 -4
  2. package/package.json +14 -13
package/lib/create.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { createRequire } from 'module';
2
2
  import { fileURLToPath } from 'url';
3
3
  const require = createRequire(import.meta.url);
4
- const { dependencies, devDependencies } = require('../package.json');
4
+ const { devDependencies } = require('../package.json');
5
5
 
6
6
  export default function create(gasket, context) {
7
7
  const { pkg, files } = context;
8
8
  const __dirname = fileURLToPath(import.meta.url);
9
9
  const generatorDir = `${__dirname}/../../generator`;
10
10
 
11
- pkg.add('dependencies', dependencies);
12
-
13
11
  if (!context.typescript) {
14
12
  files.add(`${generatorDir}/*`);
15
13
 
16
- pkg.add('devDependencies', devDependencies);
14
+ pkg.add('devDependencies', {
15
+ nodemon: devDependencies.nodemon
16
+ });
17
17
 
18
18
  pkg.add('scripts', {
19
19
  start: 'node server.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gasket/preset-api",
3
- "version": "7.0.0-next.6",
3
+ "version": "7.0.0-next.8",
4
4
  "description": "Create Express-based API with Gasket",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -29,17 +29,18 @@
29
29
  "url": "https://github.com/godaddy/gasket/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@gasket/core": "^7.0.0-next.6",
33
- "@gasket/engine": "^7.0.0-next.6",
34
- "@gasket/plugin-docs": "^7.0.0-next.6",
35
- "@gasket/plugin-docusaurus": "^7.0.0-next.6",
36
- "@gasket/plugin-express": "^7.0.0-next.6",
37
- "@gasket/plugin-https": "^7.0.0-next.6",
38
- "@gasket/plugin-lint": "^7.0.0-next.6",
39
- "@gasket/plugin-response-data": "^7.0.0-next.6",
40
- "@gasket/plugin-swagger": "^7.0.0-next.6",
41
- "@gasket/plugin-winston": "^7.0.0-next.6",
42
- "@gasket/utils": "^7.0.0-next.6"
32
+ "@gasket/plugin-cypress": "^7.0.0-next.8",
33
+ "@gasket/plugin-docs": "^7.0.0-next.8",
34
+ "@gasket/plugin-docusaurus": "^7.0.0-next.8",
35
+ "@gasket/plugin-express": "^7.0.0-next.8",
36
+ "@gasket/plugin-https": "^7.0.0-next.8",
37
+ "@gasket/plugin-jest": "^7.0.0-next.8",
38
+ "@gasket/plugin-lint": "^7.0.0-next.8",
39
+ "@gasket/plugin-mocha": "^7.0.0-next.8",
40
+ "@gasket/plugin-response-data": "^7.0.0-next.8",
41
+ "@gasket/plugin-swagger": "^7.0.0-next.8",
42
+ "@gasket/plugin-typescript": "^7.0.0-next.8",
43
+ "@gasket/plugin-winston": "^7.0.0-next.8"
43
44
  },
44
45
  "devDependencies": {
45
46
  "cross-env": "^7.0.3",
@@ -68,5 +69,5 @@
68
69
  "jest": {
69
70
  "transform": {}
70
71
  },
71
- "gitHead": "805a1026959d8aa783ee32be8a8ff76c06badd2f"
72
+ "gitHead": "99e0acffa8b51393ede3dc6b9bf5cd5e0391216d"
72
73
  }