@comet/create-app 1.3.0 → 1.4.0
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.
|
@@ -12,23 +12,23 @@ async function removeFileContent() {
|
|
|
12
12
|
const contentToRemove = [
|
|
13
13
|
{
|
|
14
14
|
file: `./admin/src/Routes.tsx`,
|
|
15
|
-
replacements: [
|
|
15
|
+
replacements: [/\s*<.*?products.*?>/g],
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
file: `./admin/src/common/MasterMenu.tsx`,
|
|
19
|
-
replacements: [
|
|
19
|
+
replacements: [/\s*<MenuCollapsibleItem.*products`}\s*\/>\s*<\/MenuCollapsibleItem>/gs],
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
file: `./api/src/app.module.ts`,
|
|
23
|
-
replacements: [
|
|
23
|
+
replacements: [/\s*ProductsModule,/gs],
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
file: `./api/src/db/fixtures/fixtures.console.ts`,
|
|
27
|
-
replacements: [
|
|
27
|
+
replacements: [/, @InjectRepository.*Product.*<Product>/gs, /\s*await Promise.all\(\[generateProducts.*]\);/gs],
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
file: `./api/src/db/fixtures/fixtures.module.ts`,
|
|
31
|
-
replacements: [
|
|
31
|
+
replacements: ["MikroOrmModule.forFeature([Product]), "],
|
|
32
32
|
},
|
|
33
33
|
];
|
|
34
34
|
const eslint = new eslint_1.ESLint({
|
package/package.json
CHANGED