From 512112f4fbadda8deb06cbf96673c80aa6a6a0f6 Mon Sep 17 00:00:00 2001 From: ssube Date: Sun, 4 Apr 2021 15:34:00 -0500 Subject: [PATCH] fix(config): use extended schema with js-config --- package.json | 2 +- src/config/index.ts | 1 - yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d3c1008..1624a1e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "author": "ssube", "license": "MIT", "devDependencies": { - "@apextoaster/js-config": "0.2.0-0", + "@apextoaster/js-config": "0.2.0-3", "@apextoaster/js-utils": "0.2.1", "@apextoaster/js-yaml-schema": "0.4.0-4", "@gitbeaker/browser": "23.7.0", diff --git a/src/config/index.ts b/src/config/index.ts index f43f18f..45f6177 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -72,7 +72,6 @@ export async function initConfig(path: string, include = SCHEMA_OPTIONS): Promis config: { key: CONFIG_SCHEMA_KEY, sources: [{ - include, name: '.', paths: [path], type: 'file', diff --git a/yarn.lock b/yarn.lock index 8cd3078..8493309 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@apextoaster/js-config@0.2.0-0": - version "0.2.0-0" - resolved "https://artifacts.apextoaster.com/repository/group-npm/@apextoaster/js-config/-/js-config-0.2.0-0.tgz#91d9d4f8e078de70f0db2fbfadbca1bfbb4885c5" - integrity sha512-P9fQpkCODC/WrfaHr9qrbEfl+gqgauh/5nxyxS1rY8YhqkijYF0bgp0f9fzunGNPzk6HCTK/hGTT215DYuP0cQ== +"@apextoaster/js-config@0.2.0-3": + version "0.2.0-3" + resolved "https://artifacts.apextoaster.com/repository/group-npm/@apextoaster/js-config/-/js-config-0.2.0-3.tgz#077b9916fcf6541af038ddb9bd585026c4c4c08a" + integrity sha512-mcsbrWmKJ0tTcsX0v0BU4+VMlvQKsZ+A6zCUcD7rxyTu43w5+gbx8M94mMpA1hhCkC9Q12aKUl+8vgqXhUCOmw== "@apextoaster/js-utils@0.2.1": version "0.2.1"