Skip to content

Commit 3efdaf2

Browse files
authored
Merge pull request #99 from kiwiupover/update-ember-and-deps
Update ember and deps
2 parents 6c80659 + 8643319 commit 3efdaf2

28 files changed

Lines changed: 16878 additions & 10097 deletions

.eslintignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# unconventional js
2+
/blueprints/*/files/
3+
/vendor/
4+
5+
# compiled output
6+
/dist/
7+
/tmp/
8+
9+
# dependencies
10+
/bower_components/
11+
/node_modules/
12+
13+
# misc
14+
/coverage/
15+
!.*
16+
17+
# ember-try
18+
/.node_modules.ember-try/
19+
/bower.json.ember-try
20+
/package.json.ember-try

.eslintrc.js

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ module.exports = {
2121
{
2222
files: [
2323
'fastboot-server.js',
24-
'testem.js',
24+
'.eslintrc.js',
25+
'.template-lintrc.js',
2526
'ember-cli-build.js',
27+
'testem.js',
28+
'blueprints/*/index.js',
2629
'config/**/*.js',
27-
'lib/*/index.js'
30+
'lib/*/index.js',
31+
'server/**/*.js'
2832
],
2933
parserOptions: {
3034
sourceType: 'script',
@@ -34,15 +38,6 @@ module.exports = {
3438
browser: false,
3539
node: true
3640
}
37-
},
38-
39-
// test files
40-
{
41-
files: ['tests/**/*.js'],
42-
excludedFiles: ['tests/dummy/**/*.js'],
43-
env: {
44-
embertest: true
45-
}
4641
}
4742
]
4843
};

.gitignore

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,21 @@
66
/tmp
77

88
# dependencies
9-
/node_modules
10-
/bower_components
9+
/bower_components/
10+
/node_modules/
1111

1212
# misc
13+
/.env*
14+
/.pnp*
1315
/.sass-cache
1416
/connect.lock
15-
/coverage/*
17+
/coverage/
1618
/libpeerconnection.log
17-
npm-debug.log*
18-
yarn-error.log
19-
testem.log
19+
/npm-debug.log*
20+
/testem.log
21+
/yarn-error.log
2022

2123
# ember-try
22-
.node_modules.ember-try/
23-
bower.json.ember-try
24-
package.json.ember-try
24+
/.node_modules.ember-try/
25+
/bower.json.ember-try
26+
/package.json.ember-try

.template-lintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: 'recommended'
5+
};

.travis.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- '6'
3+
- '10'
44
sudo: false
55
dist: trusty
66

@@ -10,28 +10,17 @@ addons:
1010
cache:
1111
yarn: true
1212
directories:
13-
- $HOME/.cache
13+
- $HOME/.npm
1414

1515
env:
1616
global:
1717
# See https://git.io/vdao3 for details.
1818
- JOBS=1
1919

20-
before_install:
21-
- curl -o- -L https://yarnpkg.com/install.sh | bash
22-
- export PATH=$HOME/.yarn/bin:$PATH
2320

2421
install:
25-
- yarn
22+
- npm install
2623

2724
script:
28-
- yarn run lint:js
29-
- yarn test
30-
31-
deploy:
32-
provider: heroku
33-
api_key:
34-
secure: iduQwr4SumssmTXAsg2DSgwpmrL7PTf01uk0cqETBG1y2puGswAiWyNSHiswHWFhpvFhCQDkcG+S4L2Geq7luOFhBXcUWpDO6ZuN2mj+MnpFfGbQMNbXF9OwZrkyzPgi3R4cQbm7wrvvGQYBhCC0JMdgl3w+GjfofgxOYNaWtBVlLkXaFz5EylD9pr3OYjIYPt7rT/8E3R2TBqrDxhESXYm+SKSUti8QX4AugsDA9vAr562kjzze0LYMmnyUVSeoBUtj4wBoEY9/z+3tAS6SpUxpivJKEuJXK4b+iZT0hPokAp5SJXH6hsZDK3QrjAvAZcaNgcwLnV7HyLtpYZjZ39O75FNoRcXDjP/pEkiKwx5X+KLEYjH/+vM9JIYJaiRpjeETIb3KjJBKYejT++d0NQP1gdOxgtRvZIMYAGc5TAjiKUFH0MjEXjGo0pfT2lv9/eif5yFbf11wO8i7YzUQaTvBCRy8PKG7ah1kDOlfMGf3H8Vy6QHD5fEgVbcgaGh/0t51iTSVt7JaB8SEBdKRx3fhNoSQAsyzAaNA8Hx+CgIXE0Spt2qhV5VQc2hgAYEwUeNj3zfCo1zRUkRzpYOLH8Vrl0ViB136Kjox+AdFMbRpAp89ePBZnces/xDkANTf3RfUNHV5rQjn57fpLwI/fcV7Rclo7k0cmMWoZE2BhOk=
35-
app: fastboot-website
36-
on:
37-
repo: ember-fastboot/fastboot-website
25+
- npm run lint:js
26+
- npm test

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ To run the website locally:
2020

2121
### Running Tests
2222

23-
- `ember test`
23+
* `ember test`
24+
* `ember test --server`
25+
26+
### Building
27+
28+
* `ember build` (development)
29+
* `ember build --environment production` (production)
2430

2531
### Deploying
2632

app.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
},
2626
"WORKER_COUNT": {
2727
"required": true
28+
},
29+
"EXPERIMENTAL_RENDER_MODE_SERIALIZE": {
30+
"required": true
2831
}
2932
},
3033
"formation": {

app/components/main-hero/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
</div>
1919

2020
<div class="main-hero-actions">
21-
{{#link-to 'page' 'quickstart' class='main-hero-button'}}
21+
{{#link-to "page" "quickstart" class="main-hero-button"}}
2222
Quickstart
2323
{{/link-to}}
2424

25-
{{#link-to 'page' 'docs/user-guide' class='main-hero-button'}}
25+
{{#link-to "page" "docs/user-guide" class="main-hero-button"}}
2626
User Guide
2727
{{/link-to}}
2828
</div>

app/components/nav-bar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export default Component.extend({
66
classNameBindings: 'isOffTop',
77

88
didInsertElement() {
9+
this._super(...arguments);
10+
911
let $window = $(window);
1012

1113
$window.on('scroll', () => {

app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{content-for "head"}}
1111

1212
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
13-
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/my-app.css">
13+
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/fastboot-website.css">
1414

1515
{{content-for "head-footer"}}
1616
</head>

0 commit comments

Comments
 (0)