great-sunset-35503/05/2023, 12:35 PM
my package also contains
files. How can I exclude
files from the artifact? I tried to look at synced folder repo for example. But I when I compile my code into the
folder it does not contain
like here https://github.com/pulumi/pulumi-synced-folder/blob/main/.github/workflows/release.yaml#LL132C11-L132C69 what step am I missing to get the package.json inside
little-cartoon-1056903/05/2023, 8:11 PM
great-sunset-35503/05/2023, 10:15 PM
ESM imports https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#esm-nodejs It looks like you mess with the paths for imports https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#esm-nodejs I will try to play around and see if I can get it working with pulumi. According to issues on github it should be supported since ~3.22.0
little-cartoon-1056903/05/2023, 11:04 PM
in your Yarn config, if you use Yarn2.
runtime: name: nodejs options: nodeargs: "--loader ts-node/esm --no-warnings"