Commit 0370ced9 authored by cmrd Senya's avatar cmrd Senya Committed by JC Brand

Init project with lerna

parent 279fda78
......@@ -11,6 +11,7 @@ HTTPSERVE ?= ./node_modules/.bin/http-server
HTTPSERVE_PORT ?= 8000
INKSCAPE ?= inkscape
JSDOC ?= ./node_modules/.bin/jsdoc
LERNA ?= ./node_modules/.bin/lerna
OXIPNG ?= oxipng
PAPER =
PO2JSON ?= ./node_modules/.bin/po2json
......@@ -108,8 +109,11 @@ release:
########################################################################
## Install dependencies
stamp-npm: package.json package-lock.json
npm install
$(LERNA):
npm install lerna
stamp-npm: $(LERNA) package.json package-lock.json packages/headless/package.json
$(LERNA) bootstrap --hoist
touch stamp-npm
stamp-bundler: Gemfile
......@@ -186,21 +190,22 @@ BUILDS = dist/converse.js \
dist/converse-no-dependencies.js \
dist/converse-no-dependencies-es2015.js
dist/converse.js: src webpack.config.js stamp-npm
dist/converse.js: src webpack.config.js stamp-npm @converse/headless
./node_modules/.bin/npx webpack --mode=development
dist/converse.min.js: src webpack.config.js stamp-npm
dist/converse.min.js: src webpack.config.js stamp-npm @converse/headless
./node_modules/.bin/npx webpack --mode=production
dist/converse-headless.js: src webpack.config.js stamp-npm
dist/converse-headless.js: src webpack.config.js stamp-npm @converse/headless
./node_modules/.bin/npx webpack --mode=development --type=headless
dist/converse-headless.min.js: src webpack.config.js stamp-npm
dist/converse-headless.min.js: src webpack.config.js stamp-npm @converse/headless
./node_modules/.bin/npx webpack --mode=production --type=headless
dist/converse-no-dependencies.js: src webpack.config.js stamp-npm
dist/converse-no-dependencies.js: src webpack.config.js stamp-npm @converse/headless
./node_modules/.bin/npx webpack --mode=development --type=nodeps
dist/converse-no-dependencies.min.js: src webpack.config.js stamp-npm
dist/converse-no-dependencies.min.js: src webpack.config.js stamp-npm @converse/headless
./node_modules/.bin/npx webpack --mode=production --type=nodeps
dist/converse-no-dependencies-es2015.js: src webpack.config.js stamp-npm
dist/converse-no-dependencies-es2015.js: src webpack.config.js stamp-npm @converse/headless
./node_modules/.bin/npx webpack --mode=development --type=nodeps --lang=es2015
@converse/headless: packages/headless
.PHONY: dist
dist:: build
......
{
"packages": [
".",
"packages/*"
],
"version": "4.0.2"
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment