@awsless/awsless 0.0.596 → 0.0.597
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 +11 -10
- 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),
|
|
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.597",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@awsless/big-float": "^0.1.5",
|
|
37
37
|
"@awsless/cloudwatch": "^0.0.1",
|
|
38
|
-
"@awsless/clui": "^0.0.8",
|
|
39
38
|
"@awsless/duration": "^0.0.4",
|
|
39
|
+
"@awsless/json": "^0.0.10",
|
|
40
|
+
"@awsless/clui": "^0.0.8",
|
|
40
41
|
"@awsless/dynamodb": "^0.3.8",
|
|
41
42
|
"@awsless/iot": "^0.0.3",
|
|
42
43
|
"@awsless/lambda": "^0.0.35",
|
|
43
|
-
"@awsless/
|
|
44
|
+
"@awsless/redis": "^0.0.14",
|
|
44
45
|
"@awsless/s3": "^0.0.21",
|
|
45
|
-
"@awsless/sqs": "^0.0.16",
|
|
46
46
|
"@awsless/ssm": "^0.0.7",
|
|
47
|
+
"@awsless/sqs": "^0.0.16",
|
|
48
|
+
"@awsless/open-search": "^0.0.21",
|
|
47
49
|
"@awsless/sns": "^0.0.10",
|
|
48
|
-
"@awsless/json": "^0.0.10",
|
|
49
50
|
"@awsless/validate": "^0.1.3",
|
|
50
|
-
"@awsless/
|
|
51
|
-
"@awsless/
|
|
52
|
-
"@awsless/weak-cache": "^0.0.1"
|
|
51
|
+
"@awsless/weak-cache": "^0.0.1",
|
|
52
|
+
"@awsless/mqtt": "^0.0.2"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@arcanyx/cidr-slicer": "^0.3.0",
|
|
@@ -141,14 +141,14 @@
|
|
|
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",
|
|
146
145
|
"@awsless/json": "^0.0.10",
|
|
147
|
-
"@awsless/
|
|
146
|
+
"@awsless/graphql": "^0.0.9",
|
|
148
147
|
"@awsless/size": "^0.0.2",
|
|
148
|
+
"@awsless/scheduler": "^0.0.4",
|
|
149
149
|
"@awsless/validate": "^0.1.3",
|
|
150
|
-
"@awsless/
|
|
151
|
-
"@awsless/
|
|
150
|
+
"@awsless/ts-file-cache": "^0.0.12",
|
|
151
|
+
"@awsless/clui": "^0.0.8"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
154
|
"@hono/node-server": "1.19.9",
|