@goldstack/template-static-website-aws 0.3.104 → 0.5.0
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/dist/src/infraAwsStaticWebsite.d.ts +3 -3
- package/dist/src/infraAwsStaticWebsite.js +49 -49
- package/dist/src/templateStaticWebsiteAws.d.ts +7 -7
- package/dist/src/templateStaticWebsiteAws.js +49 -49
- package/dist/src/types/AWSStaticWebsitePackage.d.ts +69 -69
- package/dist/src/types/AWSStaticWebsitePackage.js +2 -2
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AWSStaticWebsitePackage } from './types/AWSStaticWebsitePackage';
|
|
2
|
-
export declare const deploy: (config: AWSStaticWebsitePackage, args: string[]) => Promise<void>;
|
|
3
|
-
export declare const infraAwsStaticWebsiteCli: (config: AWSStaticWebsitePackage, args: string[]) => Promise<void>;
|
|
1
|
+
import { AWSStaticWebsitePackage } from './types/AWSStaticWebsitePackage';
|
|
2
|
+
export declare const deploy: (config: AWSStaticWebsitePackage, args: string[]) => Promise<void>;
|
|
3
|
+
export declare const infraAwsStaticWebsiteCli: (config: AWSStaticWebsitePackage, args: string[]) => Promise<void>;
|
|
4
4
|
//# sourceMappingURL=infraAwsStaticWebsite.d.ts.map
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.infraAwsStaticWebsiteCli = exports.deploy = void 0;
|
|
7
|
-
const utils_log_1 = require("@goldstack/utils-log");
|
|
8
|
-
const utils_s3_deployment_1 = require("@goldstack/utils-s3-deployment");
|
|
9
|
-
const utils_terraform_aws_1 = require("@goldstack/utils-terraform-aws");
|
|
10
|
-
const utils_sh_1 = require("@goldstack/utils-sh");
|
|
11
|
-
const path_1 = __importDefault(require("path"));
|
|
12
|
-
const getDeployment = (config, args) => {
|
|
13
|
-
if (args.length < 1) {
|
|
14
|
-
(0, utils_log_1.fatal)('Please specify the name of the deployment.');
|
|
15
|
-
}
|
|
16
|
-
const name = args[0];
|
|
17
|
-
const deployment = config.deployments.find((deployment) => deployment.name === name);
|
|
18
|
-
if (!deployment) {
|
|
19
|
-
(0, utils_log_1.fatal)(`Cannot find configuration for deployment '${name}''`);
|
|
20
|
-
throw new Error('Cannot parse configuration.');
|
|
21
|
-
}
|
|
22
|
-
return deployment;
|
|
23
|
-
};
|
|
24
|
-
const deploy = async (config, args) => {
|
|
25
|
-
const deployment = getDeployment(config, args);
|
|
26
|
-
const webDistDir = path_1.default.resolve('./webDist');
|
|
27
|
-
(0, utils_sh_1.assertDirectoryExists)(webDistDir, 'Cannot upload website artifacts.');
|
|
28
|
-
await (0, utils_s3_deployment_1.upload)({
|
|
29
|
-
userName: deployment.awsUser,
|
|
30
|
-
bucket: deployment.configuration.websiteDomain + '-root',
|
|
31
|
-
region: deployment.awsRegion,
|
|
32
|
-
bucketPath: '/',
|
|
33
|
-
localPath: webDistDir,
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
exports.deploy = deploy;
|
|
37
|
-
const infraAwsStaticWebsiteCli = async (config, args) => {
|
|
38
|
-
if (args.length < 1) {
|
|
39
|
-
(0, utils_log_1.fatal)('Please provide the operation in the arguments: "up", "init", "plan", "apply", "deploy", "destroy", "upgrade", "terraform".');
|
|
40
|
-
throw new Error();
|
|
41
|
-
}
|
|
42
|
-
const [operation, ...opArgs] = args;
|
|
43
|
-
if (operation === 'deploy') {
|
|
44
|
-
await (0, exports.deploy)(config, opArgs);
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
await (0, utils_terraform_aws_1.terraformAwsCli)(args);
|
|
48
|
-
};
|
|
49
|
-
exports.infraAwsStaticWebsiteCli = infraAwsStaticWebsiteCli;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.infraAwsStaticWebsiteCli = exports.deploy = void 0;
|
|
7
|
+
const utils_log_1 = require("@goldstack/utils-log");
|
|
8
|
+
const utils_s3_deployment_1 = require("@goldstack/utils-s3-deployment");
|
|
9
|
+
const utils_terraform_aws_1 = require("@goldstack/utils-terraform-aws");
|
|
10
|
+
const utils_sh_1 = require("@goldstack/utils-sh");
|
|
11
|
+
const path_1 = __importDefault(require("path"));
|
|
12
|
+
const getDeployment = (config, args) => {
|
|
13
|
+
if (args.length < 1) {
|
|
14
|
+
(0, utils_log_1.fatal)('Please specify the name of the deployment.');
|
|
15
|
+
}
|
|
16
|
+
const name = args[0];
|
|
17
|
+
const deployment = config.deployments.find((deployment) => deployment.name === name);
|
|
18
|
+
if (!deployment) {
|
|
19
|
+
(0, utils_log_1.fatal)(`Cannot find configuration for deployment '${name}''`);
|
|
20
|
+
throw new Error('Cannot parse configuration.');
|
|
21
|
+
}
|
|
22
|
+
return deployment;
|
|
23
|
+
};
|
|
24
|
+
const deploy = async (config, args) => {
|
|
25
|
+
const deployment = getDeployment(config, args);
|
|
26
|
+
const webDistDir = path_1.default.resolve('./webDist');
|
|
27
|
+
(0, utils_sh_1.assertDirectoryExists)(webDistDir, 'Cannot upload website artifacts.');
|
|
28
|
+
await (0, utils_s3_deployment_1.upload)({
|
|
29
|
+
userName: deployment.awsUser,
|
|
30
|
+
bucket: deployment.configuration.websiteDomain + '-root',
|
|
31
|
+
region: deployment.awsRegion,
|
|
32
|
+
bucketPath: '/',
|
|
33
|
+
localPath: webDistDir,
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
exports.deploy = deploy;
|
|
37
|
+
const infraAwsStaticWebsiteCli = async (config, args) => {
|
|
38
|
+
if (args.length < 1) {
|
|
39
|
+
(0, utils_log_1.fatal)('Please provide the operation in the arguments: "up", "init", "plan", "apply", "deploy", "destroy", "upgrade", "terraform".');
|
|
40
|
+
throw new Error();
|
|
41
|
+
}
|
|
42
|
+
const [operation, ...opArgs] = args;
|
|
43
|
+
if (operation === 'deploy') {
|
|
44
|
+
await (0, exports.deploy)(config, opArgs);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
await (0, utils_terraform_aws_1.terraformAwsCli)(args);
|
|
48
|
+
};
|
|
49
|
+
exports.infraAwsStaticWebsiteCli = infraAwsStaticWebsiteCli;
|
|
50
50
|
//# sourceMappingURL=infraAwsStaticWebsite.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { infraAwsStaticWebsiteCli } from './infraAwsStaticWebsite';
|
|
2
|
-
import { AWSStaticWebsiteConfiguration, AWSStaticWebsitePackage, AWSStaticWebsiteDeploymentConfiguration } from './types/AWSStaticWebsitePackage';
|
|
3
|
-
import { AWSStaticWebsiteDeployment } from './types/AWSStaticWebsitePackage';
|
|
4
|
-
export type { AWSStaticWebsitePackage, AWSStaticWebsiteConfiguration, AWSStaticWebsiteDeployment, AWSStaticWebsiteDeploymentConfiguration, };
|
|
5
|
-
export { infraAwsStaticWebsiteCli };
|
|
6
|
-
export declare const getDeploymentConfig: (deploymentName: string) => AWSStaticWebsiteDeployment;
|
|
7
|
-
export declare const run: (args: string[]) => Promise<void>;
|
|
1
|
+
import { infraAwsStaticWebsiteCli } from './infraAwsStaticWebsite';
|
|
2
|
+
import { AWSStaticWebsiteConfiguration, AWSStaticWebsitePackage, AWSStaticWebsiteDeploymentConfiguration } from './types/AWSStaticWebsitePackage';
|
|
3
|
+
import { AWSStaticWebsiteDeployment } from './types/AWSStaticWebsitePackage';
|
|
4
|
+
export type { AWSStaticWebsitePackage, AWSStaticWebsiteConfiguration, AWSStaticWebsiteDeployment, AWSStaticWebsiteDeploymentConfiguration, };
|
|
5
|
+
export { infraAwsStaticWebsiteCli };
|
|
6
|
+
export declare const getDeploymentConfig: (deploymentName: string) => AWSStaticWebsiteDeployment;
|
|
7
|
+
export declare const run: (args: string[]) => Promise<void>;
|
|
8
8
|
//# sourceMappingURL=templateStaticWebsiteAws.d.ts.map
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.run = exports.getDeploymentConfig = exports.infraAwsStaticWebsiteCli = void 0;
|
|
7
|
-
const utils_cli_1 = require("@goldstack/utils-cli");
|
|
8
|
-
const utils_log_1 = require("@goldstack/utils-log");
|
|
9
|
-
const infraAwsStaticWebsite_1 = require("./infraAwsStaticWebsite");
|
|
10
|
-
Object.defineProperty(exports, "infraAwsStaticWebsiteCli", { enumerable: true, get: function () { return infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli; } });
|
|
11
|
-
const utils_package_config_1 = require("@goldstack/utils-package-config");
|
|
12
|
-
const yargs_1 = __importDefault(require("yargs"));
|
|
13
|
-
const utils_package_1 = require("@goldstack/utils-package");
|
|
14
|
-
const utils_terraform_1 = require("@goldstack/utils-terraform");
|
|
15
|
-
const getDeploymentConfig = (deploymentName) => {
|
|
16
|
-
const packageConfig = new utils_package_config_1.PackageConfig({
|
|
17
|
-
packagePath: './',
|
|
18
|
-
});
|
|
19
|
-
return packageConfig.getDeployment(deploymentName);
|
|
20
|
-
};
|
|
21
|
-
exports.getDeploymentConfig = getDeploymentConfig;
|
|
22
|
-
const run = async (args) => {
|
|
23
|
-
await (0, utils_cli_1.wrapCli)(async () => {
|
|
24
|
-
const argv = await (0, utils_package_1.buildCli)({
|
|
25
|
-
yargs: yargs_1.default,
|
|
26
|
-
deployCommands: (0, utils_package_1.buildDeployCommands)(),
|
|
27
|
-
infraCommands: (0, utils_terraform_1.infraCommands)(),
|
|
28
|
-
})
|
|
29
|
-
.help()
|
|
30
|
-
.parse();
|
|
31
|
-
const packageConfig = new utils_package_config_1.PackageConfig({
|
|
32
|
-
packagePath: './',
|
|
33
|
-
});
|
|
34
|
-
const config = packageConfig.getConfig();
|
|
35
|
-
const command = argv._[0];
|
|
36
|
-
const [, , , ...opArgs] = args;
|
|
37
|
-
if (command === 'infra') {
|
|
38
|
-
await (0, infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli)(config, opArgs);
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
if (command === 'deploy') {
|
|
42
|
-
await (0, infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli)(config, ['deploy', ...opArgs]);
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
(0, utils_log_1.fatal)('Unknown command: ' + command);
|
|
46
|
-
throw new Error();
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
exports.run = run;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.run = exports.getDeploymentConfig = exports.infraAwsStaticWebsiteCli = void 0;
|
|
7
|
+
const utils_cli_1 = require("@goldstack/utils-cli");
|
|
8
|
+
const utils_log_1 = require("@goldstack/utils-log");
|
|
9
|
+
const infraAwsStaticWebsite_1 = require("./infraAwsStaticWebsite");
|
|
10
|
+
Object.defineProperty(exports, "infraAwsStaticWebsiteCli", { enumerable: true, get: function () { return infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli; } });
|
|
11
|
+
const utils_package_config_1 = require("@goldstack/utils-package-config");
|
|
12
|
+
const yargs_1 = __importDefault(require("yargs"));
|
|
13
|
+
const utils_package_1 = require("@goldstack/utils-package");
|
|
14
|
+
const utils_terraform_1 = require("@goldstack/utils-terraform");
|
|
15
|
+
const getDeploymentConfig = (deploymentName) => {
|
|
16
|
+
const packageConfig = new utils_package_config_1.PackageConfig({
|
|
17
|
+
packagePath: './',
|
|
18
|
+
});
|
|
19
|
+
return packageConfig.getDeployment(deploymentName);
|
|
20
|
+
};
|
|
21
|
+
exports.getDeploymentConfig = getDeploymentConfig;
|
|
22
|
+
const run = async (args) => {
|
|
23
|
+
await (0, utils_cli_1.wrapCli)(async () => {
|
|
24
|
+
const argv = await (0, utils_package_1.buildCli)({
|
|
25
|
+
yargs: yargs_1.default,
|
|
26
|
+
deployCommands: (0, utils_package_1.buildDeployCommands)(),
|
|
27
|
+
infraCommands: (0, utils_terraform_1.infraCommands)(),
|
|
28
|
+
})
|
|
29
|
+
.help()
|
|
30
|
+
.parse();
|
|
31
|
+
const packageConfig = new utils_package_config_1.PackageConfig({
|
|
32
|
+
packagePath: './',
|
|
33
|
+
});
|
|
34
|
+
const config = packageConfig.getConfig();
|
|
35
|
+
const command = argv._[0];
|
|
36
|
+
const [, , , ...opArgs] = args;
|
|
37
|
+
if (command === 'infra') {
|
|
38
|
+
await (0, infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli)(config, opArgs);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
if (command === 'deploy') {
|
|
42
|
+
await (0, infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli)(config, ['deploy', ...opArgs]);
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
(0, utils_log_1.fatal)('Unknown command: ' + command);
|
|
46
|
+
throw new Error();
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
exports.run = run;
|
|
50
50
|
//# sourceMappingURL=templateStaticWebsiteAws.js.map
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { Package, Configuration } from '@goldstack/utils-package';
|
|
2
|
-
import { AWSDeployment } from '@goldstack/infra-aws';
|
|
3
|
-
import { TerraformDeployment } from '@goldstack/utils-terraform';
|
|
4
|
-
import { Deployment, DeploymentConfiguration } from '@goldstack/infra';
|
|
5
|
-
/**
|
|
6
|
-
* The domain name of the Route 53 hosted zone that this website should be added to.
|
|
7
|
-
*
|
|
8
|
-
* @title Hosted Zone Domain
|
|
9
|
-
* @pattern ^[^\s]*
|
|
10
|
-
*/
|
|
11
|
-
export declare type HostedZoneDomain = string;
|
|
12
|
-
/**
|
|
13
|
-
* The domain name your users should use (e.g. mysite.com). Note this should equal to or be a subdomain of the hosted zone domain.
|
|
14
|
-
*
|
|
15
|
-
* @title Primary Website Domain
|
|
16
|
-
* @pattern ^[^\s]*
|
|
17
|
-
*/
|
|
18
|
-
export declare type PrimaryWebsiteDomain = string;
|
|
19
|
-
/**
|
|
20
|
-
* An optional domain name that users are redirected from to your Primary Website Domain (e.g. www.mysite.com)
|
|
21
|
-
*
|
|
22
|
-
* @title Redirect Website Domain
|
|
23
|
-
* @pattern ^[^\s]*
|
|
24
|
-
*/
|
|
25
|
-
export declare type RedirectWebsiteDomain = string;
|
|
26
|
-
/**
|
|
27
|
-
* Seconds resources will be cached for by default. For development sites, a good value is around 10 seconds and for production sites 60-100 seconds.
|
|
28
|
-
*
|
|
29
|
-
* @title Default Cache Duration
|
|
30
|
-
* @default 10
|
|
31
|
-
* @exclusiveMinimum 0
|
|
32
|
-
*/
|
|
33
|
-
export declare type DefaultCacheDuration = number;
|
|
34
|
-
export interface ThisDeploymentConfiguration extends DeploymentConfiguration {
|
|
35
|
-
hostedZoneDomain: HostedZoneDomain;
|
|
36
|
-
websiteDomain: PrimaryWebsiteDomain;
|
|
37
|
-
websiteDomainRedirect?: RedirectWebsiteDomain;
|
|
38
|
-
defaultCacheDuration?: DefaultCacheDuration;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Configures a static website deployment.
|
|
42
|
-
*
|
|
43
|
-
* @title Deployment
|
|
44
|
-
*/
|
|
45
|
-
export interface ThisDeployment extends Deployment, AWSDeployment, TerraformDeployment {
|
|
46
|
-
configuration: ThisDeploymentConfiguration;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Configures a static website hosted on AWS.
|
|
50
|
-
*
|
|
51
|
-
* @title AWS Static Website Configuration
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export interface ThisPackageConfiguration extends Configuration {
|
|
55
|
-
[propName: string]: any;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* A AWS Static Website Package.
|
|
59
|
-
*
|
|
60
|
-
* @title AWS Static Website Package
|
|
61
|
-
*/
|
|
62
|
-
export interface ThisPackage extends Package {
|
|
63
|
-
configuration: ThisPackageConfiguration;
|
|
64
|
-
deployments: ThisDeployment[];
|
|
65
|
-
}
|
|
66
|
-
export type { ThisPackageConfiguration as AWSStaticWebsiteConfiguration };
|
|
67
|
-
export type { ThisDeployment as AWSStaticWebsiteDeployment };
|
|
68
|
-
export type { ThisDeploymentConfiguration as AWSStaticWebsiteDeploymentConfiguration };
|
|
69
|
-
export type { ThisPackage as AWSStaticWebsitePackage };
|
|
1
|
+
import { Package, Configuration } from '@goldstack/utils-package';
|
|
2
|
+
import { AWSDeployment } from '@goldstack/infra-aws';
|
|
3
|
+
import { TerraformDeployment } from '@goldstack/utils-terraform';
|
|
4
|
+
import { Deployment, DeploymentConfiguration } from '@goldstack/infra';
|
|
5
|
+
/**
|
|
6
|
+
* The domain name of the Route 53 hosted zone that this website should be added to.
|
|
7
|
+
*
|
|
8
|
+
* @title Hosted Zone Domain
|
|
9
|
+
* @pattern ^[^\s]*
|
|
10
|
+
*/
|
|
11
|
+
export declare type HostedZoneDomain = string;
|
|
12
|
+
/**
|
|
13
|
+
* The domain name your users should use (e.g. mysite.com). Note this should equal to or be a subdomain of the hosted zone domain.
|
|
14
|
+
*
|
|
15
|
+
* @title Primary Website Domain
|
|
16
|
+
* @pattern ^[^\s]*
|
|
17
|
+
*/
|
|
18
|
+
export declare type PrimaryWebsiteDomain = string;
|
|
19
|
+
/**
|
|
20
|
+
* An optional domain name that users are redirected from to your Primary Website Domain (e.g. www.mysite.com)
|
|
21
|
+
*
|
|
22
|
+
* @title Redirect Website Domain
|
|
23
|
+
* @pattern ^[^\s]*
|
|
24
|
+
*/
|
|
25
|
+
export declare type RedirectWebsiteDomain = string;
|
|
26
|
+
/**
|
|
27
|
+
* Seconds resources will be cached for by default. For development sites, a good value is around 10 seconds and for production sites 60-100 seconds.
|
|
28
|
+
*
|
|
29
|
+
* @title Default Cache Duration
|
|
30
|
+
* @default 10
|
|
31
|
+
* @exclusiveMinimum 0
|
|
32
|
+
*/
|
|
33
|
+
export declare type DefaultCacheDuration = number;
|
|
34
|
+
export interface ThisDeploymentConfiguration extends DeploymentConfiguration {
|
|
35
|
+
hostedZoneDomain: HostedZoneDomain;
|
|
36
|
+
websiteDomain: PrimaryWebsiteDomain;
|
|
37
|
+
websiteDomainRedirect?: RedirectWebsiteDomain;
|
|
38
|
+
defaultCacheDuration?: DefaultCacheDuration;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Configures a static website deployment.
|
|
42
|
+
*
|
|
43
|
+
* @title Deployment
|
|
44
|
+
*/
|
|
45
|
+
export interface ThisDeployment extends Deployment, AWSDeployment, TerraformDeployment {
|
|
46
|
+
configuration: ThisDeploymentConfiguration;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Configures a static website hosted on AWS.
|
|
50
|
+
*
|
|
51
|
+
* @title AWS Static Website Configuration
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
export interface ThisPackageConfiguration extends Configuration {
|
|
55
|
+
[propName: string]: any;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A AWS Static Website Package.
|
|
59
|
+
*
|
|
60
|
+
* @title AWS Static Website Package
|
|
61
|
+
*/
|
|
62
|
+
export interface ThisPackage extends Package {
|
|
63
|
+
configuration: ThisPackageConfiguration;
|
|
64
|
+
deployments: ThisDeployment[];
|
|
65
|
+
}
|
|
66
|
+
export type { ThisPackageConfiguration as AWSStaticWebsiteConfiguration };
|
|
67
|
+
export type { ThisDeployment as AWSStaticWebsiteDeployment };
|
|
68
|
+
export type { ThisDeploymentConfiguration as AWSStaticWebsiteDeploymentConfiguration };
|
|
69
|
+
export type { ThisPackage as AWSStaticWebsitePackage };
|
|
70
70
|
//# sourceMappingURL=AWSStaticWebsitePackage.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=AWSStaticWebsitePackage.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/template-static-website-aws",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Utilities for deploying a website to CloudFront and S3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -45,25 +45,25 @@
|
|
|
45
45
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@goldstack/infra": "0.
|
|
49
|
-
"@goldstack/infra-aws": "0.
|
|
50
|
-
"@goldstack/utils-cli": "0.
|
|
51
|
-
"@goldstack/utils-config": "0.
|
|
48
|
+
"@goldstack/infra": "0.4.0",
|
|
49
|
+
"@goldstack/infra-aws": "0.4.0",
|
|
50
|
+
"@goldstack/utils-cli": "0.3.0",
|
|
51
|
+
"@goldstack/utils-config": "0.4.0",
|
|
52
52
|
"@goldstack/utils-docs-cli": "0.3.11",
|
|
53
|
-
"@goldstack/utils-log": "0.
|
|
54
|
-
"@goldstack/utils-package": "0.
|
|
55
|
-
"@goldstack/utils-package-config": "0.
|
|
56
|
-
"@goldstack/utils-s3-deployment": "0.
|
|
57
|
-
"@goldstack/utils-sh": "0.
|
|
58
|
-
"@goldstack/utils-template": "0.
|
|
59
|
-
"@goldstack/utils-terraform": "0.
|
|
60
|
-
"@goldstack/utils-terraform-aws": "0.
|
|
53
|
+
"@goldstack/utils-log": "0.3.0",
|
|
54
|
+
"@goldstack/utils-package": "0.4.0",
|
|
55
|
+
"@goldstack/utils-package-config": "0.4.0",
|
|
56
|
+
"@goldstack/utils-s3-deployment": "0.5.0",
|
|
57
|
+
"@goldstack/utils-sh": "0.5.0",
|
|
58
|
+
"@goldstack/utils-template": "0.4.0",
|
|
59
|
+
"@goldstack/utils-terraform": "0.4.0",
|
|
60
|
+
"@goldstack/utils-terraform-aws": "0.4.0",
|
|
61
61
|
"source-map-support": "^0.5.21",
|
|
62
62
|
"yargs": "^17.5.1"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@goldstack/utils-git": "0.
|
|
66
|
-
"@goldstack/utils-package-config-generate": "0.
|
|
65
|
+
"@goldstack/utils-git": "0.2.0",
|
|
66
|
+
"@goldstack/utils-package-config-generate": "0.3.0",
|
|
67
67
|
"@types/jest": "^28.1.8",
|
|
68
68
|
"@types/node": "^18.7.13",
|
|
69
69
|
"@types/yargs": "^17.0.10",
|