create-reciple 9.11.0 → 10.0.0

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.
Files changed (59) hide show
  1. package/dist/index.mjs +10 -0
  2. package/dist/index.mjs.map +1 -0
  3. package/package.json +29 -59
  4. package/LICENSE +0 -674
  5. package/README.md +0 -44
  6. package/assets/README.md +0 -29
  7. package/dist/bin.d.ts +0 -2
  8. package/dist/bin.js +0 -58
  9. package/dist/bin.js.map +0 -1
  10. package/dist/classes/Addon.d.ts +0 -68
  11. package/dist/classes/Addon.js +0 -111
  12. package/dist/classes/Addon.js.map +0 -1
  13. package/dist/classes/Config.d.ts +0 -31
  14. package/dist/classes/Config.js +0 -61
  15. package/dist/classes/Config.js.map +0 -1
  16. package/dist/classes/Setup.d.ts +0 -43
  17. package/dist/classes/Setup.js +0 -149
  18. package/dist/classes/Setup.js.map +0 -1
  19. package/dist/classes/TemplateBuilder.d.ts +0 -94
  20. package/dist/classes/TemplateBuilder.js +0 -244
  21. package/dist/classes/TemplateBuilder.js.map +0 -1
  22. package/dist/index.d.ts +0 -7
  23. package/dist/index.js +0 -8
  24. package/dist/index.js.map +0 -1
  25. package/dist/utils/constants.d.ts +0 -13
  26. package/dist/utils/constants.js +0 -75
  27. package/dist/utils/constants.js.map +0 -1
  28. package/dist/utils/helpers.d.ts +0 -32
  29. package/dist/utils/helpers.js +0 -88
  30. package/dist/utils/helpers.js.map +0 -1
  31. package/dist/utils/types.d.ts +0 -20
  32. package/dist/utils/types.js +0 -2
  33. package/dist/utils/types.js.map +0 -1
  34. package/templates/javascript/dot.gitignore +0 -130
  35. package/templates/javascript/modules/commands/PingCommand.js +0 -68
  36. package/templates/javascript/modules/events/WelcomeEvent.js +0 -54
  37. package/templates/javascript/modules/halts/CommandErrorHalt.js +0 -59
  38. package/templates/javascript/modules/preconditions/ExamplePrecondition.js +0 -27
  39. package/templates/javascript/nodemon.json +0 -16
  40. package/templates/javascript/package.json +0 -18
  41. package/templates/javascript/template.json +0 -4
  42. package/templates/typescript/dot.gitignore +0 -133
  43. package/templates/typescript/nodemon.json +0 -17
  44. package/templates/typescript/package.json +0 -21
  45. package/templates/typescript/src/commands/PingCommand.ts +0 -52
  46. package/templates/typescript/src/events/WelcomeEvent.ts +0 -39
  47. package/templates/typescript/src/halts/CommandErrorHalt.ts +0 -44
  48. package/templates/typescript/src/preconditions/ExamplePrecondition.ts +0 -18
  49. package/templates/typescript/template.json +0 -4
  50. package/templates/typescript/tsconfig.json +0 -19
  51. package/templates/typescript-decorators/dot.gitignore +0 -133
  52. package/templates/typescript-decorators/nodemon.json +0 -17
  53. package/templates/typescript-decorators/package.json +0 -22
  54. package/templates/typescript-decorators/src/commands/PingCommand.ts +0 -45
  55. package/templates/typescript-decorators/src/events/WelcomeEvent.ts +0 -37
  56. package/templates/typescript-decorators/src/halts/CommandErrorHalt.ts +0 -44
  57. package/templates/typescript-decorators/src/preconditions/ExamplePrecondition.ts +0 -18
  58. package/templates/typescript-decorators/template.json +0 -4
  59. package/templates/typescript-decorators/tsconfig.json +0 -19
package/dist/index.mjs ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ import { fork } from "node:child_process";
3
+ import { CLI } from "reciple";
4
+
5
+ //#region src/index.ts
6
+ fork(CLI.bin, ["create", ...process.argv.slice(2)], { stdio: "inherit" });
7
+
8
+ //#endregion
9
+ export { };
10
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { fork } from 'node:child_process';\nimport { CLI } from 'reciple';\n\nfork(CLI.bin, ['create', ...process.argv.slice(2)], {\n stdio: 'inherit'\n});\n"],"mappings":";;;;;AAIA,KAAK,IAAI,KAAK,CAAC,UAAU,GAAG,QAAQ,KAAK,MAAM,EAAE,CAAC,EAAE,EAChD,OAAO,WACV,CAAC"}
package/package.json CHANGED
@@ -1,59 +1,29 @@
1
- {
2
- "name": "create-reciple",
3
- "description": "A Reciple Discord bot project builder",
4
- "license": "GPL-3.0",
5
- "version": "9.11.0",
6
- "type": "module",
7
- "types": "./dist/index.d.ts",
8
- "module": "./dist/index.js",
9
- "bin": "./dist/bin.js",
10
- "keywords": [
11
- "reciple",
12
- "template"
13
- ],
14
- "exports": {
15
- ".": {
16
- "import": "./dist/index.js",
17
- "types": "./dist/index.d.ts"
18
- }
19
- },
20
- "repository": {
21
- "type": "git",
22
- "url": "https://github.com/thenorthsolution/Reciple",
23
- "directory": "packages/create-reciple"
24
- },
25
- "scripts": {
26
- "clean": "rimraf ./dist",
27
- "build": "npm run clean && tsc",
28
- "check": "tsc --noEmit",
29
- "docs": "node ../docgen/dist/bin.js -i ./src/index.ts -o ./docs/docs.json",
30
- "prepack": "npm run build"
31
- },
32
- "files": [
33
- "dist",
34
- "templates",
35
- "assets",
36
- "README.md"
37
- ],
38
- "dependencies": {
39
- "@clack/prompts": "^0.9.0",
40
- "@reciple/core": "^9.8.0",
41
- "@reciple/decorators": "^9.4.0",
42
- "@reciple/utils": "^9.7.0",
43
- "commander": "^13.0.0",
44
- "compressing": "^1.10.1",
45
- "detect-indent": "^7.0.1",
46
- "discord.js": "^14.17.2",
47
- "fallout-utility": "^2.9.1",
48
- "ora": "^8.1.1",
49
- "package-json": "^10.0.1",
50
- "reciple": "^9.8.0"
51
- },
52
- "devDependencies": {
53
- "@types/node": "^22.10.3",
54
- "nodemon": "^3.1.9",
55
- "rimraf": "^6.0.1",
56
- "typescript": "^5.7.2"
57
- },
58
- "gitHead": "b9ac3d64dcf812afd75dafd005a0f894474be865"
59
- }
1
+ {
2
+ "name": "create-reciple",
3
+ "version": "10.0.0",
4
+ "license": "LGPL-3.0-only",
5
+ "description": "Alias for `reciple create`",
6
+ "bin": "./dist/index.mjs",
7
+ "type": "module",
8
+ "files": [
9
+ "dist",
10
+ "README.md"
11
+ ],
12
+ "scripts": {
13
+ "clean": "rimraf ./dist",
14
+ "build": "tsdown --config-loader unrun",
15
+ "check": "tsc --noEmit",
16
+ "prepack": "npm run build"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/thenorthsolution/reciple",
21
+ "directory": "packages/create-reciple"
22
+ },
23
+ "dependencies": {
24
+ "reciple": "*"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ }
29
+ }