@candlerip/shared 0.0.20 → 0.0.22

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.
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ set -e
3
+
4
+ cdk deploy --require-approval never
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@candlerip/shared",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "=22.19.0"
7
7
  },
8
8
  "main": "src/index.js",
9
9
  "bin": {
10
+ "crs-cdk-deploy": "devops/cdk/cdk-deploy.sh",
10
11
  "crs-create-env-file": "devops/environment/create-env-file.sh",
11
12
  "crs-publish-to-docker-hub": "./devops/docker/publish-to-docker-hub.sh",
12
13
  "crs-eslint": "devops/eslint/eslint.sh",
@@ -0,0 +1,2 @@
1
+ import { Envs } from '../environment-variables/index.js';
2
+ export type EnvironmentVariableName = keyof Envs;
@@ -1,5 +1,5 @@
1
1
  import { EnvironmentMode } from '../environment-mode/index.js';
2
- export type EnvironmentVariables = {
2
+ export type Envs = {
3
3
  APP_NAME: string;
4
4
  APP_PORT: number;
5
5
  AWS_REGION: string;
@@ -1,3 +1,3 @@
1
1
  export * from './environment-mode/index.js';
2
- export * from './environment-variable/index.js';
2
+ export * from './environment-variable-name/index.js';
3
3
  export * from './environment-variables/index.js';
@@ -1,3 +1,3 @@
1
1
  export * from './environment-mode/index.js';
2
- export * from './environment-variable/index.js';
2
+ export * from './environment-variable-name/index.js';
3
3
  export * from './environment-variables/index.js';
@@ -1,5 +1,5 @@
1
- import { EnvironmentVariable } from '../../environment/index.js';
1
+ import { EnvironmentVariableName } from 'src/environment';
2
2
  import { ServiceName } from '../service-name/index.js';
3
3
  export type ServiceEnvironmentVariables = {
4
- [key in ServiceName]: EnvironmentVariable[];
4
+ [key in ServiceName]: EnvironmentVariableName[];
5
5
  };
@@ -1,2 +0,0 @@
1
- import { EnvironmentVariables } from '../environment-variables/index.js';
2
- export type EnvironmentVariable = keyof EnvironmentVariables;