mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
Update README.md
This commit is contained in:
parent
dd0591a4b0
commit
1cbcf5ddc1
1 changed files with 5 additions and 4 deletions
|
|
@ -102,11 +102,12 @@ The publishing will actually be performed only if ``npm test`` passes.
|
|||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
|
||||
All your source files must remain inside the ``src`` dir, you can change how things are organized inside the source directory
|
||||
but don't forget to update your ``package.json`` ``main``, ``type`` and ``files`` fields and ``tsconfig.esm.json`` ``include`` field when appropriate.
|
||||
|
||||
- If you add a new directory in `src/`: Add it to `files` in `package.json` or it wont be in you npm bundle.
|
||||
You can freelly change how things are organized inside the `src/` directory but be mindfull:
|
||||
|
||||
- If you add a new directory in `src/`: Add it to `files` in `package.json` or it wont be included in you npm bundle.
|
||||
- If you change the entry point of your module (default `src/index.ts`) update `include` in the `tsconfig.esm.json` as well as `main` and `type`
|
||||
in `package.json`.
|
||||
|
||||
</details>
|
||||
|
||||
## Enabling "Go to Definition" to redirect to the source ``.ts`` file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue