@candlerip/shared3 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/_devops/docker/docker-publish.sh +4 -0
- package/_devops/ec2/ec2-deploy.sh +8 -0
- package/package.json +4 -4
- package/src/aws/index.d.ts +1 -0
- package/src/aws/index.js +1 -0
- package/src/aws/region/configs/aws-regions/index.d.ts +1 -0
- package/src/aws/region/configs/aws-regions/index.js +1 -0
- package/src/aws/region/configs/default-aws-region/index.d.ts +2 -0
- package/src/aws/region/configs/default-aws-region/index.js +1 -0
- package/src/aws/region/configs/index.d.ts +2 -0
- package/src/aws/region/configs/index.js +2 -0
- package/src/aws/region/domains/index.d.ts +2 -0
- package/src/aws/region/domains/index.js +1 -0
- package/src/aws/region/index.d.ts +2 -0
- package/src/aws/region/index.js +2 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/project/config-name/domains/config-name/index.d.ts +2 -0
- package/src/project/config-name/domains/config-name/index.js +1 -0
- package/src/project/config-name/domains/config-name-type-map/index.d.ts +5 -0
- package/src/project/config-name/domains/config-name-type-map/index.js +1 -0
- package/src/project/config-name/domains/index.d.ts +2 -2
- package/src/project/config-name/domains/index.js +2 -1
- package/_devops/docker/.dockerignore.sample +0 -2
- package/_devops/docker/docker.sh +0 -12
- package/_devops/ec2/ec2.sh +0 -10
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@candlerip/shared3",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.11",
|
4
4
|
"type": "module",
|
5
5
|
"main": "src/index.js",
|
6
6
|
"bin": {
|
7
7
|
"crs-cdk-deploy": "./_devops/cdk/cdk-deploy.sh",
|
8
|
-
"crs-docker": "./_devops/docker/docker.sh",
|
9
|
-
"crs-ec2": "./_devops/ec2/ec2.sh",
|
8
|
+
"crs-docker-publish": "./_devops/docker/docker-publish.sh",
|
9
|
+
"crs-ec2-deploy": "./_devops/ec2/ec2-deploy.sh",
|
10
10
|
"crs-eslint": "./_devops/eslint/eslint.sh",
|
11
11
|
"crs-git-push": "./_devops/git/git-push.sh",
|
12
12
|
"crs-npm-patch-version": "./_devops/npm/npm-patch-version.sh",
|
@@ -17,7 +17,7 @@
|
|
17
17
|
},
|
18
18
|
"scripts": {
|
19
19
|
"pub": "./devops/publish.sh",
|
20
|
-
"start": "
|
20
|
+
"start": "./_devops/typescript/tsc-watch.sh"
|
21
21
|
},
|
22
22
|
"dependencies": {
|
23
23
|
"@types/node": "^22.5.5",
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './region/index.js';
|
package/src/aws/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './region/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const AWS_REGIONS: readonly ["eu-central-1", "us-east-1"];
|
@@ -0,0 +1 @@
|
|
1
|
+
export const AWS_REGIONS = ['eu-central-1', 'us-east-1'];
|
@@ -0,0 +1 @@
|
|
1
|
+
export const DEFAULT_AWS_REGION = 'eu-central-1';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export
|
1
|
+
export * from './config-name/index.js';
|
2
|
+
export * from './config-name-type-map/index.js';
|
@@ -1 +1,2 @@
|
|
1
|
-
export
|
1
|
+
export * from './config-name/index.js';
|
2
|
+
export * from './config-name-type-map/index.js';
|
package/_devops/docker/docker.sh
DELETED
package/_devops/ec2/ec2.sh
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
set -e
|
3
|
-
|
4
|
-
if [[ $1 = 'deploy' ]]; then
|
5
|
-
EC2_IP=$(aws ec2 describe-instances \
|
6
|
-
--filters "Name=tag:Name,Values=backend" \
|
7
|
-
--query 'Reservations[*].Instances[*].[PublicIpAddress]' \
|
8
|
-
--output text)
|
9
|
-
ssh -o StrictHostKeyChecking=no ubuntu@$EC2_IP "npm run prod $2"
|
10
|
-
fi
|