Skip to content

Commit 7e2aca8

Browse files
committed
8.0.0 release
1 parent 067ab46 commit 7e2aca8

File tree

13 files changed

+266
-258
lines changed

13 files changed

+266
-258
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
# Change Log
44

5+
# [8.0.0](https://github.com/framework7io/framework7-cli/compare/v7.0.1...067ab4685737f87ffa1d9dd69ad73ff481ff065a) (2023-04-03)
6+
7+
### Bug Fixes
8+
9+
- fix vite config for latest svelte plugin ([33ee429](https://github.com/framework7io/framework7-cli/commit/33ee429614cba1b3195ab6ec73736eafa3d16471))
10+
- use ES module syntax in cordova's build.js ([fc05d99](https://github.com/framework7io/framework7-cli/commit/fc05d99fad6efce3cb6a2f3a56417b39a081e622))
11+
12+
### Features
13+
14+
- support for latest Framework7 v8
15+
- removed options to generate Desktop app with Electron
16+
- **vue:** add swiper- custom elements ([067ab46](https://github.com/framework7io/framework7-cli/commit/067ab4685737f87ffa1d9dd69ad73ff481ff065a))
17+
-
18+
519
# [7.0.1](https://github.com/framework7io/framework7-cli/compare/v7.0.0...v7.0.1) (2023-01-18)
620

721
### Bug Fixes

create/utils/generate-package-json.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ module.exports = function generatePackageJson(options) {
55

66
// Dependencies
77
const dependencies = [
8-
'framework7@beta',
8+
'framework7',
99
'dom7',
1010
'swiper',
1111
'skeleton-elements',
1212
...(theming.iconFonts ? ['framework7-icons', 'material-icons'] : []),
13-
...(framework === 'vue' ? ['framework7-vue@beta', 'vue'] : []),
14-
...(framework === 'react' ? ['framework7-react@beta', 'react', 'react-dom', 'prop-types'] : []),
15-
...(framework === 'svelte' ? ['framework7-svelte@beta', 'svelte'] : []),
13+
...(framework === 'vue' ? ['framework7-vue', 'vue'] : []),
14+
...(framework === 'react' ? ['framework7-react', 'react', 'react-dom', 'prop-types'] : []),
15+
...(framework === 'svelte' ? ['framework7-svelte', 'svelte'] : []),
1616
...(type.indexOf('capacitor') >= 0
1717
? [
1818
'@capacitor/core',

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "framework7-cli",
3-
"version": "7.0.1",
3+
"version": "8.0.0",
44
"description": "Framework7 command line utility (CLI)",
55
"main": "index.js",
66
"bin": {

ui/src/package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/src/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
],
1919
"dependencies": {
2020
"dom7": "^4.0.6",
21-
"framework7": "^8.0.0-beta.2",
21+
"framework7": "^8.0.0",
2222
"framework7-icons": "^5.0.5",
23-
"framework7-vue": "^8.0.0-beta.2",
23+
"framework7-vue": "^8.0.0",
2424
"vue": "^3.2.47"
2525
},
2626
"devDependencies": {
@@ -33,4 +33,4 @@
3333
"postcss-preset-env": "^6.7.0",
3434
"vite": "^4.1.4"
3535
}
36-
}
36+
}

ui/src/src/pages/create.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,18 +478,13 @@
478478
></f7-list-item>
479479
</f7-list>
480480

481-
<template v-if="bundler === 'vite'">
481+
<template v-if="bundler === 'vite' && type.indexOf('cordova') >= 0">
482482
<f7-block
483483
inset
484484
strong
485485
class="text-color-red no-margin border-color-red"
486486
style="border-width: 2px; border-style: solid; margin-top: -32px !important"
487487
>
488-
<p><b>Attention!</b></p>
489-
<p>
490-
For Vite it is recommended to have modern and latest Node.js and NPM. Make sure you
491-
have at least Node.js v14 and NPM v7 installed on your system.
492-
</p>
493488
<p v-if="type.indexOf('cordova') >= 0">
494489
For Cordova app Vite build will be rebundled with Rollup (to workaround unsupported
495490
browser ES modules in Cordova web view), this means you should avoid dynamic imports

0 commit comments

Comments
 (0)