Convert plugins to node packages

Setup package.json for the plugins and add them back to tests now that
they are compatible again.
This commit is contained in:
Hornwitser committed 2020-10-21 21:37:26 +02:00
1 parent f06d3509e6
commit b2408d54ec
12 files changed
+82 -7

No files matched your search

-1
View File
@@ -57,7 +57,6 @@ module.exports = {
name: "subspace_storage",
title: "Subspace Storage",
description: "Provides shared storage across instances for the Subspace Storage mod",
version: "2.0.0-alpha",
instanceEntrypoint: "instance",
InstanceConfigGroup,
+19
View File
@@ -0,0 +1,19 @@
{
"name": "@clusterio/plugin-subspace_storage",
"version": "2.0.0-alpha0",
"description": "Clusterio plugin for sharing storage between Factorio servers",
"author": "Hornwitser <github@hornwitser.no>",
"homepage": "https://github.com/clusterio/clusterio#readme",
"license": "MIT",
"repository": "clusterio/factorioClusterio",
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
"url": "https://github.com/clusterio/factorioClusterio/issues"
},
"dependencies": {
"@clusterio/lib": ">=2.0.0-alpha0",
"fs-extra": "^8.1.0"
}
}
-1
View File
@@ -1,5 +1,4 @@
"use strict";
const express = require("express");
const path = require("path");
const prometheus = require("@clusterio/lib/prometheus");