@murumets-ee/create 0.1.8 → 0.1.10
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/dist/cli.js +5 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -508,7 +508,7 @@ export default getRequestConfig(async ({ requestLocale }) => {
|
|
|
508
508
|
},
|
|
509
509
|
}
|
|
510
510
|
})
|
|
511
|
-
`)}import{mkdir as L}from"fs/promises";import{join as a}from"path";var i={myorgCore:"0.1.0",myorgDb:"0.1.0",myorgEntity:"0.1.0",myorgLogging:"0.1.0",myorgAuth:"0.1.0",myorgAuthUi:"0.1.0",myorgAdminUi:"0.1.0",myorgContent:"0.1.0",myorgContentApi:"0.1.0",myorgSettings:"0.1.0",myorgStorage:"0.1.0",myorgMedia:"0.1.0",myorgTaxonomy:"0.1.0",myorgQueue:"0.1.0",myorgMail:"0.1.0",myorgTicketing:"0.1.0",myorgTicketingUi:"0.1.0",myorgEditor:"0.1.0",myorgBlocks:"0.1.0",myorgTokens:"0.1.0",myorgUi:"0.1.0",myorgCli:"0.1.0",betterAuth:"1.4.0",drizzleOrm:"0.45.1",nextIntl:"4.8.2",nextThemes:"0.4.6",lucideReact:"0.563.0",postgres:"3.4.5",reactHookForm:"7.71.1",hookformResolvers:"5.2.2",zod:"3.24.1",drizzleKit:"0.
|
|
511
|
+
`)}import{mkdir as L}from"fs/promises";import{join as a}from"path";var i={myorgCore:"0.1.0",myorgDb:"0.1.0",myorgEntity:"0.1.0",myorgLogging:"0.1.0",myorgAuth:"0.1.0",myorgAuthUi:"0.1.0",myorgAdminUi:"0.1.0",myorgContent:"0.1.0",myorgContentApi:"0.1.0",myorgSettings:"0.1.0",myorgStorage:"0.1.0",myorgMedia:"0.1.0",myorgTaxonomy:"0.1.0",myorgQueue:"0.1.0",myorgMail:"0.1.0",myorgTicketing:"0.1.0",myorgTicketingUi:"0.1.0",myorgEditor:"0.1.0",myorgBlocks:"0.1.0",myorgTokens:"0.1.0",myorgUi:"0.1.0",myorgCli:"0.1.0",betterAuth:"1.4.0",drizzleOrm:"0.45.1",nextIntl:"4.8.2",nextThemes:"0.4.6",lucideReact:"0.563.0",postgres:"3.4.5",reactHookForm:"7.71.1",hookformResolvers:"5.2.2",zod:"3.24.1",drizzleKit:"0.31.10",tsx:"4.19.2",babelReactCompiler:"1.0.0"};async function _(t,n,r){await F(t,n),r?.("Workspace root created"),r?.("Creating admin app..."),await B(t,n),r?.("Admin app created"),r?.("Creating web app..."),await H(t,n),r?.("Web app created"),await D(t,n),r?.("Shared config package created")}async function F(t,n){let{name:r}=n;await L(t,{recursive:!0}),await e(a(t,"pnpm-workspace.yaml"),`packages:
|
|
512
512
|
- 'packages/*'
|
|
513
513
|
- 'apps/*'
|
|
514
514
|
|
|
@@ -584,6 +584,7 @@ volumes:
|
|
|
584
584
|
`),await e(a(o,"toolkit.config.ts"),`import { auth } from '@murumets-ee/auth/plugin'
|
|
585
585
|
import { content } from '@murumets-ee/content/plugin'
|
|
586
586
|
import { defineConfig } from '@murumets-ee/core'
|
|
587
|
+
import { logging } from '@murumets-ee/logging/plugin'
|
|
587
588
|
import { mail, ResendMailProvider } from '@murumets-ee/mail'
|
|
588
589
|
import { media } from '@murumets-ee/media/plugin'
|
|
589
590
|
import { queue } from '@murumets-ee/queue/plugin'
|
|
@@ -615,6 +616,7 @@ export default defineConfig({
|
|
|
615
616
|
locales: [{ code: 'en', label: 'English' }],
|
|
616
617
|
defaultLocale: 'en',
|
|
617
618
|
}),
|
|
619
|
+
logging(),
|
|
618
620
|
settings(),
|
|
619
621
|
storage(),
|
|
620
622
|
media(),
|
|
@@ -1998,6 +2000,7 @@ export function NavHeader() {
|
|
|
1998
2000
|
`)}import{join as x}from"path";async function q(t,n){let{name:r}=n;await e(x(t,"toolkit.config.ts"),`import { auth } from '@murumets-ee/auth/plugin'
|
|
1999
2001
|
import { content } from '@murumets-ee/content/plugin'
|
|
2000
2002
|
import { defineConfig } from '@murumets-ee/core'
|
|
2003
|
+
import { logging } from '@murumets-ee/logging/plugin'
|
|
2001
2004
|
import { mail, ResendMailProvider } from '@murumets-ee/mail'
|
|
2002
2005
|
import { media } from '@murumets-ee/media/plugin'
|
|
2003
2006
|
import { queue } from '@murumets-ee/queue/plugin'
|
|
@@ -2029,6 +2032,7 @@ export default defineConfig({
|
|
|
2029
2032
|
locales: [{ code: 'en', label: 'English' }],
|
|
2030
2033
|
defaultLocale: 'en',
|
|
2031
2034
|
}),
|
|
2035
|
+
logging(),
|
|
2032
2036
|
settings(),
|
|
2033
2037
|
storage(),
|
|
2034
2038
|
media(),
|
package/dist/index.js
CHANGED
|
@@ -507,7 +507,7 @@ export default getRequestConfig(async ({ requestLocale }) => {
|
|
|
507
507
|
},
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
|
-
`)}import{mkdir as S}from"fs/promises";import{join as o}from"path";var i={myorgCore:"0.1.0",myorgDb:"0.1.0",myorgEntity:"0.1.0",myorgLogging:"0.1.0",myorgAuth:"0.1.0",myorgAuthUi:"0.1.0",myorgAdminUi:"0.1.0",myorgContent:"0.1.0",myorgContentApi:"0.1.0",myorgSettings:"0.1.0",myorgStorage:"0.1.0",myorgMedia:"0.1.0",myorgTaxonomy:"0.1.0",myorgQueue:"0.1.0",myorgMail:"0.1.0",myorgTicketing:"0.1.0",myorgTicketingUi:"0.1.0",myorgEditor:"0.1.0",myorgBlocks:"0.1.0",myorgTokens:"0.1.0",myorgUi:"0.1.0",myorgCli:"0.1.0",betterAuth:"1.4.0",drizzleOrm:"0.45.1",nextIntl:"4.8.2",nextThemes:"0.4.6",lucideReact:"0.563.0",postgres:"3.4.5",reactHookForm:"7.71.1",hookformResolvers:"5.2.2",zod:"3.24.1",drizzleKit:"0.
|
|
510
|
+
`)}import{mkdir as S}from"fs/promises";import{join as o}from"path";var i={myorgCore:"0.1.0",myorgDb:"0.1.0",myorgEntity:"0.1.0",myorgLogging:"0.1.0",myorgAuth:"0.1.0",myorgAuthUi:"0.1.0",myorgAdminUi:"0.1.0",myorgContent:"0.1.0",myorgContentApi:"0.1.0",myorgSettings:"0.1.0",myorgStorage:"0.1.0",myorgMedia:"0.1.0",myorgTaxonomy:"0.1.0",myorgQueue:"0.1.0",myorgMail:"0.1.0",myorgTicketing:"0.1.0",myorgTicketingUi:"0.1.0",myorgEditor:"0.1.0",myorgBlocks:"0.1.0",myorgTokens:"0.1.0",myorgUi:"0.1.0",myorgCli:"0.1.0",betterAuth:"1.4.0",drizzleOrm:"0.45.1",nextIntl:"4.8.2",nextThemes:"0.4.6",lucideReact:"0.563.0",postgres:"3.4.5",reactHookForm:"7.71.1",hookformResolvers:"5.2.2",zod:"3.24.1",drizzleKit:"0.31.10",tsx:"4.19.2",babelReactCompiler:"1.0.0"};async function E(t,n,r){await L(t,n),r?.("Workspace root created"),r?.("Creating admin app..."),await $(t,n),r?.("Admin app created"),r?.("Creating web app..."),await M(t,n),r?.("Web app created"),await _(t,n),r?.("Shared config package created")}async function L(t,n){let{name:r}=n;await S(t,{recursive:!0}),await e(o(t,"pnpm-workspace.yaml"),`packages:
|
|
511
511
|
- 'packages/*'
|
|
512
512
|
- 'apps/*'
|
|
513
513
|
|
|
@@ -583,6 +583,7 @@ volumes:
|
|
|
583
583
|
`),await e(o(a,"toolkit.config.ts"),`import { auth } from '@murumets-ee/auth/plugin'
|
|
584
584
|
import { content } from '@murumets-ee/content/plugin'
|
|
585
585
|
import { defineConfig } from '@murumets-ee/core'
|
|
586
|
+
import { logging } from '@murumets-ee/logging/plugin'
|
|
586
587
|
import { mail, ResendMailProvider } from '@murumets-ee/mail'
|
|
587
588
|
import { media } from '@murumets-ee/media/plugin'
|
|
588
589
|
import { queue } from '@murumets-ee/queue/plugin'
|
|
@@ -614,6 +615,7 @@ export default defineConfig({
|
|
|
614
615
|
locales: [{ code: 'en', label: 'English' }],
|
|
615
616
|
defaultLocale: 'en',
|
|
616
617
|
}),
|
|
618
|
+
logging(),
|
|
617
619
|
settings(),
|
|
618
620
|
storage(),
|
|
619
621
|
media(),
|
|
@@ -1997,6 +1999,7 @@ export function NavHeader() {
|
|
|
1997
1999
|
`)}import{join as d}from"path";async function C(t,n){let{name:r}=n;await e(d(t,"toolkit.config.ts"),`import { auth } from '@murumets-ee/auth/plugin'
|
|
1998
2000
|
import { content } from '@murumets-ee/content/plugin'
|
|
1999
2001
|
import { defineConfig } from '@murumets-ee/core'
|
|
2002
|
+
import { logging } from '@murumets-ee/logging/plugin'
|
|
2000
2003
|
import { mail, ResendMailProvider } from '@murumets-ee/mail'
|
|
2001
2004
|
import { media } from '@murumets-ee/media/plugin'
|
|
2002
2005
|
import { queue } from '@murumets-ee/queue/plugin'
|
|
@@ -2028,6 +2031,7 @@ export default defineConfig({
|
|
|
2028
2031
|
locales: [{ code: 'en', label: 'English' }],
|
|
2029
2032
|
defaultLocale: 'en',
|
|
2030
2033
|
}),
|
|
2034
|
+
logging(),
|
|
2031
2035
|
settings(),
|
|
2032
2036
|
storage(),
|
|
2033
2037
|
media(),
|