Skip to content

Amir-K/ComplexAPI

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Switching between Yalc and NPM for @return-0/node

When developing locally, you may want to use a local version of @return-0/node via yalc instead of the npm version.

Switch to Yalc (Local Development)

npm run use:yalc

This will:

  • Link the local @return-0/node package via yalc
  • Update package.json to use "file:.yalc/@return-0/node"
  • Install dependencies

Switch to NPM (Production/Standard)

npm run use:npm

This will:

  • Remove the yalc link
  • Restore package.json to use "^1.0.0" from npm
  • Install dependencies

Manual Commands

If you prefer to do it manually:

# Switch to yalc
yalc add @return-0/node && npm install

# Switch to npm
yalc remove @return-0/node && npm install

Note: When using yalc, make sure to publish changes from the return0 package first:

# In the return0 package directory
yalc push

Note: The build script includes yalc update. When using npm mode (not yalc), you may need to remove yalc update from the build command or ensure yalc is installed globally, though yalc update should be harmless if yalc isn't being used.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published