Socket
Socket
Sign inDemoInstall

@awdware/gah-shared

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awdware/gah-shared - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

lib/models/gah-local-config.d.ts

4

lib/index.d.ts

@@ -14,2 +14,3 @@ export * from './models/gah-angular-compiler-options';

export * from './models/global-gah-data';
export * from './models/gah-local-config';
export * from './models/gah-plugin';

@@ -27,6 +28,9 @@ export * from './models/module-definition';

export * from './models/install-helper/ts-config-file-data';
export * from './services/cleanup.service';
export * from './services/configuration.service';
export * from './services/context.service';
export * from './services/file-system.service';
export * from './services/git.service';
export * from './services/logger.service';
export * from './services/package.service';
export * from './services/plugin.service';

@@ -33,0 +37,0 @@ export * from './services/prompt.service';

@@ -26,2 +26,3 @@ "use strict";

__exportStar(require("./models/global-gah-data"), exports);
__exportStar(require("./models/gah-local-config"), exports);
__exportStar(require("./models/gah-plugin"), exports);

@@ -39,6 +40,9 @@ __exportStar(require("./models/module-definition"), exports);

__exportStar(require("./models/install-helper/ts-config-file-data"), exports);
__exportStar(require("./services/cleanup.service"), exports);
__exportStar(require("./services/configuration.service"), exports);
__exportStar(require("./services/context.service"), exports);
__exportStar(require("./services/file-system.service"), exports);
__exportStar(require("./services/git.service"), exports);
__exportStar(require("./services/logger.service"), exports);
__exportStar(require("./services/package.service"), exports);
__exportStar(require("./services/plugin.service"), exports);

@@ -45,0 +49,0 @@ __exportStar(require("./services/prompt.service"), exports);

@@ -6,2 +6,4 @@ export interface GahContext {

skipScripts?: boolean;
currentBaseFolder?: string;
oneTimeClearDone?: boolean;
}
import { GahConfig } from '../gah-config';
import { TsConfigFileData } from './ts-config-file-data';
import { GahFolderData } from './gah-folder-data';
import { PackageJson } from '../package-json';
export interface GahModuleData {

@@ -15,2 +16,3 @@ readonly basePath: string;

readonly isEntry: boolean;
readonly packageJson?: PackageJson;
readonly tsConfigFile: TsConfigFileData;

@@ -17,0 +19,0 @@ readonly gahFolder: GahFolderData;

2

lib/models/ts-config.d.ts

@@ -12,3 +12,3 @@ import { GahAngularCompilerOptions } from './gah-angular-compiler-options';

export declare class TsConfigCompilerOptionsPaths {
[name: string]: string[];
[name: string]: string[] | undefined;
}

@@ -6,2 +6,3 @@ import { GahConfig } from '../models/gah-config';

import { GahModuleType } from '../models/gah-module-type';
import { GahLocalConfig } from '../models/gah-local-config';
export interface IConfigurationService {

@@ -22,2 +23,3 @@ gahConfigExists(): boolean;

externalConfig: GahModule;
localConfig(): GahLocalConfig | undefined;
}

@@ -34,2 +34,8 @@ export declare type FileSystemType = ('any' | 'file' | 'directory');

/**
* Tries to synchronously read and parse the file to `T`.
* @param path A path to a file.
* @returns The parsed object of type `T` or null if the file does not exist
*/
tryParseFile<T>(path: string): T | null;
/**
* Synchronously saves a string to a file.

@@ -142,2 +148,9 @@ * @param path A path to a file.

ensureAbsolutePath(path: string): string;
/**
* Decompresses a targz archive
* @param filePath The path to the archive
* @param destinationPath The destination path for the decompressed files
* @returns whether the decompression was successful
*/
decompressTargz(filePath: string, destinationPath: string): Promise<boolean>;
}

@@ -5,4 +5,6 @@ import { GlobalGahData } from "../models/global-gah-data";

getGlobalGahFolder(): string;
getWorkspaceFolder(): string;
getWorkspaceHash(): string;
getGlobalData(): GlobalGahData;
saveGlobalGahData(data: GlobalGahData): void;
}
{
"name": "@awdware/gah-shared",
"version": "0.2.2",
"version": "0.2.3",
"description": "Provides types and interfaces for gah",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -14,2 +14,3 @@ export * from './models/gah-angular-compiler-options';

export * from './models/global-gah-data';
export * from './models/gah-local-config';
export * from './models/gah-plugin';

@@ -27,6 +28,9 @@ export * from './models/module-definition';

export * from './models/install-helper/ts-config-file-data';
export * from './services/cleanup.service';
export * from './services/configuration.service';
export * from './services/context.service';
export * from './services/file-system.service';
export * from './services/git.service';
export * from './services/logger.service';
export * from './services/package.service';
export * from './services/plugin.service';

@@ -33,0 +37,0 @@ export * from './services/prompt.service';

@@ -6,2 +6,4 @@ export interface GahContext {

skipScripts?: boolean;
currentBaseFolder?: string;
oneTimeClearDone?: boolean;
}
import { GahConfig } from '../gah-config';
import { TsConfigFileData } from './ts-config-file-data';
import { GahFolderData } from './gah-folder-data';
import { PackageJson } from '../package-json';
export interface GahModuleData {

@@ -15,2 +16,3 @@ readonly basePath: string;

readonly isEntry: boolean;
readonly packageJson?: PackageJson;
readonly tsConfigFile: TsConfigFileData;

@@ -17,0 +19,0 @@ readonly gahFolder: GahFolderData;

@@ -12,3 +12,3 @@ import { GahAngularCompilerOptions } from './gah-angular-compiler-options';

export declare class TsConfigCompilerOptionsPaths {
[name: string]: string[];
[name: string]: string[] | undefined;
}

@@ -6,2 +6,3 @@ import { GahConfig } from '../models/gah-config';

import { GahModuleType } from '../models/gah-module-type';
import { GahLocalConfig } from '../models/gah-local-config';
export interface IConfigurationService {

@@ -22,2 +23,3 @@ gahConfigExists(): boolean;

externalConfig: GahModule;
localConfig(): GahLocalConfig | undefined;
}

@@ -34,2 +34,8 @@ export declare type FileSystemType = ('any' | 'file' | 'directory');

/**
* Tries to synchronously read and parse the file to `T`.
* @param path A path to a file.
* @returns The parsed object of type `T` or null if the file does not exist
*/
tryParseFile<T>(path: string): T | null;
/**
* Synchronously saves a string to a file.

@@ -142,2 +148,9 @@ * @param path A path to a file.

ensureAbsolutePath(path: string): string;
/**
* Decompresses a targz archive
* @param filePath The path to the archive
* @param destinationPath The destination path for the decompressed files
* @returns whether the decompression was successful
*/
decompressTargz(filePath: string, destinationPath: string): Promise<boolean>;
}

@@ -5,4 +5,6 @@ import { GlobalGahData } from "../models/global-gah-data";

getGlobalGahFolder(): string;
getWorkspaceFolder(): string;
getWorkspaceHash(): string;
getGlobalData(): GlobalGahData;
saveGlobalGahData(data: GlobalGahData): void;
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc