Skip to content

Commit bab176a

Browse files
mansonaJen Weber
authored andcommitted
Convert cli-guides to be a single repo project (#28)
* implementing guidemaker as a single repo * adding netlify config * fixing lint * fixing 404 page * updating the README with simpler instructions * fixing the title in the Meta * fixing the build * updating guidemaker * updating readme
1 parent 0b684e2 commit bab176a

28 files changed

+20650
-6026
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ insert_final_newline = true
1313
indent_style = space
1414
indent_size = 2
1515

16-
[*.md]
16+
[*.hbs]
17+
insert_final_newline = false
18+
19+
[*.{diff,md}]
1720
trim_trailing_whitespace = false

.ember-cli

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
/**
3+
Ember CLI sends analytics information by default. The data is completely
4+
anonymous, but there are times when you might want to disable this behavior.
5+
6+
Setting `disableAnalytics` to true will prevent any data from being sent.
7+
*/
8+
"disableAnalytics": false
9+
}

.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+
12+
# misc
13+
/coverage/
14+
!.*
15+
16+
# ember-try
17+
/.node_modules.ember-try/
18+
/bower.json.ember-try
19+
/package.json.ember-try
20+
/node_modules/

.eslintrc.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/* eslint-env node */
2+
3+
module.exports = {
4+
root: true,
5+
parserOptions: {
6+
ecmaVersion: 2017,
7+
sourceType: 'module'
8+
},
9+
plugins: [
10+
'ember'
11+
],
12+
extends: [
13+
'eslint:recommended',
14+
'plugin:ember/recommended'
15+
],
16+
env: {
17+
browser: true
18+
},
19+
rules: {
20+
},
21+
overrides: [
22+
// node files
23+
{
24+
files: [
25+
'.template-lintrc.js',
26+
'ember-cli-build.js',
27+
'testem.js',
28+
'blueprints/*/index.js',
29+
'config/**/*.js',
30+
'lib/*/index.js'
31+
],
32+
parserOptions: {
33+
sourceType: 'script',
34+
ecmaVersion: 2015
35+
},
36+
env: {
37+
browser: false,
38+
node: true
39+
}
40+
}
41+
]
42+
};

.eslintrc.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.gitignore

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
1-
.DS_Store
2-
node_modules
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist/
5+
/tmp/
6+
7+
# dependencies
8+
/bower_components/
9+
/node_modules/
10+
11+
# misc
12+
/.sass-cache
13+
/connect.lock
14+
/coverage/
15+
/libpeerconnection.log
16+
/npm-debug.log*
17+
/testem.log
18+
/yarn-error.log
19+
20+
# ember-try
21+
/.node_modules.ember-try/
22+
/bower.json.ember-try
23+
/package.json.ember-try

.netlifyheaders

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*/
2+
Cache-Control: public, max-age=3600
3+
4+
/content/*
5+
Cache-Control: public, max-age=3600
6+
7+
/assets/*
8+
Cache-Control: public, max-age=31536000

.netlifyredirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/ /release/
2+
/* /_empty.html 404

.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: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
11
---
22
language: node_js
33
node_js:
4-
- 6
4+
- "6"
55

66
sudo: false
77
dist: trusty
88

9+
addons:
10+
chrome: stable
11+
912
cache:
1013
directories:
1114
- $HOME/.npm
1215

16+
env:
17+
global:
18+
# See https://git.io/vdao3 for details.
19+
- JOBS=1
20+
1321
before_install:
1422
- npm config set spin false
23+
- npm i -g npm@6
1524

1625
script:
1726
- set -o errexit
1827
- npm run lint:md
1928
- npm run lint:alex
29+
- npm run lint:hbs
30+
- npm run lint:js
2031
- npm test

0 commit comments

Comments
 (0)