@dsmrt/axiom-aws-sdk 0.2.0 → 0.2.2
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/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/dist/index.js +3 -3
- package/package.json +18 -18
- package/vitest.config.mts +14 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<img alt="Axiom logo" src="../images/axiom-light-mode.svg">
|
|
5
5
|
</picture>
|
|
6
6
|
|
|
7
|
-
# Axiom - AWS SDK
|
|
7
|
+
# Axiom - AWS SDK
|
|
8
8
|
|
|
9
9
|
> An AWS focused config manager
|
|
10
10
|
|
|
@@ -40,7 +40,7 @@ npm install @dsmrt/axiom-aws-sdk
|
|
|
40
40
|
- "ssm:GetParameters"
|
|
41
41
|
- "ssm:GetParametersByPath"
|
|
42
42
|
Resource: !Sub 'arn:aws:ssm:*:*:parameter/${PARAMETER_PATH}/*'
|
|
43
|
-
# OR
|
|
43
|
+
# OR
|
|
44
44
|
Resources:
|
|
45
45
|
LambdaPolicies:
|
|
46
46
|
Type: AWS::IAM::Policy
|
|
@@ -83,5 +83,5 @@ npm install @dsmrt/axiom-aws-sdk
|
|
|
83
83
|
## Acknowledgements
|
|
84
84
|
|
|
85
85
|
- [Nate Iler](https://github.com/nateiler)
|
|
86
|
+
- [Go Mondo](https://www.go-mondo.com)
|
|
86
87
|
- [Flipbox Digital](https://www.flipboxdigital.com)
|
|
87
|
-
- [Go Mondo](https://www.flipboxdigital.com)
|
package/dist/index.js
CHANGED
|
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
ParameterCollection: () => ParameterCollection,
|
|
24
24
|
extractParamValue: () => extractParamValue,
|
|
25
25
|
getParameters: () => getParameters,
|
|
26
26
|
getParametersByPath: () => getParametersByPath,
|
|
27
27
|
ssmClient: () => ssmClient
|
|
28
28
|
});
|
|
29
|
-
module.exports = __toCommonJS(
|
|
29
|
+
module.exports = __toCommonJS(index_exports);
|
|
30
30
|
|
|
31
31
|
// src/ssm-parameters.ts
|
|
32
32
|
var import_client_ssm = require("@aws-sdk/client-ssm");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsmrt/axiom-aws-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "AWS sdk library for working with axiom cli",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -24,29 +24,29 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@changesets/cli": "^2.27.
|
|
28
|
-
"@types/node": "^20.
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
30
|
-
"@typescript-eslint/parser": "^6.
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"vitest": "^1.
|
|
27
|
+
"@changesets/cli": "^2.27.11",
|
|
28
|
+
"@types/node": "^20.17.10",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
30
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
31
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
32
|
+
"eslint": "^8.57.1",
|
|
33
|
+
"prettier": "^3.4.2",
|
|
34
|
+
"ts-node": "^10.9.2",
|
|
35
|
+
"tsup": "^8.3.5",
|
|
36
|
+
"typescript": "^5.7.2",
|
|
37
|
+
"vitest": "^1.6.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@aws-sdk/client-ssm": "^3.
|
|
41
|
-
"@aws-sdk/client-sts": "^3.
|
|
42
|
-
"@aws-sdk/credential-providers": "^3.
|
|
43
|
-
"@aws-sdk/types": "^3.
|
|
40
|
+
"@aws-sdk/client-ssm": "^3.716.0",
|
|
41
|
+
"@aws-sdk/client-sts": "^3.716.0",
|
|
42
|
+
"@aws-sdk/credential-providers": "^3.716.0",
|
|
43
|
+
"@aws-sdk/types": "^3.714.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"lint": "eslint ./src/ --ext .ts",
|
|
47
47
|
"lint:fix": "eslint ./src/ --ext .ts --fix",
|
|
48
|
-
"test": "vitest run --coverage
|
|
49
|
-
"watch": "vitest watch --coverage
|
|
48
|
+
"test": "vitest run --coverage",
|
|
49
|
+
"watch": "vitest watch --coverage",
|
|
50
50
|
"build": "tsup --entry ./src/bin/axiom.ts --entry ./src/index.ts --format cjs,esm --dts --clean",
|
|
51
51
|
"release": "pnpm run build && pnpm changeset publish"
|
|
52
52
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// vitest.config.ts
|
|
2
|
+
import { defineConfig } from "vitest/config";
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
test: {
|
|
6
|
+
include: ["src/**/*.test.ts"],
|
|
7
|
+
coverage: {
|
|
8
|
+
provider: "v8",
|
|
9
|
+
all: true,
|
|
10
|
+
exclude: ["lib/**/*", "src/__mocks__/**/*"],
|
|
11
|
+
reporter: ["text-summary", "json-summary"],
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
});
|