Skip to content

Commit

Permalink
fix(deps): upgrade dependencies (#1631)
Browse files Browse the repository at this point in the history
Upgrades project dependencies. See details in [workflow run].

[Workflow Run]:
https://github.com/cdklabs/jsii-docgen/actions/runs/11782316214

------

*Automatically created by projen via the "upgrade-main" workflow*

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Momo Kornher <[email protected]>
  • Loading branch information
3 people authored Nov 11, 2024
1 parent b4cc91c commit f08b03d
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions projenrc/rosetta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,28 @@ export class RosettaPeerDependency extends Component {
},
steps: [{
name: 'Checkout',
uses: 'actions/checkout@v3',
uses: 'actions/checkout@v4',
with: {
ref: '${{ github.event.pull_request.head.ref }}',
repository: '${{ github.event.pull_request.head.repo.full_name }}',
},
},
{
name: 'Setup Node.js',
uses: 'actions/setup-node@v3',
uses: 'actions/setup-node@v4',
with: {
// @ts-ignore
'node-version': project.nodeVersion,
},
},
{
name: 'Install dependencies',
run: 'yarn install --check-files',
},
{
name: 'Install Rosetta version',
run: `yarn add --dev ${JSII_ROSETTA}@\${{ matrix.rosetta }}`,
},
{
name: 'Install dependencies',
run: 'yarn install --check-files',
},
{
name: 'compile+test',
run: ['npx projen compile', 'npx projen test --runInBand'].join('\n'),
Expand Down
8 changes: 4 additions & 4 deletions src/docgen/transpile/transpile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export interface TranspiledTypeReferenceToStringOptions {
*/
export class TranspiledTypeReference {
/**
* Create a type reference that reprensents a primitive.
* Create a type reference that represents a primitive.
*/
public static primitive(
transpile: Transpile,
Expand Down Expand Up @@ -346,7 +346,7 @@ export class TranspiledTypeReference {
);
}
/**
* Create a type reference that reprenets a concrete type.
* Create a type reference that represents a concrete type.
*/
public static type(
transpile: Transpile,
Expand All @@ -362,7 +362,7 @@ export class TranspiledTypeReference {
);
}
/**
* Create a type reference that reprenets an array of a type reference.
* Create a type reference that represents an array of a type reference.
*/
public static arrayOfType(
transpile: Transpile,
Expand Down Expand Up @@ -863,7 +863,7 @@ export abstract class TranspileBase implements Transpile {

if (submodules.length > 1) {
// can never happen, but the array data structure forces this handling.
throw new Error(`Found multiple submodulues with fqn ${submoduleFqn}`);
throw new Error(`Found multiple submodules with fqn ${submoduleFqn}`);
}

if (submodules.length === 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/docgen/view/documentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export class Documentation {
this.assemblyFqn = `${tsAssembly.name}@${tsAssembly.version}`;

if (!isSupported) {
throw new LanguageNotSupportedError(`Laguage ${language} is not supported for package ${this.assemblyFqn}`);
throw new LanguageNotSupportedError(`Language ${language} is not supported for package ${this.assemblyFqn}`);
}

let submoduleStr = options.submodule;
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f08b03d

Please sign in to comment.