@bifravst/ci 2.0.1 → 2.0.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/dist/CIStack.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { App, Stack } from 'aws-cdk-lib';
1
+ import type { App } from 'aws-cdk-lib';
2
+ import { Stack } from 'aws-cdk-lib';
2
3
  import type { Repos } from './listRepos.js';
3
4
  export declare class CIStack extends Stack {
4
5
  constructor(parent: App, name: string, { repos, gitHubOICDProviderArn, }: {
package/dist/CIStack.js CHANGED
@@ -1,4 +1,4 @@
1
- import { App, CfnOutput, Stack } from 'aws-cdk-lib';
1
+ import { CfnOutput, Stack } from 'aws-cdk-lib';
2
2
  import { RepoPermission } from './RepoPermission.js';
3
3
  export class CIStack extends Stack {
4
4
  constructor(parent, name, { repos, gitHubOICDProviderArn, }) {
package/dist/ci.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { IAMClient } from '@aws-sdk/client-iam';
2
2
  import { ensureGitHubOIDCProvider } from './ensureGitHubOIDCProvider.js';
3
- import { fromEnv } from '@nordicsemiconductor/from-env';
3
+ import { fromEnv } from '@bifravst/from-env';
4
4
  import { CIApp } from './CIApp.js';
5
5
  import { listRepos } from './listRepos.js';
6
6
  import { loadRepoList } from './loadRepoList.js';
@@ -1,4 +1,4 @@
1
- import { IAMClient } from '@aws-sdk/client-iam';
1
+ import type { IAMClient } from '@aws-sdk/client-iam';
2
2
  /**
3
3
  * Returns the ARN of the OpenID Connect provider for GitHub of the account.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CreateOpenIDConnectProviderCommand, GetOpenIDConnectProviderCommand, IAMClient, ListOpenIDConnectProvidersCommand, } from '@aws-sdk/client-iam';
1
+ import { CreateOpenIDConnectProviderCommand, GetOpenIDConnectProviderCommand, ListOpenIDConnectProvidersCommand, } from '@aws-sdk/client-iam';
2
2
  import chalk from 'chalk';
3
3
  /**
4
4
  * Returns the ARN of the OpenID Connect provider for GitHub of the account.
@@ -4,4 +4,4 @@ export type Repository = {
4
4
  id: number;
5
5
  };
6
6
  export type Repos = Array<Repository>;
7
- export declare const listRepos: (token: string, repos: Array<Omit<Repository, 'id'>>) => Promise<Array<Repository>>;
7
+ export declare const listRepos: (token: string, repos: Array<Omit<Repository, "id">>) => Promise<Array<Repository>>;
@@ -1,2 +1,2 @@
1
1
  import type { Repository } from './listRepos.js';
2
- export declare const loadRepoList: (location: string) => Promise<Array<Omit<Repository, 'id'>>>;
2
+ export declare const loadRepoList: (location: string) => Promise<Array<Omit<Repository, "id">>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifravst/ci",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Sets up the permissions in our CI account for all repositories in this account to be able to use it for CI runs.",
5
5
  "exports": {
6
6
  ".": {
@@ -34,20 +34,20 @@
34
34
  "author": "Nordic Semiconductor ASA | nordicsemi.no",
35
35
  "license": "BSD-3-Clause",
36
36
  "devDependencies": {
37
- "@bifravst/eslint-config-typescript": "6.0.22",
38
- "@bifravst/prettier-config": "1.0.0",
39
- "@commitlint/config-conventional": "19.1.0",
40
- "@nordicsemiconductor/from-env": "3.0.1",
41
- "@octokit/rest": "20.1.0",
42
- "aws-cdk": "2.137.0",
43
- "aws-cdk-lib": "2.137.0",
44
- "cdk": "2.137.0",
37
+ "@bifravst/eslint-config-typescript": "6.1.9",
38
+ "@bifravst/from-env": "3.0.2",
39
+ "@bifravst/prettier-config": "1.0.4",
40
+ "@commitlint/config-conventional": "19.2.2",
41
+ "@octokit/rest": "21.0.0",
42
+ "aws-cdk": "2.149.0",
43
+ "aws-cdk-lib": "2.149.0",
44
+ "cdk": "2.149.0",
45
45
  "check-node-version": "4.2.1",
46
- "commitlint": "19.2.1",
46
+ "commitlint": "19.3.0",
47
47
  "constructs": "10.3.0",
48
48
  "globstar": "1.0.0",
49
49
  "husky": "9.0.11",
50
- "tsx": "4.7.2"
50
+ "tsx": "4.16.2"
51
51
  },
52
52
  "lint-staged": {
53
53
  "*.{md,json,yaml,yml}": [
@@ -95,7 +95,7 @@
95
95
  ],
96
96
  "prettier": "@bifravst/prettier-config",
97
97
  "peerDependencies": {
98
- "@aws-sdk/client-iam": "^3.552.0",
98
+ "@aws-sdk/client-iam": "^3.614.0",
99
99
  "chalk": "^5.3.0"
100
100
  }
101
101
  }