@znemz/cfn-include 4.0.0 → 4.1.0
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/lib/schema.d.ts +2 -1
- package/dist/lib/schema.d.ts.map +1 -1
- package/package.json +11 -8
package/dist/lib/schema.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import yaml from 'js-yaml';
|
|
1
2
|
export declare const BANG_AMAZON_FUNCS: string[];
|
|
2
3
|
export declare const EXPLICIT_AMAZON_FUNCS: string[];
|
|
3
|
-
declare const yamlSchema:
|
|
4
|
+
declare const yamlSchema: yaml.Schema;
|
|
4
5
|
/**
|
|
5
6
|
* Test the function key to make sure it's something we should process.
|
|
6
7
|
*/
|
package/dist/lib/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/lib/schema.ts"],"names":[],"mappings":"AA+
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/lib/schema.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AA+F3B,eAAO,MAAM,iBAAiB,UAmB7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,UAA2C,CAAC;AAE9E,QAAA,MAAM,UAAU,aAAmC,CAAC;AAEpD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAErE;AAED,eAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@znemz/cfn-include",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Preprocessor for CloudFormation templates with support for loops and flexible include statements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -49,9 +49,11 @@
|
|
|
49
49
|
"prepare": "sort-package-json",
|
|
50
50
|
"prepublishOnly": "npm run build:clean",
|
|
51
51
|
"serve": "serve ./t/fixtures -l 9999",
|
|
52
|
-
"test": "npm run build &&
|
|
53
|
-
"test:
|
|
54
|
-
"test:
|
|
52
|
+
"test": "npm run build && run-p -r serve test:run",
|
|
53
|
+
"test:coverage": "npm run build && run-p -r serve test:coverage:run",
|
|
54
|
+
"test:coverage:run": "sleep 1 && vitest run --coverage",
|
|
55
|
+
"test:run": "sleep 1 && vitest run",
|
|
56
|
+
"test:watch": "npm run build && run-p -r serve vitest",
|
|
55
57
|
"typecheck": "tsc --noEmit"
|
|
56
58
|
},
|
|
57
59
|
"overrides": {
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
"dependencies": {
|
|
61
63
|
"@aws-sdk/client-cloudformation": "^3.637.0",
|
|
62
64
|
"@aws-sdk/client-s3": "^3.637.0",
|
|
63
|
-
"@znemz/cft-utils": "0.1.
|
|
65
|
+
"@znemz/cft-utils": "0.1.34",
|
|
64
66
|
"@znemz/sort-object": "^3.0.4",
|
|
65
67
|
"aws-sdk-v3-proxy": "2.2.0",
|
|
66
68
|
"deepmerge": "^4.2.2",
|
|
@@ -74,21 +76,22 @@
|
|
|
74
76
|
"devDependencies": {
|
|
75
77
|
"@commitlint/cli": "^20",
|
|
76
78
|
"@commitlint/config-conventional": "^20",
|
|
79
|
+
"@types/js-yaml": "^4.0.9",
|
|
77
80
|
"@types/lodash": "^4.17.23",
|
|
78
81
|
"@types/node": "^25.2.2",
|
|
82
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
79
83
|
"better-npm-audit": "3.11.0",
|
|
80
84
|
"commit-and-tag-version": "12",
|
|
81
85
|
"commitlint": "20",
|
|
82
86
|
"eslint": "9",
|
|
83
87
|
"eslint-config-prettier": "10",
|
|
84
|
-
"eslint-plugin-mocha": "11",
|
|
85
88
|
"eslint-plugin-prettier": "5",
|
|
86
|
-
"mocha": "11.7.5",
|
|
87
89
|
"npm-run-all": "4.1.5",
|
|
88
90
|
"prettier": "3",
|
|
89
91
|
"serve": "14.2.5",
|
|
90
92
|
"sort-package-json": "3.6.1",
|
|
91
|
-
"typescript": "^5.9.3"
|
|
93
|
+
"typescript": "^5.9.3",
|
|
94
|
+
"vitest": "^4.0.18"
|
|
92
95
|
},
|
|
93
96
|
"engines": {
|
|
94
97
|
"node": ">=20.19"
|