Skip to content

Commit 89cfa36

Browse files
committed
docs(readme): --vue について記載
1 parent 17df8b4 commit 89cfa36

File tree

3 files changed

+51
-48
lines changed

3 files changed

+51
-48
lines changed

README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,23 @@ npm install --global @ysk8hori/typescript-graph
7070

7171
## Options
7272

73-
| Option | Description |
74-
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
75-
| `-V, --version` | Output the version number |
76-
| `--md <char>` | Specify the name of the markdown file to be output. The default is typescript-graph.md. |
77-
| `--mermaid-link` | (experimental) Generates a link on a node to open the corresponding file in VSCode. |
78-
| `-d, --dir <char>` | Specifies the root directory of the TypeScript project to analyze. It reads and uses the tsconfig.json file found in this directory. |
79-
| `--tsconfig <char>` | Specifies the path to the tsconfig file to use for analysis. If this option is provided, -d, --dir will be ignored. |
80-
| `--include <char...>` | Specify file paths or parts of file paths to include in the graph (relative to the tsconfig directory, without `./`). |
81-
| `--exclude <char...>` | Specify file paths or parts of file paths to exclude from the graph (relative to the tsconfig directory, without `./`). |
82-
| `--abstraction <char...>` | Specify the paths of directories to be abstracted. Abstracted directories are treated as a single node. |
83-
| `--highlight <char...>` | Specify the path and file names to be highlighted. |
84-
| `--LR` | Set the flowchart orientation to Left-to-Right. |
85-
| `--TB` | Set the flowchart orientation to Top-to-Bottom. |
86-
| `--measure-instability` | Enable the beta feature to measure the instability of modules. |
87-
| `--config-file` | Specify the relative path to the config file (from the current directory or as specified by -d, --dir). The default is .tsgrc.json. |
88-
| `-h, --help` | Display help for the command. |
73+
| Option | Description |
74+
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
75+
| `-V, --version` | Output the version number |
76+
| `--md <char>` | Specify the name of the markdown file to be output. The default is typescript-graph.md. |
77+
| `--mermaid-link` | (experimental) Generates a link on a node to open the corresponding file in VSCode. |
78+
| `-d, --dir <char>` | Specifies the root directory of the TypeScript project to analyze. It reads and uses the tsconfig.json file found in this directory. |
79+
| `--tsconfig <char>` | Specifies the path to the tsconfig file to use for analysis. If this option is provided, -d, --dir will be ignored. |
80+
| `--include <char...>` | Specify file paths or parts of file paths to include in the graph (relative to the tsconfig directory, without `./`). |
81+
| `--exclude <char...>` | Specify file paths or parts of file paths to exclude from the graph (relative to the tsconfig directory, without `./`). |
82+
| `--abstraction <char...>` | Specify the paths of directories to be abstracted. Abstracted directories are treated as a single node. |
83+
| `--highlight <char...>` | Specify the path and file names to be highlighted. |
84+
| `--LR` | Set the flowchart orientation to Left-to-Right. |
85+
| `--TB` | Set the flowchart orientation to Top-to-Bottom. |
86+
| `--measure-instability` | Enable the beta feature to measure the instability of modules. |
87+
| `--config-file` | Specify the relative path to the config file (from the current directory or as specified by -d, --dir). The default is .tsgrc.json. |
88+
| `--vue` (experimental) | `.vue` files are also included in the analysis. A temporary working directory is created using Node.js's `fs.mkdtempSync`, where all files targeted by `tsc` as well as `.vue` files are copied for processing. `.vue` files are renamed to `.vue.ts` unless a file with the same name already exists in the directory. |
89+
| `-h, --help` | Display help for the command. |
8990

9091
## usage
9192

docs/README_en.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,23 @@ npm install --global @ysk8hori/typescript-graph
7070

7171
## Options
7272

73-
| Option | Description |
74-
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
75-
| `-V, --version` | Output the version number |
76-
| `--md <char>` | Specify the name of the markdown file to be output. The default is typescript-graph.md. |
77-
| `--mermaid-link` | (experimental) Generates a link on a node to open the corresponding file in VSCode. |
78-
| `-d, --dir <char>` | Specifies the root directory of the TypeScript project to analyze. It reads and uses the tsconfig.json file found in this directory. |
79-
| `--tsconfig <char>` | Specifies the path to the tsconfig file to use for analysis. If this option is provided, -d, --dir will be ignored. |
80-
| `--include <char...>` | Specify file paths or parts of file paths to include in the graph (relative to the tsconfig directory, without `./`). |
81-
| `--exclude <char...>` | Specify file paths or parts of file paths to exclude from the graph (relative to the tsconfig directory, without `./`). |
82-
| `--abstraction <char...>` | Specify the paths of directories to be abstracted. Abstracted directories are treated as a single node. |
83-
| `--highlight <char...>` | Specify the path and file names to be highlighted. |
84-
| `--LR` | Set the flowchart orientation to Left-to-Right. |
85-
| `--TB` | Set the flowchart orientation to Top-to-Bottom. |
86-
| `--measure-instability` | Enable the beta feature to measure the instability of modules. |
87-
| `--config-file` | Specify the relative path to the config file (from the current directory or as specified by -d, --dir). The default is .tsgrc.json. |
88-
| `-h, --help` | Display help for the command. |
73+
| Option | Description |
74+
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
75+
| `-V, --version` | Output the version number |
76+
| `--md <char>` | Specify the name of the markdown file to be output. The default is typescript-graph.md. |
77+
| `--mermaid-link` | (experimental) Generates a link on a node to open the corresponding file in VSCode. |
78+
| `-d, --dir <char>` | Specifies the root directory of the TypeScript project to analyze. It reads and uses the tsconfig.json file found in this directory. |
79+
| `--tsconfig <char>` | Specifies the path to the tsconfig file to use for analysis. If this option is provided, -d, --dir will be ignored. |
80+
| `--include <char...>` | Specify file paths or parts of file paths to include in the graph (relative to the tsconfig directory, without `./`). |
81+
| `--exclude <char...>` | Specify file paths or parts of file paths to exclude from the graph (relative to the tsconfig directory, without `./`). |
82+
| `--abstraction <char...>` | Specify the paths of directories to be abstracted. Abstracted directories are treated as a single node. |
83+
| `--highlight <char...>` | Specify the path and file names to be highlighted. |
84+
| `--LR` | Set the flowchart orientation to Left-to-Right. |
85+
| `--TB` | Set the flowchart orientation to Top-to-Bottom. |
86+
| `--measure-instability` | Enable the beta feature to measure the instability of modules. |
87+
| `--config-file` | Specify the relative path to the config file (from the current directory or as specified by -d, --dir). The default is .tsgrc.json. |
88+
| `--vue` (experimental) | `.vue` files are also included in the analysis. A temporary working directory is created using Node.js's `fs.mkdtempSync`, where all files targeted by `tsc` as well as `.vue` files are copied for processing. `.vue` files are renamed to `.vue.ts` unless a file with the same name already exists in the directory. |
89+
| `-h, --help` | Display help for the command. |
8990

9091
## usage
9192

0 commit comments

Comments
 (0)