fix(config): rename smartconfig metadata file and update config-based compile references

This commit is contained in:
2026-03-24 18:16:56 +00:00
parent 9e288057f4
commit 2bd4acb153
10 changed files with 286 additions and 167 deletions

View File

@@ -71,15 +71,15 @@ tsdeno compile --allow-all --no-check \
mod.ts
```
### CLI — Config Mode (npmextra.json)
### CLI — Config Mode (.smartconfig.json)
For projects with multiple compile targets, you can define them in `npmextra.json` instead of writing long CLI commands. Just run `tsdeno compile` with no arguments:
For projects with multiple compile targets, define them in `.smartconfig.json` instead of writing long CLI commands. Just run `tsdeno compile` with no arguments:
```bash
tsdeno compile
```
tsdeno reads compile targets from the `@git.zone/tsdeno` key in your `npmextra.json`:
tsdeno reads compile targets from the `@git.zone/tsdeno` key in your `.smartconfig.json`:
```json
{
@@ -138,7 +138,7 @@ await tsDeno.compile([
'mod.ts',
]);
// Config mode — reads compile targets from npmextra.json
// Config mode — reads compile targets from .smartconfig.json
await tsDeno.compileFromConfig();
```
@@ -191,7 +191,7 @@ By hiding `package.json` during compilation, Deno falls back to resolving **only
## License and Legal Information
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license](./license) file.
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
@@ -203,7 +203,7 @@ Use of these trademarks must comply with Task Venture Capital GmbH's Trademark G
### Company Information
Task Venture Capital GmbH
Task Venture Capital GmbH
Registered at District Court Bremen HRB 35230 HB, Germany
For any legal inquiries or further information, please contact us via email at hello@task.vc.