mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-04 06:15:07 +09:00
chore!: configure projen for correct artifact generation directory
This commit is contained in:
Generated
+1
-2
@@ -31,7 +31,6 @@ jspm_packages/
|
|||||||
*.tgz
|
*.tgz
|
||||||
.yarn-integrity
|
.yarn-integrity
|
||||||
.cache
|
.cache
|
||||||
build
|
|
||||||
!/.projenrc.js
|
!/.projenrc.js
|
||||||
/test-reports/
|
/test-reports/
|
||||||
junit.xml
|
junit.xml
|
||||||
@@ -45,7 +44,7 @@ junit.xml
|
|||||||
!/tsconfig.json
|
!/tsconfig.json
|
||||||
!/tsconfig.dev.json
|
!/tsconfig.dev.json
|
||||||
!/src/
|
!/src/
|
||||||
/lib
|
/build
|
||||||
!/.eslintrc.yml
|
!/.eslintrc.yml
|
||||||
!/dist/
|
!/dist/
|
||||||
!/action.yml
|
!/action.yml
|
||||||
|
|||||||
Generated
+3
-3
@@ -10,9 +10,9 @@ permissions-backup.acl
|
|||||||
/test/
|
/test/
|
||||||
/tsconfig.dev.json
|
/tsconfig.dev.json
|
||||||
/src/
|
/src/
|
||||||
!/lib/
|
!/build/
|
||||||
!/lib/**/*.js
|
!/build/**/*.js
|
||||||
!/lib/**/*.d.ts
|
!/build/**/*.d.ts
|
||||||
dist
|
dist
|
||||||
/tsconfig.json
|
/tsconfig.json
|
||||||
/.github/
|
/.github/
|
||||||
|
|||||||
+6
-3
@@ -1,5 +1,5 @@
|
|||||||
const { GitHubActionTypeScriptProject, RunsUsing } = require('projen-github-action-typescript');
|
const { GitHubActionTypeScriptProject, RunsUsing } = require('projen-github-action-typescript');
|
||||||
const { NodePackageManager } = require('projen/lib/javascript');
|
const { NodePackageManager, NpmAccess } = require('projen/lib/javascript');
|
||||||
|
|
||||||
const project = new GitHubActionTypeScriptProject({
|
const project = new GitHubActionTypeScriptProject({
|
||||||
defaultReleaseBranch: 'main',
|
defaultReleaseBranch: 'main',
|
||||||
@@ -17,7 +17,6 @@ const project = new GitHubActionTypeScriptProject({
|
|||||||
filename: '.projenrc.cjs',
|
filename: '.projenrc.cjs',
|
||||||
},
|
},
|
||||||
sampleCode: false,
|
sampleCode: false,
|
||||||
gitignore: ['build'],
|
|
||||||
actionMetadata: {
|
actionMetadata: {
|
||||||
name: '"Configure AWS Credentials" Action for GitHub Actions',
|
name: '"Configure AWS Credentials" Action for GitHub Actions',
|
||||||
description: 'Configures AWS credentials for use in subsequent steps in a GitHub Action workflow',
|
description: 'Configures AWS credentials for use in subsequent steps in a GitHub Action workflow',
|
||||||
@@ -111,9 +110,11 @@ const project = new GitHubActionTypeScriptProject({
|
|||||||
yaml: true,
|
yaml: true,
|
||||||
prettier: true,
|
prettier: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
releaseFailureIssue: true,
|
releaseFailureIssue: true,
|
||||||
releaseTagPrefix: 'v',
|
releaseTagPrefix: 'v',
|
||||||
|
codeCov: false,
|
||||||
|
libdir: 'build',
|
||||||
|
entrypoint: 'build/index.js',
|
||||||
tsconfig: {
|
tsconfig: {
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
declaration: true,
|
declaration: true,
|
||||||
@@ -215,6 +216,8 @@ if (packageJson) {
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
packageJson.addOverride('jest.globals', undefined);
|
packageJson.addOverride('jest.globals', undefined);
|
||||||
|
// The entrypoint property is supposed to manage this but it doesn't work
|
||||||
|
packageJson.addOverride('main', 'build/index.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
project.synth();
|
project.synth();
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
TODO
|
|
||||||
Generated
+2
-2
@@ -65,7 +65,7 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 14.0.0"
|
"node": ">= 14.0.0"
|
||||||
},
|
},
|
||||||
"main": "lib/index.js",
|
"main": "build/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://github.com/aws-actions/configure-aws-credentials",
|
"homepage": "https://github.com/aws-actions/configure-aws-credentials",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"types": "lib/index.d.ts",
|
"types": "build/index.d.ts",
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@types/responselike": "1.0.0",
|
"@types/responselike": "1.0.0",
|
||||||
"got": "12.3.1"
|
"got": "12.3.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user