Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit a5ef4ba

Browse files
committed
♻️ refactor(cli): renamed cli property (#70)
CLI renamed from "utils" to "cli", use `npx @my/package cli command` now BREAKING CHANGE: Change of cli command name #70
1 parent 15ca973 commit a5ef4ba

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This library uses Cloudfront, S3, ApiGateway and Lambdas to deploy easily in sec
1010
## TL;DR
1111
- In your NextJS project, set output to standalone.
1212
- Run `next build` (will generate standalone next folder).
13-
- Run `npx --package @sladg/nextjs-lambda utils pack` (will create ZIPs).
14-
- Run `npx --package @sladg/nextjs-lambda utils deploy` (will deploy to AWS).
13+
- Run `npx --package @sladg/nextjs-lambda cli pack` (will create ZIPs).
14+
- Run `npx --package @sladg/nextjs-lambda cli deploy` (will deploy to AWS).
1515
- Profit 🎉
1616

1717
```
@@ -85,7 +85,7 @@ Frontend environment variables are automatically resolved during build time! You
8585
### Via CDK
8686

8787
See `NextStandaloneStack` construct in `lib/cdk/app.ts`.
88-
Or just use `utils deploy` command so you don't have to manage CDK yourself. See CLI help command for all congiruation, notably, it's possible to set Timeout and Memory for lambda from CLI. It is advised to always use custom `--stackName` in `deploy` command as it will affect names of all resources and will help you distinguish between different environments/applications.
88+
Or just use `cli deploy` command so you don't have to manage CDK yourself. See CLI help command for all congiruation, notably, it's possible to set Timeout and Memory for lambda from CLI. It is advised to always use custom `--stackName` in `deploy` command as it will affect names of all resources and will help you distinguish between different environments/applications.
8989

9090
If you want to use it programatically, see [this guide](./docs/CDK.md).
9191

Diff for: package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"exports": "./dist/index.js",
1212
"types": "./dist/index.d.ts",
1313
"bin": {
14-
"utils": "./dist/cli.js"
14+
"cli": "./dist/cli.js"
1515
},
1616
"files": [
1717
"dist"

0 commit comments

Comments
 (0)