3 Commits
0.1.11 ... main

Author SHA1 Message Date
Morten Olsen
24e8726e41 fix: incorrect pnpm version in github action 2025-12-10 12:34:50 +01:00
Morten Olsen
efa489d524 chore: update dependencies to avoid vulnerabilities 2025-12-09 13:10:17 +01:00
Morten Olsen
1321ea4748 fix: corrected profile reading and default file order 2025-12-09 13:08:31 +01:00
5 changed files with 861 additions and 838 deletions

View File

@@ -12,13 +12,13 @@ on:
env:
environment: test
release_channel: latest
DO_NOT_TRACK: '1'
NODE_VERSION: '23.x'
NODE_REGISTRY: 'https://registry.npmjs.org'
DO_NOT_TRACK: "1"
NODE_VERSION: "23.x"
NODE_REGISTRY: "https://registry.npmjs.org"
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
DOCKER_REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
PNPM_VERSION: 10.6.0
PNPM_VERSION: 10.17.0
permissions:
contents: write
@@ -56,8 +56,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '${{ env.NODE_VERSION }}'
registry-url: '${{ env.NODE_REGISTRY }}'
node-version: "${{ env.NODE_VERSION }}"
registry-url: "${{ env.NODE_REGISTRY }}"
- uses: pnpm/action-setup@v4
name: Install pnpm
@@ -83,3 +83,4 @@ jobs:
pnpm publish -r --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -16,21 +16,21 @@
"dist"
],
"devDependencies": {
"@aws-sdk/client-ssm": "^3.901.0",
"@aws-sdk/client-sts": "^3.901.0",
"@dotenvx/dotenvx": "^1.51.0",
"@aws-sdk/client-ssm": "^3.947.0",
"@aws-sdk/client-sts": "^3.947.0",
"@dotenvx/dotenvx": "^1.51.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.36.0",
"@pnpm/find-workspace-packages": "6.0.9",
"@types/node": "24.6.2",
"@types/yargs": "^17.0.33",
"@types/yargs": "^17.0.35",
"@vercel/ncc": "^0.38.4",
"@vitest/coverage-v8": "3.2.4",
"eslint": "9.36.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.4",
"execa": "^9.6.0",
"execa": "^9.6.1",
"prettier": "3.6.2",
"typescript": "5.9.3",
"typescript-eslint": "8.45.0",

1665
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

2
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,2 @@
onlyBuiltDependencies:
- esbuild

View File

@@ -19,7 +19,7 @@ const argv = await yargs(hideBin(process.argv))
alias: 'f',
type: 'string',
description: 'The file to use for environment variables. (multiple files can be specified)',
default: ['.env', '.env.with-ssm'],
default: ['.env.with-ssm', '.env'],
})
.demandCommand(1, 'Error: You must provide a command to execute after --')
.alias('h', 'help')
@@ -36,7 +36,10 @@ if (!command) {
const files = argv.file && Array.isArray(argv.file) ? argv.file : [argv.file];
const hostEnv = await getEnv(files);
const env = await replaceParams(hostEnv);
const env = await replaceParams(hostEnv, {
region: argv.region,
profile: argv.profile,
});
exec({
command,