simple structure

This commit is contained in:
2026-02-09 02:01:19 +01:00
parent e344f15430
commit 156342224c
5 changed files with 20 additions and 43 deletions
-34
View File
@@ -1,34 +0,0 @@
{
"name": "next-websockets",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "next-websockets",
"version": "1.0.0",
"license": "Apache-2.0",
"dependencies": {
"@types/node": "^25.2.2"
},
"bin": {
"next-websockets": "dist/bin/cli.js"
}
},
"node_modules/@types/node": {
"version": "25.2.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.2.2.tgz",
"integrity": "sha512-BkmoP5/FhRYek5izySdkOneRyXYN35I860MFAGupTdebyE66uZaR+bXLHq8k4DirE5DwQi3NuhvRU1jqTVwUrQ==",
"license": "MIT",
"dependencies": {
"undici-types": "~7.16.0"
}
},
"node_modules/undici-types": {
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"license": "MIT"
}
}
}
+2 -2
View File
@@ -7,11 +7,11 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"type": "module", "type": "module",
"bin": { "bin": {
"next-websockets": "dist/index.js" "next-websockets": "dist/bin/cli.js"
}, },
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"dev:tool": "next-websockets" "dev": "next-websockets"
}, },
"dependencies": { "dependencies": {
"@types/node": "^25.2.2" "@types/node": "^25.2.2"
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env node
console.log('yo')
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/env node
const args = process.argv.slice(2);
console.log("Dev tool running");
console.log("Args:", args);
console.log("CWD:", process.cwd());
+15
View File
@@ -0,0 +1,15 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@types/node@^25.2.2":
version "25.2.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-25.2.2.tgz#0ddfe326c326afcb3422d32bfe5eb2938e1cb5db"
integrity sha512-BkmoP5/FhRYek5izySdkOneRyXYN35I860MFAGupTdebyE66uZaR+bXLHq8k4DirE5DwQi3NuhvRU1jqTVwUrQ==
dependencies:
undici-types "~7.16.0"
undici-types@~7.16.0:
version "7.16.0"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.16.0.tgz#ffccdff36aea4884cbfce9a750a0580224f58a46"
integrity sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==