0.1.1 • Published 1 year ago
@mizu-dev/studio v0.1.1
Running mizu
npm install
npm run db:generate
npm run db:migrate
# NOTE - This app runs Hono in a Node.js execution context by default,
# Since we need access to the filesystem to do fun stuff
npm run dev
Adding some AI
- Get an OpenAI API Key
- Add it to
.dev.vars
- Voilà
Publishing
Testing npx command locally
# From the fpx PROJECT ROOT!
npm run build:mizu-studio
cd api
npm link
# Test it out
cd /some/random/dir
npx --prefer-local mizu
# If you need to serve the api on a different port
MIZU_PORT=8790 npx --prefer-local mizu
# If your service is running on something other than http://localhost:8787
MIZU_SERVICE_TARGET=http://localhost:1234 npx --prefer-local mizu
# To unlink afterwards, first find the linked package name (something like @mizu-dev/studio)
# then use that name in the `npm unlink` command
npm ls -g --depth=0 --link=true
npm unlink $NAME_OF_THIS_PACKAGE -g
Officially publishing
# ***Start in the fpx project root!***
npm run build:mizu-studio
cd api
npm publish
# Then test like this
cd /some/random/dir
npx @mizu-dev/studio
0.2.0-beta.6
1 year ago
0.2.0-beta.5
1 year ago
0.2.0-beta.4
1 year ago
0.2.0-beta.3
1 year ago
0.2.0-beta.2
1 year ago
0.2.0-beta.1
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago