@getcortexlabs/create-mavis 0.1.0-alpha.10 → 0.1.0-alpha.11
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/README.md +4 -4
- package/package.json +1 -1
- package/src/presets.mjs +4 -2
- package/src/scaffold.mjs +2 -0
- package/templates/mobile/src/mavis.ts +12 -0
- package/templates/nuxt/app/mavis.ts +12 -0
- package/templates/vite/src/mavis.ts +12 -0
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ pnpm install
|
|
|
21
21
|
pnpm run dev
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
The wizard, package-manager selection and both examples are included in alpha.
|
|
24
|
+
The wizard, package-manager selection and both examples are included in alpha.11.
|
|
25
25
|
|
|
26
26
|
- `--dry-run` prints the file plan without writing or installing.
|
|
27
27
|
- Existing directories are never merged or overwritten.
|
|
@@ -31,7 +31,7 @@ The wizard, package-manager selection and both examples are included in alpha.10
|
|
|
31
31
|
|
|
32
32
|
Node.js 22.16+ is required. Native projects also need the NativeScript CLI and the platform SDK. iOS requires macOS and Xcode. A shared project keeps native dependencies separate from its Web workspace so each renderer loads the correct Vue runtime.
|
|
33
33
|
|
|
34
|
-
Templates pin **Mavis 0.1.0-alpha.
|
|
34
|
+
Templates pin **Mavis 0.1.0-alpha.11** and **Jolt 0.1.0-rc.11**. The CLI and its generated projects use the same Mavis release. Commit the generated lockfile (both lockfiles for a shared project).
|
|
35
35
|
|
|
36
36
|
pnpm requires **10.26+**. Its generated workspace files keep the mobile installation separate, use a hoisted layout for Vite deduplication, shared imports and NativeScript, and allow only the starter's required dependency build scripts. Yarn Classic and modern Yarn use `node_modules`; initial empty `yarn.lock` files mark separate projects before installation. The starter declares its dependency build scripts explicitly; other package-manager policies remain in effect. If modern Yarn reports a fresh dependency as quarantined, retry after its configured minimum package age. Do not add `apps/mobile` to the Web workspace.
|
|
37
37
|
|
|
@@ -45,6 +45,6 @@ MIT · [Mavis UI](https://github.com/getcortexlabs/mavis-ui)
|
|
|
45
45
|
|
|
46
46
|
`--check-portability` reports platform dependencies with locations. `--fix-imports` previews safe named-import changes to `#mavis`; add `--write` to apply. `--path` selects a source directory and `--json` emits structured diagnostics. `--doctor` also runs this source audit. Unknown dependencies, HTML/CSS and device services still require review and target tests.
|
|
47
47
|
|
|
48
|
-
## Add a host to an existing Mavis application (alpha.
|
|
48
|
+
## Add a host to an existing Mavis application (alpha.11)
|
|
49
49
|
|
|
50
|
-
Run `create-mavis --add-native` in a Vue + Vite/Nuxt package, or `create-mavis --add-web [--web nuxt]` in a NativeScript-Vue package. Use `--dry-run` to inspect the plan and `--screen path/to/Screen.vue` to reuse an existing screen without moving it. The command creates an isolated host under `apps`, adds root launch/install scripts and preserves existing source/configuration/lockfiles. Dependencies install only with `--install`; npm, pnpm and Yarn are supported. Conflicts and unsupported workspaces/version baselines are reported before writing. The selected screen's services, aliases and router remain application-owned; portability diagnostics are not automatic conversion. Upgrade the existing Mavis renderer to alpha.
|
|
50
|
+
Run `create-mavis --add-native` in a Vue + Vite/Nuxt package, or `create-mavis --add-web [--web nuxt]` in a NativeScript-Vue package. Use `--dry-run` to inspect the plan and `--screen path/to/Screen.vue` to reuse an existing screen without moving it. The command creates an isolated host under `apps`, adds root launch/install scripts and preserves existing source/configuration/lockfiles. Dependencies install only with `--install`; npm, pnpm and Yarn are supported. Conflicts and unsupported workspaces/version baselines are reported before writing. The selected screen's services, aliases and router remain application-owned; portability diagnostics are not automatic conversion. Upgrade the existing Mavis renderer to alpha.11 before adding a host.
|
package/package.json
CHANGED
package/src/presets.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { packageManagers } from './package-manager.mjs'
|
|
|
2
2
|
|
|
3
3
|
/** Baseline pins; coordinated releases update Mavis after validating source templates with matching tarballs. */
|
|
4
4
|
export const versions = Object.freeze({
|
|
5
|
-
mavis: '0.1.0-alpha.
|
|
6
|
-
jolt: '0.1.0-rc.
|
|
5
|
+
mavis: '0.1.0-alpha.11',
|
|
6
|
+
jolt: '0.1.0-rc.11',
|
|
7
7
|
vue: '3.5.44',
|
|
8
8
|
nuxt: '4.6.3',
|
|
9
9
|
vite: '6.4.5',
|
|
@@ -16,6 +16,8 @@ export const versions = Object.freeze({
|
|
|
16
16
|
android: '9.1.1',
|
|
17
17
|
ios: '9.1.0',
|
|
18
18
|
webpack: '5.0.39',
|
|
19
|
+
webpackCore: '5.112.2',
|
|
20
|
+
webpackCli: '6.0.1',
|
|
19
21
|
router: '4.6.4',
|
|
20
22
|
nativeRouter: '0.1.0-rc.4',
|
|
21
23
|
})
|
package/src/scaffold.mjs
CHANGED
|
@@ -136,6 +136,8 @@ export async function projectFiles(options) {
|
|
|
136
136
|
'@nativescript/android': v.android,
|
|
137
137
|
'@nativescript/ios': v.ios,
|
|
138
138
|
'@nativescript/webpack': v.webpack,
|
|
139
|
+
webpack: v.webpackCore,
|
|
140
|
+
'webpack-cli': v.webpackCli,
|
|
139
141
|
typescript: v.typescript,
|
|
140
142
|
'vue-tsc': v.vueTsc,
|
|
141
143
|
},
|
|
@@ -8,6 +8,18 @@ export {
|
|
|
8
8
|
MTabBar,
|
|
9
9
|
MTimePicker,
|
|
10
10
|
MVirtualList,
|
|
11
|
+
MDataTable,
|
|
12
|
+
MCarousel,
|
|
13
|
+
MRangeSlider,
|
|
14
|
+
MCalendar,
|
|
15
|
+
MRating,
|
|
16
|
+
MTreeView,
|
|
17
|
+
MCommandPalette,
|
|
18
|
+
MNavigationRail,
|
|
19
|
+
MBreadcrumb,
|
|
20
|
+
MTooltip,
|
|
21
|
+
MTimeline,
|
|
22
|
+
MChart,
|
|
11
23
|
MSpan,
|
|
12
24
|
MScreen,
|
|
13
25
|
MBox,
|
|
@@ -8,6 +8,18 @@ export {
|
|
|
8
8
|
MTabBar,
|
|
9
9
|
MTimePicker,
|
|
10
10
|
MVirtualList,
|
|
11
|
+
MDataTable,
|
|
12
|
+
MCarousel,
|
|
13
|
+
MRangeSlider,
|
|
14
|
+
MCalendar,
|
|
15
|
+
MRating,
|
|
16
|
+
MTreeView,
|
|
17
|
+
MCommandPalette,
|
|
18
|
+
MNavigationRail,
|
|
19
|
+
MBreadcrumb,
|
|
20
|
+
MTooltip,
|
|
21
|
+
MTimeline,
|
|
22
|
+
MChart,
|
|
11
23
|
MSpan,
|
|
12
24
|
MScreen,
|
|
13
25
|
MBox,
|
|
@@ -8,6 +8,18 @@ export {
|
|
|
8
8
|
MTabBar,
|
|
9
9
|
MTimePicker,
|
|
10
10
|
MVirtualList,
|
|
11
|
+
MDataTable,
|
|
12
|
+
MCarousel,
|
|
13
|
+
MRangeSlider,
|
|
14
|
+
MCalendar,
|
|
15
|
+
MRating,
|
|
16
|
+
MTreeView,
|
|
17
|
+
MCommandPalette,
|
|
18
|
+
MNavigationRail,
|
|
19
|
+
MBreadcrumb,
|
|
20
|
+
MTooltip,
|
|
21
|
+
MTimeline,
|
|
22
|
+
MChart,
|
|
11
23
|
MSpan,
|
|
12
24
|
MScreen,
|
|
13
25
|
MBox,
|