Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
feat(origin): updated packages to enable adding the remote
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Feb 4, 2019
1 parent ea1c091 commit 86d7368
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 21 deletions.
29 changes: 12 additions & 17 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
"sinon": "^7.2.3"
},
"dependencies": {
"@travi/github-scaffolder": "3.0.3-alpha.3",
"@travi/github-scaffolder": "3.0.3-alpha.6",
"@travi/gitlab-scaffolder": "1.0.1",
"@travi/javascript-scaffolder": "4.6.0-alpha.1",
"@travi/netlify-scaffolder": "1.1.0",
"@travi/node-app-engine-standard-scaffolder": "1.0.0-alpha.1",
"@travi/project-scaffolder": "6.0.0-beta.1",
"@travi/project-scaffolder": "6.0.0-beta.2",
"@travi/travis-scaffolder-javascript": "1.7.1"
}
}
1 change: 1 addition & 0 deletions test/integration/features/other.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Feature: Other Project Type
And the project language should be Other
When the project is scaffolded
Then core ignores are defined
And the base git files should be present
2 changes: 2 additions & 0 deletions test/integration/features/step_definitions/vcs/git-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {exists, readFile} from 'mz/fs';
import {Given, Then} from 'cucumber';
import bddStdIn from 'bdd-stdin';
import {assert} from 'chai';
// import toml from '@iarna/toml';

Given(/^the project should be versioned in git$/, async function () {
this.setAnswerFor('gitRepo', '\n');
Expand Down Expand Up @@ -37,6 +38,7 @@ Then(/^the base git files should be present$/, async function () {
const gitAttributes = await readFile(`${process.cwd()}/.gitattributes`);

assert.equal(gitAttributes, '* text=auto');
// console.log(toml.parse(await readFile(`${process.cwd()}/.git/config`)))
// assert.isTrue(gitDirectoryStats.isDirectory());
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Given(/^the GitHub token is valid$/, async function () {
.matchHeader('Authorization', `token ${githubToken}`)
.post('/user/repos')
.reply(OK, {
ssl_url: any.url(),
https_url: any.url()
// ssh_url: any.url(),
html_url: any.url()
});
});

0 comments on commit 86d7368

Please sign in to comment.