nexocord 1.0.0 → 1.0.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/README.md CHANGED
@@ -1,13 +1,12 @@
1
- # Nexo.js
2
- ![npm](https://img.shields.io/npm/v/%40mitsuk%2Fnexo.js)
3
- ![license](https://img.shields.io/npm/l/%40mitsuk%2Fnexo.js)
4
- ![downloads](https://img.shields.io/npm/dm/%40mitsuk%2Fnexo.js)
1
+ # Nexocord
2
+ ![npm](https://img.shields.io/npm/v/%40mitsuk%2Fnexocord)
3
+ ![license](https://img.shields.io/npm/l/%40mitsuk%2Fnexocord)
5
4
 
6
- Nexo.js é um framework para criação de bots Discord modernos usando TypeScript ou JavaScript, focado em organização, produtividade e escalabilidade desde o primeiro arquivo.
5
+ Nexocord é um framework para criação de bots Discord modernos usando TypeScript ou JavaScript, focado em organização, produtividade e escalabilidade desde o primeiro arquivo.
7
6
 
8
7
  ## 📚 Documentação
9
- - Site oficial: https://nexo-js.vercel.app/
10
- - Repositório: https://github.com/mitsukiie/Nexo.js
8
+ - Site oficial: https://nexocord.vercel.app/
9
+ - Repositório: https://github.com/mitsukiie/NexoCord
11
10
 
12
11
  ## ✨ Features
13
12
  - ⚡ Setup em segundos
@@ -17,12 +16,12 @@ Nexo.js é um framework para criação de bots Discord modernos usando TypeScrip
17
16
  - 🔄 Compatível com Node.js e Bun
18
17
  - 📦 Suporte a ESM e CommonJS
19
18
 
20
- ## 🤔 Por que usar Nexo.js?
19
+ ## 🤔 Por que usar Nexocord?
21
20
 
22
21
  Criar bots apenas com discord.js exige estrutura manual,
23
22
  carregamento de arquivos e muito boilerplate.
24
23
 
25
- O Nexo.js resolve isso oferecendo:
24
+ O Nexocord resolve isso oferecendo:
26
25
 
27
26
  - estrutura pronta
28
27
  - carregamento automático
@@ -34,13 +33,13 @@ O Nexo.js resolve isso oferecendo:
34
33
  ## 📦 Instalação
35
34
 
36
35
  ```bash
37
- npm install @mitsuk/nexo.js discord.js
36
+ npm install nexocord discord.js
38
37
  ```
39
38
 
40
39
  Com Bun:
41
40
 
42
41
  ```bash
43
- bun add @mitsuk/nexo.js discord.js
42
+ bun add nexocord discord.js
44
43
  ```
45
44
 
46
45
  ## ⚙️ Configuração
@@ -54,7 +53,7 @@ TOKEN=seu_token_aqui
54
53
  Crie um arquivo de entrada (exemplo: `src/index.js`):
55
54
 
56
55
  ```js
57
- const { Bootstrap } = require('@mitsuk/nexo.js');
56
+ const { Bootstrap } = require('nexocord');
58
57
  const { GatewayIntentBits } = require('discord.js');
59
58
 
60
59
  async function main() {
@@ -77,7 +76,7 @@ main()
77
76
  `src/commands/util/ping.ts`
78
77
 
79
78
  ```ts
80
- const { createCommand, CommandType } = require('@mitsuk/nexo.js');
79
+ const { createCommand, CommandType } = require('nexocord');
81
80
 
82
81
  module.exports = createCommand({
83
82
  name: 'ping',
@@ -94,7 +93,7 @@ module.exports = createCommand({
94
93
  `src/events/ready.ts`
95
94
 
96
95
  ```ts
97
- const { createEvent } = require('@mitsuk/nexo.js');
96
+ const { createEvent } = require('nexocord');
98
97
 
99
98
  module.exports = createEvent({
100
99
  name: 'ready',
@@ -106,7 +105,7 @@ module.exports = createEvent({
106
105
  ```
107
106
 
108
107
  ## 🧰 CLI
109
- O Nexo.js inclui uma CLI própria.
108
+ O Nexocord inclui uma CLI própria.
110
109
 
111
110
  ```bash
112
111
  # desenvolvimento
@@ -136,7 +135,7 @@ src/
136
135
 
137
136
  ## 🚧 Status do projeto
138
137
 
139
- O Nexo.js está em desenvolvimento ativo.
138
+ O Nexocord está em desenvolvimento ativo.
140
139
  Feedbacks e contribuições são bem-vindos!
141
140
 
142
141
  ## Licença
package/dist/bin/cli.js CHANGED
@@ -2672,7 +2672,7 @@ function run(cmd, args) {
2672
2672
  }
2673
2673
  var log = {
2674
2674
  start: () => console.log(`
2675
- ` + source_default.cyan.bold("\uD83D\uDE80 Nexo.js")),
2675
+ ` + source_default.cyan.bold("\uD83D\uDE80 Nexocord")),
2676
2676
  runtime: () => console.log(source_default.blue("⚙️ Runtime: ") + source_default.magenta(isBun ? "Bun" : "Node.js")),
2677
2677
  env: () => console.log(source_default.green("\uD83C\uDF31 .env carregado automaticamente")),
2678
2678
  watch: () => {
@@ -2687,7 +2687,7 @@ var log = {
2687
2687
  };
2688
2688
  var program2 = new Command;
2689
2689
  program2.name("nexo").description(source_default.gray("Framework moderno para bots Discord com foco em DX e performance")).version("1.0.0").addHelpText("after", `
2690
- ${source_default.cyan("Docs:")} ${source_default.gray("https://nexo-js.vercel.app/")}
2690
+ ${source_default.cyan("Docs:")} ${source_default.gray("https://nexocord.vercel.app/")}
2691
2691
  `);
2692
2692
  program2.command("dev").description("Inicia o bot em modo desenvolvimento").argument("[file]", "Arquivo de entrada").option("-w, --watch", "Reinicia automaticamente ao salvar").action((file, options) => {
2693
2693
  const entry = resolveEntry(file);
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "nexocord",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Framework TypeScript moderno para criar bots escaláveis ​​do Discord com discord.js v14, apresentando arquitetura modular, cli e utilitários amigáveis ​​para desenvolvedores.",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "MIT",
8
+ "author": {
9
+ "name": "Mitsuki",
10
+ "url": "https://github.com/mitsukiie"
11
+ },
8
12
  "homepage": "https://github.com/mitsukiie/NexoCord#readme",
9
13
  "bugs": {
10
14
  "url": "https://github.com/mitsukiie/NexoCord/issues"
@@ -13,10 +17,6 @@
13
17
  "type": "git",
14
18
  "url": "https://github.com/mitsukiie/NexoCord.git"
15
19
  },
16
- "author": {
17
- "name": "Mitsuki",
18
- "url": "https://github.com/mitsukiie"
19
- },
20
20
  "keywords": [
21
21
  "discord",
22
22
  "discordjs",
@@ -34,9 +34,6 @@
34
34
  "cli",
35
35
  "nexocord"
36
36
  ],
37
- "engines": {
38
- "node": ">=20"
39
- },
40
37
  "exports": {
41
38
  ".": {
42
39
  "types": "./dist/index.d.ts",
@@ -61,6 +58,10 @@
61
58
  "bin": {
62
59
  "nexo": "./dist/bin/cli.js"
63
60
  },
61
+
62
+ "engines": {
63
+ "node": ">=20"
64
+ },
64
65
  "scripts": {
65
66
  "build": "bun build src/index.ts --outdir dist --target node --format esm && bun build src/index.ts --target node --format cjs --outfile dist/index.cjs && bun build src/bin/cli.ts --outdir dist/bin --target node --format esm && bunx tsc --emitDeclarationOnly --outDir dist"
66
67
  },