File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : ["**"]
6+ pull_request :
7+ branches : ["**"]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build :
14+ name : Lint, Format Check, Typecheck, Build
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 20
25+ cache : npm
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : ESLint
31+ run : npm run lint
32+
33+ - name : Format Check (Prettier)
34+ run : npx --yes prettier@^3.3.0 --check .
35+
36+ - name : Typecheck
37+ run : npm run check-types
38+
39+ - name : Build
40+ run : npm run compile
41+
42+ - name : Production Package Build
43+ run : npm run package
44+
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ export async function createStructure(): Promise<void> {
2525 throw new Error ( ERROR_MESSAGES . TARGET_REQUIRED ) ;
2626 }
2727
28- const initialFormat = vscode . workspace . getConfiguration ( 'folderStructure' )
28+ const initialFormat = vscode . workspace
29+ . getConfiguration ( 'folderStructure' )
2930 . get < OutputFormat > ( 'outputFormat' , DEFAULT_OUTPUT_FORMAT ) ;
3031
3132 const panel = createStructureInputPanel ( initialFormat ) ;
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ export const getStyles = () => {
77} ;
88
99export const getExample = ( formatChoice : string ) : string => {
10- return formatChoice === 'Plain Text Format'
11- ? `Directory structure:
10+ return formatChoice === 'Plain Text Format'
11+ ? `Directory structure:
1212└── project/
1313 ├── src/
1414 │ ├── index.js
1515 │ └── styles.css
1616 └── README.md`
17- : `{
17+ : `{
1818 "project": {
1919 "src": {
2020 "index": "js",
You can’t perform that action at this time.
0 commit comments