skedyul 1.1.9 → 1.2.2

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/index.js CHANGED
@@ -4072,26 +4072,8 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
4072
4072
  COPY package.json tsconfig.json skedyul.config.ts ./
4073
4073
  COPY src ./src
4074
4074
 
4075
- # Copy tsup.config.ts if it exists, otherwise generate based on COMPUTE_LAYER
4076
- # BUILD_EXTERNAL is a comma-separated list of additional externals (e.g., "twilio,stripe")
4075
+ # Copy tsup.config.ts if it exists (optional - skedyul build will generate one if needed)
4077
4076
  COPY tsup.config.t[s] ./
4078
- RUN if [ ! -f tsup.config.ts ]; then \\
4079
- BASE_EXT="skedyul,zod"; \\
4080
- if [ "$COMPUTE_LAYER" = "serverless" ]; then \\
4081
- BASE_EXT="skedyul,skedyul/serverless,zod"; \\
4082
- FORMAT="esm"; \\
4083
- else \\
4084
- BASE_EXT="skedyul,skedyul/dedicated,zod"; \\
4085
- FORMAT="cjs"; \\
4086
- fi; \\
4087
- if [ -n "$BUILD_EXTERNAL" ]; then \\
4088
- ALL_EXT="$BASE_EXT,$BUILD_EXTERNAL"; \\
4089
- else \\
4090
- ALL_EXT="$BASE_EXT"; \\
4091
- fi; \\
4092
- EXT_ARRAY=$(echo "$ALL_EXT" | sed 's/,/","/g'); \\
4093
- printf 'import{defineConfig}from"tsup";export default defineConfig({entry:["src/server/mcp_server.ts"],format:["%s"],target:"node22",outDir:"dist/server",clean:true,splitting:false,dts:false,external:["%s"]})' "$FORMAT" "$EXT_ARRAY" > tsup.config.ts; \\
4094
- fi
4095
4077
 
4096
4078
  # Install dependencies (including dev deps for build), compile, smoke test, then prune
4097
4079
  # Note: Using --no-frozen-lockfile since lockfile may not exist
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "1.1.9",
3
+ "version": "1.2.2",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,6 +10,7 @@
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
+ "import": "./dist/esm/index.mjs",
13
14
  "require": "./dist/index.js",
14
15
  "default": "./dist/index.js"
15
16
  },