Skip to content

Commit b330e0a

Browse files
authored
Merge pull request #6 from ShreyPurohit/V1-Security-Enhancement
V1 security enhancement
2 parents cdeb99e + 58ad878 commit b330e0a

36 files changed

Lines changed: 1096 additions & 612 deletions

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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

.prettierignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules
2+
dist
3+
out
4+
coverage
5+
*.log
6+
.vscode-test
7+
.DS_Store
8+
package-lock.json
9+
package.json
10+
tsconfig.json
11+
.vscode/*

.prettierrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"printWidth": 100,
4+
"tabWidth": 4,
5+
"useTabs": false,
6+
"semi": true,
7+
"singleQuote": true,
8+
"trailingComma": "all",
9+
"bracketSpacing": true,
10+
"arrowParens": "always",
11+
"endOfLine": "lf"
12+
}

.vscodeignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ vsc-extension-quickstart.md
1212
**/*.map
1313
**/*.ts
1414
**/.vscode-test.*
15+
.github/**
1516
assets/*
16-
!assets/icon.webp
17+
!assets/icon.webp
18+
.prettierignore

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
# Change Log
22

3+
## [0.1.0] - 2025-09-16
4+
35
### Added
6+
7+
- Webview preview with live validation
8+
- Replace/Skip/Cancel prompt when target items already exist (uses Trash for Replace)
9+
- Support for JSON file leaves as string file types (e.g., "route": "ts")
10+
- Safer, remote-ready filesystem via `vscode.workspace.fs`
11+
- Tree symbol constants for consistent, readable Unicode output (├──, └──, │)
12+
13+
### Changed
14+
15+
- Plain Text parser is now strict: requires connectors, enforces single root directory, consistent indentation, and ignores the first line as header
16+
- Plain Text creation asks confirmation before proceeding if input is invalid
17+
- Formatter outputs readable tree; JSON output reflects new file-leaf format
18+
- Webview UI modernized (two-column layout, status badge, copy preview, clear input)
19+
20+
### Fixed
21+
22+
- Various encoding issues in tree drawing by using Unicode consistently
23+
- Type-safe configuration access and better error handling
24+
25+
### Previous Versions
26+
427
- v0.2 Added Banner and Extension Icon
528
- v0.3 Added Major Support `Create Folder Structure`
629
- v0.4 Added Feature `Copy File Name`
@@ -10,4 +33,4 @@
1033
- Updated Preview Mode
1134
- v0.6 Added ignorePatterns in vscode settings
1235

13-
## [Unreleased]
36+
## [Unreleased]

0 commit comments

Comments
 (0)