浏览代码

Remove Lerna

Lerna assumes that all packages are published at the same time and that
they're dependent on one another.

This is not the case here. Instead, we can just manually publish
individual packages by running `npm publish` inside the particular
package to be published
JC Brand 4 年之前
父节点
当前提交
2d408e7eb9
共有 2 个文件被更改,包括 1 次插入10 次删除
  1. 0 5
      Makefile
  2. 1 5
      package.json

+ 0 - 5
Makefile

@@ -15,8 +15,3 @@ node_modules: $(LERNA) package.json package-lock.json
 .PHONY: serve
 serve: node_modules
 	$(HTTPSERVE) -p $(HTTPSERVE_PORT) -c-1
-
-
-.PHONY: publish
-publish: node_modules
-	$(LERNA) publish

+ 1 - 5
package.json

@@ -3,9 +3,6 @@
   "version": "0.0.1",
   "description": "Community plugins for Converse.js",
   "main": "index.js",
-  "scripts": {
-    "lerna": "lerna bootstrap"
-  },
   "repository": {
     "type": "git",
     "url": "git+https://github.com/conversejs/community-plugins.git"
@@ -25,7 +22,6 @@
     "npm": "^6.14.4"
   },
   "devDependencies": {
-    "http-server": "^0.12.3",
-    "lerna": "^3.20.2"
+    "http-server": "^0.12.3"
   }
 }