jsii-pacmak 1.74.0 → 1.75.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.
@@ -141,7 +141,7 @@ class Package {
141
141
  // as a consequence.
142
142
  if (this.types.length > 0) {
143
143
  const { code } = context;
144
- const initFile = (0, path_1.join)(this.directory, `${this.packageName}.go`);
144
+ const initFile = (0, path_1.join)(this.directory, `main.go`);
145
145
  code.openFile(initFile);
146
146
  code.line(`package ${this.packageName}`);
147
147
  code.line();
@@ -169,7 +169,7 @@ class Package {
169
169
  }
170
170
  emitTypes(context) {
171
171
  for (const type of this.types) {
172
- const filePath = (0, path_1.join)(this.directory, `${this.packageName}_${type.name}.go`);
172
+ const filePath = (0, path_1.join)(this.directory, `${type.name}.go`);
173
173
  context.code.openFile(filePath);
174
174
  this.emitHeader(context.code);
175
175
  this.emitImports(context.code, type);
@@ -185,8 +185,8 @@ class Package {
185
185
  if (type.parameterValidators.length === 0 && type.structValidator == null) {
186
186
  return;
187
187
  }
188
- emit.call(this, (0, path_1.join)(this.directory, `${this.packageName}_${type.name}__runtime_type_checks.go`), false);
189
- emit.call(this, (0, path_1.join)(this.directory, `${this.packageName}_${type.name}__no_runtime_type_checking.go`), true);
188
+ emit.call(this, (0, path_1.join)(this.directory, `${type.name}__checks.go`), false);
189
+ emit.call(this, (0, path_1.join)(this.directory, `${type.name}__no_checks.go`), true);
190
190
  function emit(filePath, forNoOp) {
191
191
  code.openFile(filePath);
192
192
  // Conditional compilation tag...
@@ -3,7 +3,7 @@
3
3
  # be installed in the virtual environment used for building the distribution
4
4
  # package (wheel, sdist), but not declared as build-system dependencies.
5
5
 
6
- setuptools~=62.1.0 # build-system
6
+ setuptools~=65.5.1 # build-system
7
7
  wheel~=0.38.4 # build-system
8
8
 
9
9
  twine~=4.0.2
package/lib/version.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** The short version number for this JSII compiler (e.g: `X.Y.Z`) */
2
2
  export declare const VERSION: string;
3
3
  /** The qualified version number for this JSII compiler (e.g: `X.Y.Z (build #######)`) */
4
- export declare const VERSION_DESC = "1.74.0 (build 6d08790)";
4
+ export declare const VERSION_DESC = "1.75.0 (build 63bb957)";
5
5
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
- // Generated at 2023-01-28T18:08:57Z by generate.sh
2
+ // Generated at 2023-02-14T19:01:23Z by generate.sh
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.VERSION_DESC = exports.VERSION = void 0;
5
5
  /** The short version number for this JSII compiler (e.g: `X.Y.Z`) */
6
6
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
7
- exports.VERSION = '1.74.0';
7
+ exports.VERSION = '1.75.0';
8
8
  /** The qualified version number for this JSII compiler (e.g: `X.Y.Z (build #######)`) */
9
- exports.VERSION_DESC = '1.74.0 (build 6d08790)';
9
+ exports.VERSION_DESC = '1.75.0 (build 63bb957)';
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsii-pacmak",
3
- "version": "1.74.0",
3
+ "version": "1.75.0",
4
4
  "description": "A code generation framework for jsii backend languages",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -37,35 +37,35 @@
37
37
  "package": "package-js"
38
38
  },
39
39
  "dependencies": {
40
- "@jsii/check-node": "1.74.0",
41
- "@jsii/spec": "^1.74.0",
40
+ "@jsii/check-node": "1.75.0",
41
+ "@jsii/spec": "^1.75.0",
42
42
  "clone": "^2.1.2",
43
- "codemaker": "^1.74.0",
43
+ "codemaker": "^1.75.0",
44
44
  "commonmark": "^0.30.0",
45
45
  "escape-string-regexp": "^4.0.0",
46
46
  "fs-extra": "^10.1.0",
47
- "jsii-reflect": "^1.74.0",
48
- "jsii-rosetta": "^1.74.0",
47
+ "jsii-reflect": "^1.75.0",
48
+ "jsii-rosetta": "^1.75.0",
49
49
  "semver": "^7.3.8",
50
50
  "spdx-license-list": "^6.6.0",
51
51
  "xmlbuilder": "^15.1.1",
52
52
  "yargs": "^16.2.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@jsii/dotnet-runtime": "^1.74.0",
56
- "@jsii/java-runtime": "^1.74.0",
57
- "@jsii/go-runtime": "^1.74.0",
58
- "@scope/jsii-calc-lib": "^1.74.0",
55
+ "@jsii/dotnet-runtime": "^1.75.0",
56
+ "@jsii/java-runtime": "^1.75.0",
57
+ "@jsii/go-runtime": "^1.75.0",
58
+ "@scope/jsii-calc-lib": "^1.75.0",
59
59
  "@types/clone": "^2.1.1",
60
60
  "@types/diff": "^5.0.2",
61
61
  "@types/commonmark": "^0.27.5",
62
62
  "@types/fs-extra": "^9.0.13",
63
63
  "@types/semver": "^7.3.13",
64
64
  "diff": "^5.1.0",
65
- "jsii": "^1.74.0",
66
- "jsii-build-tools": "^1.74.0",
65
+ "jsii": "^1.75.0",
66
+ "jsii-build-tools": "^1.75.0",
67
67
  "jsii-calc": "^3.20.120",
68
- "pyright": "^1.1.287"
68
+ "pyright": "^1.1.293"
69
69
  },
70
70
  "keywords": [
71
71
  "jsii",