@leverege/build-tools 2.93.3-beta.4 → 2.93.3-beta.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.93.3-beta.4",
3
+ "version": "2.93.3-beta.5",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -8,7 +8,7 @@ import { parseYamlFile, err, warning, debug, shellCmd } from '../Utils.mjs'
8
8
 
9
9
  import { ArtifactTypeEnum, ArtifactsSchema, GenericArtifactSchema } from './Structs.mjs'
10
10
 
11
- const getArtifactsSchema = async ( artifactsFilePath = './artifacts.yml' ) => {
11
+ const getArtifactsSchema = async ( artifactsFilePath = './artifacts.yaml' ) => {
12
12
  const artifactsConfig = await parseYamlFile( artifactsFilePath )
13
13
  const [ error, result ] = validate( artifactsConfig, ArtifactsSchema )
14
14
  if ( error ) {
@@ -20,7 +20,7 @@ program
20
20
  const options = program.opts()
21
21
 
22
22
  async function main() {
23
- const artifactsSchema = await getArtifactsSchema( options.filePath )
23
+ const artifactsSchema = await getArtifactsSchema( options.file )
24
24
  const flattenedArtifactsSchema = flattenArtifactsSchema( artifactsSchema )
25
25
 
26
26
  let filteredArtifactsSchema = flattenedArtifactsSchema
@@ -20,7 +20,7 @@ program
20
20
  const options = program.opts()
21
21
 
22
22
  async function main() {
23
- const artifactsSchema = await getArtifactsSchema( options.filePath )
23
+ const artifactsSchema = await getArtifactsSchema( options.file )
24
24
  const flattenedArtifactsSchema = flattenArtifactsSchema( artifactsSchema )
25
25
 
26
26
  let filteredArtifactsSchema = flattenedArtifactsSchema