Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-quasar

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-quasar - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

.eslintrc.js

12

package.json
{
"name": "create-quasar",
"version": "1.0.13",
"version": "1.0.14",
"description": "Scaffolds Quasar Apps, AppExtensions or UI kits",

@@ -28,2 +28,5 @@ "author": {

},
"scripts": {
"lint": "eslint --ext .js,.ts ./ --fix"
},
"dependencies": {

@@ -35,3 +38,10 @@ "fast-glob": "^3.2.11",

"prompts": "^2.4.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"eslint-plugin-lodash-template": "^0.21.0",
"typescript": "^4.6.2"
}
}

1

templates/app/quasar-v1/ts/i18n/src/boot/i18n.ts

@@ -7,3 +7,2 @@ import { boot } from 'quasar/wrappers';

declare module 'vue/types/vue' {
<% if (preset.lint && lintConfig === 'airbnb') { %>// eslint-disable-next-line no-shadow<% } %>
interface Vue {

@@ -10,0 +9,0 @@ i18n: VueI18n;

@@ -9,4 +9,4 @@ export interface ExampleStateInterface {

}
};
}
export default state;

@@ -9,4 +9,4 @@ export interface ExampleStateInterface {

}
};
}
export default state;

@@ -217,3 +217,3 @@ /* eslint-env node */

appId: '{{ name }}'
appId: '<%= name %>'
},

@@ -220,0 +220,0 @@

@@ -9,4 +9,4 @@ export interface ExampleStateInterface {

}
};
}
export default state;
process.env.NODE_ENV = 'production'
{{#or componentCss directiveCss}}
const parallel = require('os').cpus().length > 1
const runJob = parallel ? require('child_process').fork : require
{{/or}}
const { join } = require('path')

@@ -13,16 +11,10 @@ const { createFolder } = require('./utils')

{{#features.ae}}
require('./script.app-ext.js').syncAppExt()
{{/features.ae}}
<% if (features.ae) { %>require('./script.app-ext.js').syncAppExt()<% } %>
require('./script.clean.js')
console.log(` 📦 Building ${green('v' + require('../package.json').version)}...{{#or componentCss directiveCss}}${parallel ? blue(' [multi-threaded]') : ''}{{/or}}\n`)
console.log(` 📦 Building ${green('v' + require('../package.json').version)}...${parallel ? blue(' [multi-threaded]') : ''}\n`)
createFolder('dist')
{{#or componentCss directiveCss}}
runJob(join(__dirname, './script.javascript.js'))
runJob(join(__dirname, './script.css.js'))
{{else}}
require(join(__dirname, './script.javascript.js'))
{{/or}}

@@ -61,3 +61,3 @@ const path = require('path')

output: {
name: '{{umdExportName}}',
name: '<%= umdExportName %>',
file: pathResolve('../dist/index.umd.js'),

@@ -93,3 +93,3 @@ format: 'umd'

files = fs.readdirSync(pathResolve('../../ui/src/components/' + type)),
plugins = [ buble(bubleConfig) ],
plugins = [ buble(/* bubleConfig */) ],
outputDir = pathResolve(`../dist/${type}`)

@@ -112,3 +112,3 @@

format: 'umd',
name: `{{umdExportName}}.${injectName}.${name}`
name: `<%= umdExportName %>.${injectName}.${name}`
}

@@ -115,0 +115,0 @@ },

@@ -5,4 +5,3 @@ const

zlib = require('zlib'),
{ green, blue, red, cyan } = require('chalk'),
kebabRegex = /[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g
{ green, blue, red, cyan } = require('chalk')

@@ -9,0 +8,0 @@ function getSize (code) {

@@ -5,3 +5,2 @@ // Configuration for your app

const path = require('path')
const webpack = require('webpack')

@@ -8,0 +7,0 @@ module.exports = function (ctx) {

@@ -101,3 +101,3 @@ const path = require('path')

files = fs.readdirSync(pathResolve('../../ui/src/components/' + type)),
plugins = [ buble(bubleConfig) ],
plugins = [ buble(/* bubleConfig */) ],
outputDir = pathResolve(`../dist/${type}`)

@@ -104,0 +104,0 @@

@@ -5,4 +5,3 @@ const

zlib = require('zlib'),
{ green, blue, red, cyan } = require('chalk'),
kebabRegex = /[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g
{ green, blue, red, cyan } = require('chalk')

@@ -9,0 +8,0 @@ function getSize (code) {

@@ -61,5 +61,7 @@

// dotfiles are ignored when published to npm, therefore in templates
// we need to use underscore instead (e.g. "_gitignore")
return name.charAt(0) === '_'
? `.${name.slice(1)}`
// we need to prefix them with an underscore (e.g. "_.gitignore")
// Also, some tools like ESLint excepts valid config files, therefore
// we also prefix files like "package.json" too. (e.g. "_.package.json")
return name.startsWith('_')
? name.slice(1)
: name

@@ -66,0 +68,0 @@ }).join('/')

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc