Skip to content

Commit 8e7ba5f

Browse files
Correct sensitive words
1 parent 63a5fbc commit 8e7ba5f

File tree

3 files changed

+54
-45
lines changed

3 files changed

+54
-45
lines changed

02_heroku_fastly_setup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ If the ember app is going to exist in a subpath of https://emberjs.com, e.g., ht
2323

2424
## Ember app requirements
2525

26-
- Create a file with the name `Procfile` with the content below. This enables heroku to execute its [release phase][6] purge our fastly cache on deployments. In this script `FASTLY_PURGE_KEY` is the api token of any of the admins of our fastly account. If you're one of our fastly admin, you can create one under the [personal API tokens][7] page. `FASTLY_SERVICE_ID` is the service id of our app on fastly. You can find it by following [these instructions][8]
26+
- Create a file with the name `Procfile` with the content below. This enables heroku to run purge on our fastly cache on post build but just before deployment during its [release phase][6] . In this script `FASTLY_PURGE_KEY` is the api token of any of the admins of our fastly account. If you're one of our fastly admin, you can create one under the [personal API tokens][7] page. `FASTLY_SERVICE_ID` is the service id of our app on fastly. You can find it by following [these instructions][8]
2727

2828
```Procfile
2929
release: npm i -g fastly-cli && fastly purge-all -k $FASTLY_PURGE_KEY -s $FASTLY_SERVICE_ID
3030
```
3131

