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

Commit

Permalink
feat(git): bumped to the beta of the project-scaffolder
Browse files Browse the repository at this point in the history
to get setting of the origin after creating a remote repo

for travi/github-scaffolder#1
  • Loading branch information
travi committed Feb 4, 2019
1 parent 70f6ecf commit b8511a2
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 22 deletions.
40 changes: 21 additions & 19 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 @@ -63,10 +63,10 @@
"dependencies": {
"@travi/github-scaffolder": "3.0.3-alpha.3",
"@travi/gitlab-scaffolder": "1.0.0",
"@travi/javascript-scaffolder": "4.5.0-alpha.2",
"@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": "5.2.3",
"@travi/project-scaffolder": "6.0.0-beta.1",
"@travi/travis-scaffolder-javascript": "1.7.1"
}
}
1 change: 1 addition & 0 deletions test/integration/features/step_definitions/common-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Before(async () => {
const octokitFiles = await readdir(resolve(...pathToNodeModules, 'octokit-pagination-methods/lib/'));
stubbedFs({
[`${process.env.HOME}/.netrc`]: `machine github.com\n login ${githubToken}`,
[`${process.env.HOME}/.gitconfig`]: '[github]\n\tuser = travi',
node_modules: {
'octokit-pagination-methods': {
lib: (await Promise.all(loadOctokitFiles(octokitFiles))).reduce(buildOctokitFileMap(octokitFiles), {})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ Given(/^the GitHub token is valid$/, async function () {
githubScope
.matchHeader('Authorization', `token ${githubToken}`)
.post('/user/repos')
.reply(OK);
.reply(OK, {
ssl_url: any.url(),
https_url: any.url()
});
});

0 comments on commit b8511a2

Please sign in to comment.