@strapi/generators 4.1.0 → 4.1.2

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.
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  const path = require('path');
4
- const { readFile, rm, stat } = require('fs-extra');
4
+ const { readFile, remove, stat } = require('fs-extra');
5
5
  const strapiGenerators = require('../../index');
6
6
 
7
7
  describe('Content Type Generator', () => {
8
8
  const outputDirectory = path.join(__dirname, 'output');
9
9
 
10
10
  afterEach(async () => {
11
- await rm(outputDirectory, { recursive: true, force: true });
11
+ await remove(outputDirectory);
12
12
  });
13
13
 
14
14
  test('it generates the schema', async () => {
@@ -17,7 +17,7 @@
17
17
  }
18
18
  ],
19
19
  "engines": {
20
- "node": ">=12.x. <=16.x.x",
20
+ "node": ">=12.x.x <=16.x.x",
21
21
  "npm": ">=6.0.0"
22
22
  },
23
23
  "license": "MIT"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/generators",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "description": "Interactive API generator.",
5
5
  "keywords": [
6
6
  "strapi",
@@ -30,7 +30,7 @@
30
30
  "main": "lib/index.js",
31
31
  "dependencies": {
32
32
  "@sindresorhus/slugify": "1.1.0",
33
- "@strapi/utils": "4.1.0",
33
+ "@strapi/utils": "4.1.2",
34
34
  "chalk": "4.1.2",
35
35
  "fs-extra": "10.0.0",
36
36
  "node-plop": "0.26.3",
@@ -41,5 +41,5 @@
41
41
  "node": ">=12.22.0 <=16.x.x",
42
42
  "npm": ">=6.0.0"
43
43
  },
44
- "gitHead": "d4273d81fbeec230b5734375e43a5f1f1f2a0231"
44
+ "gitHead": "6f72c3805232bc6c4b229aecfb19909b9f68d98d"
45
45
  }