3232
- In the `config/environment.js` file, after `rootURL` add two new fields `routerRootUrl` with value `/` and `apiHost` with value `''`. Override their values for production as shown in this [reference][14].
3333
- In `router.js` change `rootURL: config.rootURL` to `rootURL: config.routerRootURL`. This ensures internal links & redirection works as expected.
34-
- If your app fetches any static content from within the app then make sure you set the `host` of your ember data adapter with the `apiHost` from config. Follow the same if you have fetch/ajax calls with relative urls. In case the app uses prember then configure the host as shown in [deprecation app's application adapter][12].
34+
- If your app fetches any static content from within the app then make sure you set the `host` field of your ember data adapter with the `apiHost` from config. Follow the same if you have fetch/ajax calls with relative urls. In case the app uses prember then configure the host name as shown in [deprecation app's application adapter][12].
3535
- In your `ember-cli-build.js` set the `fingerprint` `prepend` value with the cdn url. See [`deprecation-app/ember-cli-build.js`][11] for reference.
3636
- Configure your `config/deploy.js` file's production target as shown in [this reference][13]
3737

package.json

+14-9
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,27 @@
22
"name": "handbook",
33
"version": "1.0.0",
44
"description": "Ember.JS Learning team handbook",
5-
"main": "index.js",
6-
"scripts": {
7-
"test": "alex *.md && cat *.md | markdown-link-check"
5+
"homepage": "https://github.com/ember-learn/handbook#readme",
6+
"bugs": {
7+
"url": "https://github.com/ember-learn/handbook/issues"
88
},
9+
"license": "MIT",
10+
"author": "Sivakumar Kailasam <[email protected]>",
11+
"main": "index.js",
912
"repository": {
1013
"type": "git",
1114
"url": "git+https://github.com/ember-learn/handbook.git"
1215
},
13-
"author": "Sivakumar Kailasam <[email protected]>",
14-
"license": "MIT",
15-
"bugs": {
16-
"url": "https://github.com/ember-learn/handbook/issues"
16+
"scripts": {
17+
"test": "alex *.md && cat *.md | markdown-link-check"
1718
},
18-
"homepage": "https://github.com/ember-learn/handbook#readme",
1919
"dependencies": {
20-
"alex": "5.1.0",
20+
"alex": "4.1.0",
2121
"markdown-link-check": "3.1.6"
22+
},
23+
"alex": {
24+
"allow": [
25+
"host-hostess"
26+
]
2227
}
2328
}

yarn.lock

+38-34
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,23 @@ ajv@^5.1.0:
1111
fast-json-stable-stringify "^2.0.0"
1212
json-schema-traverse "^0.3.0"
1313

14-
alex@5.1.0:
15-
version "5.1.0"
16-
resolved "https://registry.yarnpkg.com/alex/-/alex-5.1.0.tgz#9da0d5d84ea72ec7e3ff0443cb84b2fb5a8bcf87"
14+
alex@4.1.0:
15+
version "4.1.0"
16+
resolved "https://registry.yarnpkg.com/alex/-/alex-4.1.0.tgz#6c55580bb72d323d89e594681465f446cbbf1370"
1717
dependencies:
1818
meow "^3.3.0"
19-
remark-frontmatter "^1.1.0"
2019
remark-message-control "^4.0.0"
21-
remark-parse "^4.0.0"
20+
remark-parse "^3.0.0"
2221
remark-retext "^3.0.0"
2322
retext-english "^3.0.0"
24-
retext-equality "~3.2.0"
25-
retext-profanities "~4.4.0"
23+
retext-equality "^3.0.0"
24+
retext-profanities "^4.0.0"
2625
unified "^6.1.0"
2726
unified-diff "^1.0.0"
28-
unified-engine "^4.0.0"
27+
unified-engine "^3.1.0"
2928
update-notifier "^2.1.0"
3029
vfile "^2.0.0"
31-
vfile-reporter "^4.0.0"
30+
vfile-reporter "^3.0.0"
3231
vfile-sort "^2.0.0"
3332

3433
ansi-align@^2.0.0:
@@ -403,7 +402,7 @@ fast-json-stable-stringify@^2.0.0:
403402
version "2.0.0"
404403
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
405404

406-
fault@^1.0.0, fault@^1.0.1:
405+
fault@^1.0.0:
407406
version "1.0.1"
408407
resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.1.tgz#de8d350dfd48be24b5dc1b02867e0871b9135092"
409408
dependencies:
@@ -444,6 +443,10 @@ fs.realpath@^1.0.0:
444443
version "1.0.0"
445444
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
446445

446+
function-bind@^1.0.2:
447+
version "1.1.1"
448+
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
449+
447450
get-stdin@^4.0.1:
448451
version "4.0.1"
449452
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
@@ -530,6 +533,12 @@ has-flag@^3.0.0:
530533
version "3.0.0"
531534
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
532535

536+
has@^1.0.1:
537+
version "1.0.1"
538+
resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
539+
dependencies:
540+
function-bind "^1.0.2"
541+
533542
hawk@~6.0.2:
534543
version "6.0.2"
535544
resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038"
@@ -1223,13 +1232,6 @@ registry-url@^3.0.3:
12231232
dependencies:
12241233
rc "^1.0.1"
12251234

1226-
remark-frontmatter@^1.1.0:
1227-
version "1.2.0"
1228-
resolved "https://registry.yarnpkg.com/remark-frontmatter/-/remark-frontmatter-1.2.0.tgz#67905d178c0fe531ed12c57b98759f101fc2c1b5"
1229-
dependencies:
1230-
fault "^1.0.1"
1231-
xtend "^4.0.1"
1232-
12331235
remark-message-control@^4.0.0:
12341236
version "4.1.0"
12351237
resolved "https://registry.yarnpkg.com/remark-message-control/-/remark-message-control-4.1.0.tgz#60bc7700a87381404c956dc04e688518d3830cff"
@@ -1238,11 +1240,12 @@ remark-message-control@^4.0.0:
12381240
unified-message-control "^1.0.0"
12391241
xtend "^4.0.1"
12401242

1241-
remark-parse@^4.0.0:
1242-
version "4.0.0"
1243-
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-4.0.0.tgz#99f1f049afac80382366e2e0d0bd55429dd45d8b"
1243+
remark-parse@^3.0.0:
1244+
version "3.0.1"
1245+
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-3.0.1.tgz#1b9f841a44d8f4fbf2246850265459a4eb354c80"
12441246
dependencies:
12451247
collapse-white-space "^1.0.2"
1248+
has "^1.0.1"
12461249
is-alphabetical "^1.0.0"
12471250
is-decimal "^1.0.0"
12481251
is-whitespace-character "^1.0.0"
@@ -1316,9 +1319,9 @@ retext-english@^3.0.0:
13161319
parse-english "^4.0.0"
13171320
unherit "^1.0.4"
13181321

1319-
retext-equality@~3.2.0:
1320-
version "3.2.0"
1321-
resolved "https://registry.yarnpkg.com/retext-equality/-/retext-equality-3.2.0.tgz#65d20ed4958e977814c9e60cc3dbe741b36b9b35"
1322+
retext-equality@^3.0.0:
1323+
version "3.3.0"
1324+
resolved "https://registry.yarnpkg.com/retext-equality/-/retext-equality-3.3.0.tgz#ddc64401548933026eea2d19c584b0147b23a580"
13221325
dependencies:
13231326
lodash.difference "^4.5.0"
13241327
lodash.intersection "^4.4.0"
@@ -1329,7 +1332,7 @@ retext-equality@~3.2.0:
13291332
quotation "^1.0.1"
13301333
unist-util-visit "^1.0.0"
13311334

1332-
retext-profanities@~4.4.0:
1335+
retext-profanities@^4.0.0:
13331336
version "4.4.0"
13341337
resolved "https://registry.yarnpkg.com/retext-profanities/-/retext-profanities-4.4.0.tgz#23cf67573132c02d2ac14101e7b31616505cd4f2"
13351338
dependencies:
@@ -1606,15 +1609,16 @@ unified-diff@^1.0.0:
16061609
git-diff-tree "^1.0.0"
16071610
vfile-find-up "^2.0.0"
16081611

1609-
unified-engine@^4.0.0:
1610-
version "4.0.1"
1611-
resolved "https://registry.yarnpkg.com/unified-engine/-/unified-engine-4.0.1.tgz#9692aa97fd5c4ec36889779e12514bef8e863fc3"
1612+
unified-engine@^3.1.0:
1613+
version "3.1.1"
1614+
resolved "https://registry.yarnpkg.com/unified-engine/-/unified-engine-3.1.1.tgz#792541826df4e97b640ccdd90eca621356e4c9e7"
16121615
dependencies:
16131616
concat-stream "^1.5.1"
16141617
debug "^2.2.0"
16151618
fault "^1.0.0"
16161619
fn-name "^2.0.1"
16171620
glob "^7.0.3"
1621+
has "^1.0.1"
16181622
ignore "^3.2.0"
16191623
is-empty "^1.0.0"
16201624
is-hidden "^1.0.1"
@@ -1624,8 +1628,8 @@ unified-engine@^4.0.0:
16241628
parse-json "^2.2.0"
16251629
to-vfile "^2.0.0"
16261630
trough "^1.0.0"
1627-
vfile-reporter "^4.0.0"
1628-
vfile-statistics "^1.1.0"
1631+
vfile-reporter "^3.0.0"
1632+
vfile-statistics "^1.0.0"
16291633
x-is-function "^1.0.4"
16301634
x-is-string "^0.1.0"
16311635
xtend "^4.0.1"
@@ -1759,21 +1763,21 @@ vfile-message@^1.0.0:
17591763
dependencies:
17601764
unist-util-stringify-position "^1.1.1"
17611765

1762-
vfile-reporter@^4.0.0:
1763-
version "4.0.0"
1764-
resolved "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-4.0.0.tgz#ea6f0ae1342f4841573985e05f941736f27de9da"
1766+
vfile-reporter@^3.0.0:
1767+
version "3.1.0"
1768+
resolved "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-3.1.0.tgz#a9b398c5e6dcbc8a9a08e6cf425f092e86a37000"
17651769
dependencies:
17661770
repeat-string "^1.5.0"
17671771
string-width "^1.0.0"
17681772
supports-color "^4.1.0"
17691773
unist-util-stringify-position "^1.0.0"
1770-
vfile-statistics "^1.1.0"
1774+
vfile-statistics "^1.0.0"
17711775

17721776
vfile-sort@^2.0.0:
17731777
version "2.1.0"
17741778
resolved "https://registry.yarnpkg.com/vfile-sort/-/vfile-sort-2.1.0.tgz#49501c9e8bbe5adff2e9b3a7671ee1b1e20c5210"
17751779

1776-
vfile-statistics@^1.1.0:
1780+
vfile-statistics@^1.0.0:
17771781
version "1.1.0"
17781782
resolved "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-1.1.0.tgz#02104c60fdeed1d11b1f73ad65330b7634b3d895"
17791783

0 commit comments

Comments
 (0)