env-secrets 0.1.1 → 0.1.3

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,16 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "npm"
4
+ versioning-strategy: increase
5
+ directory: "/"
6
+ schedule:
7
+ interval: "monthly"
8
+ labels:
9
+ - "dependencies"
10
+ open-pull-requests-limit: 100
11
+ pull-request-branch-name:
12
+ separator: "-"
13
+ ignore:
14
+ - dependency-name: "fs-extra"
15
+ - dependency-name: "*"
16
+ update-types: ["version-update:semver-major"]
package/README.md CHANGED
@@ -19,7 +19,7 @@ DEBUG=env-secrets,env-secrets:secretsmanager npx ts-node src/index.ts aws -s loc
19
19
  Login into npm
20
20
 
21
21
  ```
22
- npm Login
22
+ npm login
23
23
  ```
24
24
 
25
25
  Try a dry run:
package/dist/version.js CHANGED
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LIB_VERSION = void 0;
4
- exports.LIB_VERSION = "0.1.0";
4
+ const package_json_1 = require("../package.json");
5
+ exports.LIB_VERSION = package_json_1.version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "env-secrets",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "get secrets from a secrets vault and inject them into the running environment",
5
5
  "main": "index.js",
6
6
  "author": "Mark C Allen (@markcallen)",
@@ -9,8 +9,7 @@
9
9
  "license": "MIT",
10
10
  "private": false,
11
11
  "scripts": {
12
- "prebuild": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
13
- "build": "rimraf ./dist && tsc -b",
12
+ "build": "rimraf ./dist && tsc -b src",
14
13
  "postbuild": "chmod 755 ./dist/index.js",
15
14
  "lint": "eslint . --ext .ts",
16
15
  "release": "release-it",
@@ -19,20 +18,20 @@
19
18
  },
20
19
  "devDependencies": {
21
20
  "@types/debug": "^4.1.7",
22
- "@types/node": "^18.11.9",
23
- "@typescript-eslint/eslint-plugin": "^5.43.0",
24
- "@typescript-eslint/parser": "^5.43.0",
25
- "eslint": "^8.27.0",
21
+ "@types/node": "^18.11.18",
22
+ "@typescript-eslint/eslint-plugin": "^5.48.0",
23
+ "@typescript-eslint/parser": "^5.48.0",
24
+ "eslint": "^8.31.0",
26
25
  "eslint-config-prettier": "^8.5.0",
27
26
  "eslint-plugin-prettier": "^4.2.1",
28
- "prettier": "^2.7.1",
29
- "release-it": "^15.5.0",
27
+ "prettier": "^2.8.1",
28
+ "release-it": "^15.6.0",
30
29
  "rimraf": "^3.0.2",
31
30
  "ts-node": "^10.9.1",
32
- "typescript": "^4.8.4"
31
+ "typescript": "^4.9.4"
33
32
  },
34
33
  "dependencies": {
35
- "aws-sdk": "^2.1257.0",
34
+ "aws-sdk": "^2.1287.0",
36
35
  "commander": "^9.4.1",
37
36
  "debug": "^4.3.4"
38
37
  },
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es2016",
4
+ "lib": [
5
+ "es6"
6
+ ],
7
+ "module": "commonjs",
8
+ "rootDir": ".",
9
+ "resolveJsonModule": true,
10
+ "allowJs": true,
11
+ "outDir": "../dist",
12
+ "esModuleInterop": true,
13
+ "forceConsistentCasingInFileNames": true,
14
+ "strict": true,
15
+ "noImplicitAny": true,
16
+ "skipLibCheck": true
17
+ },
18
+ "references": [
19
+ {
20
+ "path": "../"
21
+ }
22
+ ]
23
+ }
package/src/version.ts CHANGED
@@ -1 +1,3 @@
1
- export const LIB_VERSION = "0.1.0";
1
+ import { version } from '../package.json';
2
+
3
+ export const LIB_VERSION = version;
package/tsconfig.json CHANGED
@@ -1,16 +1,11 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es2016",
4
- "lib": ["es6"],
5
- "module": "commonjs",
6
- "rootDir": "src",
3
+ "rootDir": ".",
4
+ "outDir": ".",
7
5
  "resolveJsonModule": true,
8
- "allowJs": true,
9
- "outDir": "dist",
10
- "esModuleInterop": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "strict": true,
13
- "noImplicitAny": true,
14
- "skipLibCheck": true
15
- }
6
+ "composite": true
7
+ },
8
+ "files": [
9
+ "package.json"
10
+ ]
16
11
  }