@worktif/runtime 0.3.0-edge.11 → 0.3.0-edge.12

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.
@@ -14,7 +14,7 @@
14
14
  "info": "purenow info"
15
15
  },
16
16
  "dependencies": {
17
- "@worktif/runtime": "^0.3.0-edge.11",
17
+ "@worktif/runtime": "^0.3.0-edge.12",
18
18
  "react": "^19.1.1",
19
19
  "react-dom": "^19.1.1",
20
20
  "react-router": "^7.7.1"
@@ -0,0 +1,2 @@
1
+ export * from './stack-name-sanitizer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Sanitizes a stack name to be compatible with AWS CloudFormation naming requirements.
3
+ *
4
+ * CloudFormation stack names must:
5
+ * - Be 1-128 characters long
6
+ * - Contain only alphanumeric characters and hyphens
7
+ * - Start with an alphabetic character
8
+ * - Not end with a hyphen
9
+ *
10
+ * @param name - The stack name to sanitize
11
+ * @returns The sanitized stack name
12
+ */
13
+ export declare function sanitizeStackName(name: string): string;
14
+ //# sourceMappingURL=stack-name-sanitizer.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './stack-name-sanitizer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAgBA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Sanitizes a stack name to be compatible with AWS CloudFormation naming requirements.
3
+ *
4
+ * CloudFormation stack names must:
5
+ * - Be 1-128 characters long
6
+ * - Contain only alphanumeric characters and hyphens
7
+ * - Start with an alphabetic character
8
+ * - Not end with a hyphen
9
+ *
10
+ * @param name - The stack name to sanitize
11
+ * @returns The sanitized stack name
12
+ */
13
+ export declare function sanitizeStackName(name: string): string;
14
+ //# sourceMappingURL=stack-name-sanitizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stack-name-sanitizer.d.ts","sourceRoot":"","sources":["../../../../src/utils/stack-name-sanitizer.ts"],"names":[],"mappings":"AAgBA;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA8BtD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktif/runtime",
3
- "version": "0.3.0-edge.11",
3
+ "version": "0.3.0-edge.12",
4
4
  "description": "Serverless web framework running on AWS Lambda with support for server-side rendering, caching, and CI/CD.",
5
5
  "repository": "git@bitbucket.org:worktif/runtime-target.git",
6
6
  "author": "Raman Marozau <raman@worktif.com>",
@@ -121,7 +121,9 @@
121
121
  },
122
122
  "dependencies": {
123
123
  "@worktif/purenow": "^0.3.0-rc.24",
124
- "@worktif/utils": "^0.2.32"
124
+ "@worktif/utils": "^0.2.32",
125
+ "aws-cdk-lib": "^2.172.0",
126
+ "constructs": "^10.4.2"
125
127
  },
126
128
  "devDependencies": {
127
129
  "@testing-library/dom": "^10.4.1",
@@ -137,9 +139,7 @@
137
139
  "@types/react-is": "^19.0.0",
138
140
  "@types/react-router-dom": "^5.3.3",
139
141
  "@types/ws": "^8.18.1",
140
- "aws-cdk-lib": "^2.172.0",
141
142
  "aws-sdk-client-mock": "^4.1.0",
142
- "constructs": "^10.4.2",
143
143
  "fast-check": "^4.3.0",
144
144
  "jest": "^29.7.0",
145
145
  "jest-environment-jsdom": "^29.7.0",