Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
9923ca6
Transform `src/core/prism.ts`
DmitrySharabin Aug 4, 2025
83cf5f6
Transform `src/core/stringify.ts`
DmitrySharabin Aug 4, 2025
2c54003
Transform `src/core/classes/hooks.ts`
DmitrySharabin Aug 4, 2025
98a681d
Transform `src/core/highlight.ts`
DmitrySharabin Aug 4, 2025
fb6fe70
Transform `src/core/highlight-all.ts`
DmitrySharabin Aug 4, 2025
cf66574
Transform `src/core/highlight-element.ts`
DmitrySharabin Aug 4, 2025
a74a8d0
Transform `src/config.ts`
DmitrySharabin Aug 7, 2025
7162777
Transform `src/core/tokenize/tokenize.ts`
DmitrySharabin Aug 4, 2025
a170206
Transform `src/core/classes/prism.ts`
DmitrySharabin Aug 7, 2025
8d6261e
Transform `src/core.ts`
DmitrySharabin Aug 4, 2025
451ce78
Transform `src/global.ts`
DmitrySharabin Aug 4, 2025
5738fbc
Transform `src/index.ts`
DmitrySharabin Aug 4, 2025
0567bc5
Transform `src/auto-start.ts`
DmitrySharabin Aug 4, 2025
75ba0e5
Transform `src/util`
DmitrySharabin Aug 7, 2025
75445ab
Transform `src/shared`
DmitrySharabin Aug 10, 2025
ab75e4a
Transform `src/prism.global.ts`
DmitrySharabin Aug 4, 2025
c8992db
Transform `src/shared/languages`
DmitrySharabin Aug 6, 2025
ec8a22f
Transform `src/shared/meta`
DmitrySharabin Aug 6, 2025
af4676a
Transform `src/shared.ts`
DmitrySharabin Aug 6, 2025
9e8d547
Transform `src/core/classes/token.ts`
DmitrySharabin Aug 6, 2025
0f58cae
Transform `src/core/tokenize/util.ts`
DmitrySharabin Aug 6, 2025
6a9d60e
Transform `src/core/tokenize/match.js`
DmitrySharabin Aug 6, 2025
402906d
Transform `src/core/registry.ts`
DmitrySharabin Aug 6, 2025
98c8752
Transform `src/load-languages.ts`
DmitrySharabin Aug 6, 2025
eae42a1
Transform `src/core/linked-list.ts`
DmitrySharabin Aug 6, 2025
82d8d2d
Transforming `tests/`
DmitrySharabin Aug 10, 2025
179b5f3
Transforming `tests/core`
DmitrySharabin Aug 8, 2025
eb23cb8
Transforming `tests/helper`
DmitrySharabin Aug 8, 2025
24831a0
Partially transform languages
DmitrySharabin Aug 10, 2025
5e8d1ac
Transform the rest of the languages
DmitrySharabin Aug 10, 2025
6268cdc
Remove TS files from `src/languages`
DmitrySharabin Aug 10, 2025
aabb310
Remove TS files from `tests/`
DmitrySharabin Aug 10, 2025
91ac3f1
Remove TS files from `tests/core`
DmitrySharabin Aug 10, 2025
4896fc6
Remove TS files from `tests/helper`
DmitrySharabin Aug 10, 2025
c074824
Transform plugins and remove corresponding TS files
DmitrySharabin Aug 10, 2025
be577bb
Transform `tests/plugins`
DmitrySharabin Aug 10, 2025
d68e810
Tests don't depend on TS anymore
DmitrySharabin Aug 10, 2025
3419d7d
Remove TS files from `src/`
DmitrySharabin Aug 10, 2025
b972f2c
Remove TS files from `src/shared`
DmitrySharabin Aug 10, 2025
5059a3f
Remove TS files from `src/shared/languages`
DmitrySharabin Aug 10, 2025
d1cc2d7
Remove TS files from `src/shared/meta`
DmitrySharabin Aug 10, 2025
cd55350
Remove TS files from `src/util`
DmitrySharabin Aug 10, 2025
aa00faf
Remove TS files from `src/core` and sub-directories
DmitrySharabin Aug 10, 2025
39b3636
Fix imports in `types.d.ts`
DmitrySharabin Aug 10, 2025
bfecd90
Transform `scripts`
DmitrySharabin Aug 11, 2025
9b942db
Transform `benchmark`
DmitrySharabin Aug 10, 2025
318cb4b
Adjust ESLint rules
DmitrySharabin Aug 10, 2025
a388ffb
Build types
DmitrySharabin Aug 11, 2025
704ecfa
Get rid of TS
DmitrySharabin Aug 10, 2025
5ccca81
Run `npm run build`
DmitrySharabin Aug 11, 2025
08cb1e7
Improve types for hooks
DmitrySharabin Aug 12, 2025
dd398c0
Improve types for token
DmitrySharabin Aug 12, 2025
a84922e
Improve types for Prism config
DmitrySharabin Aug 12, 2025
c482b79
Improve types for registry
DmitrySharabin Aug 12, 2025
57123e5
Improve types for Prism class
DmitrySharabin Aug 12, 2025
7239301
Improve types for highlight methods
DmitrySharabin Aug 12, 2025
764706b
Improve types for stringify
DmitrySharabin Aug 12, 2025
917e94f
Improve types for linked list
DmitrySharabin Aug 12, 2025
20ba555
Adjust types in tokenize functions
DmitrySharabin Aug 12, 2025
feacb04
Fix types in `load-languages.js`
DmitrySharabin Aug 12, 2025
cdf3c95
Improve types of util functions
DmitrySharabin Aug 12, 2025
d0096c6
Adjust types for shared/languages
DmitrySharabin Aug 12, 2025
43d3492
Fix types in plugins
DmitrySharabin Aug 12, 2025
b8bc111
Fix types for tests
DmitrySharabin Aug 12, 2025
99ec6e7
Fix types for tokenize string
DmitrySharabin Aug 12, 2025
250c9e7
Fix types for language definitions
DmitrySharabin Aug 12, 2025
20f8f7f
Another iteration on types
DmitrySharabin Aug 13, 2025
cd990b3
And one more
DmitrySharabin Aug 13, 2025
ef08905
And a bit more fixes
DmitrySharabin Aug 13, 2025
636dce9
[plugins] Add missed template specifier
DmitrySharabin Aug 13, 2025
505bd7d
[languages] Add types to `export default`s
DmitrySharabin Aug 13, 2025
97b454a
Fix types in scripts
DmitrySharabin Aug 13, 2025
cb828b3
Remove `@private` and `@default` to correctly generate types
DmitrySharabin Aug 13, 2025
4328e91
Some improvements to types in tests
DmitrySharabin Aug 13, 2025
eaab684
[benchmark] Some tweaks of types
DmitrySharabin Aug 14, 2025
3d46567
Re-enable types check in JS files
DmitrySharabin Aug 14, 2025
03733d1
Fix type inconsistencies in core files and plugins
DmitrySharabin Aug 14, 2025
489c156
Fix some (fixable) TS errors
DmitrySharabin Aug 14, 2025
b80b493
Fix the rest of the type errors in language definitions
DmitrySharabin Aug 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@ jobs:
- run: npm ci
- run: npm run lint:ci

type-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm ci
- run: npm run tsc

coverage:
runs-on: ubuntu-latest

Expand Down
1 change: 0 additions & 1 deletion .mocharc.yml

This file was deleted.

Loading
Loading