@causa/workspace-terraform 0.8.0 → 0.9.1

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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ISC License
2
2
 
3
- Copyright (c) 2023 Causa
3
+ Copyright (c) 2026 Causa
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
6
6
  purpose with or without fee is hereby granted, provided that the above
@@ -1,3 +1,16 @@
1
+ export declare class Project {
2
+ constructor(init: Project);
3
+ readonly language?: string;
4
+ [property: string]: any;
5
+ }
6
+ /**
7
+ * Refinement of the project configuration with the known Terraform language.
8
+ */
9
+ export declare class TerraformProjectConfiguration {
10
+ constructor(init: TerraformProjectConfiguration);
11
+ readonly project?: Project;
12
+ [property: string]: any;
13
+ }
1
14
  /**
2
15
  * Configuration for Terraform.
3
16
  */
@@ -10,6 +10,30 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  import { AllowMissing } from '@causa/workspace/validation';
12
12
  import { IsString } from 'class-validator';
13
+ export class Project {
14
+ constructor(init) {
15
+ Object.assign(this, init);
16
+ }
17
+ language;
18
+ }
19
+ __decorate([
20
+ AllowMissing(),
21
+ IsString(),
22
+ __metadata("design:type", String)
23
+ ], Project.prototype, "language", void 0);
24
+ /**
25
+ * Refinement of the project configuration with the known Terraform language.
26
+ */
27
+ export class TerraformProjectConfiguration {
28
+ constructor(init) {
29
+ Object.assign(this, init);
30
+ }
31
+ project;
32
+ }
33
+ __decorate([
34
+ AllowMissing(),
35
+ __metadata("design:type", Project)
36
+ ], TerraformProjectConfiguration.prototype, "project", void 0);
13
37
  /**
14
38
  * Configuration for Terraform.
15
39
  */
@@ -0,0 +1,15 @@
1
+ title: TerraformProjectConfiguration
2
+ type: object
3
+ description: Refinement of the project configuration with the known Terraform language.
4
+ properties:
5
+ project:
6
+ type: object
7
+ properties:
8
+ language:
9
+ anyOf:
10
+ - type: string
11
+ - title: TerraformLanguage
12
+ type: string
13
+ enum:
14
+ - terraform
15
+ description: A Terraform project.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@causa/workspace-terraform",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "description": "The Causa workspace module providing functionalities for infrastructure projects coded in Terraform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,26 +34,26 @@
34
34
  "generateConfigurationSchemas": "cs model genCode && perl -pi -e 's|\\@causa/runtime|\\@causa/workspace/validation|g' src/configurations/generated.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@causa/workspace": ">= 0.22.1 < 1.0.0",
38
- "@causa/workspace-core": ">= 0.27.0 < 1.0.0",
39
- "globby": "^16.1.0",
37
+ "@causa/workspace": ">= 0.22.2 < 1.0.0",
38
+ "@causa/workspace-core": ">= 0.28.1 < 1.0.0",
39
+ "globby": "^16.1.1",
40
40
  "pino": "^10.3.1",
41
41
  "semver": "^7.7.4"
42
42
  },
43
43
  "devDependencies": {
44
- "@swc/core": "^1.15.11",
44
+ "@swc/core": "^1.15.18",
45
45
  "@swc/jest": "^0.2.39",
46
46
  "@tsconfig/node20": "^20.1.9",
47
47
  "@types/jest": "^30.0.0",
48
- "@types/node": "^18.19.130",
48
+ "@types/node": "^20.19.37",
49
49
  "@types/semver": "^7.7.1",
50
- "eslint": "^9.39.2",
50
+ "eslint": "^10.0.3",
51
51
  "eslint-config-prettier": "^10.1.8",
52
52
  "eslint-plugin-prettier": "^5.5.5",
53
- "jest": "^30.2.0",
53
+ "jest": "^30.3.0",
54
54
  "jest-extended": "^7.0.0",
55
- "rimraf": "^6.1.2",
55
+ "rimraf": "^6.1.3",
56
56
  "typescript": "^5.9.3",
57
- "typescript-eslint": "^8.55.0"
57
+ "typescript-eslint": "^8.57.0"
58
58
  }
59
59
  }