create-quasar 1.0.21 → 1.0.24

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.21",
3
+ "version": "1.0.24",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "author": {
6
6
  "name": "Razvan Stoenescu",
@@ -32,7 +32,7 @@
32
32
  "fast-glob": "^3.2.11",
33
33
  "fs-extra": "^10.0.1",
34
34
  "kolorist": "^1.5.1",
35
- "lodash.template": "^4.5.0",
35
+ "lodash": "^4.17.21",
36
36
  "prompts": "^2.4.2"
37
37
  },
38
38
  "devDependencies": {
@@ -17,6 +17,7 @@ $secondary : #26A69A
17
17
  $accent : #9C27B0
18
18
 
19
19
  $dark : #1D1D1D
20
+ $dark-page : #121212
20
21
 
21
22
  $positive : #21BA45
22
23
  $negative : #C10015
@@ -17,6 +17,7 @@ $secondary : #26A69A;
17
17
  $accent : #9C27B0;
18
18
 
19
19
  $dark : #1D1D1D;
20
+ $dark-page : #121212;
20
21
 
21
22
  $positive : #21BA45;
22
23
  $negative : #C10015;
@@ -17,6 +17,7 @@ $secondary : #26A69A
17
17
  $accent : #9C27B0
18
18
 
19
19
  $dark : #1D1D1D
20
+ $dark-page : #121212
20
21
 
21
22
  $positive : #21BA45
22
23
  $negative : #C10015
@@ -17,6 +17,7 @@ $secondary : #26A69A;
17
17
  $accent : #9C27B0;
18
18
 
19
19
  $dark : #1D1D1D;
20
+ $dark-page : #121212;
20
21
 
21
22
  $positive : #21BA45;
22
23
  $negative : #C10015;
@@ -17,6 +17,7 @@ $secondary : #26A69A
17
17
  $accent : #9C27B0
18
18
 
19
19
  $dark : #1D1D1D
20
+ $dark-page : #121212
20
21
 
21
22
  $positive : #21BA45
22
23
  $negative : #C10015
@@ -17,6 +17,7 @@ $secondary : #26A69A;
17
17
  $accent : #9C27B0;
18
18
 
19
19
  $dark : #1D1D1D;
20
+ $dark-page : #121212;
20
21
 
21
22
  $positive : #21BA45;
22
23
  $negative : #C10015;
@@ -17,6 +17,7 @@ $secondary : #26A69A
17
17
  $accent : #9C27B0
18
18
 
19
19
  $dark : #1D1D1D
20
+ $dark-page : #121212
20
21
 
21
22
  $positive : #21BA45
22
23
  $negative : #C10015
@@ -17,6 +17,7 @@ $secondary : #26A69A;
17
17
  $accent : #9C27B0;
18
18
 
19
19
  $dark : #1D1D1D;
20
+ $dark-page : #121212;
20
21
 
21
22
  $positive : #21BA45;
22
23
  $negative : #C10015;
@@ -1,22 +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": [
19
- "src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue",
20
- "src-pwa/*.d.ts", "src-bex/*.d.ts", "src-ssr/*.d.ts"
21
- ]
7
+ }
22
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
  }
@@ -17,6 +17,7 @@ $secondary : #26A69A
17
17
  $accent : #9C27B0
18
18
 
19
19
  $dark : #1D1D1D
20
+ $dark-page : #121212
20
21
 
21
22
  $positive : #21BA45
22
23
  $negative : #C10015
@@ -17,6 +17,7 @@ $secondary : #26A69A;
17
17
  $accent : #9C27B0;
18
18
 
19
19
  $dark : #1D1D1D;
20
+ $dark-page : #121212;
20
21
 
21
22
  $positive : #21BA45;
22
23
  $negative : #C10015;
@@ -17,6 +17,7 @@ $secondary : #26A69A
17
17
  $accent : #9C27B0
18
18
 
19
19
  $dark : #1D1D1D
20
+ $dark-page : #121212
20
21
 
21
22
  $positive : #21BA45
22
23
  $negative : #C10015
@@ -17,6 +17,7 @@ $secondary : #26A69A;
17
17
  $accent : #9C27B0;
18
18
 
19
19
  $dark : #1D1D1D;
20
+ $dark-page : #121212;
20
21
 
21
22
  $positive : #21BA45;
22
23
  $negative : #C10015;
@@ -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
@@ -3,7 +3,7 @@ const { readFileSync, writeFileSync, existsSync } = require('fs')
3
3
  const { sep, normalize, join, resolve, extname } = require('path')
4
4
  const { emptyDirSync, ensureDirSync, ensureFileSync, copySync } = require('fs-extra')
5
5
  const prompts = require('prompts')
6
- const compileTemplate = require('lodash.template')
6
+ const compileTemplate = require('lodash/template')
7
7
  const fglob = require('fast-glob')
8
8
  const { yellow, green } = require('kolorist')
9
9
  const exec = require('child_process').execSync
@@ -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: