Просмотр исходного кода

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 лет назад
Родитель
Сommit
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"
   }
 }