Skip to content

Commit

Permalink
fixing compilation for external library
Browse files Browse the repository at this point in the history
  • Loading branch information
mococa committed Aug 15, 2024
1 parent a27b01d commit f46fb1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pulumi/aws/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nullstack-serverless-pulumi-aws",
"version": "0.1.1",
"version": "0.1.2",
"description": "Nullstack Pulumi class",
"author": "mococa <[email protected]>",
"license": "MIT",
Expand All @@ -26,7 +26,7 @@
"module": "dist/src",
"types": "dist/src/index.d.ts",
"scripts": {
"build": "tsc --build tsconfig.json",
"build": "tsc --build tsconfig.json && cp -r pkg/ dist/",
"watch": "tsc -w",
"prepublishOnly": "npm run build"
},
Expand Down
7 changes: 4 additions & 3 deletions pulumi/aws/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"baseUrl": ".",
"module": "commonjs",
"lib": ["es2020", "dom"],
"declaration": true,
"declaration": false,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noImplicitThis": true,
"skipLibCheck": true,
"alwaysStrict": true,
"alwaysStrict": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
Expand All @@ -22,7 +22,8 @@
"esModuleInterop": true,
"typeRoots": ["./node_modules/@types"],
"noEmit": false,
"outDir": "./dist"
"outDir": "./dist",
"allowJs": true
},
"exclude": ["node_modules", "dist"]
}

0 comments on commit f46fb1c

Please sign in to comment.