-
Notifications
You must be signed in to change notification settings - Fork 39
/
Makefile
53 lines (37 loc) · 996 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
setup: bootstrap
cd example && npm i
# npx prisma generate --schema=./packages/nodos-db-prisma-extension/__fixtures__/application/prisma/schema.prisma
# npx prisma migrate dev --schema=./packages/nodos-db-prisma-extension/__fixtures__/application/prisma/schema.prisma
# cd example && npx nodos db migrate
bootstrap:
npx lerna bootstrap --hoist
update-deps:
npx ncu -u
npx lerna exec ncu -- -u
clean:
npx lerna clean
test-example:
cd example && DEBUG=nodos:* npx jest
test-system:
cd packages/application-tests && DEBUG=nodos:* npx jest
test-packages:
DEBUG=nodos:* npx jest
test: test-packages test-example test-system
lint:
npx eslint .
lint-fix:
npx eslint . --fix
publish:
npx lerna publish
what-to-do:
git grep FIXME
docs-build:
npx documentation build packages/nodos-core -f html -o docs
site-start:
cd site; npm start
site-deploy:
cd site; GIT_USER=$(U) npm run deploy
docker-build:
docker build -t nodosjs/nodos .
docker-push:
docker push nodosjs/nodos