Skip to content

Commit bc2da08

Browse files
authored
Merge pull request #105 from nulib/deploy/staging
Deploy v2.0.0 to production
2 parents 65186db + 388c673 commit bc2da08

File tree

8 files changed

+30
-11
lines changed

8 files changed

+30
-11
lines changed

docs/docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Our mission is to create, acquire, describe, and archive digital objects for long-term preservation, as well as to develop and deploy software that supports the discovery, access, and use of digital resources by members of Northwestern University, scholarly communities, and the public. The API provides access to the rich collections of the Northwestern University Libraries and allows users to explore and discover new resources.
44

5-
This API provides access to the Library's digital resources to easily integrate the data into your own applications and workflows, regardless of your preferred programming language or framework. In fact, we use the API internally to provide the data and search functionality for our [Digital Collections site](https://dc.library.northwestern.edu). See the code examples below for ways to interact with the API using a variety of programming languages.
5+
This API provides access to the Library's digital resources to easily integrate the data into your own applications and workflows, regardless of your preferred programming language or framework. In fact, we use the API internally to provide the data and search functionality for our [Digital Collections site](https://dc.library.northwestern.edu). We also publish a command-line interface (CLI) [application](https://github.com/nulib/nuldc) written in Python that provides built-in commands for fetching and querying the API from your terminal. See the code examples below for ways to interact with the API using a variety of programming languages.
66

77
Check out the [OpenAPI specification page](./spec.md) for detailed descriptions of each API endpoint with runnable examples.
88

docs/docs/spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<iframe width="1400" height="600" src="../spec/openapi.html"></iframe>
22
[full window :octicons-link-external-16:](../spec/openapi.html)
33

4-
[Here](./spec/openapi.json) is the OpenAPI spec.
4+
[Here](../spec/openapi.json) is the OpenAPI spec.

docs/docs/spec/openapi.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ openapi: 3.0.1
22
info:
33
title: Northwestern University Libraries Digital Collections API
44
description: >
5-
This is full Markdown intro text. This API drives the [Northwestern University Libraries Digital
5+
This API provides direct access to the data that drives the [Northwestern University Libraries Digital
66
Collections](https://dc.library.northwestern.edu) site.
77
8-
I can even put line breaks in it. I can also link back to the [main documentation](..).
8+
Please visit the [documentation](..) for more information.
99
version: 2.0.0
1010
contact:
1111
name: NUL Repository Team

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dc-api-build",
3-
"version": "2.0.0-rc.4",
3+
"version": "2.0.0",
44
"description": "NUL Digital Collections API Build Environment",
55
"repository": "https://github.com/nulib/dc-api-v2",
66
"author": "nulib",

src/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dc-api",
3-
"version": "2.0.0pre",
3+
"version": "2.0.0",
44
"description": "NUL Digital Collections API",
55
"repository": "https://github.com/nulib/dc-api-v2",
66
"author": "nulib",

test/unit/package.test.js

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const chai = require("chai");
2+
const expect = chai.expect;
3+
4+
describe("package.json", () => {
5+
const rootPackage = requireSource("../package.json");
6+
const srcPackage = requireSource("./package.json");
7+
8+
it("root package has no external runtime dependencies", () => {
9+
expect(Object.keys(rootPackage.dependencies)).to.eql(["dc-api"]);
10+
});
11+
12+
it("src package has no develoment dependencies", () => {
13+
expect(srcPackage.devDependencies).to.be.undefined;
14+
});
15+
16+
it("root and src packages are the same version", () => {
17+
expect(rootPackage.version).to.eq(srcPackage.version);
18+
});
19+
});

0 commit comments

Comments
 (0)