Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Functional Tests #31

Merged
merged 11 commits into from
Jan 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .appveyor.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules/
.coverage/
.nyc_output/
.testresults/
.vscode/
.vscode/
.github/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ npm-debug*
generators/**/*.js*
test/**/*.js*
!**/*.json
**/*.d.ts
**/*.d.ts
**/.testcontext
8 changes: 7 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ test/
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
.huskyrc.json
.nycrc.json
renovate.json
sonar-project.properties
tsconfig.json
tslint.json
tslint.json
**/*.ts
**/*.map
**/*.tar
**/*.tgz
2 changes: 2 additions & 0 deletions .vscode/cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"coverprofile",
"eamodio",
"eonet",
"gitattributes",
"githook",
"gitignore",
"gitlens",
Expand Down Expand Up @@ -46,6 +47,7 @@
"swellaby",
"tagless",
"taskfile",
"testcontext",
"testresults",
"tslib",
"unimported",
Expand Down
3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"recommendations": [
"GuardRex.status-bar-tasks",
"swellaby.common-pack",
"joelday.docthis",
"eg2.tslint",
"dbaeumer.vscode-eslint",
"christian-kohler.path-intellisense",
"christian-kohler.npm-intellisense",
"eamodio.gitlens",
"pflannery.vscode-versionlens",
"hbenl.vscode-mocha-test-adapter"
]
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
".coverage": true,
".testresults": true,
"node_modules": true,
".nyc_output": true
".nyc_output": true,
"test/functional/.testcontext": true,
"**/*.tgz": true
},
"testExplorer.codeLens": true,
"mochaExplorer.nodePath": null,
Expand Down
1 change: 1 addition & 0 deletions generators/app/inputs/linter-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const prompt: YeomanGenerator.Question = {
};

const option: YeomanGenerator.OptionConfig = {
type: String,
description: 'The type of linter to use'
};

Expand Down
1 change: 1 addition & 0 deletions generators/app/inputs/task-runner-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const prompt: YeomanGenerator.Question = {
};

const option: YeomanGenerator.OptionConfig = {
type: String,
description: 'The type of task runner to use'
};

Expand Down
1 change: 1 addition & 0 deletions generators/app/inputs/type-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const prompt: YeomanGenerator.Question = {
};

const option: YeomanGenerator.OptionConfig = {
type: String,
description: 'The type of project to create'
};

Expand Down
3 changes: 2 additions & 1 deletion generators/app/scaffolders/type-scaffolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const scaffoldSharedContent = (generator: YeomanGenerator, config: IProjectConfi
const destRoot = generator.destinationRoot();
generator.fs.copyTpl(allProjectsTemplates, destRoot, config);
generator.fs.move(`${destRoot}/gitignore`, `${destRoot}/.gitignore`);
generator.fs.move(`${destRoot}/gitattributes`, `${destRoot}/.gitattributes`);
};

const projectScaffolderFunctionMap = new Map<ProjectType, (generator: YeomanGenerator, config: IProjectConfig) => void>();
Expand All @@ -62,4 +63,4 @@ const scaffoldProjectContent = (generator: YeomanGenerator, config: IProjectConf

export = <IProjectScaffolder>{
scaffold: scaffoldProjectContent
};
};
2 changes: 2 additions & 0 deletions generators/app/templates/shared/all-projects/gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text eol=lf
*.png binary
53 changes: 43 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading