@awsless/awsless 0.0.586 → 0.0.587

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.js CHANGED
@@ -9401,7 +9401,6 @@ import { LambdaClient as LambdaClient3, lambdaClient } from "@awsless/lambda";
9401
9401
  import { S3Client as S3Client2, s3Client } from "@awsless/s3";
9402
9402
  import { SNSClient, snsClient } from "@awsless/sns";
9403
9403
  import { SQSClient, sqsClient } from "@awsless/sqs";
9404
- import { tsImport } from "tsx/esm/api";
9405
9404
  var run = (program2) => {
9406
9405
  program2.command("run").allowUnknownOption(true).argument("[command]", "The command you want to run").description("Run one of your defined commands.").action(async (selected) => {
9407
9406
  await layout(`run ${selected ?? ""}`, async ({ appConfig, stackConfigs }) => {
@@ -9432,17 +9431,7 @@ var run = (program2) => {
9432
9431
  process.env.APP_ID = appId;
9433
9432
  process.env.AWS_REGION = region;
9434
9433
  process.env.AWS_ACCOUNT_ID = accountId;
9435
- let module;
9436
- try {
9437
- module = await tsImport(command.file, {
9438
- parentURL: import.meta.url
9439
- });
9440
- } catch (error) {
9441
- if (typeof error === "object" && error !== null && "message" in error) {
9442
- throw error.message;
9443
- }
9444
- throw new ExpectedError(`Failed to import: ${command.file}`);
9445
- }
9434
+ const module = await import(command.file);
9446
9435
  const handler = module[command.handler];
9447
9436
  if (!handler) {
9448
9437
  throw new ExpectedError(`No "${command.handler}" handler found.`);
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.586",
3
+ "version": "0.0.587",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -33,23 +33,23 @@
33
33
  ]
34
34
  },
35
35
  "peerDependencies": {
36
- "@awsless/big-float": "^0.1.5",
37
36
  "@awsless/cloudwatch": "^0.0.1",
37
+ "@awsless/big-float": "^0.1.5",
38
38
  "@awsless/clui": "^0.0.8",
39
39
  "@awsless/duration": "^0.0.4",
40
- "@awsless/dynamodb": "^0.3.6",
41
- "@awsless/iot": "^0.0.3",
40
+ "@awsless/dynamodb": "^0.3.8",
42
41
  "@awsless/json": "^0.0.10",
42
+ "@awsless/iot": "^0.0.3",
43
43
  "@awsless/open-search": "^0.0.21",
44
44
  "@awsless/lambda": "^0.0.35",
45
45
  "@awsless/redis": "^0.0.14",
46
- "@awsless/sns": "^0.0.10",
47
46
  "@awsless/s3": "^0.0.21",
47
+ "@awsless/mqtt": "^0.0.2",
48
+ "@awsless/sqs": "^0.0.16",
49
+ "@awsless/sns": "^0.0.10",
48
50
  "@awsless/validate": "^0.1.3",
49
51
  "@awsless/ssm": "^0.0.7",
50
- "@awsless/sqs": "^0.0.16",
51
- "@awsless/weak-cache": "^0.0.1",
52
- "@awsless/mqtt": "^0.0.2"
52
+ "@awsless/weak-cache": "^0.0.1"
53
53
  },
54
54
  "dependencies": {
55
55
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -139,16 +139,16 @@
139
139
  "zip-a-folder": "^3.1.6",
140
140
  "zod": "^3.24.2",
141
141
  "zod-to-json-schema": "^3.24.3",
142
- "@awsless/cloudwatch": "^0.0.1",
143
142
  "@awsless/big-float": "^0.1.5",
144
- "@awsless/json": "^0.0.10",
143
+ "@awsless/cloudwatch": "^0.0.1",
144
+ "@awsless/clui": "^0.0.8",
145
145
  "@awsless/duration": "^0.0.4",
146
- "@awsless/size": "^0.0.2",
147
- "@awsless/scheduler": "^0.0.4",
148
146
  "@awsless/graphql": "^0.0.9",
149
- "@awsless/ts-file-cache": "^0.0.12",
147
+ "@awsless/json": "^0.0.10",
148
+ "@awsless/scheduler": "^0.0.4",
149
+ "@awsless/size": "^0.0.2",
150
150
  "@awsless/validate": "^0.1.3",
151
- "@awsless/clui": "^0.0.8"
151
+ "@awsless/ts-file-cache": "^0.0.12"
152
152
  },
153
153
  "devDependencies": {
154
154
  "@node-rs/bcrypt": "^1.10.5",