From a4de4a95eca095b41af211a43848bf9c6141ae6f Mon Sep 17 00:00:00 2001 From: Jakob Voss Date: Wed, 29 May 2024 19:56:56 +0200 Subject: [PATCH] Add missing file --- README.md | 2 +- package-lock.json | 90 +++++++++++++++++++++++++++++++++++++++++++++++ package.json | 10 ++++++ 3 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 package-lock.json create mode 100644 package.json diff --git a/README.md b/README.md index bcd7e811..3c2cd860 100644 --- a/README.md +++ b/README.md @@ -2125,7 +2125,7 @@ The script version generates 3 files, with different details: * `avram-schemas/marc-schema-with-solr.json` * `avram-schemas/marc-schema-with-solr-and-extensions.json` -To validate these files install the Avram reference implementation in Node with `npm install` and run: +To validate these files install the Avram reference implementation in Node with `npm ci` and run: ./avram-schemas/validate-schemas diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..aedc0d91 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,90 @@ +{ + "name": "qa-catalogue", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "ajv": "^8.12.0", + "ajv-formats": "^2.1.1", + "avram": "^0.6.6" + } + }, + "node_modules/ajv": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.14.0.tgz", + "integrity": "sha512-oYs1UUtO97ZO2lJ4bwnWeQW8/zvOIQLGKcvPTsWmvc2SYgBb+upuNS5NxoLaMU4h8Ju3Nbj6Cq8mD2LQoqVKFA==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/avram": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/avram/-/avram-0.6.6.tgz", + "integrity": "sha512-zKxy3I86L4+5vlBMA7pAjFqMu0GB3c+LHzwWz9CBnq8NQ8HrPT+a1yOIB+mutqhKd96vhWrAPy1SpVFuugRw7w==", + "bin": { + "avram": "bin/avram.js" + }, + "engines": { + "node": ">= 18.0.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000..be0907dd --- /dev/null +++ b/package.json @@ -0,0 +1,10 @@ +{ + "scripts": { + "avram": "avram" + }, + "dependencies": { + "ajv": "^8.12.0", + "ajv-formats": "^2.1.1", + "avram": "^0.6.6" + } +}