@awdware/gah-shared
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -6,3 +6,3 @@ { | ||
"type": "string", | ||
"default": "https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-config-schema.json" | ||
"default": "https://raw.githubusercontent.com/awdware/gah/master/assets/gah-config-schema.json" | ||
}, | ||
@@ -43,2 +43,3 @@ "plugins": { | ||
"$schema": "http://json-schema.org/draft-07/schema#" | ||
} | ||
} | ||
@@ -7,3 +7,3 @@ { | ||
"type": "string", | ||
"default": "\"https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-environment-schema.json\"" | ||
"default": "\"https://raw.githubusercontent.com/awdware/gah/master/assets/gah-environment-schema.json\"" | ||
}, | ||
@@ -18,2 +18,3 @@ "production": { | ||
"$schema": "http://json-schema.org/draft-07/schema#" | ||
} | ||
} | ||
@@ -6,3 +6,3 @@ { | ||
"type": "string", | ||
"default": "https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-host-schema.json" | ||
"default": "https://raw.githubusercontent.com/awdware/gah/master/assets/gah-host-schema.json" | ||
}, | ||
@@ -40,2 +40,3 @@ "modules": { | ||
"$schema": "http://json-schema.org/draft-07/schema#" | ||
} | ||
} | ||
@@ -6,3 +6,3 @@ { | ||
"type": "string", | ||
"default": "https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-module-schema.json" | ||
"default": "https://raw.githubusercontent.com/awdware/gah/master/assets/gah-module-schema.json" | ||
}, | ||
@@ -72,2 +72,3 @@ "modules": { | ||
"$schema": "http://json-schema.org/draft-07/schema#" | ||
} | ||
} | ||
@@ -5,3 +5,3 @@ "use strict"; | ||
function GahConfig() { | ||
this.$schema = 'https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-config-schema.json'; | ||
this.$schema = 'https://raw.githubusercontent.com/awdware/gah/master/assets/gah-config-schema.json'; | ||
} | ||
@@ -8,0 +8,0 @@ return GahConfig; |
@@ -5,3 +5,3 @@ "use strict"; | ||
function GahEnvironment() { | ||
this.$schema = '"https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-environment-schema.json"'; | ||
this.$schema = '"https://raw.githubusercontent.com/awdware/gah/master/assets/gah-environment-schema.json"'; | ||
} | ||
@@ -8,0 +8,0 @@ return GahEnvironment; |
@@ -5,3 +5,3 @@ "use strict"; | ||
function GahHost() { | ||
this.$schema = 'https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-host-schema.json'; | ||
this.$schema = 'https://raw.githubusercontent.com/awdware/gah/master/assets/gah-host-schema.json'; | ||
this.modules = new Array(); | ||
@@ -8,0 +8,0 @@ } |
@@ -9,4 +9,3 @@ import { ModuleDefinition } from './module-definition'; | ||
get isHost(): boolean; | ||
set isHost(value: boolean); | ||
constructor(); | ||
} |
@@ -5,3 +5,3 @@ "use strict"; | ||
function GahModule() { | ||
this.$schema = 'https://raw.githubusercontent.com/awdware/gah/master/shared/assets/gah-module-schema.json'; | ||
this.$schema = 'https://raw.githubusercontent.com/awdware/gah/master/assets/gah-module-schema.json'; | ||
this.modules = new Array(); | ||
@@ -11,5 +11,2 @@ } | ||
get: function () { return false; }, | ||
set: function (value) { | ||
// Workaround xD | ||
}, | ||
enumerable: true, | ||
@@ -16,0 +13,0 @@ configurable: true |
@@ -0,1 +1,2 @@ | ||
import { FileSystemType } from '../services/file-system.service'; | ||
export declare class PromptConfig { | ||
@@ -9,4 +10,5 @@ msg: string; | ||
export declare class FuzzyPathPromptConfig extends PromptConfig { | ||
itemType?: 'any' | 'directory' | 'file'; | ||
excludePath?: (val: string) => boolean; | ||
itemType?: FileSystemType; | ||
excludePattern?: string[]; | ||
exclude?: (val: string) => boolean; | ||
} | ||
@@ -13,0 +15,0 @@ export declare class SelectionPromptConfig extends PromptConfig { |
@@ -0,1 +1,2 @@ | ||
export declare type FileSystemType = ('any' | 'file' | 'directory'); | ||
export interface IFileSystemService { | ||
@@ -92,3 +93,3 @@ /** | ||
*/ | ||
getFilesFromGlob(glob: string, ignore?: string | string[], noDefaultIgnore?: boolean): string[]; | ||
getFilesFromGlob(glob: string, ignore?: string | string[], noDefaultIgnore?: boolean, type?: FileSystemType): string[]; | ||
/** | ||
@@ -95,0 +96,0 @@ * @param file The path to the file that should be copied |
{ | ||
"name": "@awdware/gah-shared", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Provides types and interfaces for gah", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1174
53155