Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
2d408e7eb9
2 muutettua tiedostoa jossa 1 lisäystä ja 10 poistoa
  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
 .PHONY: serve
 serve: node_modules
 serve: node_modules
 	$(HTTPSERVE) -p $(HTTPSERVE_PORT) -c-1
 	$(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",
   "version": "0.0.1",
   "description": "Community plugins for Converse.js",
   "description": "Community plugins for Converse.js",
   "main": "index.js",
   "main": "index.js",
-  "scripts": {
-    "lerna": "lerna bootstrap"
-  },
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",
     "url": "git+https://github.com/conversejs/community-plugins.git"
     "url": "git+https://github.com/conversejs/community-plugins.git"
@@ -25,7 +22,6 @@
     "npm": "^6.14.4"
     "npm": "^6.14.4"
   },
   },
   "devDependencies": {
   "devDependencies": {
-    "http-server": "^0.12.3",
-    "lerna": "^3.20.2"
+    "http-server": "^0.12.3"
   }
   }
 }
 }