timonel 0.1.5 → 0.1.6
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 +8 -0
- package/README.md +9 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.6] - 2025-01-02
|
|
11
|
+
|
|
12
|
+
### Structure
|
|
13
|
+
|
|
14
|
+
- Renamed `example/` directory to `examples/` for better clarity
|
|
15
|
+
- Updated linting ignore patterns to use `examples/**`
|
|
16
|
+
- Added Examples section to README documenting available examples
|
|
17
|
+
|
|
10
18
|
## [0.1.5] - 2025-01-02
|
|
11
19
|
|
|
12
20
|
### Linting
|
package/README.md
CHANGED
|
@@ -161,6 +161,15 @@ factory.addDeployment({
|
|
|
161
161
|
factory.write('dist/charts/my-app');
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
+
## Examples
|
|
165
|
+
|
|
166
|
+
The `examples/` directory contains complete working examples:
|
|
167
|
+
|
|
168
|
+
- **aws-game-2048**: AWS 2048 game deployment with Service and Ingress
|
|
169
|
+
- **wordpress**: WordPress with MySQL database setup
|
|
170
|
+
|
|
171
|
+
Each example includes its own README with deployment instructions.
|
|
172
|
+
|
|
164
173
|
- `valuesRef(path)`: returns a Helm placeholder string for `.Values.*`.
|
|
165
174
|
- You can pass these strings directly into cdk8s constructs; they are preserved in the YAML.
|
|
166
175
|
- `template(name, ctx='.')` and `include(name, ctx='.')`: inject calls to helpers defined in `_helpers.tpl`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "timonel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Timonel: programmatic Helm chart factory using cdk8s (TypeScript)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"timonel": "dist/cli.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"prepare": "husky",
|
|
26
26
|
"prepack": "pnpm build",
|
|
27
27
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
28
|
-
"lint": "eslint . --ext .ts,.tsx --ignore-pattern '
|
|
28
|
+
"lint": "eslint . --ext .ts,.tsx --ignore-pattern 'examples/**'",
|
|
29
29
|
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
|
30
30
|
"format": "prettier --write .",
|
|
31
31
|
"format:check": "prettier --check .",
|
|
32
|
-
"security:lint": "eslint . --ext .ts,.tsx --ignore-pattern '
|
|
32
|
+
"security:lint": "eslint . --ext .ts,.tsx --ignore-pattern 'examples/**'",
|
|
33
33
|
"security:audit": "pnpm audit --audit-level=moderate",
|
|
34
34
|
"security:check": "pnpm run security:lint && pnpm run security:audit",
|
|
35
35
|
"deps:check": "pnpm outdated",
|