@awsless/awsless 0.0.596 → 0.0.598
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 +14 -13
- package/dist/prebuild/icon/bundle.zip +0 -0
- package/dist/prebuild/image/bundle.zip +0 -0
- package/dist/prebuild/rpc/bundle.zip +0 -0
- package/package.json +12 -12
package/dist/bin.js
CHANGED
|
@@ -3276,10 +3276,8 @@ var zipBundle = async ({ directory }) => {
|
|
|
3276
3276
|
};
|
|
3277
3277
|
|
|
3278
3278
|
// src/feature/function/build/typescript/rolldown.ts
|
|
3279
|
-
import nodeResolve from "@rollup/plugin-node-resolve";
|
|
3280
3279
|
import { createHash as createHash3 } from "crypto";
|
|
3281
3280
|
import { rolldown } from "rolldown";
|
|
3282
|
-
import natives from "rollup-plugin-natives";
|
|
3283
3281
|
import { importAsString } from "rollup-plugin-string-import";
|
|
3284
3282
|
var bundleTypeScriptWithRolldown = async ({
|
|
3285
3283
|
format: format2 = "esm",
|
|
@@ -3291,6 +3289,7 @@ var bundleTypeScriptWithRolldown = async ({
|
|
|
3291
3289
|
}) => {
|
|
3292
3290
|
const bundle = await rolldown({
|
|
3293
3291
|
input: file,
|
|
3292
|
+
platform: "node",
|
|
3294
3293
|
external: (importee) => {
|
|
3295
3294
|
return importee.startsWith("@aws-sdk") || importee.startsWith("aws-sdk") || external?.includes(importee);
|
|
3296
3295
|
},
|
|
@@ -3301,12 +3300,14 @@ var bundleTypeScriptWithRolldown = async ({
|
|
|
3301
3300
|
moduleSideEffects: (id) => file === id
|
|
3302
3301
|
},
|
|
3303
3302
|
plugins: [
|
|
3304
|
-
nodeResolve({ preferBuiltins: true }),
|
|
3305
|
-
nativeDir
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3303
|
+
// nodeResolve({ preferBuiltins: true }),
|
|
3304
|
+
// nativeDir
|
|
3305
|
+
// ? natives({
|
|
3306
|
+
// copyTo: nativeDir,
|
|
3307
|
+
// targetEsm: format === 'esm',
|
|
3308
|
+
// sourcemap: true,
|
|
3309
|
+
// })
|
|
3310
|
+
// : undefined,
|
|
3310
3311
|
importAsStringList ? importAsString({
|
|
3311
3312
|
include: importAsStringList
|
|
3312
3313
|
}) : void 0
|
|
@@ -8700,7 +8701,7 @@ import { parse as parse4, stringify } from "@awsless/json";
|
|
|
8700
8701
|
// src/test/start.ts
|
|
8701
8702
|
import commonjs from "@rollup/plugin-commonjs";
|
|
8702
8703
|
import json from "@rollup/plugin-json";
|
|
8703
|
-
import
|
|
8704
|
+
import nodeResolve from "@rollup/plugin-node-resolve";
|
|
8704
8705
|
import { dirname as dirname10, join as join18 } from "path";
|
|
8705
8706
|
import { swc } from "rollup-plugin-swc3";
|
|
8706
8707
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
@@ -8758,7 +8759,7 @@ var startTest = async (props) => {
|
|
|
8758
8759
|
// @ts-ignore
|
|
8759
8760
|
commonjs({ sourceMap: true }),
|
|
8760
8761
|
// @ts-ignore
|
|
8761
|
-
|
|
8762
|
+
nodeResolve({ preferBuiltins: true }),
|
|
8762
8763
|
swc({
|
|
8763
8764
|
jsc: {
|
|
8764
8765
|
// baseUrl: dirname(input),
|
|
@@ -9661,6 +9662,7 @@ var domain = (program2) => {
|
|
|
9661
9662
|
// src/cli/command/logs.ts
|
|
9662
9663
|
import { CloudWatchLogsClient, StartLiveTailCommand } from "@aws-sdk/client-cloudwatch-logs";
|
|
9663
9664
|
import { log as log24 } from "@awsless/clui";
|
|
9665
|
+
import { aws as aws30 } from "@terraforge/aws";
|
|
9664
9666
|
import chalk5 from "chalk";
|
|
9665
9667
|
import chunk2 from "chunk";
|
|
9666
9668
|
import { formatDate } from "date-fns";
|
|
@@ -9684,9 +9686,8 @@ var logs = (program2) => {
|
|
|
9684
9686
|
for (const stack of app.stacks) {
|
|
9685
9687
|
if (filters.find((f) => wildstring6.match(f, stack.name))) {
|
|
9686
9688
|
for (const resource of stack.resources) {
|
|
9687
|
-
if (resource
|
|
9688
|
-
|
|
9689
|
-
logGroupArns.push(await logGroup.arn);
|
|
9689
|
+
if (resource instanceof aws30.cloudwatch.LogGroup) {
|
|
9690
|
+
logGroupArns.push(await resource.arn);
|
|
9690
9691
|
}
|
|
9691
9692
|
}
|
|
9692
9693
|
}
|
|
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.
|
|
3
|
+
"version": "0.0.598",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@awsless/big-float": "^0.1.5",
|
|
37
|
-
"@awsless/cloudwatch": "^0.0.1",
|
|
38
37
|
"@awsless/clui": "^0.0.8",
|
|
39
38
|
"@awsless/duration": "^0.0.4",
|
|
40
|
-
"@awsless/dynamodb": "^0.3.8",
|
|
41
39
|
"@awsless/iot": "^0.0.3",
|
|
40
|
+
"@awsless/json": "^0.0.10",
|
|
42
41
|
"@awsless/lambda": "^0.0.35",
|
|
42
|
+
"@awsless/mqtt": "^0.0.2",
|
|
43
43
|
"@awsless/open-search": "^0.0.21",
|
|
44
|
+
"@awsless/sns": "^0.0.10",
|
|
44
45
|
"@awsless/s3": "^0.0.21",
|
|
45
|
-
"@awsless/
|
|
46
|
+
"@awsless/redis": "^0.0.14",
|
|
46
47
|
"@awsless/ssm": "^0.0.7",
|
|
47
|
-
"@awsless/
|
|
48
|
-
"@awsless/
|
|
48
|
+
"@awsless/dynamodb": "^0.3.8",
|
|
49
|
+
"@awsless/cloudwatch": "^0.0.1",
|
|
50
|
+
"@awsless/sqs": "^0.0.16",
|
|
49
51
|
"@awsless/validate": "^0.1.3",
|
|
50
|
-
"@awsless/mqtt": "^0.0.2",
|
|
51
|
-
"@awsless/redis": "^0.0.14",
|
|
52
52
|
"@awsless/weak-cache": "^0.0.1"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@swc/core": "^1.3.70",
|
|
77
77
|
"@terraforge/aws": "^6.28.0",
|
|
78
78
|
"@terraforge/core": "^0.0.19",
|
|
79
|
-
"@terraforge/terraform": "^0.0.
|
|
79
|
+
"@terraforge/terraform": "^0.0.14",
|
|
80
80
|
"@types/aws-lambda": "^8.10.110",
|
|
81
81
|
"@types/bun": "1.3.8",
|
|
82
82
|
"@types/chunk": "^0.0.0",
|
|
@@ -141,13 +141,13 @@
|
|
|
141
141
|
"zod-to-json-schema": "^3.24.3",
|
|
142
142
|
"@awsless/big-float": "^0.1.5",
|
|
143
143
|
"@awsless/cloudwatch": "^0.0.1",
|
|
144
|
-
"@awsless/graphql": "^0.0.9",
|
|
145
144
|
"@awsless/duration": "^0.0.4",
|
|
145
|
+
"@awsless/clui": "^0.0.8",
|
|
146
|
+
"@awsless/graphql": "^0.0.9",
|
|
146
147
|
"@awsless/json": "^0.0.10",
|
|
147
|
-
"@awsless/scheduler": "^0.0.4",
|
|
148
148
|
"@awsless/size": "^0.0.2",
|
|
149
|
+
"@awsless/scheduler": "^0.0.4",
|
|
149
150
|
"@awsless/validate": "^0.1.3",
|
|
150
|
-
"@awsless/clui": "^0.0.8",
|
|
151
151
|
"@awsless/ts-file-cache": "^0.0.12"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|