new-next 0.2.0 → 0.2.1
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# new-next
|
|
2
2
|
|
|
3
|
-
CLI tool to initialize a modern, opinionated Next.js project with Bun and Ultracite. Optionally install shadcn, AI SDK, and AI Elements.
|
|
3
|
+
CLI tool to initialize a modern, opinionated [Next.js](https://nextjs.org) project with [Bun](https://bun.com) and [Ultracite](https://www.ultracite.ai). Optionally install [shadcn UI](https://ui.shadcn.com), [AI SDK](https://ai-sdk.dev), and [AI Elements](https://elements.ai-sdk.dev).
|
|
4
4
|
|
|
5
5
|
## What You Get
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -16463,7 +16463,7 @@ import_cli_utils6.withOptions(program, [
|
|
|
16463
16463
|
]).action(import_cli_utils6.withErrorHandling(async (...handlerArgs) => {
|
|
16464
16464
|
const opt = import_cli_utils6.getOpt(handlerArgs);
|
|
16465
16465
|
const args = import_cli_utils6.getArgs(handlerArgs);
|
|
16466
|
-
if (args[0]) {
|
|
16466
|
+
if (typeof args[0] === "string" && args[0] !== "." && args[0] !== "undefined") {
|
|
16467
16467
|
const projectDir = resolve(args[0]);
|
|
16468
16468
|
process.chdir(projectDir);
|
|
16469
16469
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "new-next",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "CLI tool to initialize a modern, opinionated Next.js project with Bun and Ultracite. Optionally install shadcn, AI SDK, and AI Elements.",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "CLI tool to initialize a modern, opinionated Next.js project with Bun and Ultracite. Optionally install shadcn UI, AI SDK, and AI Elements.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"new-next": "dist/index.js"
|