@adonisjs/assembler 5.9.5 → 5.9.6
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/build/commands/Invoke.js
CHANGED
|
@@ -175,7 +175,7 @@ class Configure extends standalone_1.BaseCommand {
|
|
|
175
175
|
* Install required dependencies
|
|
176
176
|
*/
|
|
177
177
|
const pkgFile = new sink_1.files.PackageJsonFile(this.application.appRoot);
|
|
178
|
-
pkgFile.install('@japa/runner');
|
|
178
|
+
pkgFile.install('@japa/runner@2.5.1');
|
|
179
179
|
pkgFile.install('@japa/preset-adonis');
|
|
180
180
|
pkgFile.useClient(this.getPackageManager());
|
|
181
181
|
const spinner = sink_1.logger.await(sink_1.logger.colors.gray('installing @japa/runner, @japa/preset-adonis'));
|
|
@@ -11,13 +11,13 @@ export default class {{ filename }} {
|
|
|
11
11
|
* 1. The username must be of data type string. But then also, it should
|
|
12
12
|
* not contain special characters or numbers.
|
|
13
13
|
* ```
|
|
14
|
-
* schema.string(
|
|
14
|
+
* schema.string([ rules.alpha() ])
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
17
|
* 2. The email must be of data type string, formatted as a valid
|
|
18
18
|
* email. But also, not used by any other user.
|
|
19
19
|
* ```
|
|
20
|
-
* schema.string(
|
|
20
|
+
* schema.string([
|
|
21
21
|
* rules.email(),
|
|
22
22
|
* rules.unique({ table: 'users', column: 'email' }),
|
|
23
23
|
* ])
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/assembler",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.6",
|
|
4
4
|
"description": "Core commands to compiler and build AdonisJs project",
|
|
5
5
|
"main": "build/ace-manifest.json",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=14.0.0"
|
|
8
|
+
},
|
|
6
9
|
"files": [
|
|
7
10
|
"build/commands",
|
|
8
11
|
"build/config",
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
"@japa/runner": "^2.2.2",
|
|
53
56
|
"@japa/spec-reporter": "^1.3.2",
|
|
54
57
|
"@poppinss/dev-utils": "^2.0.3",
|
|
55
|
-
"@types/node": "^18.
|
|
58
|
+
"@types/node": "^18.15.1",
|
|
56
59
|
"commitizen": "^4.2.5",
|
|
57
60
|
"copyfiles": "^2.4.1",
|
|
58
61
|
"cross-env": "^7.0.3",
|
|
@@ -65,7 +68,7 @@
|
|
|
65
68
|
"github-label-sync": "^2.2.0",
|
|
66
69
|
"husky": "^8.0.2",
|
|
67
70
|
"mrm": "^4.1.13",
|
|
68
|
-
"np": "^
|
|
71
|
+
"np": "^8.0.2",
|
|
69
72
|
"prettier": "^2.7.1",
|
|
70
73
|
"typescript": "^4.9.3"
|
|
71
74
|
},
|