aws-delivlib 14.10.20 → 14.10.21

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.
Files changed (3) hide show
  1. package/package.json +10 -10
  2. package/.gitattributes +0 -23
  3. package/.projenrc.ts +0 -131
package/package.json CHANGED
@@ -38,25 +38,25 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/adm-zip": "^0.5.5",
41
- "@types/aws-lambda": "^8.10.130",
41
+ "@types/aws-lambda": "^8.10.131",
42
42
  "@types/follow-redirects": "^1.14.4",
43
43
  "@types/fs-extra": "^9.0.13",
44
44
  "@types/jest": "^29.5.11",
45
45
  "@types/node": "^18",
46
- "@types/tar": "^6.1.10",
46
+ "@types/tar": "^6.1.11",
47
47
  "@typescript-eslint/eslint-plugin": "^6",
48
48
  "@typescript-eslint/parser": "^6",
49
49
  "adm-zip": "^0.5.10",
50
- "aws-cdk": "^2.115.0",
50
+ "aws-cdk": "^2.123.0",
51
51
  "aws-cdk-lib": "^2.76.0",
52
- "aws-sdk": "^2.1520.0",
53
- "aws-sdk-mock": "^5.8.0",
52
+ "aws-sdk": "^2.1544.0",
53
+ "aws-sdk-mock": "^5.9.0",
54
54
  "constructs": "^10.1.31",
55
- "esbuild": "^0.19.9",
55
+ "esbuild": "^0.19.12",
56
56
  "eslint": "^8",
57
57
  "eslint-import-resolver-typescript": "^2.7.1",
58
58
  "eslint-plugin-import": "^2.29.1",
59
- "follow-redirects": "^1.15.3",
59
+ "follow-redirects": "^1.15.5",
60
60
  "fs-extra": "^10.1.0",
61
61
  "jest": "^29",
62
62
  "jest-create-mock-instance": "^2.0.0",
@@ -64,11 +64,11 @@
64
64
  "JSONStream": "^1.3.5",
65
65
  "minipass": "3.2.1",
66
66
  "node-ical": "0.15.1",
67
- "projen": "^0.77.6",
67
+ "projen": "^0.79.3",
68
68
  "rrule": "^2.8.1",
69
69
  "standard-version": "^9",
70
70
  "tar": "^6.2.0",
71
- "ts-jest": "^29.1.1",
71
+ "ts-jest": "^29.1.2",
72
72
  "ts-node": "^10.9.2",
73
73
  "typescript": "~4.9.5"
74
74
  },
@@ -90,7 +90,7 @@
90
90
  },
91
91
  "main": "lib/index.js",
92
92
  "license": "Apache-2.0",
