@canopycanopycanopy/b-ber-shapes-dublin-core 3.0.8-nav.0 → 3.0.8-next.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,19 @@
1
- # `@canopycanopycanopy/b-ber-shapes-dublin-core`
1
+ # b-ber-shapes-dublin-core
2
2
 
3
- The `b-ber-shapes-dublin-core` package contains lists of [Dublin Core](https://www.dublincore.org) terms and elements.
3
+ A data-only package that exports two arrays of Dublin Core metadata identifiers. `elements` contains the 14 original DCMI elements (contributor, creator, description, format, identifier, language, publisher, relation, rights, source, subject, title, type, coverage). `terms` contains the full set of DCMI Metadata Terms (~55 entries including abstract, available, created, license, modified, and all refinements). These arrays are consumed by the b-ber build pipeline when generating EPUB OPF metadata and validating publication metadata supplied in a project's configuration.
4
4
 
5
- ## Install
5
+ ## Usage
6
6
 
7
+ ```js
8
+ import { elements, terms } from '@canopycanopycanopy/b-ber-shapes-dublin-core'
7
9
  ```
8
- $ npm i -g @canopycanopycanopy/b-ber-shapes-dublin-core
10
+
11
+ This package is a pure data export with no runtime logic.
12
+
13
+ ## Dev
14
+
9
15
  ```
16
+ npm test
17
+ ```
18
+
19
+ Tests verify that both exports are arrays.
package/elements.js CHANGED
@@ -5,5 +5,4 @@ _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
- var _default = ['contributor', 'coverage', 'creator', 'description', 'format', 'identifier', 'language', 'publisher', 'relation', 'rights', 'source', 'subject', 'title', 'type'];
9
- exports.default = _default;
8
+ var _default = exports.default = ['contributor', 'coverage', 'creator', 'description', 'format', 'identifier', 'language', 'publisher', 'relation', 'rights', 'source', 'subject', 'title', 'type'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-shapes-dublin-core",
3
- "version": "3.0.8-nav.0+24db1e6b",
3
+ "version": "3.0.8-next.61+2bbec564",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -47,5 +47,5 @@
47
47
  "url": "https://maxwellsimmer.com"
48
48
  }
49
49
  ],
50
- "gitHead": "24db1e6bb491faae0d52c6dadc09d974a5a31cf5"
50
+ "gitHead": "2bbec5643278f53becb0d2ba1f55edfe379d5587"
51
51
  }
package/terms.js CHANGED
@@ -5,5 +5,4 @@ _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
- var _default = ['abstract', 'accessRights', 'accrualMethod', 'accrualPeriodicity', 'accrualPolicy', 'alternative', 'audience', 'available', 'bibliographicCitation', 'conformsTo', 'contributor', 'coverage', 'created', 'creator', 'date', 'dateAccepted', 'dateCopyrighted', 'dateSubmitted', 'description', 'educationLevel', 'extent', 'format', 'hasFormat', 'hasPart', 'hasVersion', 'identifier', 'instructionalMethod', 'isFormatOf', 'isPartOf', 'isReferencedBy', 'isReplacedBy', 'isRequiredBy', 'issued', 'isVersionOf', 'language', 'license', 'mediator', 'medium', 'modified', 'provenance', 'publisher', 'references', 'relation', 'replaces', 'requires', 'rights', 'rightsHolder', 'source', 'spatial', 'subject', 'tableOfContents', 'temporal', 'title', 'type', 'valid'];
9
- exports.default = _default;
8
+ var _default = exports.default = ['abstract', 'accessRights', 'accrualMethod', 'accrualPeriodicity', 'accrualPolicy', 'alternative', 'audience', 'available', 'bibliographicCitation', 'conformsTo', 'contributor', 'coverage', 'created', 'creator', 'date', 'dateAccepted', 'dateCopyrighted', 'dateSubmitted', 'description', 'educationLevel', 'extent', 'format', 'hasFormat', 'hasPart', 'hasVersion', 'identifier', 'instructionalMethod', 'isFormatOf', 'isPartOf', 'isReferencedBy', 'isReplacedBy', 'isRequiredBy', 'issued', 'isVersionOf', 'language', 'license', 'mediator', 'medium', 'modified', 'provenance', 'publisher', 'references', 'relation', 'replaces', 'requires', 'rights', 'rightsHolder', 'source', 'spatial', 'subject', 'tableOfContents', 'temporal', 'title', 'type', 'valid'];