@strapi/generators 4.15.0 → 4.15.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.
@@ -16,7 +16,7 @@ export default {
16
16
  defaultMessage: name,
17
17
  },
18
18
  Component: async () => {
19
- const component = await import(/* webpackChunkName: "[request]" */ './pages/App');
19
+ const component = await import('./pages/App');
20
20
 
21
21
  return component;
22
22
  },
@@ -40,9 +40,7 @@ export default {
40
40
  async registerTrads({ locales }) {
41
41
  const importedTrads = await Promise.all(
42
42
  locales.map((locale) => {
43
- return import(
44
- /* webpackChunkName: "translation-[request]" */ `./translations/${locale}.json`
45
- )
43
+ return import(`./translations/${locale}.json`)
46
44
  .then(({ default: data }) => {
47
45
  return {
48
46
  data: prefixPluginTranslations(data, pluginId),
@@ -17,7 +17,7 @@ export default {
17
17
  defaultMessage: name,
18
18
  },
19
19
  Component: async () => {
20
- const component = await import(/* webpackChunkName: "[request]" */ './pages/App');
20
+ const component = await import('./pages/App');
21
21
 
22
22
  return component;
23
23
  },
@@ -23,8 +23,8 @@
23
23
  "peerDependencies": {
24
24
  "react": "^17.0.0 || ^18.0.0",
25
25
  "react-dom": "^17.0.0 || ^18.0.0",
26
- "react-router-dom": "^5.3.4",
27
- "styled-components": "^5.3.6"
26
+ "react-router-dom": "^5.2.0",
27
+ "styled-components": "^5.2.1"
28
28
  },
29
29
  "author": {
30
30
  "name": "A Strapi developer"
@@ -28,8 +28,8 @@
28
28
  "peerDependencies": {
29
29
  "react": "^17.0.0 || ^18.0.0",
30
30
  "react-dom": "^17.0.0 || ^18.0.0",
31
- "react-router-dom": "^5.3.4",
32
- "styled-components": "^5.3.6"
31
+ "react-router-dom": "^5.2.0",
32
+ "styled-components": "^5.2.1"
33
33
  },
34
34
  "author": {
35
35
  "name": "A Strapi developer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/generators",
3
- "version": "4.15.0",
3
+ "version": "4.15.2",
4
4
  "description": "Interactive API generator.",
5
5
  "keywords": [
6
6
  "strapi",
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@sindresorhus/slugify": "1.1.0",
50
- "@strapi/typescript-utils": "4.15.0",
51
- "@strapi/utils": "4.15.0",
50
+ "@strapi/typescript-utils": "4.15.2",
51
+ "@strapi/utils": "4.15.2",
52
52
  "chalk": "4.1.2",
53
53
  "copyfiles": "2.4.1",
54
54
  "fs-extra": "10.0.0",
@@ -57,13 +57,13 @@
57
57
  "pluralize": "8.0.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@strapi/pack-up": "4.15.0",
61
- "eslint-config-custom": "4.15.0",
62
- "tsconfig": "4.15.0"
60
+ "@strapi/pack-up": "4.15.2",
61
+ "eslint-config-custom": "4.15.2",
62
+ "tsconfig": "4.15.2"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=18.0.0 <=20.x.x",
66
66
  "npm": ">=6.0.0"
67
67
  },
68
- "gitHead": "6e44e1e68db5153e485e61bdc03f42efb0311406"
68
+ "gitHead": "bb510893332674e2607f7d335b34dc78c599319a"
69
69
  }
@@ -1,7 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- end_of_line = lf
5
- insert_final_newline = false
6
- indent_style = space
7
- indent_size = 2
@@ -1,7 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- end_of_line = lf
5
- insert_final_newline = false
6
- indent_style = space
7
- indent_size = 2