Commit 18024b8b authored by JC Brand's avatar JC Brand

Store lerna packages in the `src` directory

- Also update versions in package.json
- Update Makefile
parent 1ed12d96
...@@ -44,6 +44,7 @@ help: ...@@ -44,6 +44,7 @@ help:
@echo " all A synonym for 'make dev'." @echo " all A synonym for 'make dev'."
@echo " build Create minified builds of converse.js and all its dependencies." @echo " build Create minified builds of converse.js and all its dependencies."
@echo " clean Remove all NPM and Ruby packages." @echo " clean Remove all NPM and Ruby packages."
@echo " check Run all tests."
@echo " css Generate CSS from the Sass files." @echo " css Generate CSS from the Sass files."
@echo " dev Set up the development environment. To force a fresh start, run 'make clean' first." @echo " dev Set up the development environment. To force a fresh start, run 'make clean' first."
@echo " html Make standalone HTML files of the documentation." @echo " html Make standalone HTML files of the documentation."
...@@ -52,6 +53,7 @@ help: ...@@ -52,6 +53,7 @@ help:
@echo " pot Generate a gettext POT file to be used for translations." @echo " pot Generate a gettext POT file to be used for translations."
@echo " release Prepare a new release of converse.js. E.g. make release VERSION=0.9.5" @echo " release Prepare a new release of converse.js. E.g. make release VERSION=0.9.5"
@echo " serve Serve this directory via a webserver on port 8000." @echo " serve Serve this directory via a webserver on port 8000."
@echo " serve_bg Same as "serve", but do it in the background
@echo " stamp-npm Install NPM dependencies" @echo " stamp-npm Install NPM dependencies"
@echo " stamp-bundler Install Bundler (Ruby) dependencies" @echo " stamp-bundler Install Bundler (Ruby) dependencies"
@echo " watch Tells Sass to watch the .scss files for changes and then automatically update the CSS files." @echo " watch Tells Sass to watch the .scss files for changes and then automatically update the CSS files."
...@@ -112,7 +114,7 @@ release: ...@@ -112,7 +114,7 @@ release:
$(LERNA): $(LERNA):
npm install lerna npm install lerna
stamp-npm: $(LERNA) package.json package-lock.json packages/headless/package.json stamp-npm: $(LERNA) package.json package-lock.json src/headless/package.json
$(LERNA) bootstrap --hoist $(LERNA) bootstrap --hoist
touch stamp-npm touch stamp-npm
...@@ -205,7 +207,7 @@ dist/converse-no-dependencies.min.js: src webpack.config.js stamp-npm @converse/ ...@@ -205,7 +207,7 @@ dist/converse-no-dependencies.min.js: src webpack.config.js stamp-npm @converse/
dist/converse-no-dependencies-es2015.js: src webpack.config.js stamp-npm @converse/headless 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 ./node_modules/.bin/npx webpack --mode=development --type=nodeps --lang=es2015
@converse/headless: packages/headless @converse/headless: src/headless
.PHONY: dist .PHONY: dist
dist:: build dist:: build
......
{ {
"packages": [ "packages": [
".", ".",
"packages/*" "src/*"
], ],
"version": "4.0.2" "version": "4.0.3"
} }
...@@ -16848,10 +16848,7 @@ ...@@ -16848,10 +16848,7 @@
} }
}, },
"strophe.js": { "strophe.js": {
"version": "1.3.0", "version": "github:strophe/strophejs#a2692dcfdaf7d591254ac73f3d8584992b6f8da7"
"resolved": "https://registry.npmjs.org/strophe.js/-/strophe.js-1.3.0.tgz",
"integrity": "sha512-1NSLqtpHevIGb0xQEY33XqaH+/cfrKenLwD5Vwn9QqY/cB21JGDUNg5afhDePXlaFViWHE6M80UkfIzQLbUGKQ==",
"dev": true
}, },
"strophejs-plugin-ping": { "strophejs-plugin-ping": {
"version": "0.0.3", "version": "0.0.3",
...@@ -16859,7 +16856,7 @@ ...@@ -16859,7 +16856,7 @@
"integrity": "sha512-HS/ArEGKXfu36fihjUSfjqmqOSyppQTJUbrkfEtOBRJmnaP3LsRRe5T2S3dmCdsWHKORaJYc/OHSKfFlxHPdqw==", "integrity": "sha512-HS/ArEGKXfu36fihjUSfjqmqOSyppQTJUbrkfEtOBRJmnaP3LsRRe5T2S3dmCdsWHKORaJYc/OHSKfFlxHPdqw==",
"dev": true, "dev": true,
"requires": { "requires": {
"strophe.js": "1.3.0" "strophe.js": "github:strophe/strophejs#a2692dcfdaf7d591254ac73f3d8584992b6f8da7"
} }
}, },
"strophejs-plugin-register": { "strophejs-plugin-register": {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/jcbrand/converse.js.git" "url": "git://github.com/conversejs/converse.js.git"
}, },
"keywords": [ "keywords": [
"XMPP", "XMPP",
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
"backbone": "1.3.3", "backbone": "1.3.3",
"backbone.browserStorage": "0.0.4", "backbone.browserStorage": "0.0.4",
"backbone.nativeview": "^0.3.3", "backbone.nativeview": "^0.3.3",
"backbone.overview": "1.0.2", "backbone.overview": "^1.0.2",
"backbone.vdomview": "1.0.1", "backbone.vdomview": "^1.0.1",
"bootstrap": "^4.0.0", "bootstrap": "^4.0.0",
"bootstrap.native": "^2.0.23", "bootstrap.native": "^2.0.23",
"bourbon": "^4.3.2", "bourbon": "^4.3.2",
......
{ {
"name": "@converse/headless", "name": "@converse/headless",
"version": "4.0.2", "version": "4.0.3",
"description": "Converse.js Headless build", "description": "Converse.js Headless build",
"author": "cmrd Senya <senya@riseup.net>", "author": "cmrd Senya <senya@riseup.net>",
"homepage": "https://github.com/jcbrand/converse.js", "homepage": "https://github.com/conversejs/converse.js",
"license": "MPL-2.0", "license": "MPL-2.0",
"main": "converse-core.js", "main": "converse-core.js",
"files": [ "files": [
...@@ -12,18 +12,18 @@ ...@@ -12,18 +12,18 @@
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/jcbrand/converse.js.git" "url": "git+https://github.com/conversejs/converse.js.git"
}, },
"scripts": { "scripts": {
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"bugs": { "bugs": {
"url": "https://github.com/jcbrand/converse.js/issues" "url": "https://github.com/conversejs/converse.js/issues"
}, },
"gitHead": "9641dcdc820e029b05930479c242d2b707bbe8e2", "gitHead": "9641dcdc820e029b05930479c242d2b707bbe8e2",
"dependencies": { "dependencies": {
"backbone": "1.3.3", "backbone": "1.3.3",
"backbone.browserStorage": "0.0.3", "backbone.browserStorage": "0.0.4",
"backbone.nativeview": "^0.3.3", "backbone.nativeview": "^0.3.3",
"backbone.overview": "^1.0.2", "backbone.overview": "^1.0.2",
"backbone.vdomview": "^1.0.1", "backbone.vdomview": "^1.0.1",
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
"pluggable.js": "2.0.0", "pluggable.js": "2.0.0",
"sizzle": "^2.3.3", "sizzle": "^2.3.3",
"strophe.js": "strophe/strophejs#a2692dcfdaf7d591254ac73f3d8584992b6f8da7", "strophe.js": "strophe/strophejs#a2692dcfdaf7d591254ac73f3d8584992b6f8da7",
"strophejs-plugin-ping": "0.0.1", "strophejs-plugin-ping": "0.0.3",
"strophejs-plugin-rsm": "0.0.1", "strophejs-plugin-rsm": "0.0.2",
"urijs": "^1.19.1" "urijs": "^1.19.1"
} }
} }
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