Skip to content

chore: improvement hexo.extend#5208

Closed
dimaslanjaka wants to merge 16 commits intohexojs:masterfrom
dimaslanjaka:v7-fix-extend
Closed

chore: improvement hexo.extend#5208
dimaslanjaka wants to merge 16 commits intohexojs:masterfrom
dimaslanjaka:v7-fix-extend

Conversation

@dimaslanjaka
Copy link
Contributor

@dimaslanjaka dimaslanjaka commented May 18, 2023

What does it do?

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

stevenjoezhang and others added 16 commits March 15, 2023 20:39
* refactor: esm

* refactor: migrate typescript

* update files

* remove `use strict`

* fix indentation

* refactor: migrate typescript

* refactor: migrate typescript

* update

* export from

* extend/filter

* post

* Schema and SchemaType

* NunjucksError

* declare module

* update tests

* fix export

* update

* update

* number_format

* update highlight

* update

* add secondary argument when create `Permalink` instance

* specify `eslint` target directory

* ignore two rules for testing

* use `@ts-expect-error` for avoiding compile error

* use `any` for avoiding compile error

* chore: add `dist/` to `.gitignore`

* test(eslint): update `.eslintrc`

* refactor: `var` to `const`

* refactor: delete unnecessary `'use strict';`

* test: use `dist/modules/types/moment/SchemaTypeMoment` instead of `warehouse.SchemaTypeMoment`

* fix: export of processors

* test: fix bind

* test: fix processer

* fix fs import

* fix hexo-i18n and hexo-log

* fix param order

* build hexo in benchmark

* fix eslint

* fix export & drop travis

* Update .husky/pre-commit

* add spaces

* refactor: ts debounce fn

* fix: lint errors

* fix: lint errors

---------

Co-authored-by: yoshinorin <yoshinorin.net@outlook.com>
Co-authored-by: Baoshuo <i@baoshuo.ren>
* release: 7.0.0-rc1

* Update package.json

---------

Co-authored-by: Mimi <1119186082@qq.com>
* feat: add exclude_languages feature to prismjs

* feat: add exclude_languages feature to prismjs
* refactor: add types for some explicit any fields

* refactor: add better extend types

* refactor: add type Hexo for ctx

* reafactor: better function type

* style: use import type for type only imports

* fix: wrong type for args and options
- StoreFunction & StoreSyncFunction & StoreFunctionData
- SyncStore & Store

to easily import the interfaces between `extend` source files
fix: conditional when `fn` is not function
chore: convert interface `AsyncTagFunction` to overload type
docs: add some JSDoc
chore: add prefix `_` to unused variables
feat: add interface `RegisterAsyncOptions`
fix: missing types
feat(Tag.register): add overload types and JSDoc
marked as internal hexo function
fix(lint): eslint --fix
to easily import between source files
chore(Renderer.register): add overload method types
docs: add JSDoc
@github-actions
Copy link

How to test

git clone -b v7-fix-extend https://github.com/dimaslanjaka/hexo.git
cd hexo
npm install
npm test

@dimaslanjaka
Copy link
Contributor Author

Wrong target PR sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants