|
1 | 1 | # pangu.js TODO List
|
2 | 2 |
|
| 3 | +**Last Updated:** June 21, 2025, 7:13 PM |
| 4 | + |
3 | 5 | > Note: When completing a task, move it from "To Do" to "Completed" section to maintain history.
|
4 | 6 |
|
5 | 7 | ## Completed
|
|
8 | 10 | - [x] Migrate all source code to TypeScript
|
9 | 11 | - [x] Replace Webpack/Babel with Vite
|
10 | 12 | - [x] Replace Mocha/Chai/Karma with Vitest/Playwright
|
11 |
| -- [x] Fix all failing tests (106/106 passing) |
12 | 13 | - [x] Add UMD build format support
|
13 |
| -- [x] Update dependencies to latest versions |
14 |
| -- [x] Pin devDependencies to exact versions |
15 |
| -- [x] Remove old test dependencies from package.json |
16 |
| -- [x] Create PRIVACY.md for Chrome extension |
17 |
| -- [x] Update CLAUDE.md with TypeScript commands |
18 |
| -- [x] Add source maps for debugging (enabled in vite.config.ts) |
19 |
| -- [x] Enable full TypeScript strict mode (noImplicitAny: true) |
20 |
| -- [x] Set up ESLint for linting |
21 |
| -- [x] Set up Prettier for formatting |
22 |
| -- [x] Add eslint-plugin-unicorn with node: prefix rule |
| 14 | +- [x] Enable full TypeScript strict mode |
| 15 | +- [x] Set up ESLint and Prettier |
23 | 16 | - [x] Create `publish-package` script for version management
|
24 | 17 | - [x] Set up GitHub Actions CI/CD workflow
|
25 |
| -- [x] Add npm publish workflow with security best practices |
26 |
| -- [x] Run ESLint and fix all node: prefix violations |
| 18 | +- [x] Refactor TypeScript configuration with separate tsconfig files for node/browser |
| 19 | +- [x] Add ES2020+ features with proper transpilation (target: ES2022) |
27 | 20 |
|
28 | 21 | ## To Do
|
29 | 22 |
|
30 | 23 | ### High Priority
|
31 | 24 |
|
32 | 25 | - [ ] Update Chrome Extension to use new TypeScript builds
|
| 26 | + - Currently using old pangu.min.js v4.0.7 instead of new dist/ builds |
33 | 27 | - [ ] Remove Angular.js from Chrome Extension (200KB+ savings)
|
| 28 | + - Still using Angular.js 1.2.9 with jQuery 2.1.0 |
34 | 29 | - [ ] Rewrite popup.js and options.js in TypeScript
|
| 30 | + - Both files are still plain JavaScript in browser_extensions/chrome/js/ |
35 | 31 |
|
36 | 32 | ### Chrome Extension Enhancement
|
37 | 33 |
|
38 | 34 | - [ ] Use Vite to build Chrome Extension
|
| 35 | + - No Vite config exists for extension build |
39 | 36 | - [ ] Modernize UI (remove jQuery/Angular dependencies)
|
| 37 | + - jQuery 2.1.0 and Angular.js 1.2.9 still in use |
40 | 38 | - [ ] Add TypeScript types for Chrome Extension API
|
| 39 | + - No @types/chrome package installed |
41 | 40 | - [ ] Update extension icons for high DPI displays
|
42 | 41 |
|
43 |
| -### Code Quality |
44 |
| - |
45 |
| -- [ ] Add pre-commit hooks for linting and testing |
46 |
| -- [ ] Add test coverage reporting |
47 |
| - |
48 | 42 | ### Future Enhancements
|
49 | 43 |
|
50 | 44 | - [ ] Implement tree-shaking optimizations
|
51 |
| -- [ ] Add ES2020+ features with proper transpilation |
52 | 45 | - [ ] Consider monorepo structure for better organization
|
53 | 46 | - [ ] Add changelog generation with standard-version
|
54 | 47 | - [ ] Publish to JSR (JavaScript Registry) in addition to npm
|
0 commit comments