jsii-pacmak 1.77.0 → 1.78.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/generate.sh +2 -2
- package/lib/targets/dotnet/filegenerator.js +2 -3
- package/lib/targets/python.js +2 -3
- package/lib/version.d.ts +3 -3
- package/lib/version.js +5 -5
- package/package.json +12 -12
package/generate.sh
CHANGED
|
@@ -14,10 +14,10 @@ VERSION=$(node -p "require('./package.json').version.replace(/\\+[0-9a-f]+\$/, '
|
|
|
14
14
|
cat > lib/version.ts <<HERE
|
|
15
15
|
// Generated at $(date -u +"%Y-%m-%dT%H:%M:%SZ") by generate.sh
|
|
16
16
|
|
|
17
|
-
/** The short version number for this
|
|
17
|
+
/** The short version number for this jsii-pacmak release (e.g: \`X.Y.Z\`) */
|
|
18
18
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
19
19
|
export const VERSION: string = '${VERSION}';
|
|
20
20
|
|
|
21
|
-
/** The qualified version number for this
|
|
21
|
+
/** The qualified version number for this jsii-pacmak release (e.g: \`X.Y.Z (build #######)\`) */
|
|
22
22
|
export const VERSION_DESC = '${VERSION} (build ${commit:0:7}${suffix:-})';
|
|
23
23
|
HERE
|
|
@@ -5,6 +5,7 @@ const path = require("path");
|
|
|
5
5
|
const xmlbuilder = require("xmlbuilder");
|
|
6
6
|
const __1 = require("..");
|
|
7
7
|
const logging = require("../../logging");
|
|
8
|
+
const version_1 = require("../../version");
|
|
8
9
|
const dotnet_1 = require("../dotnet");
|
|
9
10
|
const version_utils_1 = require("../version-utils");
|
|
10
11
|
const nameutils_1 = require("./nameutils");
|
|
@@ -96,12 +97,10 @@ class FileGenerator {
|
|
|
96
97
|
const itemGroup1 = rootNode.ele('ItemGroup');
|
|
97
98
|
const embeddedResource = itemGroup1.ele('EmbeddedResource');
|
|
98
99
|
embeddedResource.att('Include', this.tarballFileName);
|
|
99
|
-
// Strip " (build abcdef)" from the jsii version
|
|
100
|
-
const jsiiVersion = assembly.jsiiVersion.replace(/ .*$/, '');
|
|
101
100
|
const itemGroup2 = rootNode.ele('ItemGroup');
|
|
102
101
|
const packageReference = itemGroup2.ele('PackageReference');
|
|
103
102
|
packageReference.att('Include', 'Amazon.JSII.Runtime');
|
|
104
|
-
packageReference.att('Version', (0, version_utils_1.toNuGetVersionRange)(`^${
|
|
103
|
+
packageReference.att('Version', (0, version_utils_1.toNuGetVersionRange)(`^${version_1.VERSION}`));
|
|
105
104
|
dependencies.forEach((value) => {
|
|
106
105
|
if (value.partOfCompilation) {
|
|
107
106
|
const dependencyReference = itemGroup2.ele('ProjectReference');
|
package/lib/targets/python.js
CHANGED
|
@@ -25,6 +25,7 @@ const logging_1 = require("../logging");
|
|
|
25
25
|
const markdown_1 = require("../markdown");
|
|
26
26
|
const target_1 = require("../target");
|
|
27
27
|
const util_1 = require("../util");
|
|
28
|
+
const version_1 = require("../version");
|
|
28
29
|
const _utils_1 = require("./_utils");
|
|
29
30
|
const type_name_1 = require("./python/type-name");
|
|
30
31
|
const util_2 = require("./python/util");
|
|
@@ -1428,8 +1429,6 @@ class Package {
|
|
|
1428
1429
|
code.line(this.rootModule?.moduleDocumentation ??
|
|
1429
1430
|
`${this.name}\n${'='.repeat(this.name.length)}`);
|
|
1430
1431
|
code.closeFile('README.md');
|
|
1431
|
-
// Strip " (build abcdef)" from the jsii version
|
|
1432
|
-
const jsiiVersionSimple = (0, version_utils_1.toReleaseVersion)(this.metadata.jsiiVersion.replace(/ .*$/, ''), index_1.TargetName.PYTHON);
|
|
1433
1432
|
const setupKwargs = {
|
|
1434
1433
|
name: this.name,
|
|
1435
1434
|
version: this.version,
|
|
@@ -1452,7 +1451,7 @@ class Package {
|
|
|
1452
1451
|
package_data: packageData,
|
|
1453
1452
|
python_requires: '~=3.7',
|
|
1454
1453
|
install_requires: [
|
|
1455
|
-
`jsii${(0, version_utils_1.toPythonVersionRange)(`^${
|
|
1454
|
+
`jsii${(0, version_utils_1.toPythonVersionRange)(`^${version_1.VERSION}`)}`,
|
|
1456
1455
|
'publication>=0.0.3',
|
|
1457
1456
|
'typeguard~=2.13.3',
|
|
1458
1457
|
]
|
package/lib/version.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** The short version number for this
|
|
1
|
+
/** The short version number for this jsii-pacmak release (e.g: `X.Y.Z`) */
|
|
2
2
|
export declare const VERSION: string;
|
|
3
|
-
/** The qualified version number for this
|
|
4
|
-
export declare const VERSION_DESC = "1.
|
|
3
|
+
/** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
|
|
4
|
+
export declare const VERSION_DESC = "1.78.1 (build 878761e)";
|
|
5
5
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/version.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Generated at 2023-03-
|
|
2
|
+
// Generated at 2023-03-16T17:38:59Z by generate.sh
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.VERSION_DESC = exports.VERSION = void 0;
|
|
5
|
-
/** The short version number for this
|
|
5
|
+
/** The short version number for this jsii-pacmak release (e.g: `X.Y.Z`) */
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
7
|
-
exports.VERSION = '1.
|
|
8
|
-
/** The qualified version number for this
|
|
9
|
-
exports.VERSION_DESC = '1.
|
|
7
|
+
exports.VERSION = '1.78.1';
|
|
8
|
+
/** The qualified version number for this jsii-pacmak release (e.g: `X.Y.Z (build #######)`) */
|
|
9
|
+
exports.VERSION_DESC = '1.78.1 (build 878761e)';
|
|
10
10
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsii-pacmak",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.78.1",
|
|
4
4
|
"description": "A code generation framework for jsii backend languages",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,33 +37,33 @@
|
|
|
37
37
|
"package": "package-js"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@jsii/check-node": "1.
|
|
41
|
-
"@jsii/spec": "^1.
|
|
40
|
+
"@jsii/check-node": "1.78.1",
|
|
41
|
+
"@jsii/spec": "^1.78.1",
|
|
42
42
|
"clone": "^2.1.2",
|
|
43
|
-
"codemaker": "^1.
|
|
43
|
+
"codemaker": "^1.78.1",
|
|
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.
|
|
48
|
-
"jsii-rosetta": "^1.
|
|
47
|
+
"jsii-reflect": "^1.78.1",
|
|
48
|
+
"jsii-rosetta": "^1.78.1",
|
|
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.
|
|
56
|
-
"@jsii/java-runtime": "^1.
|
|
57
|
-
"@jsii/go-runtime": "^1.
|
|
58
|
-
"@scope/jsii-calc-lib": "^1.
|
|
55
|
+
"@jsii/dotnet-runtime": "^1.78.1",
|
|
56
|
+
"@jsii/java-runtime": "^1.78.1",
|
|
57
|
+
"@jsii/go-runtime": "^1.78.1",
|
|
58
|
+
"@scope/jsii-calc-lib": "^1.78.1",
|
|
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.
|
|
66
|
-
"jsii-build-tools": "^1.
|
|
65
|
+
"jsii": "^1.78.1",
|
|
66
|
+
"jsii-build-tools": "^1.78.1",
|
|
67
67
|
"jsii-calc": "^3.20.120",
|
|
68
68
|
"pyright": "^1.1.296"
|
|
69
69
|
},
|