This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial AppVeyor support, use Lerna's "hoist" feature
- Loading branch information
Simon Stone
committed
Mar 12, 2017
1 parent
054008a
commit 36be020
Showing
82 changed files
with
803 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
environment: | ||
matrix: | ||
- nodejs_version: "4" | ||
- nodejs_version: "6" | ||
nodejs_version: "6" | ||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- npm install | ||
test_script: | ||
- npm test | ||
build: off | ||
build: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"lerna": "2.0.0-beta.37", | ||
"lerna": "2.0.0-beta.38", | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "0.5.2" | ||
"version": "0.5.2", | ||
"hoist": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const child_process = require('child_process'); | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
|
||
const parentDirectory = path.resolve(__dirname, '..'); | ||
const apiSignatureFile = path.resolve(parentDirectory, 'api.txt'); | ||
|
||
if (fs.existsSync(apiSignatureFile)) { | ||
fs.unlinkSync(apiSignatureFile); | ||
} | ||
|
||
return Promise.resolve() | ||
.then(() => { | ||
return new Promise((resolve, reject) => { | ||
const parsejs = require.resolve('composer-common/lib/codegen/parsejs.js'); | ||
const command = child_process.fork(parsejs, ['--format', 'APISignature', '--inputDir', path.resolve(parentDirectory, 'lib'), '--outputDir', parentDirectory]); | ||
command.on('exit', (code) => { | ||
if (code !== 0) { | ||
process.exit(code); | ||
} | ||
resolve(); | ||
}); | ||
}); | ||
}) | ||
.then(() => { | ||
return new Promise((resolve, reject) => { | ||
const changelog = require.resolve('composer-common/lib/tools/changelog.js'); | ||
const command = child_process.fork(changelog, ['--api', apiSignatureFile, '--changelog', path.resolve(parentDirectory, 'changelog.txt')]); | ||
command.on('exit', (code) => { | ||
if (code !== 0) { | ||
process.exit(code); | ||
} | ||
resolve(); | ||
}); | ||
}); | ||
}) | ||
.catch((error) => { | ||
console.error(error); | ||
process.exit(1); | ||
}); |
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.