@rio-cloud/cdk-v2-constructs 7.13.5-alpha.0 → 7.13.5-alpha.2
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/docs/changelog.md +4 -0
- package/package.json +2 -2
- package/version.json +1 -1
- package/.gitattributes +0 -15
- package/.versionrc.json +0 -14
- package/catalog-info.yaml +0 -13
- package/esbuild.mjs +0 -48
- package/mkdocs.yaml +0 -12
- package/release-commit-check.js +0 -6
- package/scripts/publish.sh +0 -32
- package/scripts/set-package-version.ts +0 -24
package/docs/changelog.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [7.13.5-alpha.2](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv7.13.5-alpha.1&sourceBranch=refs%2Ftags%2Fv7.13.5-alpha.2) (2025-12-10)
|
|
6
|
+
|
|
7
|
+
## [7.13.5-alpha.1](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv7.13.5-alpha.0&sourceBranch=refs%2Ftags%2Fv7.13.5-alpha.1) (2025-12-10)
|
|
8
|
+
|
|
5
9
|
## [7.13.5-alpha.0](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv7.13.4&sourceBranch=refs%2Ftags%2Fv7.13.5-alpha.0) (2025-12-10)
|
|
6
10
|
|
|
7
11
|
## [7.13.4](https://bitbucket.collaboration-man.com/projects/RIODEV/repos/cdk-v2-constructs/compare/commits?targetBranch=refs%2Ftags%2Fv7.13.3&sourceBranch=refs%2Ftags%2Fv7.13.4) (2025-12-09)
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "lib/index.js",
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
|
-
"version": "7.13.5-alpha.
|
|
18
|
+
"version": "7.13.5-alpha.2",
|
|
19
19
|
"types": "lib/index.d.ts",
|
|
20
20
|
"stability": "stable",
|
|
21
21
|
"exports": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"release:alpha": "npm run release:check && npm run release:build:alpha",
|
|
72
72
|
"release:dry-run": "npm run build && npm run docgen && npm run release:check && commit-and-tag-version -i docs/changelog.md -a --dry-run",
|
|
73
73
|
"set-package-version": "ts-node --project tsconfig.dev.json scripts/set-package-version.ts",
|
|
74
|
-
"publish": "./scripts/publish.sh"
|
|
74
|
+
"release:publish": "./scripts/publish.sh"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/jest": "29.5.13",
|
package/version.json
CHANGED
package/.gitattributes
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
|
|
2
|
-
|
|
3
|
-
*.snap linguist-generated
|
|
4
|
-
/.eslintrc.json linguist-generated
|
|
5
|
-
/.gitattributes linguist-generated
|
|
6
|
-
/.gitignore linguist-generated
|
|
7
|
-
/.npmignore linguist-generated
|
|
8
|
-
/.projen/** linguist-generated
|
|
9
|
-
/.projen/deps.json linguist-generated
|
|
10
|
-
/.projen/files.json linguist-generated
|
|
11
|
-
/.projen/tasks.json linguist-generated
|
|
12
|
-
/LICENSE linguist-generated
|
|
13
|
-
/package-lock.json linguist-generated
|
|
14
|
-
/package.json linguist-generated
|
|
15
|
-
/tsconfig.dev.json linguist-generated
|
package/.versionrc.json
DELETED
package/catalog-info.yaml
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
apiVersion: backstage.io/v1alpha1
|
|
2
|
-
kind: Component
|
|
3
|
-
metadata:
|
|
4
|
-
name: cdk-v2-constructs
|
|
5
|
-
description: the
|
|
6
|
-
annotations:
|
|
7
|
-
backstage.io/techdocs-ref: dir:.
|
|
8
|
-
links:
|
|
9
|
-
- url: https://www.npmjs.com/package/@rio-cloud/cdk-v2-constructs
|
|
10
|
-
spec:
|
|
11
|
-
type: library
|
|
12
|
-
lifecycle: active-development
|
|
13
|
-
owner: rio-team-claid
|
package/esbuild.mjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as esbuild from 'esbuild';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const entryPoints = [
|
|
5
|
-
{
|
|
6
|
-
basePath: 'fargate/codedeploy-custom-resources',
|
|
7
|
-
fileName: 'create-deployment-on-create.ts',
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
basePath: 'fargate/codedeploy-custom-resources',
|
|
11
|
-
fileName: 'create-deployment-is-complete.ts',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
basePath: 'fargate/codedeploy-custom-resources',
|
|
15
|
-
fileName: 'run-monitoring-test-suite-runner.ts',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
basePath: 'datadogv2/secret-locator-custom-resource',
|
|
19
|
-
fileName: 'on-create.ts',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
basePath: 'datadogv2/service-catalog-custom-resource',
|
|
23
|
-
fileName: 'on-create.ts',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
basePath: 'ses/lambda',
|
|
27
|
-
fileName: 'ses-logger.ts',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
basePath: 'contributions/team-transport-two/datadog-synthetics/datadog-synthetics-test-custom-resource',
|
|
31
|
-
fileName: 'handler.ts',
|
|
32
|
-
},
|
|
33
|
-
]
|
|
34
|
-
|
|
35
|
-
for (const handler of entryPoints) {
|
|
36
|
-
await esbuild.build({
|
|
37
|
-
entryPoints: [`src/${handler.basePath}/${handler.fileName}`],
|
|
38
|
-
bundle: true,
|
|
39
|
-
platform: 'node',
|
|
40
|
-
format: 'cjs',
|
|
41
|
-
outExtension: {
|
|
42
|
-
'.js': '.cjs',
|
|
43
|
-
},
|
|
44
|
-
outdir: `lib/${handler.basePath}`,
|
|
45
|
-
tsconfig: './tsconfig.json',
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
package/mkdocs.yaml
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
site_name: 'RIO Kafka backup documentation'
|
|
2
|
-
|
|
3
|
-
nav:
|
|
4
|
-
- "User Guide": index.md
|
|
5
|
-
- "Developer Guide": developers-readme.md
|
|
6
|
-
- "API Docs": API.md
|
|
7
|
-
- "Changelog": changelog.md
|
|
8
|
-
- "CDK v1 Migration Guide": migration_guide.md
|
|
9
|
-
- "Contribution": contribution.md
|
|
10
|
-
|
|
11
|
-
plugins:
|
|
12
|
-
- techdocs-core
|
package/release-commit-check.js
DELETED
package/scripts/publish.sh
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
set -euo pipefail
|
|
3
|
-
|
|
4
|
-
echo $(pwd)
|
|
5
|
-
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
6
|
-
PACKAGE_NAME='@rio-cloud/cdk-v2-constructs'
|
|
7
|
-
PACKAGE_JSON="$ROOT_DIR/package.json"
|
|
8
|
-
|
|
9
|
-
cd "$ROOT_DIR"
|
|
10
|
-
|
|
11
|
-
if ! git describe --tags --exact-match HEAD >/dev/null 2>&1; then
|
|
12
|
-
echo "No tag found; skipping publish"
|
|
13
|
-
exit 0
|
|
14
|
-
fi
|
|
15
|
-
|
|
16
|
-
VERSION="$(jq -r '.version // empty' "$PACKAGE_JSON")"
|
|
17
|
-
|
|
18
|
-
if [[ -z "$VERSION" ]]; then
|
|
19
|
-
echo "package.json must contain a version"
|
|
20
|
-
exit 1
|
|
21
|
-
fi
|
|
22
|
-
|
|
23
|
-
if npm view "${PACKAGE_NAME}@${VERSION}" version >/dev/null 2>&1; then
|
|
24
|
-
echo "✅ Version ${VERSION} already exists, skipping publish"
|
|
25
|
-
exit 0
|
|
26
|
-
fi
|
|
27
|
-
|
|
28
|
-
echo "🚀 Publishing ${PACKAGE_NAME}@${VERSION}"
|
|
29
|
-
if ! npm publish --access public; then
|
|
30
|
-
echo "npm publish failed. You might need to create a new token on npmjs.com" >&2
|
|
31
|
-
exit 1
|
|
32
|
-
fi
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ts-node
|
|
2
|
-
import { readFileSync, writeFileSync } from 'fs';
|
|
3
|
-
import * as path from 'path';
|
|
4
|
-
|
|
5
|
-
const rootDir = path.resolve(__dirname, '..');
|
|
6
|
-
const versionFile = path.join(rootDir, 'version.json');
|
|
7
|
-
const packageFile = path.join(rootDir, 'package.json');
|
|
8
|
-
|
|
9
|
-
type VersionFile = {
|
|
10
|
-
version?: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
function main(): void {
|
|
14
|
-
const { version } = JSON.parse(readFileSync(versionFile, 'utf8')) as VersionFile;
|
|
15
|
-
if (!version) {
|
|
16
|
-
throw new Error('version.json must contain a version field');
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const pkg = JSON.parse(readFileSync(packageFile, 'utf8')) as Record<string, unknown>;
|
|
20
|
-
const updated = { ...pkg, version };
|
|
21
|
-
writeFileSync(packageFile, `${JSON.stringify(updated, null, 2)}\n`, 'utf8');
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
main();
|