create-quasar 1.0.19 → 1.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-quasar",
3
- "version": "1.0.19",
3
+ "version": "1.0.22",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "author": {
6
6
  "name": "Razvan Stoenescu",
@@ -7,8 +7,8 @@ module.exports = async function ({ scope, utils }) {
7
7
  message: 'Pick Quasar App CLI variant:',
8
8
  initial: 0,
9
9
  choices: [
10
- { title: 'Quasar App CLI with Webpack (stable)', value: 'webpack' },
11
- { title: 'Quasar App CLI with Vite (BETA stage)', value: 'vite' }
10
+ { title: 'Quasar App CLI with Webpack', value: 'webpack' },
11
+ { title: 'Quasar App CLI with Vite', value: 'vite' }
12
12
  ]
13
13
  },
14
14
  {
@@ -1,19 +1,8 @@
1
1
  {
2
2
  "extends": "@quasar/app-vite/tsconfig-preset",
3
3
  "compilerOptions": {
4
- "baseUrl": ".",
5
- "paths": {
6
- "src/*": ["src/*"],
7
- "app/*": ["*"],
8
- "components/*": ["src/components/*"],
9
- "layouts/*": ["src/layouts/*"],
10
- "pages/*": ["src/pages/*"],
11
- "assets/*": ["src/assets/*"],
12
- "boot/*": ["src/boot/*"],
13
- "stores/*": ["src/stores/*"]
14
- }<% if (typescriptConfig === 'class') { %>,
4
+ "baseUrl": "."<% if (typescriptConfig === 'class') { %>,
15
5
  "experimentalDecorators": true,
16
6
  "useDefineForClassFields": true<% } %>
17
- },
18
- "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
7
+ }
19
8
  }
@@ -1,12 +1,10 @@
1
1
  /* eslint-disable */
2
2
 
3
3
  /// <reference types="vite/client" />
4
- /// <reference types="vue/ref-macros" />
5
4
 
6
5
  // Mocks all files ending in `.vue` showing them as plain Vue instances
7
6
  declare module '*.vue' {
8
- import type { DefineComponent } from 'vue'
9
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
10
- const component: DefineComponent<{}, {}, any>
11
- export default component
7
+ import type { DefineComponent } from 'vue';
8
+ const component: DefineComponent<{}, {}, any>;
9
+ export default component;
12
10
  }
@@ -43,6 +43,8 @@
43
43
  "@rollup/plugin-node-resolve": "^11.2.1",
44
44
  "@rollup/plugin-replace": "^2.4.2",
45
45
  "uglify-js": "^3.13.3",
46
+ "vue": "^3.0.0",
47
+ "vue-router": "^4.0.0",
46
48
  "zlib": "^1.0.5"
47
49
  },
48
50
  "browserslist": [
@@ -1,3 +1,7 @@
1
1
  @import 'quasar/src/css/variables.sass'
2
+ <% if (features.component) { %>
2
3
  @import './components/Component.sass'
4
+ <% } %>
5
+ <% if (features.directive) { %>
3
6
  @import './directives/Directive.sass'
7
+ <% } %>
package/utils/index.js CHANGED
@@ -11,7 +11,7 @@ const spawn = require('child_process').spawn
11
11
 
12
12
  const logger = require('./logger')
13
13
 
14
- const TEMPLATING_FILE_EXTENSIONS = [ '', '.json', '.js', '.ts', '.vue', '.md', '.html' ]
14
+ const TEMPLATING_FILE_EXTENSIONS = [ '', '.json', '.js', '.ts', '.vue', '.md', '.html', '.sass' ]
15
15
 
16
16
  module.exports.join = join
17
17
  module.exports.logger = logger
@@ -145,7 +145,7 @@ Documentation can be found at: https://${verPrefix}quasar.dev
145
145
  Quasar is relying on donations to evolve. We'd be very grateful if you can
146
146
  read our manifest on "Why donations are important": https://${verPrefix}quasar.dev/why-donate
147
147
  Donation campaign: https://donate.quasar.dev
148
- Any amount is very welcomed.
148
+ Any amount is very welcome.
149
149
  If invoices are required, please first contact Razvan Stoenescu.
150
150
 
151
151
  Please give us a star on Github if you appreciate our work: