From be2911fc8df85305cd05bf1f6f5c5aff111e128b Mon Sep 17 00:00:00 2001 From: Marnix Dessing Date: Mon, 24 Oct 2022 16:43:27 +0200 Subject: [PATCH] feat: use projen typescript app project type --- .projen/tasks.json | 10 +--------- .projenrc.js | 2 +- package.json | 2 -- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.projen/tasks.json b/.projen/tasks.json index 13726c6..b15f297 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -114,15 +114,7 @@ }, "package": { "name": "package", - "description": "Creates the distribution package", - "steps": [ - { - "exec": "mkdir -p dist/js" - }, - { - "exec": "mv $(npm pack) dist/js/" - } - ] + "description": "Creates the distribution package" }, "post-compile": { "name": "post-compile", diff --git a/.projenrc.js b/.projenrc.js index 9da5595..bb7c304 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -1,6 +1,6 @@ const { typescript } = require('projen'); const { NpmAccess } = require('projen/lib/javascript'); -const project = new typescript.TypeScriptProject({ +const project = new typescript.TypeScriptAppProject({ defaultReleaseBranch: 'main', name: 'cfn-diff', release: true, diff --git a/package.json b/package.json index 1898a86..e075586 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "lodash": "^4.17.21", "yargs": "^17.5.1" }, - "main": "lib/index.js", "license": "Apache-2.0", "version": "0.0.0", "jest": { @@ -92,6 +91,5 @@ } } }, - "types": "lib/index.d.ts", "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." } \ No newline at end of file