Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Commit e4c5180

Browse files
committed
moving to multiple packages/lerna
1 parent 1c25842 commit e4c5180

33 files changed

+2010
-1089
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
run: ## clean and make target, run target
22
python3 -m nannotate
33

4-
build: ## Build the repository
4+
build: js ## Build the repository
55
python3 setup.py build
66

77
tests: ## Clean and Make unit tests
@@ -26,14 +26,15 @@ clean: ## clean the repository
2626
js: ## build the js
2727
npm install
2828
npm run build
29+
cp packages/viewer/build/assets/bundle.js nannotate/assets/
2930

3031
serverextension: install ## enable serverextension
3132
jupyter serverextension enable --py nannotate
3233

3334
labextension: install ## enable labextension
3435
jupyter labextension install jlab
3536

36-
install: ## install to site-packages
37+
install: js ## install to site-packages
3738
python3 setup.py install
3839

3940
preinstall: ## install dependencies
@@ -61,4 +62,4 @@ help:
6162
print-%:
6263
@echo '$*=$($*)'
6364

64-
.PHONY: clean build run test tests help annotate annotate_l docs
65+
.PHONY: clean build run test tests help annotate annotate_l docs js

lerna.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"lerna": "2.11.0",
3+
"packages": [
4+
"packages/*"
5+
],
6+
"version": "independent"
7+
}

0 commit comments

Comments
 (0)