@adonisjs/assembler 5.8.1 → 5.9.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.
package/build/ace-manifest.json
CHANGED
|
@@ -478,6 +478,12 @@
|
|
|
478
478
|
"type": "array",
|
|
479
479
|
"description": "Filter tests by title"
|
|
480
480
|
},
|
|
481
|
+
{
|
|
482
|
+
"name": "groups",
|
|
483
|
+
"propertyName": "groups",
|
|
484
|
+
"type": "array",
|
|
485
|
+
"description": "Filter tests by group title"
|
|
486
|
+
},
|
|
481
487
|
{
|
|
482
488
|
"name": "timeout",
|
|
483
489
|
"propertyName": "timeout",
|
package/build/commands/Invoke.js
CHANGED
|
@@ -63,11 +63,15 @@ class Configure extends standalone_1.BaseCommand {
|
|
|
63
63
|
*/
|
|
64
64
|
const pkgFile = new sink_1.files.PackageJsonFile(this.application.appRoot);
|
|
65
65
|
pkgFile.install('@symfony/webpack-encore');
|
|
66
|
+
pkgFile.install('webpack');
|
|
67
|
+
pkgFile.install('webpack-cli');
|
|
68
|
+
pkgFile.install('@babel/core');
|
|
69
|
+
pkgFile.install('@babel/preset-env');
|
|
66
70
|
pkgFile.useClient(this.getPackageManager());
|
|
67
|
-
const spinner = sink_1.logger.await(sink_1.logger.colors.gray('
|
|
71
|
+
const spinner = sink_1.logger.await(sink_1.logger.colors.gray('configure @symfony/webpack-encore'));
|
|
68
72
|
try {
|
|
69
73
|
await pkgFile.commitAsync();
|
|
70
|
-
spinner.update('
|
|
74
|
+
spinner.update('Configured');
|
|
71
75
|
spinner.stop();
|
|
72
76
|
}
|
|
73
77
|
catch (error) {
|
|
@@ -44,7 +44,7 @@ class MakeMiddleware extends Base_1.BaseGenerator {
|
|
|
44
44
|
* We can look into configuring it later.
|
|
45
45
|
*/
|
|
46
46
|
getDestinationPath() {
|
|
47
|
-
return 'app/Middleware';
|
|
47
|
+
return this.getPathForNamespace('middleware') || 'app/Middleware';
|
|
48
48
|
}
|
|
49
49
|
async run() {
|
|
50
50
|
this.resourceName = this.name;
|
package/build/commands/Test.d.ts
CHANGED
package/build/commands/Test.js
CHANGED
|
@@ -78,6 +78,9 @@ class Test extends standalone_1.BaseCommand {
|
|
|
78
78
|
if (this.tests) {
|
|
79
79
|
filters['--tests'] = this.tests;
|
|
80
80
|
}
|
|
81
|
+
if (this.groups) {
|
|
82
|
+
filters['--groups'] = this.groups;
|
|
83
|
+
}
|
|
81
84
|
return filters;
|
|
82
85
|
}
|
|
83
86
|
async run() {
|
|
@@ -141,6 +144,10 @@ __decorate([
|
|
|
141
144
|
standalone_1.flags.array({ description: 'Filter tests by title' }),
|
|
142
145
|
__metadata("design:type", Array)
|
|
143
146
|
], Test.prototype, "tests", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
standalone_1.flags.array({ description: 'Filter tests by group title' }),
|
|
149
|
+
__metadata("design:type", Array)
|
|
150
|
+
], Test.prototype, "groups", void 0);
|
|
144
151
|
__decorate([
|
|
145
152
|
standalone_1.flags.number({ description: 'Customize tests timeout' }),
|
|
146
153
|
__metadata("design:type", Number)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/assembler",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "Core commands to compiler and build AdonisJs project",
|
|
5
5
|
"main": "build/ace-manifest.json",
|
|
6
6
|
"files": [
|
|
@@ -45,29 +45,29 @@
|
|
|
45
45
|
"homepage": "https://github.com/adonisjs/assembler#readme",
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@adonisjs/ace": "^11.3.1",
|
|
48
|
-
"@adonisjs/core": "^5.8.
|
|
48
|
+
"@adonisjs/core": "^5.8.6",
|
|
49
49
|
"@adonisjs/mrm-preset": "^5.0.3",
|
|
50
|
-
"@japa/assert": "^1.3.
|
|
51
|
-
"@japa/run-failed-tests": "^1.0
|
|
52
|
-
"@japa/runner": "^2.
|
|
53
|
-
"@japa/spec-reporter": "^1.1
|
|
50
|
+
"@japa/assert": "^1.3.6",
|
|
51
|
+
"@japa/run-failed-tests": "^1.1.0",
|
|
52
|
+
"@japa/runner": "^2.2.1",
|
|
53
|
+
"@japa/spec-reporter": "^1.3.1",
|
|
54
54
|
"@poppinss/dev-utils": "^2.0.3",
|
|
55
|
-
"@types/node": "^18.
|
|
55
|
+
"@types/node": "^18.7.18",
|
|
56
56
|
"commitizen": "^4.2.5",
|
|
57
57
|
"copyfiles": "^2.4.1",
|
|
58
58
|
"cross-env": "^7.0.3",
|
|
59
59
|
"cz-conventional-changelog": "^3.3.0",
|
|
60
60
|
"del-cli": "^5.0.0",
|
|
61
|
-
"eslint": "^8.
|
|
61
|
+
"eslint": "^8.23.1",
|
|
62
62
|
"eslint-config-prettier": "^8.5.0",
|
|
63
|
-
"eslint-plugin-adonis": "^2.1.
|
|
63
|
+
"eslint-plugin-adonis": "^2.1.1",
|
|
64
64
|
"eslint-plugin-prettier": "^4.2.1",
|
|
65
65
|
"github-label-sync": "^2.2.0",
|
|
66
66
|
"husky": "^8.0.1",
|
|
67
|
-
"mrm": "^4.
|
|
67
|
+
"mrm": "^4.1.6",
|
|
68
68
|
"np": "^7.6.2",
|
|
69
69
|
"prettier": "^2.7.1",
|
|
70
|
-
"typescript": "^4.
|
|
70
|
+
"typescript": "^4.8.3"
|
|
71
71
|
},
|
|
72
72
|
"nyc": {
|
|
73
73
|
"exclude": [
|
|
@@ -95,15 +95,15 @@
|
|
|
95
95
|
"@adonisjs/application": "^5.2.5",
|
|
96
96
|
"@adonisjs/env": "^3.0.9",
|
|
97
97
|
"@adonisjs/ioc-transformer": "^2.3.4",
|
|
98
|
-
"@adonisjs/require-ts": "^2.0.
|
|
99
|
-
"@adonisjs/sink": "^5.4.
|
|
98
|
+
"@adonisjs/require-ts": "^2.0.13",
|
|
99
|
+
"@adonisjs/sink": "^5.4.1",
|
|
100
100
|
"@poppinss/chokidar-ts": "^3.3.5",
|
|
101
101
|
"@poppinss/cliui": "^3.0.2",
|
|
102
|
-
"@poppinss/utils": "^
|
|
102
|
+
"@poppinss/utils": "^5.0.0",
|
|
103
103
|
"cpy": "^8.1.2",
|
|
104
|
-
"emittery": "^0.
|
|
104
|
+
"emittery": "^0.13.1",
|
|
105
105
|
"execa": "^5.1.1",
|
|
106
|
-
"fs-extra": "^10.0
|
|
106
|
+
"fs-extra": "^10.1.0",
|
|
107
107
|
"get-port": "^5.1.1",
|
|
108
108
|
"glob-parent": "^6.0.2",
|
|
109
109
|
"has-yarn": "^2.1.0",
|