Skip to content

Commit

Permalink
chore(deps): dependabot issues (#521)
Browse files Browse the repository at this point in the history
* chore(deps): update dependabot issue
  • Loading branch information
krokoko authored Jun 19, 2024
1 parent 4a0e9df commit baf7ead
Show file tree
Hide file tree
Showing 107 changed files with 34 additions and 29,702 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

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

24 changes: 0 additions & 24 deletions .github/workflows/deploydocs.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/testdeployment.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .gitignore

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

1 change: 0 additions & 1 deletion .npmignore

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

2 changes: 0 additions & 2 deletions .projen/files.json

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

70 changes: 0 additions & 70 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import { ProjenStruct, Struct } from '@mrgrain/jsii-struct-builder';
import { JsonPatch, awscdk } from 'projen';
import { DependabotScheduleInterval, VersioningStrategy } from 'projen/lib/github';
import { JobPermission } from 'projen/lib/github/workflows-model';
import { NpmAccess } from 'projen/lib/javascript';
import { buildUpgradeMainPRCustomJob } from './projenrc/github-jobs';
import {
Expand Down Expand Up @@ -111,9 +110,6 @@ const project = new awscdk.AwsCdkConstructLibrary({
'!.ort.yml',
'.idea',
'.vscode',
'website/build',
'website/node_modules',
'website/.docusaurus',
],
stability: 'experimental',
sampleCode: false,
Expand Down Expand Up @@ -161,71 +157,6 @@ project.github?.actions.set('peter-evans/create-issue-from-file@v4', 'peter-evan
project.github?.actions.set('peter-evans/create-pull-request@v4', 'peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54');
project.github?.actions.set('peter-evans/create-pull-request@v5', 'peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38');
project.github?.actions.set('aws-actions/[email protected]', 'aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502');
// docusaurus add specific overrides

project.github?.actions.set('peaceiris/actions-gh-pages@v3', 'peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847');
project;
const deployDocsWorkflow = project.github?.addWorkflow('DeployDocs');
if (deployDocsWorkflow) {
deployDocsWorkflow.on({
push: {
branches: ['main'],
},
});

project.github?.actions.set('peaceiris/actions-gh-pages@v3', 'peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847');

deployDocsWorkflow.addJobs({
deploy: {
permissions: {
contents: JobPermission.WRITE,
},
runsOn: ['ubuntu-latest'],
steps: [
{ uses: 'actions/checkout@v4' },
{
uses: 'actions/setup-node@v4',
with: { 'node-version': '18' },
},
{ run: 'cd website; yarn install --frozen-lockfile;' },
{
uses: 'peaceiris/actions-gh-pages@v3',
with: {
github_token: '${{ secrets.GITHUB_TOKEN }}',
publish_dir: './website/build',
user_name: 'github-actions[bot]',
user_email: '41898282+github-actions[bot]@users.noreply.github.com',
},
},
],
},
});
}

const testDeploymentWorkflow = project.github?.addWorkflow('TestDeployment');

if (testDeploymentWorkflow) {
testDeploymentWorkflow.on({
pullRequest: {
branches: ['main'],
},
});

testDeploymentWorkflow.addJobs({
test_deploy: {
permissions: {
contents: JobPermission.WRITE,
},
runsOn: ['ubuntu-latest'],
steps: [
{ uses: 'actions/checkout@v4', with: { 'fetch-depth': '0' } },
{ uses: 'actions/setup-node@v4', with: { 'node-version': '18', 'cache': 'yarn' } },
{ run: 'cd website; yarn install --frozen-lockfile' },
{ run: 'cd website; pwd; npx docusaurus build', name: 'Test build website' },
],
},
});
}

// We don't want to package certain things
project.npmignore?.addPatterns(
Expand All @@ -245,7 +176,6 @@ project.npmignore?.addPatterns(
'tsconfig.dev.json',
'yarn.lock',
'/apidocs/',
'website/',
);

// Add License header automatically
Expand Down
26 changes: 13 additions & 13 deletions lambda/opensearch-serverless-custom-resources/poetry.lock

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

22 changes: 21 additions & 1 deletion resources/gen-ai/aws-web-crawler-container/package-lock.json

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

2 changes: 0 additions & 2 deletions website/.gitignore

This file was deleted.

38 changes: 0 additions & 38 deletions website/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions website/babel.config.js

This file was deleted.

Loading

0 comments on commit baf7ead

Please sign in to comment.