@infernus/core 0.9.3 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +21 -4
- package/dist/bundle.js +1 -1
- package/dist/bundle.mjs +1 -1
- package/package.json +11 -12
- package/rollup.config.mjs +0 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infernus/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
4
4
|
"description": "NodeJS library for Scripting Open Multiplayer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"omp",
|
|
@@ -25,20 +25,19 @@
|
|
|
25
25
|
"main": "dist/bundle.js",
|
|
26
26
|
"module": "dist/bundle.mjs",
|
|
27
27
|
"types": "dist/bundle.d.ts",
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
28
31
|
"dependencies": {
|
|
29
32
|
"iconv-lite": "^0.6.3",
|
|
30
|
-
"lodash": "^
|
|
31
|
-
"pino": "
|
|
32
|
-
"pino-pretty": "^9.
|
|
33
|
-
"@infernus/
|
|
34
|
-
"@infernus/
|
|
33
|
+
"lodash-unified": "^1.0.3",
|
|
34
|
+
"pino": "^8.16.2",
|
|
35
|
+
"pino-pretty": "^9.4.1",
|
|
36
|
+
"@infernus/wrapper": "^0.2.6",
|
|
37
|
+
"@infernus/streamer": "^0.2.4"
|
|
35
38
|
},
|
|
36
39
|
"devDependencies": {
|
|
37
|
-
"@types/lodash": "^4.
|
|
40
|
+
"@types/lodash-es": "^4.17.12"
|
|
38
41
|
},
|
|
39
|
-
"
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "npm run lint && rollup -c",
|
|
42
|
-
"lint": "eslint --fix ./src"
|
|
43
|
-
}
|
|
42
|
+
"scripts": {}
|
|
44
43
|
}
|
package/rollup.config.mjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
const require = createRequire(import.meta.url);
|
|
3
|
-
const { compilerOptions } = require("./tsconfig.json");
|
|
4
|
-
|
|
5
|
-
import esbuild from "rollup-plugin-esbuild";
|
|
6
|
-
import del from "rollup-plugin-delete";
|
|
7
|
-
import externals from "rollup-plugin-node-externals";
|
|
8
|
-
import dts from "rollup-plugin-dts";
|
|
9
|
-
import { typescriptPaths } from "rollup-plugin-typescript-paths";
|
|
10
|
-
|
|
11
|
-
const inputPath = "./src/main.ts";
|
|
12
|
-
const outputPath = "./dist";
|
|
13
|
-
export default [
|
|
14
|
-
{
|
|
15
|
-
input: inputPath,
|
|
16
|
-
output: [
|
|
17
|
-
{ file: outputPath + "/bundle.js", format: "cjs" },
|
|
18
|
-
{ file: outputPath + "/bundle.mjs", format: "es" },
|
|
19
|
-
],
|
|
20
|
-
plugins: [
|
|
21
|
-
del({ targets: outputPath + "/*" }),
|
|
22
|
-
esbuild({ minify: true }),
|
|
23
|
-
typescriptPaths({ preserveExtensions: true }),
|
|
24
|
-
externals(),
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
input: inputPath,
|
|
29
|
-
output: [{ file: outputPath + "/bundle.d.ts" }],
|
|
30
|
-
plugins: [dts({ compilerOptions: { paths: compilerOptions.paths } })],
|
|
31
|
-
},
|
|
32
|
-
];
|