forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Quasar to v2 and Vue to v3. (project-chip#865)
* Upgrade Quasar to v2 and Vue to v3. * Upgrade Cypress and Jest tests. * Extend license whitelist. * Temporary hide Vue Tour.
- Loading branch information
Showing
73 changed files
with
30,627 additions
and
42,120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"semi": false, | ||
"overrides": [ | ||
{ | ||
"files": "src-electron/generator/matter/**/*.js", | ||
"options": { | ||
"semi": true | ||
} | ||
} | ||
], | ||
"singleQuote": true, | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"arrowParens": "always" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
const fs = require('fs-extra') | ||
let extend = undefined | ||
/* eslint-disable */ | ||
module.exports = (api) => { | ||
const envOptions = {} | ||
|
||
/** | ||
* The .babelrc file has been created to assist Jest for transpiling. | ||
* You should keep your application's babel rules in this file. | ||
*/ | ||
// Options scaffolded by Quasar out of the box | ||
if (api.caller((caller) => caller && caller.target === 'node')) { | ||
envOptions.targets = { node: 'current' } | ||
} | ||
|
||
if (fs.existsSync('./.babelrc')) { | ||
extend = './.babelrc' | ||
} | ||
// Only used in test environment in JS codebases | ||
if (api.env() === 'test') { | ||
envOptions.modules = 'commonjs' | ||
envOptions.targets = { node: 'current' } | ||
} | ||
|
||
module.exports = { | ||
presets: ['@quasar/babel-preset-app'], | ||
extends: extend, | ||
return { | ||
presets: [ | ||
['@quasar/babel-preset-app', envOptions], | ||
'@babel/preset-typescript', | ||
], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.