@adonisjs/assembler 5.9.5 → 6.1.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.
- package/LICENSE.md +1 -1
- package/README.md +24 -37
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/build/src/bundler.d.ts +10 -0
- package/build/src/bundler.js +143 -0
- package/build/src/dev_server.d.ts +15 -0
- package/build/src/dev_server.js +214 -0
- package/build/src/run.d.ts +3 -0
- package/build/src/run.js +19 -0
- package/build/src/types.d.ts +26 -0
- package/build/src/watch.d.ts +8 -0
- package/build/src/watch.js +18 -0
- package/package.json +77 -99
- package/build/ace-manifest.json +0 -521
- package/build/commands/Build.d.ts +0 -37
- package/build/commands/Build.js +0 -138
- package/build/commands/Invoke.d.ts +0 -34
- package/build/commands/Invoke.js +0 -234
- package/build/commands/Make/Base.d.ts +0 -30
- package/build/commands/Make/Base.js +0 -75
- package/build/commands/Make/Command.d.ts +0 -35
- package/build/commands/Make/Command.js +0 -82
- package/build/commands/Make/Controller.d.ts +0 -37
- package/build/commands/Make/Controller.js +0 -89
- package/build/commands/Make/Exception.d.ts +0 -32
- package/build/commands/Make/Exception.js +0 -75
- package/build/commands/Make/Listener.d.ts +0 -30
- package/build/commands/Make/Listener.js +0 -70
- package/build/commands/Make/Middleware.d.ts +0 -31
- package/build/commands/Make/Middleware.js +0 -87
- package/build/commands/Make/PreloadFile.d.ts +0 -38
- package/build/commands/Make/PreloadFile.js +0 -157
- package/build/commands/Make/Provider.d.ts +0 -31
- package/build/commands/Make/Provider.js +0 -114
- package/build/commands/Make/Suite.d.ts +0 -41
- package/build/commands/Make/Suite.js +0 -120
- package/build/commands/Make/Test.d.ts +0 -35
- package/build/commands/Make/Test.js +0 -96
- package/build/commands/Make/Validator.d.ts +0 -31
- package/build/commands/Make/Validator.js +0 -71
- package/build/commands/Make/View.d.ts +0 -30
- package/build/commands/Make/View.js +0 -70
- package/build/commands/Serve.d.ts +0 -33
- package/build/commands/Serve.js +0 -112
- package/build/commands/Test.d.ts +0 -57
- package/build/commands/Test.js +0 -159
- package/build/commands/TypeCheck.d.ts +0 -16
- package/build/commands/TypeCheck.js +0 -85
- package/build/config/paths.d.ts +0 -7
- package/build/config/paths.js +0 -18
- package/build/register.js +0 -15
- package/build/src/AssetsBundler/index.d.ts +0 -76
- package/build/src/AssetsBundler/index.js +0 -216
- package/build/src/Compiler/index.d.ts +0 -62
- package/build/src/Compiler/index.js +0 -287
- package/build/src/Contracts/index.d.ts +0 -8
- package/build/src/Contracts/index.js +0 -10
- package/build/src/DevServer/index.d.ts +0 -70
- package/build/src/DevServer/index.js +0 -306
- package/build/src/EnvParser/index.d.ts +0 -21
- package/build/src/EnvParser/index.js +0 -48
- package/build/src/HttpServer/index.d.ts +0 -34
- package/build/src/HttpServer/index.js +0 -87
- package/build/src/Manifest/index.d.ts +0 -32
- package/build/src/Manifest/index.js +0 -88
- package/build/src/RcFile/index.d.ts +0 -72
- package/build/src/RcFile/index.js +0 -174
- package/build/src/Test/index.d.ts +0 -75
- package/build/src/Test/index.js +0 -346
- package/build/src/Test/process.d.ts +0 -22
- package/build/src/Test/process.js +0 -68
- package/build/src/Ts/index.d.ts +0 -24
- package/build/src/Ts/index.js +0 -55
- package/build/src/requireHook/index.d.ts +0 -5
- package/build/src/requireHook/index.js +0 -28
- package/build/src/requireHook/ioc-transformer.d.ts +0 -6
- package/build/src/requireHook/ioc-transformer.js +0 -21
- package/build/templates/command.txt +0 -33
- package/build/templates/controller.txt +0 -3
- package/build/templates/event-listener.txt +0 -3
- package/build/templates/exception.txt +0 -15
- package/build/templates/middleware.txt +0 -8
- package/build/templates/preload-file.txt +0 -9
- package/build/templates/provider.txt +0 -40
- package/build/templates/resource-controller.txt +0 -17
- package/build/templates/self-handle-exception.txt +0 -32
- package/build/templates/test-entrypoint.txt +0 -45
- package/build/templates/test.txt +0 -5
- package/build/templates/tests/bootstrap.txt +0 -69
- package/build/templates/tests/functional/hello_world_api.spec.txt +0 -8
- package/build/templates/tests/functional/hello_world_slim.spec.txt +0 -8
- package/build/templates/tests/functional/hello_world_web.spec.txt +0 -8
- package/build/templates/tests-contract.txt +0 -18
- package/build/templates/validator.txt +0 -40
- package/build/templates/view.txt +0 -0
- package/build/templates/webpack.config.txt +0 -214
- /package/build/{register.d.ts → src/types.js} +0 -0
package/package.json
CHANGED
|
@@ -1,135 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/assembler",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "build/
|
|
3
|
+
"version": "6.1.0-0",
|
|
4
|
+
"description": "Provides utilities to run AdonisJS development server and build project for production",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"files": [
|
|
7
|
-
"build/commands",
|
|
8
|
-
"build/config",
|
|
9
|
-
"build/templates",
|
|
10
8
|
"build/src",
|
|
11
|
-
"build/
|
|
12
|
-
"build/
|
|
13
|
-
"build/ace-manifest.json"
|
|
9
|
+
"build/index.d.ts",
|
|
10
|
+
"build/index.js"
|
|
14
11
|
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./build/index.js",
|
|
14
|
+
"./types": "./build/src/types.js"
|
|
15
|
+
},
|
|
15
16
|
"scripts": {
|
|
16
|
-
"mrm": "mrm --preset=@adonisjs/mrm-preset",
|
|
17
17
|
"pretest": "npm run lint",
|
|
18
|
-
"test": "cross-env
|
|
18
|
+
"test": "cross-env NODE_DEBUG=chokidar:ts c8 npm run vscode:test",
|
|
19
19
|
"lint": "eslint . --ext=.ts",
|
|
20
20
|
"clean": "del-cli build",
|
|
21
21
|
"compile": "npm run lint && npm run clean && tsc",
|
|
22
|
-
"build": "npm run compile
|
|
23
|
-
"
|
|
24
|
-
"release": "np --message=\"chore(release): %s\"",
|
|
22
|
+
"build": "npm run compile",
|
|
23
|
+
"release": "np",
|
|
25
24
|
"version": "npm run build",
|
|
26
|
-
"sync-labels": "github-label-sync --labels
|
|
25
|
+
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/assembler",
|
|
27
26
|
"format": "prettier --write .",
|
|
28
|
-
"prepublishOnly": "npm run build"
|
|
29
|
-
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "git+ssh://git@github.com/adonisjs/assembler.git"
|
|
27
|
+
"prepublishOnly": "npm run build",
|
|
28
|
+
"vscode:test": "node --loader=ts-node/esm bin/test.ts"
|
|
33
29
|
},
|
|
34
30
|
"keywords": [
|
|
35
31
|
"adonisjs",
|
|
36
|
-
"boot",
|
|
37
32
|
"build",
|
|
38
33
|
"ts"
|
|
39
34
|
],
|
|
40
35
|
"author": "virk,adonisjs",
|
|
41
36
|
"license": "MIT",
|
|
42
|
-
"bugs": {
|
|
43
|
-
"url": "https://github.com/adonisjs/assembler/issues"
|
|
44
|
-
},
|
|
45
|
-
"homepage": "https://github.com/adonisjs/assembler#readme",
|
|
46
37
|
"devDependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@japa/
|
|
51
|
-
"@japa/run-failed-tests": "^1.1.
|
|
52
|
-
"@japa/runner": "^2.
|
|
53
|
-
"@japa/spec-reporter": "^1.3.
|
|
38
|
+
"@commitlint/cli": "^17.4.4",
|
|
39
|
+
"@commitlint/config-conventional": "^17.4.4",
|
|
40
|
+
"@japa/assert": "^1.4.1",
|
|
41
|
+
"@japa/file-system": "^1.0.1",
|
|
42
|
+
"@japa/run-failed-tests": "^1.1.1",
|
|
43
|
+
"@japa/runner": "^2.5.1",
|
|
44
|
+
"@japa/spec-reporter": "^1.3.3",
|
|
45
|
+
"@poppinss/cliui": "^6.1.1-0",
|
|
54
46
|
"@poppinss/dev-utils": "^2.0.3",
|
|
55
|
-
"@
|
|
56
|
-
"
|
|
47
|
+
"@swc/core": "^1.3.36",
|
|
48
|
+
"@types/node": "^18.14.1",
|
|
49
|
+
"c8": "^7.13.0",
|
|
57
50
|
"copyfiles": "^2.4.1",
|
|
58
51
|
"cross-env": "^7.0.3",
|
|
59
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
60
52
|
"del-cli": "^5.0.0",
|
|
61
|
-
"eslint": "^8.
|
|
62
|
-
"eslint-config-prettier": "^8.
|
|
63
|
-
"eslint-plugin-adonis": "^
|
|
53
|
+
"eslint": "^8.34.0",
|
|
54
|
+
"eslint-config-prettier": "^8.6.0",
|
|
55
|
+
"eslint-plugin-adonis": "^3.0.3",
|
|
64
56
|
"eslint-plugin-prettier": "^4.2.1",
|
|
65
57
|
"github-label-sync": "^2.2.0",
|
|
66
|
-
"husky": "^8.0.
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"prettier": "^2.
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
"nyc": {
|
|
73
|
-
"exclude": [
|
|
74
|
-
"test"
|
|
75
|
-
],
|
|
76
|
-
"extension": [
|
|
77
|
-
".ts"
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
"husky": {
|
|
81
|
-
"hooks": {
|
|
82
|
-
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"config": {
|
|
86
|
-
"commitizen": {
|
|
87
|
-
"path": "cz-conventional-changelog"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"np": {
|
|
91
|
-
"contents": ".",
|
|
92
|
-
"anyBranch": false
|
|
58
|
+
"husky": "^8.0.3",
|
|
59
|
+
"np": "^7.6.3",
|
|
60
|
+
"p-event": "^5.0.1",
|
|
61
|
+
"prettier": "^2.8.4",
|
|
62
|
+
"ts-node": "^10.9.1",
|
|
63
|
+
"typescript": "^4.9.5"
|
|
93
64
|
},
|
|
94
65
|
"dependencies": {
|
|
95
|
-
"@adonisjs/
|
|
96
|
-
"@
|
|
97
|
-
"@
|
|
98
|
-
"@
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"cpy": "^8.1.2",
|
|
104
|
-
"emittery": "^0.13.1",
|
|
105
|
-
"execa": "^5.1.1",
|
|
106
|
-
"fs-extra": "^10.1.0",
|
|
107
|
-
"get-port": "^5.1.1",
|
|
108
|
-
"glob-parent": "^6.0.2",
|
|
109
|
-
"has-yarn": "^2.1.0",
|
|
66
|
+
"@adonisjs/env": "^4.2.0-0",
|
|
67
|
+
"@poppinss/chokidar-ts": "^4.0.0-0",
|
|
68
|
+
"@types/fs-extra": "^11.0.1",
|
|
69
|
+
"@types/picomatch": "^2.3.0",
|
|
70
|
+
"cpy": "^9.0.1",
|
|
71
|
+
"execa": "^7.0.0",
|
|
72
|
+
"fs-extra": "^11.1.0",
|
|
73
|
+
"get-port": "^6.1.2",
|
|
110
74
|
"picomatch": "^2.3.1",
|
|
111
|
-
"slash": "^
|
|
75
|
+
"slash": "^5.0.0"
|
|
112
76
|
},
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
"publishConfig": {
|
|
117
|
-
"access": "public",
|
|
118
|
-
"tag": "latest"
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "git+ssh://git@github.com/adonisjs/assembler.git"
|
|
119
80
|
},
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"license": "MIT",
|
|
123
|
-
"services": [
|
|
124
|
-
"github-actions"
|
|
125
|
-
],
|
|
126
|
-
"minNodeVersion": "14.15.4",
|
|
127
|
-
"probotApps": [
|
|
128
|
-
"stale",
|
|
129
|
-
"lock"
|
|
130
|
-
],
|
|
131
|
-
"runGhActionsOnWindows": true
|
|
81
|
+
"bugs": {
|
|
82
|
+
"url": "https://github.com/adonisjs/assembler/issues"
|
|
132
83
|
},
|
|
84
|
+
"homepage": "https://github.com/adonisjs/assembler#readme",
|
|
133
85
|
"eslintConfig": {
|
|
134
86
|
"extends": [
|
|
135
87
|
"plugin:adonis/typescriptPackage",
|
|
@@ -159,5 +111,31 @@
|
|
|
159
111
|
"bracketSpacing": true,
|
|
160
112
|
"arrowParens": "always",
|
|
161
113
|
"printWidth": 100
|
|
114
|
+
},
|
|
115
|
+
"commitlint": {
|
|
116
|
+
"extends": [
|
|
117
|
+
"@commitlint/config-conventional"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
"publishConfig": {
|
|
121
|
+
"access": "public",
|
|
122
|
+
"tag": "next"
|
|
123
|
+
},
|
|
124
|
+
"np": {
|
|
125
|
+
"message": "chore(release): %s",
|
|
126
|
+
"tag": "next",
|
|
127
|
+
"branch": "main",
|
|
128
|
+
"anyBranch": false
|
|
129
|
+
},
|
|
130
|
+
"c8": {
|
|
131
|
+
"reporter": [
|
|
132
|
+
"text",
|
|
133
|
+
"html"
|
|
134
|
+
],
|
|
135
|
+
"exclude": [
|
|
136
|
+
"tests/**",
|
|
137
|
+
"build/**",
|
|
138
|
+
"examples/**"
|
|
139
|
+
]
|
|
162
140
|
}
|
|
163
141
|
}
|