@murumets-ee/create 0.1.8 → 0.1.9
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.cjs +2105 -0
- package/dist/cli.js +4 -0
- package/dist/index.cjs +2103 -0
- package/dist/index.d.cts +11 -0
- package/dist/index.js +4 -0
- package/package.json +3 -2
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type AppMode = 'single' | 'multi';
|
|
2
|
+
interface ProjectOptions {
|
|
3
|
+
name: string;
|
|
4
|
+
mode: AppMode;
|
|
5
|
+
installDeps: boolean;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
type ProgressCallback = (message: string) => void;
|
|
9
|
+
declare function scaffold(options: ProjectOptions, onProgress?: ProgressCallback): Promise<void>;
|
|
10
|
+
|
|
11
|
+
export { type AppMode, type ProgressCallback, type ProjectOptions, scaffold };
|
package/dist/index.js
CHANGED
|
@@ -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(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@murumets-ee/create",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.js"
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"files": [
|