diff --git a/package.json b/package.json index d9264f1..c94f1e1 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "eslint-plugin-simple-import-sort": "^5.0.3", "fp-ts": "^2.11.1", "jest": "^26.4.2", - "maas-schemas-git-develop": "https://github.com/maasglobal/maas-schemas.git#develop", + "maasglobal-reference-schemas": "^0.0.2", "monocle-ts": "^2.1.0", "prettier": "^2.1.2", "ts-jest": "^26.3.0", diff --git a/src/__tests__/main.ts b/src/__tests__/main.ts index a5e7b6e..1379ae7 100644 --- a/src/__tests__/main.ts +++ b/src/__tests__/main.ts @@ -8,7 +8,7 @@ import * as ts from 'typescript'; import { main } from '../main'; describe('main', () => { - it('should convert maas-schemas', () => { + it('should convert MaaS Global reference schemas', () => { const tmpRoot = 'tmp'; fs.mkdirSync(tmpRoot, { recursive: true }); const tmpDir = fs.mkdtempSync(path.join(tmpRoot, 'test-run-')); @@ -34,7 +34,7 @@ describe('main', () => { main({ stderr, stdout, - args: `--inputFile './node_modules/maas-schemas-git-develop/maas-schemas/schemas/**/*.json' --outputDir ${tsDir} https://schemas.maas.global/ --maskNull`.split( + args: `--inputFile './node_modules/maasglobal-reference-schemas/schemas/**/*.json' --outputDir ${tsDir} https://reference-schemas.maas.global/ --maskNull`.split( ' ', ), }); diff --git a/yarn.lock b/yarn.lock index ae9d527..0c8da12 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3173,9 +3173,10 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -"maas-schemas-git-develop@https://github.com/maasglobal/maas-schemas.git#develop": - version "0.0.0" - resolved "https://github.com/maasglobal/maas-schemas.git#63e4b54ff579ff30a7a1484f6aac05ce8cb36ef2" +maasglobal-reference-schemas@^0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/maasglobal-reference-schemas/-/maasglobal-reference-schemas-0.0.2.tgz#12fe6868e0be3b6134e6223c61c31d8ec8310b9f" + integrity sha512-eXdp7kXLBuYIHmbZUJDGDpbrTL79VWUWsTgdhogVA25ep2IMsuMsD/SCHsIbHqlI0dY1KVKslyuPN8rgqloMvQ== make-dir@^3.0.0: version "3.1.0"