Minimalist (yet helpful) monorepo manager for Deno
- Does deno support monorepo? #9126
- Microservices with Deno as a Monorepo #18143
- Support deno.config in a multi-root workspace #501
deno install --unstable -Ar -n compy -f 'https://deno.land/x/compy/run.ts'
compy -h
compy -V
compy init <project> [-m=packages] [-c=deno.json] [-i=import_map.json]
compy mod
compy mod [module]
compy add <name> [version] [-m <module>] [-u <url>]
compy <cache|start|dev|run|test|fmt|lint> <module> [...args]
compy <run> <module> <task> [...args]
compy <cache|start|dev|run|test|fmt|lint> -e <sh|bash|zsh|ash|fish> <module> [...args]
compy <run> -e <sh|bash|zsh|ash|fish> <module> <task> [...args]
import { Compy } from 'https://deno.land/x/compy/types.ts';
export default {
name: 'my-project',
modules: 'packages',
config: 'deno.jsonc',
} satisfies Compy;
import { Egg } from 'https://deno.land/x/compy/types.ts';
export default {
entry: './src/run.ts',
allow: ['env', 'net', 'read', 'write'],
unstable: true,
cache: './src/run.ts',
start: './src/run.ts',
dev: './src/run.ts',
test: {
entry: 'spec/',
lock: 'test.deno.lock',
env: {
ENV_TYPE: 'test',
},
},
fmt: './src/',
lint: './src/',
} satisfies Egg;