@mstuercke/pulumi-modules 0.0.8 → 0.0.10
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/auth0/Auth0.d.ts +1 -0
- package/dist/auth0/index.d.ts +3 -2
- package/dist/auth0/index.js +2 -2
- package/dist/domain/getDomain.d.ts +1 -0
- package/dist/domain/index.d.ts +3 -2
- package/dist/domain/index.js +2 -2
- package/dist/iam/SimpleIamRolePolicy.d.ts +2 -1
- package/dist/iam/SimpleIamRolePolicyConfig.d.ts +1 -0
- package/dist/iam/index.d.ts +4 -3
- package/dist/iam/index.js +3 -3
- package/dist/index.d.ts +21 -20
- package/dist/index.js +18 -18
- package/dist/lambda/NodeLambdaFunction.d.ts +3 -2
- package/dist/lambda/NodeLambdaFunction.js +1 -1
- package/dist/lambda/WithInputs.d.ts +1 -0
- package/dist/lambda/index.d.ts +3 -2
- package/dist/lambda/index.js +2 -2
- package/dist/mongodb/MongoDB.d.ts +1 -0
- package/dist/mongodb/MongoDBCustomInstance.d.ts +1 -0
- package/dist/mongodb/MongoDBDefaultInstance.d.ts +1 -0
- package/dist/mongodb/MongoDBUser.d.ts +1 -0
- package/dist/mongodb/index.d.ts +7 -6
- package/dist/mongodb/index.js +6 -6
- package/dist/rest/RestApi.d.ts +2 -1
- package/dist/rest/index.d.ts +3 -2
- package/dist/rest/index.js +2 -2
- package/dist/s3/PublicS3Bucket.d.ts +1 -0
- package/dist/s3/index.d.ts +3 -2
- package/dist/s3/index.js +2 -2
- package/dist/website/StaticWebsite.d.ts +2 -1
- package/dist/website/StaticWebsite.js +2 -2
- package/dist/website/index.d.ts +3 -2
- package/dist/website/index.js +2 -2
- package/dist/website/readFilesRecursive.d.ts +1 -0
- package/dist/websocket/WebsocketApi.d.ts +2 -1
- package/dist/websocket/index.d.ts +3 -2
- package/dist/websocket/index.js +2 -2
- package/package.json +11 -9
package/dist/auth0/Auth0.d.ts
CHANGED
package/dist/auth0/index.d.ts
CHANGED
package/dist/auth0/index.js
CHANGED
package/dist/domain/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * from './getDomain';
|
|
1
|
+
export * from './getDomain.ts';
|
|
2
2
|
export declare const domain: {
|
|
3
|
-
getDomain: (options: import("./getDomain").DataDomainOptions) => Promise<import("./getDomain").DomainResult>;
|
|
3
|
+
getDomain: (options: import("./getDomain.ts").DataDomainOptions) => Promise<import("./getDomain.ts").DomainResult>;
|
|
4
4
|
};
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/domain/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { iam } from '@pulumi/aws';
|
|
2
|
-
import type { SimpleIamRolePolicyConfig } from './SimpleIamRolePolicyConfig.
|
|
2
|
+
import type { SimpleIamRolePolicyConfig } from './SimpleIamRolePolicyConfig.ts';
|
|
3
3
|
import { type CustomResourceOptions } from '@pulumi/pulumi';
|
|
4
4
|
export declare class SimpleIamRolePolicy extends iam.RolePolicy {
|
|
5
5
|
constructor(iamRoleId: string, config: SimpleIamRolePolicyConfig, opts?: CustomResourceOptions);
|
|
6
6
|
}
|
|
7
|
+
//# sourceMappingURL=SimpleIamRolePolicy.d.ts.map
|
package/dist/iam/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { SimpleIamRolePolicy } from './SimpleIamRolePolicy';
|
|
2
|
-
export * from './SimpleIamRolePolicy';
|
|
3
|
-
export * from './SimpleIamRolePolicyConfig';
|
|
1
|
+
import { SimpleIamRolePolicy } from './SimpleIamRolePolicy.ts';
|
|
2
|
+
export * from './SimpleIamRolePolicy.ts';
|
|
3
|
+
export * from './SimpleIamRolePolicyConfig.ts';
|
|
4
4
|
export declare const iam: {
|
|
5
5
|
SimpleIamRolePolicy: typeof SimpleIamRolePolicy;
|
|
6
6
|
};
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/iam/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SimpleIamRolePolicy } from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
import { SimpleIamRolePolicy } from "./SimpleIamRolePolicy.js";
|
|
2
|
+
export * from "./SimpleIamRolePolicy.js";
|
|
3
|
+
export * from "./SimpleIamRolePolicyConfig.js";
|
|
4
4
|
export const iam = {
|
|
5
5
|
SimpleIamRolePolicy,
|
|
6
6
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
export * from './auth0';
|
|
2
|
-
export * from './domain';
|
|
3
|
-
export * from './iam';
|
|
4
|
-
export * from './lambda';
|
|
5
|
-
export * from './mongodb';
|
|
6
|
-
export * from './rest';
|
|
7
|
-
export * from './s3';
|
|
8
|
-
export * from './website';
|
|
9
|
-
export * from './websocket';
|
|
1
|
+
export * from './auth0/index.ts';
|
|
2
|
+
export * from './domain/index.ts';
|
|
3
|
+
export * from './iam/index.ts';
|
|
4
|
+
export * from './lambda/index.ts';
|
|
5
|
+
export * from './mongodb/index.ts';
|
|
6
|
+
export * from './rest/index.ts';
|
|
7
|
+
export * from './s3/index.ts';
|
|
8
|
+
export * from './website/index.ts';
|
|
9
|
+
export * from './websocket/index.ts';
|
|
10
10
|
export declare const mstuercke: {
|
|
11
11
|
auth0: {
|
|
12
|
-
Auth0: typeof import("./auth0").Auth0;
|
|
12
|
+
Auth0: typeof import("./auth0/Auth0.ts").Auth0;
|
|
13
13
|
};
|
|
14
14
|
domain: {
|
|
15
|
-
getDomain: (options: import("./domain").DataDomainOptions) => Promise<import("./domain").DomainResult>;
|
|
15
|
+
getDomain: (options: import("./domain/getDomain.ts").DataDomainOptions) => Promise<import("./domain/getDomain.ts").DomainResult>;
|
|
16
16
|
};
|
|
17
17
|
iam: {
|
|
18
|
-
SimpleIamRolePolicy: typeof import("./iam").SimpleIamRolePolicy;
|
|
18
|
+
SimpleIamRolePolicy: typeof import("./iam/SimpleIamRolePolicy.ts").SimpleIamRolePolicy;
|
|
19
19
|
};
|
|
20
20
|
lambda: {
|
|
21
|
-
NodeLambdaFunction: typeof import("./lambda").NodeLambdaFunction;
|
|
21
|
+
NodeLambdaFunction: typeof import("./lambda/NodeLambdaFunction.ts").NodeLambdaFunction;
|
|
22
22
|
};
|
|
23
23
|
mongodb: {
|
|
24
|
-
MongoDBCustomInstance: typeof import("./mongodb").MongoDBCustomInstance;
|
|
25
|
-
MongoDBDefaultInstance: typeof import("./mongodb").MongoDBDefaultInstance;
|
|
26
|
-
MongoDBUser: typeof import("./mongodb").MongoDBUser;
|
|
24
|
+
MongoDBCustomInstance: typeof import("./mongodb/MongoDBCustomInstance.ts").MongoDBCustomInstance;
|
|
25
|
+
MongoDBDefaultInstance: typeof import("./mongodb/MongoDBDefaultInstance.ts").MongoDBDefaultInstance;
|
|
26
|
+
MongoDBUser: typeof import("./mongodb/MongoDBUser.ts").MongoDBUser;
|
|
27
27
|
};
|
|
28
28
|
rest: {
|
|
29
|
-
RestApi: typeof import("./rest").RestApi;
|
|
29
|
+
RestApi: typeof import("./rest/RestApi.ts").RestApi;
|
|
30
30
|
};
|
|
31
31
|
s3: {
|
|
32
|
-
PublicS3Bucket: typeof import("./s3").PublicS3Bucket;
|
|
32
|
+
PublicS3Bucket: typeof import("./s3/PublicS3Bucket.ts").PublicS3Bucket;
|
|
33
33
|
};
|
|
34
34
|
website: {
|
|
35
|
-
StaticWebsite: typeof import("./website").StaticWebsite;
|
|
35
|
+
StaticWebsite: typeof import("./website/StaticWebsite.ts").StaticWebsite;
|
|
36
36
|
};
|
|
37
37
|
websocket: {
|
|
38
|
-
WebsocketApi: typeof import("./websocket").WebsocketApi;
|
|
38
|
+
WebsocketApi: typeof import("./websocket/WebsocketApi.ts").WebsocketApi;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { auth0 } from
|
|
2
|
-
import { domain } from
|
|
3
|
-
import { iam } from
|
|
4
|
-
import { rest } from
|
|
5
|
-
import { lambda } from
|
|
6
|
-
import { mongodb } from
|
|
7
|
-
import { s3 } from
|
|
8
|
-
import { website } from
|
|
9
|
-
import { websocket } from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
1
|
+
import { auth0 } from "./auth0/index.js";
|
|
2
|
+
import { domain } from "./domain/index.js";
|
|
3
|
+
import { iam } from "./iam/index.js";
|
|
4
|
+
import { rest } from "./rest/index.js";
|
|
5
|
+
import { lambda } from "./lambda/index.js";
|
|
6
|
+
import { mongodb } from "./mongodb/index.js";
|
|
7
|
+
import { s3 } from "./s3/index.js";
|
|
8
|
+
import { website } from "./website/index.js";
|
|
9
|
+
import { websocket } from "./websocket/index.js";
|
|
10
|
+
export * from "./auth0/index.js";
|
|
11
|
+
export * from "./domain/index.js";
|
|
12
|
+
export * from "./iam/index.js";
|
|
13
|
+
export * from "./lambda/index.js";
|
|
14
|
+
export * from "./mongodb/index.js";
|
|
15
|
+
export * from "./rest/index.js";
|
|
16
|
+
export * from "./s3/index.js";
|
|
17
|
+
export * from "./website/index.js";
|
|
18
|
+
export * from "./websocket/index.js";
|
|
19
19
|
export const mstuercke = {
|
|
20
20
|
auth0,
|
|
21
21
|
domain,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type CustomResourceOptions, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
import { type SimpleIamRolePolicyConfig } from '../iam';
|
|
3
|
-
import type { WithInputs } from './WithInputs.
|
|
2
|
+
import { type SimpleIamRolePolicyConfig } from '../iam/index.ts';
|
|
3
|
+
import type { WithInputs } from './WithInputs.ts';
|
|
4
4
|
export type NodeLambdaFunctionArgs<EnvironmentVariables> = {
|
|
5
5
|
name: string;
|
|
6
6
|
runtime?: string;
|
|
@@ -18,3 +18,4 @@ export declare class NodeLambdaFunction<EnvironmentVariables extends Record<stri
|
|
|
18
18
|
invokeArn: Output<string>;
|
|
19
19
|
constructor(args: NodeLambdaFunctionArgs<EnvironmentVariables>, opts?: CustomResourceOptions);
|
|
20
20
|
}
|
|
21
|
+
//# sourceMappingURL=NodeLambdaFunction.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { iam, lambda } from '@pulumi/aws';
|
|
2
2
|
import { getFile } from '@pulumi/archive';
|
|
3
3
|
import { asset, Resource } from '@pulumi/pulumi';
|
|
4
|
-
import { SimpleIamRolePolicy } from
|
|
4
|
+
import { SimpleIamRolePolicy } from "../iam/index.js";
|
|
5
5
|
export class NodeLambdaFunction extends Resource {
|
|
6
6
|
name;
|
|
7
7
|
arn;
|
package/dist/lambda/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { NodeLambdaFunction } from './NodeLambdaFunction';
|
|
2
|
-
export * from './NodeLambdaFunction';
|
|
1
|
+
import { NodeLambdaFunction } from './NodeLambdaFunction.ts';
|
|
2
|
+
export * from './NodeLambdaFunction.ts';
|
|
3
3
|
export declare const lambda: {
|
|
4
4
|
NodeLambdaFunction: typeof NodeLambdaFunction;
|
|
5
5
|
};
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/lambda/index.js
CHANGED
package/dist/mongodb/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { MongoDBCustomInstance } from './MongoDBCustomInstance';
|
|
2
|
-
import { MongoDBDefaultInstance } from './MongoDBDefaultInstance';
|
|
3
|
-
import { MongoDBUser } from './MongoDBUser';
|
|
4
|
-
export * from './MongoDBCustomInstance';
|
|
5
|
-
export * from './MongoDBDefaultInstance';
|
|
6
|
-
export * from './MongoDBUser';
|
|
1
|
+
import { MongoDBCustomInstance } from './MongoDBCustomInstance.ts';
|
|
2
|
+
import { MongoDBDefaultInstance } from './MongoDBDefaultInstance.ts';
|
|
3
|
+
import { MongoDBUser } from './MongoDBUser.ts';
|
|
4
|
+
export * from './MongoDBCustomInstance.ts';
|
|
5
|
+
export * from './MongoDBDefaultInstance.ts';
|
|
6
|
+
export * from './MongoDBUser.ts';
|
|
7
7
|
export declare const mongodb: {
|
|
8
8
|
MongoDBCustomInstance: typeof MongoDBCustomInstance;
|
|
9
9
|
MongoDBDefaultInstance: typeof MongoDBDefaultInstance;
|
|
10
10
|
MongoDBUser: typeof MongoDBUser;
|
|
11
11
|
};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/mongodb/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MongoDBCustomInstance } from
|
|
2
|
-
import { MongoDBDefaultInstance } from
|
|
3
|
-
import { MongoDBUser } from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
1
|
+
import { MongoDBCustomInstance } from "./MongoDBCustomInstance.js";
|
|
2
|
+
import { MongoDBDefaultInstance } from "./MongoDBDefaultInstance.js";
|
|
3
|
+
import { MongoDBUser } from "./MongoDBUser.js";
|
|
4
|
+
export * from "./MongoDBCustomInstance.js";
|
|
5
|
+
export * from "./MongoDBDefaultInstance.js";
|
|
6
|
+
export * from "./MongoDBUser.js";
|
|
7
7
|
export const mongodb = {
|
|
8
8
|
MongoDBCustomInstance,
|
|
9
9
|
MongoDBDefaultInstance,
|
package/dist/rest/RestApi.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as aws from '@pulumi/aws';
|
|
2
2
|
import type { CustomResourceOptions, Input } from '@pulumi/pulumi';
|
|
3
|
-
import type { NodeLambdaFunction } from '../lambda';
|
|
3
|
+
import type { NodeLambdaFunction } from '../lambda/index.ts';
|
|
4
4
|
export interface RestApiArgs {
|
|
5
5
|
name: string;
|
|
6
6
|
projectId: string;
|
|
@@ -17,3 +17,4 @@ export declare class RestApi extends aws.apigateway.RestApi {
|
|
|
17
17
|
readonly url: string;
|
|
18
18
|
constructor(id: string, args: RestApiArgs, opts?: CustomResourceOptions);
|
|
19
19
|
}
|
|
20
|
+
//# sourceMappingURL=RestApi.d.ts.map
|
package/dist/rest/index.d.ts
CHANGED
package/dist/rest/index.js
CHANGED
package/dist/s3/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { PublicS3Bucket } from './PublicS3Bucket';
|
|
2
|
-
export * from './PublicS3Bucket';
|
|
1
|
+
import { PublicS3Bucket } from './PublicS3Bucket.ts';
|
|
2
|
+
export * from './PublicS3Bucket.ts';
|
|
3
3
|
export declare const s3: {
|
|
4
4
|
PublicS3Bucket: typeof PublicS3Bucket;
|
|
5
5
|
};
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/s3/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CustomResourceOptions, type Input, Resource } from '@pulumi/pulumi';
|
|
2
|
-
import { type PublicS3Bucket } from '../s3';
|
|
2
|
+
import { type PublicS3Bucket } from '../s3/index.ts';
|
|
3
3
|
export interface StaticWebsiteArgs {
|
|
4
4
|
projectId: string;
|
|
5
5
|
environmentName: string;
|
|
@@ -15,3 +15,4 @@ export declare class StaticWebsite extends Resource {
|
|
|
15
15
|
bucket: PublicS3Bucket;
|
|
16
16
|
constructor(id: string, args: StaticWebsiteArgs, opts?: CustomResourceOptions);
|
|
17
17
|
}
|
|
18
|
+
//# sourceMappingURL=StaticWebsite.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Resource } from '@pulumi/pulumi';
|
|
2
|
-
import { s3 } from
|
|
2
|
+
import { s3 } from "../s3/index.js";
|
|
3
3
|
import { BucketObject } from '@pulumi/aws/s3';
|
|
4
4
|
import { Distribution } from '@pulumi/aws/cloudfront';
|
|
5
5
|
import { Record } from '@pulumi/aws/route53';
|
|
6
|
-
import { readFilesRecursive } from
|
|
6
|
+
import { readFilesRecursive } from "./readFilesRecursive.js";
|
|
7
7
|
export class StaticWebsite extends Resource {
|
|
8
8
|
url;
|
|
9
9
|
bucket;
|
package/dist/website/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { StaticWebsite } from './StaticWebsite';
|
|
2
|
-
export * from './StaticWebsite';
|
|
1
|
+
import { StaticWebsite } from './StaticWebsite.ts';
|
|
2
|
+
export * from './StaticWebsite.ts';
|
|
3
3
|
export declare const website: {
|
|
4
4
|
StaticWebsite: typeof StaticWebsite;
|
|
5
5
|
};
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/website/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CustomResourceOptions, type Input, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
import type { NodeLambdaFunction } from '../lambda';
|
|
2
|
+
import type { NodeLambdaFunction } from '../lambda/index.ts';
|
|
3
3
|
export interface WebsocketApiArgs {
|
|
4
4
|
name: string;
|
|
5
5
|
lambdaFunction: NodeLambdaFunction;
|
|
@@ -20,3 +20,4 @@ export declare class WebsocketApi extends Resource {
|
|
|
20
20
|
url: string;
|
|
21
21
|
constructor(id: string, args: WebsocketApiArgs, opts?: CustomResourceOptions);
|
|
22
22
|
}
|
|
23
|
+
//# sourceMappingURL=WebsocketApi.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { WebsocketApi } from './WebsocketApi';
|
|
2
|
-
export * from './WebsocketApi';
|
|
1
|
+
import { WebsocketApi } from './WebsocketApi.ts';
|
|
2
|
+
export * from './WebsocketApi.ts';
|
|
3
3
|
export declare const websocket: {
|
|
4
4
|
WebsocketApi: typeof WebsocketApi;
|
|
5
5
|
};
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/websocket/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mstuercke/pulumi-modules",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/!(*.test|*.fixture){.d.ts,.js}",
|
|
6
6
|
"README.md"
|
|
7
7
|
],
|
|
8
|
-
"exports": "./dist/index.js",
|
|
9
8
|
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
},
|
|
10
13
|
"scripts": {
|
|
11
14
|
"typeCheck": "tsc --noEmit",
|
|
12
|
-
"build": "tsc",
|
|
13
|
-
"
|
|
14
|
-
"bump:minor": "npm version minor --git-tag-version false",
|
|
15
|
-
"bump:patch": "npm version patch --git-tag-version false",
|
|
16
|
-
"release": "bun run --tsconfig-override ./tsconfig.scripts.json scripts/release.ts"
|
|
15
|
+
"build": "tsc -p tsconfig.build.json",
|
|
16
|
+
"release": "node --no-warnings --loader ts-node/esm scripts/release.ts"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@pulumi/archive": "^0.3.0",
|
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
"mime": "^3.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@mstuercke/
|
|
32
|
-
"@types/bun": "1.2.2",
|
|
31
|
+
"@mstuercke/node-utils": "0.0.1",
|
|
33
32
|
"typescript": "5.7.3"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"registry": "https://registry.npmjs.org/"
|
|
34
36
|
}
|
|
35
37
|
}
|