@nexusts/cli 0.7.4 → 0.7.5
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/dist/commands/make-repository.d.ts +6 -0
- package/dist/commands/repl.d.ts +1 -0
- package/dist/core/index.d.ts +12 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +137 -85
- package/dist/index.js.map +16 -15
- package/dist/templates/project/nx.config.d.ts +1 -1
- package/package.json +2 -2
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* nx.config.ts template — placed at the project root by `nx init` /
|
|
3
3
|
* `nx new`.
|
|
4
4
|
*/
|
|
5
|
-
declare const _default: "/**\n *
|
|
5
|
+
declare const _default: "/**\n * NexusTS project configuration.\n * Run `nx info` to see the resolved values.\n */\n\nexport default {\n // ---------------------------------------------------------------------------\n // Core\n // ---------------------------------------------------------------------------\n\n /** Routing style used by `make:controller` / `make:crud`. */\n routing: '{{ routing }}',\n\n /** View engine \u2014 `inertia`, `rendu`, `edge`, or `none`. */\n view: '{{ view }}',\n\n /**\n * Directory searched when a controller returns a view file name\n * (e.g. `about.html`). Empty string = inline templates only.\n * Typical: `'resources/views'`. On edge runtimes\n * (Cloudflare Workers), leave empty and pass inline strings.\n */\n viewPaths: '{{ viewPaths }}',\n\n /** ORM driver \u2014 `drizzle`, `prisma`, `kysely`, or `none`. */\n orm: '{{ orm }}',\n\n // ---------------------------------------------------------------------------\n // Database\n // ---------------------------------------------------------------------------\n\n database: {\n driver: '{{ dbDriver }}',\n url: process.env.DATABASE_URL ?? '{{ dbUrl }}',\n },\n\n // ---------------------------------------------------------------------------\n // Inertia (only consulted when `view === 'inertia'`)\n // ---------------------------------------------------------------------------\n\n inertia: {\n frontend: '{{ inertiaFrontend }}',\n ssr: {{ inertiaSSR }},\n version: '{{ inertiaVersion }}',\n },\n\n // ---------------------------------------------------------------------------\n // Paths\n // ---------------------------------------------------------------------------\n\n paths: {\n app: 'app',\n controllers: 'app/controllers',\n services: 'app/services',\n modules: 'app/modules',\n models: 'app/models',\n migrations: 'app/database/migrations',\n seeds: 'db/seeds',\n middleware: 'app/middleware',\n dto: 'app/dto',\n },\n};\n";
|
|
6
6
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexusts/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "CLI command runner (nx)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nexusts/core": "^0.7.
|
|
32
|
+
"@nexusts/core": "^0.7.5"
|
|
33
33
|
}
|
|
34
34
|
}
|