Skip to content

Commit

Permalink
feat: vue and svelte demo app generator updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Jan 15, 2025
1 parent 93f067a commit 61bbd4d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@nativescript/core": "file:../../node_modules/@nativescript/core"
},
"devDependencies": {
"@nativescript/android": "~8.7.0",
"@nativescript/ios": "~8.7.0"
"@nativescript/android": "~8.8.0",
"@nativescript/ios": "~8.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@nativescript/core": "file:../../node_modules/@nativescript/core"
},
"devDependencies": {
"@nativescript/android": "~8.7.0",
"@nativescript/ios": "~8.7.0"
"@nativescript/android": "~8.8.0",
"@nativescript/ios": "~8.8.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'nativescript-theme-core/css/core.light.android.css';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'nativescript-theme-core/css/core.light.ios.css';

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default Vue.extend({
});
</script>

<style scoped lang="scss">
<style scoped lang="css">
.info {
font-size: 20;
horizontal-align: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@nativescript/core": "file:../../node_modules/@nativescript/core"
},
"devDependencies": {
"@nativescript/android": "~8.7.0",
"@nativescript/ios": "~8.7.0"
"@nativescript/android": "~8.8.0",
"@nativescript/ios": "~8.8.0"
}
}
6 changes: 4 additions & 2 deletions packages/plugin-tools/src/generators/add-demo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@ function updateRootPackageDeps(tree: Tree, type: SupportedDemoType) {
devDependencies = {
svelte: '~3.35.0',
'svelte-loader-hot': '~0.3.1',
'svelte-native-preprocessor': '^0.2.0',
'svelte-native': '~0.9.5',
'svelte-native-preprocessor': '^1.0.0',
'svelte-native': '~1.0.0',
'svelte-preprocess': '^4.7.0',
};
break;
case 'vue':
devDependencies = {
'nativescript-vue-template-compiler': '^2.9.3',
'nativescript-vue': '^2.9.3',
vue: '~2.6.12',
};
break;
Expand Down

0 comments on commit 61bbd4d

Please sign in to comment.