nexfpack 0.1.1 → 0.1.2
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/LICENSE +20 -20
- package/README-CN.md +99 -99
- package/cli.mjs +12 -12
- package/index.mjs +72 -72
- package/package.json +2 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Nexfteam
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nexfteam
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README-CN.md
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
# Nexfpack
|
|
2
|
-
|
|
3
|
-
语言: [English](https://github.com/nexfteam/Nexfpack/blob/main/README.md) | 简体中文(当前)
|
|
4
|
-
|
|
5
|
-
一个用于将Node.js脚本或模块打包为单个可执行文件的工具。
|
|
6
|
-
|
|
7
|
-
## 安装
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install -g nexfpack
|
|
11
|
-
# or
|
|
12
|
-
pnpm add -g nexfpack
|
|
13
|
-
# or
|
|
14
|
-
yarn global add nexfpack
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## 快速开始
|
|
18
|
-
|
|
19
|
-
### CLI命令
|
|
20
|
-
|
|
21
|
-
创建 `nexfpack.config.json` 配置文件并运行以下CLI命令:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
nexfpack nexfpack.config.json
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### CommonJS API
|
|
28
|
-
|
|
29
|
-
```javascript
|
|
30
|
-
const nexfpack = require('nexfpack');
|
|
31
|
-
|
|
32
|
-
const config = {
|
|
33
|
-
"name": "my-app",
|
|
34
|
-
"entry": "index.js",
|
|
35
|
-
"output": "dist",
|
|
36
|
-
"ignore": [".gitignore", "README.md"],
|
|
37
|
-
"autoRun": true
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
nexfpack(config);
|
|
41
|
-
|
|
42
|
-
// 或者使用配置文件
|
|
43
|
-
// nexfpack({configFile: 'nexfpack.config.json'})
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### ESM API
|
|
47
|
-
|
|
48
|
-
```javascript
|
|
49
|
-
import nexfpack from 'nexfpack';
|
|
50
|
-
|
|
51
|
-
const config = {
|
|
52
|
-
"name": "my-app",
|
|
53
|
-
"entry": "index.js",
|
|
54
|
-
"output": "dist",
|
|
55
|
-
"ignore": [".gitignore", "README.md"],
|
|
56
|
-
"autoRun": true
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
nexfpack(config);
|
|
60
|
-
|
|
61
|
-
// 或者使用配置文件
|
|
62
|
-
// nexfpack({configFile: 'nexfpack.config.json'})
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### 配置文件示例
|
|
66
|
-
|
|
67
|
-
```json
|
|
68
|
-
{
|
|
69
|
-
"name": "my-app",
|
|
70
|
-
"entry": "index.js",
|
|
71
|
-
"output": "dist",
|
|
72
|
-
"ignore": [".gitignore", "README.md"],
|
|
73
|
-
"autoRun": true
|
|
74
|
-
}
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## 配置项
|
|
78
|
-
|
|
79
|
-
| 名称 | 类型 | 描述 | 默认值 |
|
|
80
|
-
| --- | --- | --- | --- |
|
|
81
|
-
| name | string | 应用名称 | `nexfpack-app` |
|
|
82
|
-
| root | string | 根目录 | 若使用配置文件,则为文件所在目录,否则为 `process.cwd()` |
|
|
83
|
-
| relativeRoot | boolean | `root` 是否为相对路径 | `false` |
|
|
84
|
-
| entry | string | 入口文件路径 | `index.js` |
|
|
85
|
-
| output | string | 输出目录 | `dist` |
|
|
86
|
-
| tempdir | string | 打包过程中的临时目录 | `.nexfpack-temp` |
|
|
87
|
-
| autoDeleteTempFiles | boolean | 是否自动删除临时文件 | `true` |
|
|
88
|
-
| ignorefile | string | 忽略文件路径,优先级高于 `ignore` | `.nexfpackignore` |
|
|
89
|
-
| ignore | array | 忽略的文件或目录,支持 glob 语法 | `[]` |
|
|
90
|
-
| enabledSign | boolean | 是否启用签名(暂不支持) | `false` |
|
|
91
|
-
| autoRun | boolean | 是否自动运行打包后的可执行文件 | `false` |
|
|
92
|
-
|
|
93
|
-
## 环境要求
|
|
94
|
-
|
|
95
|
-
- Node.js >= 20.12.0
|
|
96
|
-
|
|
97
|
-
## License
|
|
98
|
-
|
|
99
|
-
MIT
|
|
1
|
+
# Nexfpack
|
|
2
|
+
|
|
3
|
+
语言: [English](https://github.com/nexfteam/Nexfpack/blob/main/README.md) | 简体中文(当前)
|
|
4
|
+
|
|
5
|
+
一个用于将Node.js脚本或模块打包为单个可执行文件的工具。
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g nexfpack
|
|
11
|
+
# or
|
|
12
|
+
pnpm add -g nexfpack
|
|
13
|
+
# or
|
|
14
|
+
yarn global add nexfpack
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## 快速开始
|
|
18
|
+
|
|
19
|
+
### CLI命令
|
|
20
|
+
|
|
21
|
+
创建 `nexfpack.config.json` 配置文件并运行以下CLI命令:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
nexfpack nexfpack.config.json
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### CommonJS API
|
|
28
|
+
|
|
29
|
+
```javascript
|
|
30
|
+
const nexfpack = require('nexfpack');
|
|
31
|
+
|
|
32
|
+
const config = {
|
|
33
|
+
"name": "my-app",
|
|
34
|
+
"entry": "index.js",
|
|
35
|
+
"output": "dist",
|
|
36
|
+
"ignore": [".gitignore", "README.md"],
|
|
37
|
+
"autoRun": true
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
nexfpack(config);
|
|
41
|
+
|
|
42
|
+
// 或者使用配置文件
|
|
43
|
+
// nexfpack({configFile: 'nexfpack.config.json'})
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### ESM API
|
|
47
|
+
|
|
48
|
+
```javascript
|
|
49
|
+
import nexfpack from 'nexfpack';
|
|
50
|
+
|
|
51
|
+
const config = {
|
|
52
|
+
"name": "my-app",
|
|
53
|
+
"entry": "index.js",
|
|
54
|
+
"output": "dist",
|
|
55
|
+
"ignore": [".gitignore", "README.md"],
|
|
56
|
+
"autoRun": true
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
nexfpack(config);
|
|
60
|
+
|
|
61
|
+
// 或者使用配置文件
|
|
62
|
+
// nexfpack({configFile: 'nexfpack.config.json'})
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### 配置文件示例
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"name": "my-app",
|
|
70
|
+
"entry": "index.js",
|
|
71
|
+
"output": "dist",
|
|
72
|
+
"ignore": [".gitignore", "README.md"],
|
|
73
|
+
"autoRun": true
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## 配置项
|
|
78
|
+
|
|
79
|
+
| 名称 | 类型 | 描述 | 默认值 |
|
|
80
|
+
| --- | --- | --- | --- |
|
|
81
|
+
| name | string | 应用名称 | `nexfpack-app` |
|
|
82
|
+
| root | string | 根目录 | 若使用配置文件,则为文件所在目录,否则为 `process.cwd()` |
|
|
83
|
+
| relativeRoot | boolean | `root` 是否为相对路径 | `false` |
|
|
84
|
+
| entry | string | 入口文件路径 | `index.js` |
|
|
85
|
+
| output | string | 输出目录 | `dist` |
|
|
86
|
+
| tempdir | string | 打包过程中的临时目录 | `.nexfpack-temp` |
|
|
87
|
+
| autoDeleteTempFiles | boolean | 是否自动删除临时文件 | `true` |
|
|
88
|
+
| ignorefile | string | 忽略文件路径,优先级高于 `ignore` | `.nexfpackignore` |
|
|
89
|
+
| ignore | array | 忽略的文件或目录,支持 glob 语法 | `[]` |
|
|
90
|
+
| enabledSign | boolean | 是否启用签名(暂不支持) | `false` |
|
|
91
|
+
| autoRun | boolean | 是否自动运行打包后的可执行文件 | `false` |
|
|
92
|
+
|
|
93
|
+
## 环境要求
|
|
94
|
+
|
|
95
|
+
- Node.js >= 20.12.0
|
|
96
|
+
|
|
97
|
+
## License
|
|
98
|
+
|
|
99
|
+
MIT
|
package/cli.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import nexfpack from "./index.mjs";
|
|
3
|
-
|
|
4
|
-
const args = process.argv.slice(2);
|
|
5
|
-
if(args.length === 0) {
|
|
6
|
-
console.log("Usage: nexfpack <config-file-path>");
|
|
7
|
-
process.exit(1);
|
|
8
|
-
}
|
|
9
|
-
const configFilePath = args[0];
|
|
10
|
-
|
|
11
|
-
nexfpack({
|
|
12
|
-
configFile: configFilePath,
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import nexfpack from "./index.mjs";
|
|
3
|
+
|
|
4
|
+
const args = process.argv.slice(2);
|
|
5
|
+
if(args.length === 0) {
|
|
6
|
+
console.log("Usage: nexfpack <config-file-path>");
|
|
7
|
+
process.exit(1);
|
|
8
|
+
}
|
|
9
|
+
const configFilePath = args[0];
|
|
10
|
+
|
|
11
|
+
nexfpack({
|
|
12
|
+
configFile: configFilePath,
|
|
13
13
|
});
|
package/index.mjs
CHANGED
|
@@ -68,23 +68,23 @@ function listAllFiles(dir) {
|
|
|
68
68
|
}
|
|
69
69
|
async function nexfpack(options) {
|
|
70
70
|
try {
|
|
71
|
-
console.log(`
|
|
72
|
-
__ _ __ _
|
|
73
|
-
/ \\ / /\\_____\\ \\ / /
|
|
74
|
-
/ /\\ \\ / / / ____/\\ \\/ /
|
|
75
|
-
/ / /\\ \\/ / / /____\\/\\ /_____
|
|
76
|
-
/_/ / \\__/ / ____/\\ / \\ ___\\
|
|
77
|
-
\\_\\/ \\_\\/ /____\\/ / /\\ \\ \\__/
|
|
78
|
-
/_____/\\ /_/ \\_\\ __\\
|
|
79
|
-
\\_____\\/ \\ \\ \\_/
|
|
80
|
-
\\ \\_\\
|
|
81
|
-
_______ _____ \\/_/__
|
|
82
|
-
| ___ | /\\ | ___| | | / /
|
|
83
|
-
| |___| | / \\ | | | |/ /
|
|
84
|
-
| _____| / /\\ \\ | | | |
|
|
85
|
-
| | / ____ \\ | |___ | |\\ \\
|
|
86
|
-
|_| /_/ \\_\\ |_____| |_| \\_\\
|
|
87
|
-
|
|
71
|
+
console.log(`
|
|
72
|
+
__ _ __ _
|
|
73
|
+
/ \\ / /\\_____\\ \\ / /
|
|
74
|
+
/ /\\ \\ / / / ____/\\ \\/ /
|
|
75
|
+
/ / /\\ \\/ / / /____\\/\\ /_____
|
|
76
|
+
/_/ / \\__/ / ____/\\ / \\ ___\\
|
|
77
|
+
\\_\\/ \\_\\/ /____\\/ / /\\ \\ \\__/
|
|
78
|
+
/_____/\\ /_/ \\_\\ __\\
|
|
79
|
+
\\_____\\/ \\ \\ \\_/
|
|
80
|
+
\\ \\_\\
|
|
81
|
+
_______ _____ \\/_/__
|
|
82
|
+
| ___ | /\\ | ___| | | / /
|
|
83
|
+
| |___| | / \\ | | | |/ /
|
|
84
|
+
| _____| / /\\ \\ | | | |
|
|
85
|
+
| | / ____ \\ | |___ | |\\ \\
|
|
86
|
+
|_| /_/ \\_\\ |_____| |_| \\_\\
|
|
87
|
+
|
|
88
88
|
`);
|
|
89
89
|
console.log('▶️ Start packing...');
|
|
90
90
|
console.log('🧪 Tips: Nexfpack is very experimental. It may have some errors.');
|
|
@@ -150,61 +150,61 @@ async function nexfpack(options) {
|
|
|
150
150
|
seaConfigContent.assets[`node_modules/${relativePath}`] = file;
|
|
151
151
|
}
|
|
152
152
|
fs.writeFileSync(path.join(filledConfig.tempdir, 'sea-config.json'), JSON.stringify(seaConfigContent));
|
|
153
|
-
const launcherContent = `
|
|
154
|
-
(async () => {
|
|
155
|
-
const fs = require('fs');
|
|
156
|
-
const path = require('path');
|
|
157
|
-
const os = require('os');
|
|
158
|
-
const { pathToFileURL } = require('url');
|
|
159
|
-
let sea;
|
|
160
|
-
try {
|
|
161
|
-
sea = require('node:sea');
|
|
162
|
-
} catch (e1) {
|
|
163
|
-
try {
|
|
164
|
-
sea = process.getBuiltinModule('sea');
|
|
165
|
-
} catch (e2) {
|
|
166
|
-
try {
|
|
167
|
-
sea = globalThis.process?.getBuiltinModule?.('sea');
|
|
168
|
-
} catch (e3) {
|
|
169
|
-
sea = null;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
const tempDir = path.join(os.tmpdir(), 'TEMP-NEXFPACK-' + Date.now() + '-' + Math.random().toString(36).substring(2));
|
|
175
|
-
fs.mkdirSync(tempDir, { recursive: true });
|
|
176
|
-
|
|
177
|
-
try {
|
|
178
|
-
const keys = ${JSON.stringify(Object.keys(seaConfigContent.assets).filter(key => key !== 'source.tar'))};
|
|
179
|
-
for (const key of keys) {
|
|
180
|
-
const data = sea.getRawAsset(key);
|
|
181
|
-
const filePath = path.join(tempDir, 'LANCHER', key);
|
|
182
|
-
fs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
183
|
-
fs.writeFileSync(filePath, Buffer.from(data));
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
const tarData = sea.getRawAsset('source.tar');
|
|
187
|
-
|
|
188
|
-
const tarFile = path.join(tempDir, 'source.tar');
|
|
189
|
-
fs.writeFileSync(tarFile, Buffer.from(tarData));
|
|
190
|
-
|
|
191
|
-
const { unpackTar } = await import(pathToFileURL(path.join(tempDir, 'LANCHER', 'node_modules', 'modern-tar', 'dist', 'fs', 'index.js')));
|
|
192
|
-
const extractStream = unpackTar(tempDir);
|
|
193
|
-
const tarReadStream = fs.createReadStream(tarFile);
|
|
194
|
-
const { pipeline } = require('stream/promises');
|
|
195
|
-
await pipeline(tarReadStream, extractStream);
|
|
196
|
-
|
|
197
|
-
const entry = path.resolve(tempDir, ${JSON.stringify(filledConfig.entry)});
|
|
198
|
-
try {
|
|
199
|
-
require(entry);
|
|
200
|
-
} catch {
|
|
201
|
-
await import(pathToFileURL(entry));
|
|
202
|
-
}
|
|
203
|
-
} catch (err) {
|
|
204
|
-
console.error(err);
|
|
205
|
-
}
|
|
206
|
-
fs.rmSync(tempDir, { recursive: true, force: true });
|
|
207
|
-
})();
|
|
153
|
+
const launcherContent = `
|
|
154
|
+
(async () => {
|
|
155
|
+
const fs = require('fs');
|
|
156
|
+
const path = require('path');
|
|
157
|
+
const os = require('os');
|
|
158
|
+
const { pathToFileURL } = require('url');
|
|
159
|
+
let sea;
|
|
160
|
+
try {
|
|
161
|
+
sea = require('node:sea');
|
|
162
|
+
} catch (e1) {
|
|
163
|
+
try {
|
|
164
|
+
sea = process.getBuiltinModule('sea');
|
|
165
|
+
} catch (e2) {
|
|
166
|
+
try {
|
|
167
|
+
sea = globalThis.process?.getBuiltinModule?.('sea');
|
|
168
|
+
} catch (e3) {
|
|
169
|
+
sea = null;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
const tempDir = path.join(os.tmpdir(), 'TEMP-NEXFPACK-' + Date.now() + '-' + Math.random().toString(36).substring(2));
|
|
175
|
+
fs.mkdirSync(tempDir, { recursive: true });
|
|
176
|
+
|
|
177
|
+
try {
|
|
178
|
+
const keys = ${JSON.stringify(Object.keys(seaConfigContent.assets).filter(key => key !== 'source.tar'))};
|
|
179
|
+
for (const key of keys) {
|
|
180
|
+
const data = sea.getRawAsset(key);
|
|
181
|
+
const filePath = path.join(tempDir, 'LANCHER', key);
|
|
182
|
+
fs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
183
|
+
fs.writeFileSync(filePath, Buffer.from(data));
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const tarData = sea.getRawAsset('source.tar');
|
|
187
|
+
|
|
188
|
+
const tarFile = path.join(tempDir, 'source.tar');
|
|
189
|
+
fs.writeFileSync(tarFile, Buffer.from(tarData));
|
|
190
|
+
|
|
191
|
+
const { unpackTar } = await import(pathToFileURL(path.join(tempDir, 'LANCHER', 'node_modules', 'modern-tar', 'dist', 'fs', 'index.js')));
|
|
192
|
+
const extractStream = unpackTar(tempDir);
|
|
193
|
+
const tarReadStream = fs.createReadStream(tarFile);
|
|
194
|
+
const { pipeline } = require('stream/promises');
|
|
195
|
+
await pipeline(tarReadStream, extractStream);
|
|
196
|
+
|
|
197
|
+
const entry = path.resolve(tempDir, ${JSON.stringify(filledConfig.entry)});
|
|
198
|
+
try {
|
|
199
|
+
require(entry);
|
|
200
|
+
} catch {
|
|
201
|
+
await import(pathToFileURL(entry));
|
|
202
|
+
}
|
|
203
|
+
} catch (err) {
|
|
204
|
+
console.error(err);
|
|
205
|
+
}
|
|
206
|
+
fs.rmSync(tempDir, { recursive: true, force: true });
|
|
207
|
+
})();
|
|
208
208
|
`;
|
|
209
209
|
fs.writeFileSync(path.join(filledConfig.tempdir, 'launcher.cjs'), launcherContent);
|
|
210
210
|
const blobSpawnResult = child_process.spawnSync('node --experimental-sea-config sea-config.json', { stdio: 'inherit', cwd: filledConfig.tempdir, shell: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexfpack",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A tool for building single executable files from Node.js scripts or modules.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/nexfteam/Nexfpack",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"homepage": "https://github.com/nexfteam/Nexfpack#readme",
|
|
11
11
|
"author": "nexfteam",
|
|
12
12
|
"type": "module",
|
|
13
|
+
"types": "index.d.mts",
|
|
13
14
|
"main": "index.cjs",
|
|
14
15
|
"module": "index.mjs",
|
|
15
16
|
"exports": {
|