@necord/schematics 1.3.4 → 1.3.5-dev.1699146823.f540b27

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,6 +1,21 @@
1
- # @necord/schematics
2
-
3
- This is a collection of schematics for Necord projects.
1
+ <div align="center">
2
+ <h1>
3
+ <a href="#"><img src="https://necord.org/img/logo.png"></a>
4
+ </h1>
5
+ 📜 A collection of schematics for Necord projects with NestJS <b><a href="https://discord.com/">Discord</a> bots</b> using <a href="https://nestjs.com">NestJS</a>, based on <a href="https://discord.js.org/">Discord.js</a>
6
+ <br/><br/>
7
+ <a href="https://necord.org">Documentation ✨</a> &emsp; <a href="https://github.com/SocketSomeone/necord">Source code 🪡</a> &emsp; <a href="https://github.com/necordjs/samples">Examples 🛠️</a> &emsp; <a href="https://discord.gg/mcBYvMTnwP">Community 💬</a>
8
+ </div>
9
+
10
+
11
+ <br/>
12
+
13
+ <p align="center">
14
+ <a href='https://img.shields.io/npm/v/necord'><img src="https://img.shields.io/npm/v/necord" alt="NPM Version" /></a>
15
+ <a href='https://img.shields.io/npm/l/necord'><img src="https://img.shields.io/npm/l/necord" alt="NPM License" /></a>
16
+ <a href='https://img.shields.io/npm/dm/necord'><img src="https://img.shields.io/npm/dm/necord" alt="NPM Downloads" /></a>
17
+ <a href='https://img.shields.io/github/last-commit/necordjs/necord'><img src="https://img.shields.io/github/last-commit/SocketSomeone/necord" alt="Last commit" /></a>
18
+ </p>
4
19
 
5
20
  ### Installation
6
21
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@necord/schematics",
3
3
  "description": "A collection of schematics for Necord projects with NestJS",
4
- "version": "1.3.4",
4
+ "version": "1.3.5-dev.1699146823.f540b27",
5
5
  "scripts": {
6
6
  "build": "rimraf -rf dist && tsc -p tsconfig.json",
7
7
  "postbuild": "npm run copy:collection && npm run copy:lib",
@@ -38,28 +38,28 @@
38
38
  "necord"
39
39
  ],
40
40
  "dependencies": {
41
- "@angular-devkit/core": "16.1.0",
42
- "@angular-devkit/schematics": "16.1.0",
43
- "@nestjs/schematics": "10.0.1",
41
+ "@angular-devkit/core": "16.2.8",
42
+ "@angular-devkit/schematics": "16.2.8",
43
+ "@nestjs/schematics": "10.0.3",
44
44
  "rxjs": "7.8.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@commitlint/cli": "17.6.7",
48
- "@commitlint/config-angular": "17.6.7",
49
- "@types/jest": "29.5.3",
50
- "@types/node": "20.4.2",
51
- "@typescript-eslint/eslint-plugin": "6.1.0",
52
- "@typescript-eslint/parser": "6.1.0",
47
+ "@commitlint/cli": "18.2.0",
48
+ "@commitlint/config-angular": "18.1.0",
49
+ "@types/jest": "29.5.7",
50
+ "@types/node": "20.8.10",
51
+ "@typescript-eslint/eslint-plugin": "6.9.1",
52
+ "@typescript-eslint/parser": "6.9.1",
53
53
  "copyfiles": "2.4.1",
54
- "eslint": "8.45.0",
55
- "eslint-config-prettier": "8.8.0",
56
- "eslint-plugin-import": "2.27.5",
54
+ "eslint": "8.52.0",
55
+ "eslint-config-prettier": "9.0.0",
56
+ "eslint-plugin-import": "2.29.0",
57
57
  "husky": "8.0.3",
58
- "prettier": "3.0.0",
59
- "release-it": "16.1.3",
60
- "rimraf": "5.0.1",
58
+ "prettier": "3.0.3",
59
+ "release-it": "16.2.1",
60
+ "rimraf": "5.0.5",
61
61
  "ts-jest": "29.1.1",
62
- "typescript": "5.1.6"
62
+ "typescript": "5.2.2"
63
63
  },
64
64
  "repository": {
65
65
  "type": "git",
@@ -1,12 +0,0 @@
1
- import { Injectable } from '@nestjs/common';
2
- import { Context, Modal, ModalContext } from 'necord';
3
-
4
- @Injectable()
5
- export class <%= classify(name) %>Modals {
6
- @Modal('<%= name %>')
7
- public <%= name %>(@Ctx() [interaction]: ModalContext) {
8
- return interaction.reply({
9
- content: `Your fav pizza : ${interaction.fields.getTextInputValue('pizza')}`
10
- });
11
- }
12
- }