You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+175-1Lines changed: 175 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,9 +138,183 @@ npm run deploy-force 1.0.1
138
138
139
139
# Using the @hopdrive/package-deploy-scripts integration
140
140
npm run deploy-wrapper # Uses the wrapper around package-deploy-scripts
141
-
npm run deploy:wrapper # Uses direct integration with package-deploy-scripts
142
141
```
143
142
143
+
During deployment, the `lib/version.js` file is automatically generated using the `genversion` npm package. This file exports the current package version from package.json, making it accessible throughout the codebase.
144
+
145
+
## Examples
146
+
147
+
This package includes several example implementations in the `examples` directory:
148
+
149
+
### 1. Simple Lambda Example
150
+
151
+
**File:**`examples/simple-lambda-example.js`
152
+
153
+
A basic example showing how to use the wrapper in a standard AWS Lambda function without any framework dependencies.
0 commit comments