93
- "version": "14.10.20",
93
+ "version": "14.10.21",
94
94
  "jest": {
95
95
  "testMatch": [
96
96
  "**/lib/__tests__/**/?(*.)+(spec|test).js?(x)"
package/.gitattributes DELETED
@@ -1,23 +0,0 @@
1
- # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
2
-
3
- *.snap linguist-generated
4
- /.eslintrc.json linguist-generated
5
- /.gitattributes linguist-generated
6
- /.github/workflows/auto-approve.yml linguist-generated
7
- /.github/workflows/build.yml linguist-generated
8
- /.github/workflows/pull-request-lint.yml linguist-generated
9
- /.github/workflows/release.yml linguist-generated
10
- /.github/workflows/upgrade-main.yml linguist-generated
11
- /.gitignore linguist-generated
12
- /.mergify.yml linguist-generated
13
- /.npmignore linguist-generated
14
- /.projen/** linguist-generated
15
- /.projen/deps.json linguist-generated
16
- /.projen/files.json linguist-generated
17
- /.projen/jest-snapshot-resolver.js linguist-generated
18
- /.projen/tasks.json linguist-generated
19
- /LICENSE linguist-generated
20
- /package.json linguist-generated
21
- /tsconfig.dev.json linguist-generated
22
- /tsconfig.json linguist-generated
23
- /yarn.lock linguist-generated
package/.projenrc.ts DELETED
@@ -1,131 +0,0 @@
1
- import { typescript } from 'projen';
2
-
3
- const project = new typescript.TypeScriptProject({
4
- name: 'aws-delivlib',
5
- projenrcTs: true,
6
- description: 'A fabulous library for defining continuous pipelines for building, testing and releasing code libraries.',
7
- repository: 'https://github.com/cdklabs/aws-delivlib.git',
8
- defaultReleaseBranch: 'main',
9
- authorName: 'Amazon Web Services',
10
- authorUrl: 'https://aws.amazon.com',
11
- minNodeVersion: '18.12.0',
12
- workflowNodeVersion: '18.x',
13
- keywords: [
14
- 'aws-cdk',
15
- 'continuous-delivery',
16
- 'continuous-integration',
17
- 'ci-cd',
18
- ],
19
- deps: ['changelog-parser'],
20
- depsUpgradeOptions: {
21
- exclude: ['aws-cdk-lib', 'constructs'],
22
- },
23
- devDeps: [
24
- '@types/aws-lambda',
25
- '@types/fs-extra',
26
- '@types/tar',
27
- '@types/adm-zip',
28
- '@types/follow-redirects',
29
- 'aws-cdk',
30
- 'jest-create-mock-instance',
31
- 'constructs',
32
- 'aws-cdk-lib',
33
- 'standard-version',
34
- 'ts-jest',
35
- 'typescript',
36
- 'aws-sdk',
37
- 'aws-sdk-mock',
38
- 'node-ical@0.15.1', // need to pin due to https://github.com/axios/axios/issues/5101
39
- 'rrule',
40
- 'esbuild',
41
- 'fs-extra',
42
- 'tar',
43
- 'adm-zip',
44
- 'JSONStream',
45
- 'follow-redirects',
46
- 'minipass@3.2.1', // temporary (hopefully) workaround for https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/60901
47
- ],
48
- peerDeps: [
49
- 'constructs',
50
- 'aws-cdk-lib',
51
- ],
52
- srcdir: 'lib',
53
- testdir: 'lib/__tests__',
54
-
55
- pullRequestTemplate: false,
56
- autoApproveOptions: {
57
- allowedUsernames: ['cdklabs-automation'],
58
- secret: 'GITHUB_TOKEN',
59
- },
60
- autoApproveUpgrades: true,
61
- releaseToNpm: true,
62
- });
63
-
64
- // trick projen so that it doesn't override the version in package.json
65
- project.tasks.addEnvironment('RELEASE', '1');
66
-
67
- project.gitignore.exclude('cdk.out');
68
- project.gitignore.exclude('pipeline/*.js');
69
- project.gitignore.exclude('pipeline/*.d.ts');
70
- project.setScript('cdk', 'npx cdk');
71
-
72
- const integDiff = project.addTask('integ:diff');
73
- integDiff.exec('/bin/bash ./lib/__tests__/run-test.sh');
74
-
75
- const integUpdate = project.addTask('integ:update');
76
- integUpdate.exec('/bin/bash ./lib/__tests__/run-test.sh update');
77
-
78
- // Need to run with UTC TZ, or else node-ical does very wrong things with timestamps and fails tests...
79
- project.testTask.env('TZ', 'UTC');
80
- project.testTask.spawn(integDiff);
81
-
82
- // Run yarn install in the github publisher directory
83
- const buildGithubPublisher = project.addTask('build:publishing/github');
84
- buildGithubPublisher.exec('yarn install --frozen-lockfile', { cwd: 'lib/publishing/github' });
85
- buildGithubPublisher.exec('yarn tsc --build', { cwd: 'lib/publishing/github' });
86
- project.compileTask.prependSpawn(buildGithubPublisher);
87
- // Exclude the publisher from the root tsconfig, but add a reference to it
88
- project.tsconfig?.addExclude('lib/publishing/github');
89
- project.tsconfig?.file.addOverride('references', [{ path: 'lib/publishing/github' }]);
90
-
91
- const compileCustomResourceHandlers = project.addTask('compile:custom-resource-handlers');
92
- compileCustomResourceHandlers.exec('/bin/bash ./build-custom-resource-handlers.sh');
93
-
94
- project.compileTask.prependSpawn(compileCustomResourceHandlers);
95
-
96
- project.gitignore.include('lib/package-integrity/handler/JSONStream.d.ts');
97
- const bundlePackageIntegrity = project.addTask('bundle:package-integrity', {
98
- description: 'Bundle the package integrity script',
99
- exec: [
100
- 'esbuild',
101
- '--bundle',
102
- 'lib/package-integrity/handler/validate.js',
103
- '--target="node14"',
104
- '--platform="node"',
105
- '--outfile="lib/package-integrity/handler/validate.bundle.js"',
106
- '--sourcemap=inline',
107
- ].join(' '),
108
- });
109
-
110
- project.compileTask.spawn(bundlePackageIntegrity);
111
-
112
- // The npmignore file includes original source files, which is undesirable.
113
- project.npmignore?.exclude(
114
- '/lib/**/*.ts',
115
- );
116
- project.npmignore?.include(
117
- '/lib/**/*.d.ts',
118
- '/lib/**/node_modules/**',
119
- );
120
- // Also includes other undesirable assets.
121
- project.npmignore?.exclude(
122
- '/lib/__tests__/',
123
- 'tsconfig.json',
124
- 'tsconfig.dev.json',
125
- 'tsconfig.tsbuildinfo',
126
- '/build-*.sh',
127
- 'cdk.out/',
128
- 'cdk.json',
129
- );
130
-
131
- project.synth();