@goldstack/template-static-website-aws 0.3.47 → 0.3.51
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/{infraAwsStaticWebsite.d.ts → src/infraAwsStaticWebsite.d.ts} +3 -3
- package/dist/src/infraAwsStaticWebsite.d.ts.map +1 -0
- package/dist/{infraAwsStaticWebsite.js → src/infraAwsStaticWebsite.js} +42 -42
- package/dist/src/infraAwsStaticWebsite.js.map +1 -0
- package/dist/{templateStaticWebsiteAws.d.ts → src/templateStaticWebsiteAws.d.ts} +7 -7
- package/dist/src/templateStaticWebsiteAws.d.ts.map +1 -0
- package/dist/{templateStaticWebsiteAws.js → src/templateStaticWebsiteAws.js} +47 -47
- package/dist/src/templateStaticWebsiteAws.js.map +1 -0
- package/dist/{types → src/types}/AWSStaticWebsitePackage.d.ts +69 -69
- package/dist/src/types/AWSStaticWebsitePackage.d.ts.map +1 -0
- package/dist/{types → src/types}/AWSStaticWebsitePackage.js +2 -2
- package/dist/src/types/AWSStaticWebsitePackage.js.map +1 -0
- package/package.json +27 -23
- package/dist/infraAwsStaticWebsite.d.ts.map +0 -1
- package/dist/infraAwsStaticWebsite.js.map +0 -1
- package/dist/templateStaticWebsiteAws.d.ts.map +0 -1
- package/dist/templateStaticWebsiteAws.js.map +0 -1
- package/dist/types/AWSStaticWebsitePackage.d.ts.map +0 -1
- package/dist/types/AWSStaticWebsitePackage.js.map +0 -1
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infraAwsStaticWebsite.d.ts","sourceRoot":"","sources":["../../src/infraAwsStaticWebsite.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,uBAAuB,EAExB,MAAM,iCAAiC,CAAC;AAuBzC,eAAO,MAAM,MAAM,WACT,uBAAuB,QACzB,MAAM,EAAE,KACb,QAAQ,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAC3B,uBAAuB,QACzB,MAAM,EAAE,KACb,QAAQ,IAAI,CAcd,CAAC"}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.infraAwsStaticWebsiteCli = exports.deploy = void 0;
|
|
4
|
-
const utils_log_1 = require("@goldstack/utils-log");
|
|
5
|
-
const utils_s3_deployment_1 = require("@goldstack/utils-s3-deployment");
|
|
6
|
-
const utils_terraform_aws_1 = require("@goldstack/utils-terraform-aws");
|
|
7
|
-
const getDeployment = (config, args) => {
|
|
8
|
-
if (args.length < 1) {
|
|
9
|
-
utils_log_1.fatal('Please specify the name of the deployment.');
|
|
10
|
-
}
|
|
11
|
-
const name = args[0];
|
|
12
|
-
const deployment = config.deployments.find((deployment) => deployment.name === name);
|
|
13
|
-
if (!deployment) {
|
|
14
|
-
utils_log_1.fatal(`Cannot find configuration for deployment '${name}''`);
|
|
15
|
-
throw new Error('Cannot parse configuration.');
|
|
16
|
-
}
|
|
17
|
-
return deployment;
|
|
18
|
-
};
|
|
19
|
-
const deploy = async (config, args) => {
|
|
20
|
-
const deployment = getDeployment(config, args);
|
|
21
|
-
await utils_s3_deployment_1.upload({
|
|
22
|
-
userName: deployment.awsUser,
|
|
23
|
-
bucket: deployment.configuration.websiteDomain + '-root',
|
|
24
|
-
region: deployment.awsRegion,
|
|
25
|
-
bucketPath: '/',
|
|
26
|
-
localPath: './webDist',
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
exports.deploy = deploy;
|
|
30
|
-
const infraAwsStaticWebsiteCli = async (config, args) => {
|
|
31
|
-
if (args.length < 1) {
|
|
32
|
-
utils_log_1.fatal('Please provide the operation in the arguments: "init", "plan", "apply", "deploy", "destroy".');
|
|
33
|
-
throw new Error();
|
|
34
|
-
}
|
|
35
|
-
const [operation, ...opArgs] = args;
|
|
36
|
-
if (operation === 'deploy') {
|
|
37
|
-
await exports.deploy(config, opArgs);
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
await utils_terraform_aws_1.terraformAwsCli(args);
|
|
41
|
-
};
|
|
42
|
-
exports.infraAwsStaticWebsiteCli = infraAwsStaticWebsiteCli;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.infraAwsStaticWebsiteCli = exports.deploy = void 0;
|
|
4
|
+
const utils_log_1 = require("@goldstack/utils-log");
|
|
5
|
+
const utils_s3_deployment_1 = require("@goldstack/utils-s3-deployment");
|
|
6
|
+
const utils_terraform_aws_1 = require("@goldstack/utils-terraform-aws");
|
|
7
|
+
const getDeployment = (config, args) => {
|
|
8
|
+
if (args.length < 1) {
|
|
9
|
+
(0, utils_log_1.fatal)('Please specify the name of the deployment.');
|
|
10
|
+
}
|
|
11
|
+
const name = args[0];
|
|
12
|
+
const deployment = config.deployments.find((deployment) => deployment.name === name);
|
|
13
|
+
if (!deployment) {
|
|
14
|
+
(0, utils_log_1.fatal)(`Cannot find configuration for deployment '${name}''`);
|
|
15
|
+
throw new Error('Cannot parse configuration.');
|
|
16
|
+
}
|
|
17
|
+
return deployment;
|
|
18
|
+
};
|
|
19
|
+
const deploy = async (config, args) => {
|
|
20
|
+
const deployment = getDeployment(config, args);
|
|
21
|
+
await (0, utils_s3_deployment_1.upload)({
|
|
22
|
+
userName: deployment.awsUser,
|
|
23
|
+
bucket: deployment.configuration.websiteDomain + '-root',
|
|
24
|
+
region: deployment.awsRegion,
|
|
25
|
+
bucketPath: '/',
|
|
26
|
+
localPath: './webDist',
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
exports.deploy = deploy;
|
|
30
|
+
const infraAwsStaticWebsiteCli = async (config, args) => {
|
|
31
|
+
if (args.length < 1) {
|
|
32
|
+
(0, utils_log_1.fatal)('Please provide the operation in the arguments: "init", "plan", "apply", "deploy", "destroy".');
|
|
33
|
+
throw new Error();
|
|
34
|
+
}
|
|
35
|
+
const [operation, ...opArgs] = args;
|
|
36
|
+
if (operation === 'deploy') {
|
|
37
|
+
await (0, exports.deploy)(config, opArgs);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
await (0, utils_terraform_aws_1.terraformAwsCli)(args);
|
|
41
|
+
};
|
|
42
|
+
exports.infraAwsStaticWebsiteCli = infraAwsStaticWebsiteCli;
|
|
43
43
|
//# sourceMappingURL=infraAwsStaticWebsite.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infraAwsStaticWebsite.js","sourceRoot":"","sources":["../../src/infraAwsStaticWebsite.ts"],"names":[],"mappings":";;;AAAA,oDAA6C;AAC7C,wEAAwD;AACxD,wEAAiE;AAOjE,MAAM,aAAa,GAAG,CACpB,MAA+B,EAC/B,IAAc,EACc,EAAE;IAC9B,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAA,iBAAK,EAAC,4CAA4C,CAAC,CAAC;KACrD;IACD,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IAErB,MAAM,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CACxC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,KAAK,IAAI,CACzC,CAAC;IAEF,IAAI,CAAC,UAAU,EAAE;QACf,IAAA,iBAAK,EAAC,6CAA6C,IAAI,IAAI,CAAC,CAAC;QAC7D,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;KAChD;IAED,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEK,MAAM,MAAM,GAAG,KAAK,EACzB,MAA+B,EAC/B,IAAc,EACC,EAAE;IACjB,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAE/C,MAAM,IAAA,4BAAM,EAAC;QACX,QAAQ,EAAE,UAAU,CAAC,OAAO;QAC5B,MAAM,EAAE,UAAU,CAAC,aAAa,CAAC,aAAa,GAAG,OAAO;QACxD,MAAM,EAAE,UAAU,CAAC,SAAS;QAC5B,UAAU,EAAE,GAAG;QACf,SAAS,EAAE,WAAW;KACvB,CAAC,CAAC;AACL,CAAC,CAAC;AAbW,QAAA,MAAM,UAajB;AAEK,MAAM,wBAAwB,GAAG,KAAK,EAC3C,MAA+B,EAC/B,IAAc,EACC,EAAE;IACjB,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;QACnB,IAAA,iBAAK,EACH,8FAA8F,CAC/F,CAAC;QACF,MAAM,IAAI,KAAK,EAAE,CAAC;KACnB;IACD,MAAM,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC,IAAI,SAAS,KAAK,QAAQ,EAAE;QAC1B,MAAM,IAAA,cAAM,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC7B,OAAO;KACR;IAED,MAAM,IAAA,qCAAe,EAAC,IAAI,CAAC,CAAC;AAC9B,CAAC,CAAC;AAjBW,QAAA,wBAAwB,4BAiBnC"}
|
|
@@ -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 { 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templateStaticWebsiteAws.d.ts","sourceRoot":"","sources":["../../src/templateStaticWebsiteAws.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,uCAAuC,EACxC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,YAAY,EACV,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,uCAAuC,GACxC,CAAC;AAOF,OAAO,EAAE,wBAAwB,EAAE,CAAC;AAEpC,eAAO,MAAM,mBAAmB,mBACd,MAAM,KACrB,0BAQF,CAAC;AAEF,eAAO,MAAM,GAAG,SAAgB,MAAM,EAAE,KAAG,QAAQ,IAAI,CAgCtD,CAAC"}
|
|
@@ -1,48 +1,48 @@
|
|
|
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(packageConfig.getConfig(), deploymentName);
|
|
20
|
-
};
|
|
21
|
-
exports.getDeploymentConfig = getDeploymentConfig;
|
|
22
|
-
const run = async (args) => {
|
|
23
|
-
await utils_cli_1.wrapCli(async () => {
|
|
24
|
-
const argv = utils_package_1.buildCli({
|
|
25
|
-
yargs: yargs_1.default,
|
|
26
|
-
deployCommands: utils_package_1.buildDeployCommands(),
|
|
27
|
-
infraCommands: utils_terraform_1.infraCommands(),
|
|
28
|
-
}).help().argv;
|
|
29
|
-
const packageConfig = new utils_package_config_1.PackageConfig({
|
|
30
|
-
packagePath: './',
|
|
31
|
-
});
|
|
32
|
-
const config = packageConfig.getConfig();
|
|
33
|
-
const command = argv._[0];
|
|
34
|
-
const [, , , ...opArgs] = args;
|
|
35
|
-
if (command === 'infra') {
|
|
36
|
-
await infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli(config, opArgs);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
if (command === 'deploy') {
|
|
40
|
-
await infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli(config, ['deploy', ...opArgs]);
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
utils_log_1.fatal('Unknown command: ' + command);
|
|
44
|
-
throw new Error();
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
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(packageConfig.getConfig(), deploymentName);
|
|
20
|
+
};
|
|
21
|
+
exports.getDeploymentConfig = getDeploymentConfig;
|
|
22
|
+
const run = async (args) => {
|
|
23
|
+
await (0, utils_cli_1.wrapCli)(async () => {
|
|
24
|
+
const argv = (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
|
+
}).help().argv;
|
|
29
|
+
const packageConfig = new utils_package_config_1.PackageConfig({
|
|
30
|
+
packagePath: './',
|
|
31
|
+
});
|
|
32
|
+
const config = packageConfig.getConfig();
|
|
33
|
+
const command = argv._[0];
|
|
34
|
+
const [, , , ...opArgs] = args;
|
|
35
|
+
if (command === 'infra') {
|
|
36
|
+
await (0, infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli)(config, opArgs);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (command === 'deploy') {
|
|
40
|
+
await (0, infraAwsStaticWebsite_1.infraAwsStaticWebsiteCli)(config, ['deploy', ...opArgs]);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
(0, utils_log_1.fatal)('Unknown command: ' + command);
|
|
44
|
+
throw new Error();
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
exports.run = run;
|
|
48
48
|
//# sourceMappingURL=templateStaticWebsiteAws.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templateStaticWebsiteAws.js","sourceRoot":"","sources":["../../src/templateStaticWebsiteAws.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA+C;AAC/C,oDAA6C;AAC7C,mEAAmE;AAoB1D,yGApBA,gDAAwB,OAoBA;AALjC,0EAAgE;AAChE,kDAA0B;AAC1B,4DAAyE;AACzE,gEAA2D;AAIpD,MAAM,mBAAmB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AC;AAhCW,QAAA,GAAG,OAgCd"}
|
|
@@ -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)
|
|
14
|
-
*
|
|
15
|
-
* @title Primary Website Domain
|
|
16
|
-
* @pattern ^[^\s]*
|
|
17
|
-
*/
|
|
18
|
-
export declare type PrimaryWebsiteDomain = string;
|
|
19
|
-
/**
|
|
20
|
-
* A 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 { ThisPackageConfiguration as AWSStaticWebsiteConfiguration };
|
|
67
|
-
export { ThisDeployment as AWSStaticWebsiteDeployment };
|
|
68
|
-
export { ThisDeploymentConfiguration as AWSStaticWebsiteDeploymentConfiguration };
|
|
69
|
-
export { 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)
|
|
14
|
+
*
|
|
15
|
+
* @title Primary Website Domain
|
|
16
|
+
* @pattern ^[^\s]*
|
|
17
|
+
*/
|
|
18
|
+
export declare type PrimaryWebsiteDomain = string;
|
|
19
|
+
/**
|
|
20
|
+
* A 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSStaticWebsitePackage.d.ts","sourceRoot":"","sources":["../../../src/types/AWSStaticWebsitePackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAEvE;;;;;GAKG;AACH,oBAAY,gBAAgB,GAAG,MAAM,CAAC;AAEtC;;;;;GAKG;AACH,oBAAY,oBAAoB,GAAG,MAAM,CAAC;AAE1C;;;;;GAKG;AACH,oBAAY,qBAAqB,GAAG,MAAM,CAAC;AAE3C;;;;;;GAMG;AACH,oBAAY,oBAAoB,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,2BAA4B,SAAQ,uBAAuB;IAC1E,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,aAAa,EAAE,oBAAoB,CAAC;IACpC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C;AAED;;;;GAIG;AACH,MAAM,WAAW,cACf,SAAQ,UAAU,EAChB,aAAa,EACb,mBAAmB;IACrB,aAAa,EAAE,2BAA2B,CAAC;CAC5C;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO;IAC1C,aAAa,EAAE,wBAAwB,CAAC;IACxC,WAAW,EAAE,cAAc,EAAE,CAAC;CAC/B;AAED,YAAY,EAAE,wBAAwB,IAAI,6BAA6B,EAAE,CAAC;AAC1E,YAAY,EAAE,cAAc,IAAI,0BAA0B,EAAE,CAAC;AAC7D,YAAY,EAAE,2BAA2B,IAAI,uCAAuC,EAAE,CAAC;AACvF,YAAY,EAAE,WAAW,IAAI,uBAAuB,EAAE,CAAC"}
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AWSStaticWebsitePackage.js","sourceRoot":"","sources":["../../../src/types/AWSStaticWebsitePackage.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/template-static-website-aws",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.51",
|
|
4
4
|
"description": "Utilities for deploying a website to CloudFront and S3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -24,49 +24,53 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"author": "Max Rohde",
|
|
26
26
|
"sideEffects": false,
|
|
27
|
-
"main": "dist/templateStaticWebsiteAws.js",
|
|
27
|
+
"main": "dist/src/templateStaticWebsiteAws.js",
|
|
28
28
|
"bin": {
|
|
29
29
|
"template": "./bin/template",
|
|
30
30
|
"template-static-website-aws": "./bin/template"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "yarn clean && yarn compile",
|
|
34
|
-
"build:watch": "yarn clean && yarn compile
|
|
34
|
+
"build:watch": "yarn clean && yarn compile-watch",
|
|
35
35
|
"clean": "rm -rf ./dist",
|
|
36
36
|
"compile": "tsc -p tsconfig.json",
|
|
37
|
-
"compile
|
|
38
|
-
"compile
|
|
37
|
+
"compile-watch": "tsc -p tsconfig.json --watch",
|
|
38
|
+
"compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
|
|
39
39
|
"coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js",
|
|
40
|
-
"generate
|
|
40
|
+
"generate-schema": "ts-node scripts/generateSchemas.ts && cp schemas/* ../../../templates/packages/static-website-aws/schemas",
|
|
41
41
|
"prepublishOnly": "yarn run build",
|
|
42
42
|
"publish": "utils-git changed --exec \"yarn npm publish $@\"",
|
|
43
|
-
"test
|
|
43
|
+
"test-ci": "jest --passWithNoTests --config=./jest.config.js",
|
|
44
44
|
"version:apply": "utils-git changed --exec \"yarn version $@ && yarn version apply\"",
|
|
45
45
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@goldstack/infra": "0.3.
|
|
49
|
-
"@goldstack/infra-aws": "0.3.
|
|
50
|
-
"@goldstack/utils-cli": "0.2.
|
|
51
|
-
"@goldstack/utils-config": "0.3.
|
|
48
|
+
"@goldstack/infra": "0.3.17",
|
|
49
|
+
"@goldstack/infra-aws": "0.3.20",
|
|
50
|
+
"@goldstack/utils-cli": "0.2.7",
|
|
51
|
+
"@goldstack/utils-config": "0.3.16",
|
|
52
52
|
"@goldstack/utils-docs-cli": "0.3.11",
|
|
53
|
-
"@goldstack/utils-log": "0.2.
|
|
54
|
-
"@goldstack/utils-package": "0.3.
|
|
55
|
-
"@goldstack/utils-package-config": "0.3.
|
|
56
|
-
"@goldstack/utils-s3-deployment": "0.3.
|
|
57
|
-
"@goldstack/utils-template": "0.3.
|
|
58
|
-
"@goldstack/utils-terraform": "0.3.
|
|
59
|
-
"@goldstack/utils-terraform-aws": "0.3.
|
|
53
|
+
"@goldstack/utils-log": "0.2.8",
|
|
54
|
+
"@goldstack/utils-package": "0.3.17",
|
|
55
|
+
"@goldstack/utils-package-config": "0.3.17",
|
|
56
|
+
"@goldstack/utils-s3-deployment": "0.3.23",
|
|
57
|
+
"@goldstack/utils-template": "0.3.16",
|
|
58
|
+
"@goldstack/utils-terraform": "0.3.26",
|
|
59
|
+
"@goldstack/utils-terraform-aws": "0.3.26",
|
|
60
60
|
"yargs": "^15.4.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@goldstack/utils-git": "0.1.
|
|
64
|
-
"@goldstack/utils-package-config-generate": "0.2.
|
|
65
|
-
"@types/jest": "^
|
|
66
|
-
"@types/node": "^
|
|
63
|
+
"@goldstack/utils-git": "0.1.28",
|
|
64
|
+
"@goldstack/utils-package-config-generate": "0.2.7",
|
|
65
|
+
"@types/jest": "^27.0.2",
|
|
66
|
+
"@types/node": "^16.11.0",
|
|
67
67
|
"@types/yargs": "^15.0.5",
|
|
68
68
|
"jest": "^26.6.3",
|
|
69
69
|
"ts-jest": "^26.5.4",
|
|
70
|
-
"
|
|
70
|
+
"ts-node": "^10.3.0",
|
|
71
|
+
"typescript": "^4.4.3"
|
|
72
|
+
},
|
|
73
|
+
"publishConfig": {
|
|
74
|
+
"main": "dist/src/templateStaticWebsiteAws.js"
|
|
71
75
|
}
|
|
72
76
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"infraAwsStaticWebsite.d.ts","sourceRoot":"","sources":["../src/infraAwsStaticWebsite.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,uBAAuB,EAExB,MAAM,iCAAiC,CAAC;AAuBzC,eAAO,MAAM,MAAM,WACT,uBAAuB,QACzB,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AM,wBAAwB,GAAG,KAAK,EAC3C,MAA+B,EAC/B,IAAc,EACC,EAAE;IACjB,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;QACnB,iBAAK,CACH,8FAA8F,CAC/F,CAAC;QACF,MAAM,IAAI,KAAK,EAAE,CAAC;KACnB;IACD,MAAM,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC,IAAI,SAAS,KAAK,QAAQ,EAAE;QAC1B,MAAM,cAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC7B,OAAO;KACR;IAED,MAAM,qCAAe,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC,CAAC;AAjBW,QAAA,wBAAwB,4BAiBnC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templateStaticWebsiteAws.d.ts","sourceRoot":"","sources":["../src/templateStaticWebsiteAws.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,uCAAuC,EACxC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,uCAAuC,GACxC,CAAC;AAOF,OAAO,EAAE,wBAAwB,EAAE,CAAC;AAEpC,eAAO,MAAM,mBAAmB,mBACd,MAAM,KACrB,0BAQF,CAAC;AAEF,eAAO,MAAM,GAAG,SAAgB,MAAM,EAAE,KAAG,QAAQ,IAAI,CAgCtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templateStaticWebsiteAws.js","sourceRoot":"","sources":["../src/templateStaticWebsiteAws.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA+C;AAC/C,oDAA6C;AAC7C,mEAAmE;AAoB1D,yGApBA,gDAAwB,OAo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