create-gramstax 0.1.0 → 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 +25 -25
- package/dist/src/index.cjs +0 -0
- package/dist/src/index.js +0 -0
- package/dist/src/templates/.env.example +14 -14
- package/dist/src/templates/.prettierrc +23 -23
- package/dist/src/templates/README.md +120 -120
- package/dist/src/templates/bunfig.toml +1 -1
- package/dist/src/templates/package.json +1 -1
- package/dist/src/templates/src/base/guard.ts +11 -11
- package/dist/src/templates/src/base/index.ts +4 -4
- package/dist/src/templates/src/base/page.ts +3 -3
- package/dist/src/templates/src/base/repository.ts +1 -1
- package/dist/src/templates/src/base/service.ts +1 -1
- package/dist/src/templates/src/core/bot.ts +23 -23
- package/dist/src/templates/src/core/ctx.ts +3 -3
- package/dist/src/templates/src/core/index.ts +2 -2
- package/dist/src/templates/src/db/index.ts +1 -1
- package/dist/src/templates/src/env.ts +5 -5
- package/dist/src/templates/src/guards/index.ts +1 -1
- package/dist/src/templates/src/guards/user.ts +19 -19
- package/dist/src/templates/src/index.ts +15 -15
- package/dist/src/templates/src/pages/general-error-input-notfound.ts +28 -28
- package/dist/src/templates/src/pages/general-error.ts +60 -60
- package/dist/src/templates/src/pages/help.ts +49 -49
- package/dist/src/templates/src/pages/start.ts +69 -69
- package/dist/src/templates/src/pages/username-notfound.ts +33 -33
- package/dist/src/templates/src/repositories/example.ts +3 -3
- package/dist/src/templates/src/repositories/index.ts +1 -1
- package/dist/src/templates/src/services/example.ts +3 -3
- package/dist/src/templates/src/services/index.ts +1 -1
- package/dist/src/templates/src/threads/index.ts +1 -1
- package/dist/src/templates/src/threads/main.ts +9 -9
- package/dist/src/templates/src/utils/index.ts +1 -1
- package/dist/src/templates/src/utils/log.ts +2 -2
- package/dist/src/templates/tsconfig.json +37 -37
- package/package.json +63 -63
package/package.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "create-gramstax",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"publishConfig": {
|
|
6
|
-
"access": "public",
|
|
7
|
-
"provenance": false
|
|
8
|
-
},
|
|
9
|
-
"description": "CLI tool to quickly create a new Gramstax Telegram bot project with all the best practices",
|
|
10
|
-
"keywords": [
|
|
11
|
-
"create-gramstax",
|
|
12
|
-
"gramstax",
|
|
13
|
-
"telegram",
|
|
14
|
-
"bot",
|
|
15
|
-
"cli",
|
|
16
|
-
"generator",
|
|
17
|
-
"scaffold",
|
|
18
|
-
"telegram-bot"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"nx-release-publish": "npm publish --access public"
|
|
22
|
-
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/gramstax/gramstax.git",
|
|
26
|
-
"directory": "packages/create-gramstax"
|
|
27
|
-
},
|
|
28
|
-
"bugs": {
|
|
29
|
-
"url": "https://github.com/gramstax/gramstax/issues"
|
|
30
|
-
},
|
|
31
|
-
"homepage": "https://github.com/gramstax/gramstax",
|
|
32
|
-
"author": "gramstax",
|
|
33
|
-
"license": "MIT",
|
|
34
|
-
"type": "module",
|
|
35
|
-
"main": "./dist/src/index.js",
|
|
36
|
-
"module": "./dist/src/index.mjs",
|
|
37
|
-
"types": "./dist/src/index.d.ts",
|
|
38
|
-
"bin": {
|
|
39
|
-
"create-gramstax": "dist/src/index.js"
|
|
40
|
-
},
|
|
41
|
-
"exports": {
|
|
42
|
-
".": {
|
|
43
|
-
"types": "./dist/src/index.d.ts",
|
|
44
|
-
"import": "./dist/src/index.js",
|
|
45
|
-
"default": "./dist/src/index.js"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"files": [
|
|
49
|
-
"dist"
|
|
50
|
-
],
|
|
51
|
-
"devDependencies": {
|
|
52
|
-
"@types/bun": "latest",
|
|
53
|
-
"tsup": "^8.5.1"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"typescript": "^5.9.3"
|
|
57
|
-
},
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"commander": "^14.0.2",
|
|
60
|
-
"enquirer": "^2.4.1",
|
|
61
|
-
"logging-pretty": "^3.0.0"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "create-gramstax",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public",
|
|
7
|
+
"provenance": false
|
|
8
|
+
},
|
|
9
|
+
"description": "CLI tool to quickly create a new Gramstax Telegram bot project with all the best practices",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"create-gramstax",
|
|
12
|
+
"gramstax",
|
|
13
|
+
"telegram",
|
|
14
|
+
"bot",
|
|
15
|
+
"cli",
|
|
16
|
+
"generator",
|
|
17
|
+
"scaffold",
|
|
18
|
+
"telegram-bot"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"nx-release-publish": "npm publish --access public"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/gramstax/gramstax.git",
|
|
26
|
+
"directory": "packages/create-gramstax"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/gramstax/gramstax/issues"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/gramstax/gramstax",
|
|
32
|
+
"author": "gramstax",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"type": "module",
|
|
35
|
+
"main": "./dist/src/index.js",
|
|
36
|
+
"module": "./dist/src/index.mjs",
|
|
37
|
+
"types": "./dist/src/index.d.ts",
|
|
38
|
+
"bin": {
|
|
39
|
+
"create-gramstax": "dist/src/index.js"
|
|
40
|
+
},
|
|
41
|
+
"exports": {
|
|
42
|
+
".": {
|
|
43
|
+
"types": "./dist/src/index.d.ts",
|
|
44
|
+
"import": "./dist/src/index.js",
|
|
45
|
+
"default": "./dist/src/index.js"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"files": [
|
|
49
|
+
"dist"
|
|
50
|
+
],
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/bun": "latest",
|
|
53
|
+
"tsup": "^8.5.1"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"typescript": "^5.9.3"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"commander": "^14.0.2",
|
|
60
|
+
"enquirer": "^2.4.1",
|
|
61
|
+
"logging-pretty": "^3.0.0"
|
|
62
|
+
}
|
|
63
|
+
}
|