mirror of
https://github.com/documize/community.git
synced 2025-07-18 20:59:43 +02:00
[WIP] Upgrade EmberJS to 3.5.x
This commit is contained in:
parent
44d3e40663
commit
4b68529090
8 changed files with 76 additions and 33 deletions
|
@ -4,3 +4,24 @@ public/tinymce
|
||||||
public/codemirror/**
|
public/codemirror/**
|
||||||
public/codemirror/
|
public/codemirror/
|
||||||
public/codemirror
|
public/codemirror
|
||||||
|
|
||||||
|
# unconventional js
|
||||||
|
/blueprints/*/files/
|
||||||
|
/vendor/
|
||||||
|
|
||||||
|
# compiled output
|
||||||
|
/dist/
|
||||||
|
/tmp/
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
/bower_components/
|
||||||
|
/node_modules/
|
||||||
|
|
||||||
|
# misc
|
||||||
|
/coverage/
|
||||||
|
!.*
|
||||||
|
|
||||||
|
# ember-try
|
||||||
|
/.node_modules.ember-try/
|
||||||
|
/bower.json.ember-try
|
||||||
|
/package.json.ember-try
|
||||||
|
|
|
@ -20,6 +20,8 @@ module.exports = {
|
||||||
// node files
|
// node files
|
||||||
{
|
{
|
||||||
files: [
|
files: [
|
||||||
|
'.eslintrc.js',
|
||||||
|
'.template-lintrc.js',
|
||||||
'testem.js',
|
'testem.js',
|
||||||
'ember-cli-build.js',
|
'ember-cli-build.js',
|
||||||
'config/**/*.js'
|
'config/**/*.js'
|
||||||
|
|
22
gui/.gitignore
vendored
22
gui/.gitignore
vendored
|
@ -1,18 +1,24 @@
|
||||||
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
||||||
|
|
||||||
# compiled output
|
# compiled output
|
||||||
/dist
|
/dist/
|
||||||
/dist-prod
|
/dist-prod/
|
||||||
/tmp
|
/tmp/
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
/node_modules
|
/bower_components/
|
||||||
/bower_components
|
/node_modules/
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
/.sass-cache
|
/.sass-cache
|
||||||
/connect.lock
|
/connect.lock
|
||||||
/coverage/*
|
/coverage/
|
||||||
/libpeerconnection.log
|
/libpeerconnection.log
|
||||||
npm-debug.log*
|
/npm-debug.log*
|
||||||
testem.log
|
/testem.log
|
||||||
|
/yarn-error.log
|
||||||
|
|
||||||
|
# ember-try
|
||||||
|
/.node_modules.ember-try/
|
||||||
|
/bower.json.ember-try
|
||||||
|
/package.json.ember-try
|
||||||
|
|
5
gui/.template-lintrc.js
Normal file
5
gui/.template-lintrc.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
extends: 'recommended'
|
||||||
|
};
|
|
@ -25,5 +25,6 @@ install:
|
||||||
- yarn install --non-interactive
|
- yarn install --non-interactive
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- yarn lint:js
|
- npm run lint:hbs
|
||||||
- yarn test
|
- npm run lint:js
|
||||||
|
- npm test
|
||||||
|
|
|
@ -34,6 +34,12 @@ Make use of the many generators for code, try `ember help generate` for more det
|
||||||
* `ember test`
|
* `ember test`
|
||||||
* `ember test --server`
|
* `ember test --server`
|
||||||
|
|
||||||
|
### Linting
|
||||||
|
|
||||||
|
* `npm run lint:hbs`
|
||||||
|
* `npm run lint:js`
|
||||||
|
* `npm run lint:js -- --fix`
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
* `ember build` (development)
|
* `ember build` (development)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{
|
||||||
"application-template-wrapper": false
|
"application-template-wrapper": false,
|
||||||
|
"jquery-integration": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +1,25 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
test_page: 'tests/index.html?hidepassed',
|
test_page: 'tests/index.html?hidepassed',
|
||||||
disable_watching: true,
|
disable_watching: true,
|
||||||
launch_in_ci: [
|
launch_in_ci: [
|
||||||
'Chrome'
|
'Chrome'
|
||||||
],
|
],
|
||||||
launch_in_dev: [
|
launch_in_dev: [
|
||||||
'Chrome'
|
'Chrome'
|
||||||
],
|
],
|
||||||
browser_args: {
|
browser_args: {
|
||||||
Chrome: {
|
Chrome: {
|
||||||
mode: 'ci',
|
ci: [
|
||||||
args: [
|
// --no-sandbox is needed when running Chrome inside a container
|
||||||
// --no-sandbox is needed when running Chrome inside a container
|
process.env.CI ? '--no-sandbox' : null,
|
||||||
process.env.TRAVIS ? '--no-sandbox' : null,
|
'--headless',
|
||||||
|
'--disable-gpu',
|
||||||
'--disable-gpu',
|
'--disable-dev-shm-usage',
|
||||||
'--headless',
|
'--disable-software-rasterizer',
|
||||||
'--remote-debugging-port=0',
|
'--mute-audio',
|
||||||
'--window-size=1440,900'
|
'--remote-debugging-port=0',
|
||||||
].filter(Boolean)
|
'--window-size=1440,900'
|
||||||
}
|
].filter(Boolean)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue