freestyle 0.1.49 → 0.1.51

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.
Files changed (7) hide show
  1. package/README.md +9 -0
  2. package/cli.mjs +830 -12
  3. package/index.cjs +2059 -1496
  4. package/index.d.cts +1965 -1233
  5. package/index.d.mts +1965 -1233
  6. package/index.mjs +2057 -1497
  7. package/package.json +1 -1
package/README.md CHANGED
@@ -74,6 +74,15 @@ freestyle deploy --file ./my-function.js
74
74
  # Deploy from a Git repository
75
75
  freestyle deploy --repo <repoId>
76
76
 
77
+ # Deploy a prebuilt directory
78
+ freestyle deploy --dir ./dist
79
+
80
+ # Deploy a directory and run server-side build auto-detection
81
+ freestyle deploy --dir . --build
82
+
83
+ # Deploy a directory with explicit build settings
84
+ freestyle deploy --dir . --build --build-command "npm run build" --build-out-dir dist
85
+
77
86
  # Add environment variables
78
87
  freestyle deploy --code "..." --env API_KEY=secret --env DEBUG=true
79
88
  ```