diff --git a/.gitignore b/.gitignore index 78a3a27..e97f819 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ jspm_packages/ *.tgz .yarn-integrity .cache +build !/.projenrc.js /test-reports/ junit.xml diff --git a/.projenrc.cjs b/.projenrc.cjs index fc28da0..7adb163 100644 --- a/.projenrc.cjs +++ b/.projenrc.cjs @@ -16,6 +16,8 @@ const project = new GitHubActionTypeScriptProject({ projenrcJsOptions: { filename: '.projenrc.cjs', }, + sampleCode: false, + gitignore: ['build'], actionMetadata: { name: '"Configure AWS Credentials" Action for GitHub Actions', description: 'Configures AWS credentials for use in subsequent steps in a GitHub Action workflow', diff --git a/tsconfig.dev.json b/tsconfig.dev.json index a70fb11..c9da4c2 100644 --- a/tsconfig.dev.json +++ b/tsconfig.dev.json @@ -9,7 +9,7 @@ "lib": [ "es2019" ], - "module": "Node16", + "module": "CommonJS", "noEmitOnError": true, "noFallthroughCasesInSwitch": true, "noImplicitAny": true, @@ -24,8 +24,7 @@ "stripInternal": true, "target": "ES2022", "forceConsistentCasingInFileNames": true, - "outDir": "dist", - "moduleResolution": "Node16" + "outDir": "build" }, "include": [ ".projenrc.js", diff --git a/tsconfig.json b/tsconfig.json index cfa37f3..e6168a3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "rootDir": "src", - "outDir": "dist", + "outDir": "build", "alwaysStrict": true, "declaration": true, "esModuleInterop": true, @@ -11,7 +11,7 @@ "lib": [ "es2019" ], - "module": "Node16", + "module": "CommonJS", "noEmitOnError": true, "noFallthroughCasesInSwitch": true, "noImplicitAny": true, @@ -26,7 +26,6 @@ "stripInternal": true, "target": "ES2022", "forceConsistentCasingInFileNames": true, - "moduleResolution": "Node16", "allowUnreachableCode": false, "allowUnusedLabels": false, "pretty": true