Skip to content

Commit

Permalink
Dev-3730 Platforms > Upgrade Quasar to latest versions (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricabuso authored Mar 3, 2023
1 parent c59da7b commit 7341506
Show file tree
Hide file tree
Showing 24 changed files with 675 additions and 359 deletions.
84 changes: 81 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
/dist
quasar.conf.js
config/
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# Editor workspace settings
.idea/
.vscode/

# dependencies lock file
package-lock.json
yarn.lock

# Quasar Framework ignored files
.quasar
.DS_Store
.thumbs.db
dist/
/src-cordova/platforms
/src-cordova/plugins
/src-cordova/www

# esdoc
docs/

/src-pwa/pwa-flag.d.ts
/src/store/store-flag.d.ts
43 changes: 28 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,45 @@

> Frontend boilerplate using Quasar Framework
## Build Setup
## Env pre-requisites
```bash
"node": ">= 12.22.1",
"npm": ">= 6.13.4",
"yarn": ">= 1.21.1"

``` bash
```

## Install the dependencies
```bash
# install cross-env
$ npm i -g cross-env

# install dependencies
$ npm install
yarn
# or
npm install
```

# serve with hot reload at localhost:8081
$ npm run dev
### Start the app in development mode (hot-code reloading, error reporting, etc.)
```bash
npm run dev
```

# build for production with minification
$ npm run build
### Build the app for production
```bash
npm run build
```

### Other commands
```bash
# lint code
$ npm run lint

# fix lint errors
$ npm run lint -- --fix

# run unit tests
$ npm test

# TDD
$ npm run tdd
$ npm run lint-fix
```

### Customize the configuration
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js).

### Boilerplate usage
For more information regarding usage, see [WIKI](https://github.com/anyTV/quasar-boilerplate/wiki).
90 changes: 42 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anytv-quasar-boilerplate",
"version": "1.6.0",
"version": "2.0.0",
"description": "AnyTV Quasar Boilerplate",
"repository": "https://github.com/anyTV/quasar-boilerplate",
"productName": "Freedom! App",
Expand All @@ -13,58 +13,52 @@
"scripts": {
"lint": "eslint --ext .js,.vue src",
"lint-fix": "eslint --fix --ext .js,.vue src",
"dev": "cross-env node node_modules/@quasar/cli/bin/quasar dev",
"docs": "esdoc",
"dev": "cross-env npx quasar dev -m pwa",
"build": "cross-env NODE_ENV=production npx quasar build -m pwa",
"postinstall": "quasar-app-extension-freedom-components"
},
"dependencies": {
"@panter/vue-i18next": "^0.15.1",
"@quasar/app": "^1.9.6",
"@quasar/extras": "^1.10.10",
"axios": "^0.21.1",
"i18next": "^10.2.2",
"i18next-browser-languagedetector": "^2.1.0",
"i18next-http-backend": "^1.2.4",
"jsonwebtoken": "^8.2.1",
"lodash-es": "^4.17.10",
"moment": "^2.20.1",
"qs": "^6.5.2",
"quasar": "^1.15.23",
"quasar-app-extension-freedom-components": "git+https://freedom-components-readonly:[email protected]/anyTV/incubator/freedom-components.git#v1.8.0",
"vue": "2.6.11",
"vue-gtm": "3.1.0-vue2",
"vue-router": "^3.0.1",
"vue-template-compiler": "2.6.11",
"vuelidate": "^0.7.6",
"vuex": "^3.0.1"
},
"dependenciesComments": {
"vue-gtm": "Default packages are built for vue3, use `-vue2` for all packages that would be installed. @see https://github.com/mib200/vue-gtm/issues/98"
"@quasar/extras": "^1.0.0",
"@vuelidate/core": "^2.0.0",
"@vuelidate/validators": "^2.0.0",
"axios": "^1.3.4",
"core-js": "^3.6.5",
"eslint-webpack-plugin": "^4.0.0",
"i18next": "^22.4.10",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-http-backend": "^2.1.1",
"jsonwebtoken": "^9.0.0",
"moment": "^2.29.4",
"node-polyfill-webpack-plugin": "^2.0.1",
"pinia": "^2.0.32",
"qs": "^6.11.0",
"quasar": "^2.6.0",
"quasar-app-extension-freedom-components": "git+https://freedom-components-readonly:[email protected]/anyTV/incubator/freedom-components.git#v1.11.11",
"vue": "^3.2.33",
"vue-analytics": "^5.22.1",
"vue-i18n": "^9.2.2",
"vue-router": "^4.0.0",
"workbox-webpack-plugin": "^6.5.4"
},
"devDependencies": {
"@quasar/cli": "^1.2.1",
"babel-eslint": "^8.2.1",
"cross-env": "^7.0.3",
"esdoc": "^1.1.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^7.32.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-vue": "^7.0.0",
"eslint-webpack-plugin": "^3.1.1",
"lodash": "^4.17.10",
"strip-ansi": "^3.0.1",
"webpack": "^4.39.1"
},
"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.6.0"
"@quasar/app-webpack": "^3.0.0",
"stylus": "^0.59.0",
"stylus-loader": "^7.1.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
"last 10 Chrome versions",
"last 10 Firefox versions",
"last 4 Edge versions",
"last 7 Safari versions",
"last 8 Android versions",
"last 8 ChromeAndroid versions",
"last 8 FirefoxAndroid versions",
"last 10 iOS versions",
"last 5 Opera versions"
],
"engines": {
"node": ">= 12.22.1",
"npm": ">= 6.13.4",
"yarn": ">= 1.21.1"
}
}
Binary file added public/blank-avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit 7341506

Please sign in to comment.