-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from nulib/deploy/staging
Deploy v2.0.0 to production
- Loading branch information
Showing
8 changed files
with
30 additions
and
11 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
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,4 +1,4 @@ | ||
<iframe width="1400" height="600" src="../spec/openapi.html"></iframe> | ||
[full window :octicons-link-external-16:](../spec/openapi.html) | ||
|
||
[Here](./spec/openapi.json) is the OpenAPI spec. | ||
[Here](../spec/openapi.json) is the OpenAPI spec. |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const chai = require("chai"); | ||
const expect = chai.expect; | ||
|
||
describe("package.json", () => { | ||
const rootPackage = requireSource("../package.json"); | ||
const srcPackage = requireSource("./package.json"); | ||
|
||
it("root package has no external runtime dependencies", () => { | ||
expect(Object.keys(rootPackage.dependencies)).to.eql(["dc-api"]); | ||
}); | ||
|
||
it("src package has no develoment dependencies", () => { | ||
expect(srcPackage.devDependencies).to.be.undefined; | ||
}); | ||
|
||
it("root and src packages are the same version", () => { | ||
expect(rootPackage.version).to.eq(srcPackage.version); | ||
}); | ||
}); |