New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amplify-cli-core

Package Overview
Dependencies
Maintainers
3
Versions
486
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-cli-core - npm Package Compare versions

Comparing version 1.26.1-beta.0 to 1.27.0-ext.0

lib/overrides-manager/index.d.ts

8

CHANGELOG.md

@@ -6,10 +6,14 @@ # Change Log

## [1.26.1-beta.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-core@1.26.0...amplify-cli-core@1.26.1-beta.0) (2021-08-17)
# [1.27.0-ext.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-core@1.24.0...amplify-cli-core@1.27.0-ext.0) (2021-08-20)
**Note:** Version bump only for package amplify-cli-core
### Features
* add override command for auth ([#7943](https://github.com/aws-amplify/amplify-cli/issues/7943)) ([9202e3b](https://github.com/aws-amplify/amplify-cli/commit/9202e3bea1e4015db7eaeb358ee5dac6e5838309))
* Override functionality enabled for Root stack ([#7702](https://github.com/aws-amplify/amplify-cli/issues/7702)) ([a509b8e](https://github.com/aws-amplify/amplify-cli/commit/a509b8eeb057be51f303b47e4e5618b4985bfc9d))
# [1.26.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-core@1.25.1...amplify-cli-core@1.26.0) (2021-08-06)

@@ -16,0 +20,0 @@

@@ -24,3 +24,4 @@ import { ViewResourceTableParams } from './cliViewAPI';

export * from './cliRemoveResourcePrompt';
export * from "./cliViewAPI";
export * from './cliViewAPI';
export * from './overrides-manager';
export declare type $TSAny = any;

@@ -27,0 +28,0 @@ export declare type $TSContext = {

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

__exportStar(require("./cliViewAPI"), exports);
__exportStar(require("./overrides-manager"), exports);
var AmplifyFrontend;

@@ -38,0 +39,0 @@ (function (AmplifyFrontend) {

@@ -12,2 +12,5 @@ export declare const PathConstants: {

CurrentCloudBackendDirName: string;
OverrideDirName: string;
ProviderName: string;
CfnStacksBuildDirName: string;
AmplifyAdminConfigFileName: string;

@@ -25,2 +28,3 @@ AmplifyRcFileName: string;

BackendConfigFileName: string;
OverrideFileName: string;
CLIJSONFileName: string;

@@ -42,2 +46,6 @@ CLIJSONFileNameGlob: string;

getBackendDirPath: (projectPath?: string | undefined) => string;
getOverrideDirPath: (projectPath: string, category: string, resourceName: string) => string;
getRootOverrideDirPath: (projectPath: string) => string;
getRootStackDirPath: (projectPath: string) => string;
getCurrentCloudRootStackDirPath: (projectPath: string) => string;
getCurrentCloudBackendDirPath: (projectPath?: string | undefined) => string;

@@ -44,0 +52,0 @@ getCurrentResourceParametersJsonPath: (projectPath: string | undefined, categoryName: string, resourceName: string) => string;

@@ -38,2 +38,5 @@ "use strict";

CurrentCloudBackendDirName: '#current-cloud-backend',
OverrideDirName: 'overrides',
ProviderName: 'awscloudformation',
CfnStacksBuildDirName: 'build',
AmplifyAdminConfigFileName: 'config.json',

@@ -51,2 +54,3 @@ AmplifyRcFileName: '.amplifyrc',

BackendConfigFileName: 'backend-config.json',
OverrideFileName: 'override.ts',
CLIJSONFileName: 'cli.json',

@@ -73,2 +77,35 @@ CLIJSONFileNameGlob: 'cli*.json',

this.getBackendDirPath = (projectPath) => this.constructPath(projectPath, [exports.PathConstants.AmplifyDirName, exports.PathConstants.BackendDirName]);
this.getOverrideDirPath = (projectPath, category, resourceName) => {
return this.constructPath(projectPath, [
exports.PathConstants.AmplifyDirName,
exports.PathConstants.BackendDirName,
category,
resourceName,
exports.PathConstants.OverrideDirName,
]);
};
this.getRootOverrideDirPath = (projectPath) => {
return this.constructPath(projectPath, [
exports.PathConstants.AmplifyDirName,
exports.PathConstants.BackendDirName,
exports.PathConstants.ProviderName,
exports.PathConstants.OverrideDirName,
]);
};
this.getRootStackDirPath = (projectPath) => {
return this.constructPath(projectPath, [
exports.PathConstants.AmplifyDirName,
exports.PathConstants.BackendDirName,
exports.PathConstants.ProviderName,
exports.PathConstants.CfnStacksBuildDirName,
]);
};
this.getCurrentCloudRootStackDirPath = (projectPath) => {
return this.constructPath(projectPath, [
exports.PathConstants.AmplifyDirName,
exports.PathConstants.CurrentCloudBackendDirName,
exports.PathConstants.ProviderName,
exports.PathConstants.CfnStacksBuildDirName,
]);
};
this.getCurrentCloudBackendDirPath = (projectPath) => this.constructPath(projectPath, [exports.PathConstants.AmplifyDirName, exports.PathConstants.CurrentCloudBackendDirName]);

@@ -75,0 +112,0 @@ this.getCurrentResourceParametersJsonPath = (projectPath, categoryName, resourceName) => path.join(this.getCurrentCloudBackendDirPath(projectPath), categoryName, resourceName, exports.PathConstants.ParametersJsonFileName);

{
"name": "amplify-cli-core",
"version": "1.26.1-beta.0",
"version": "1.27.0-ext.0",
"description": "Amplify CLI Core",

@@ -53,3 +53,3 @@ "repository": {

"@types/uuid": "^8.0.0",
"amplify-function-plugin-interface": "1.9.1",
"amplify-function-plugin-interface": "1.9.2-ext.0",
"nock": "^13.0.11",

@@ -73,3 +73,3 @@ "rimraf": "^3.0.0"

},
"gitHead": "9c4a0f93808db1ccaa25ccfa37038448ae4402bc"
"gitHead": "6d0282a77f5e4a200d8b2b76e227863d21ec9d33"
}

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

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