🌐 AI搜索 & 代理 主页
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
543f936
test: migration to vitest
Scrum Oct 19, 2023
404a97a
build: update husky
Scrum Oct 19, 2023
d4904c5
perf: add prettier config
Scrum Oct 20, 2023
ad89cd6
test: fix on ci
Scrum Oct 20, 2023
f395105
test: fix coverage
Scrum Oct 20, 2023
d5e6694
test: change require to import
Scrum Oct 20, 2023
207d176
test: migrate file to ts
Scrum Oct 20, 2023
e63c57f
test: formated
Scrum Oct 20, 2023
31fad35
docs: drop change log
Scrum Oct 20, 2023
7ce710f
perf: migrate to ts from js
Scrum Oct 20, 2023
e4580ca
build: build before publish and main/browser index
Scrum Oct 20, 2023
1d51fa3
build: add ts config
Scrum Oct 20, 2023
217be53
ci: add node 18 and 20
Scrum Oct 20, 2023
16720b2
build: target to es5
Scrum Oct 20, 2023
ae99853
build: swc/core is required for es5 target
Scrum Oct 20, 2023
3c8160b
build: update dep dev
Scrum Oct 20, 2023
0c46ad4
style: format src
Scrum Oct 20, 2023
d223d83
style: add esModuleInterop
Scrum Oct 20, 2023
2a81d9f
build: add eslint
Scrum Oct 20, 2023
11193e3
style: fix after linting
Scrum Oct 20, 2023
1750316
0.16.7-0
Scrum Oct 20, 2023
e9a7786
0.16.7-beta.0
Scrum Oct 20, 2023
4244d6c
test: fixed all test
Scrum Oct 23, 2023
617693e
build: fix run test
Scrum Oct 23, 2023
ec9a922
Revert "build: fix run test"
Scrum Oct 23, 2023
5e65900
ci: try fix old node version
Scrum Oct 23, 2023
e0aca0c
build: breaking change, drop support node 12 & 14
Scrum Oct 23, 2023
2267511
Merge branch 'master' into milestone-1.0.0
Scrum Oct 23, 2023
b940f28
perf: clear from jsdocs and comments
Scrum Oct 23, 2023
8089198
build: remove jsdocs
Scrum Oct 23, 2023
b28eddf
test: not need watch flug when cover
Scrum Oct 23, 2023
3aa251c
test: fix vitest for vscode
Scrum Oct 23, 2023
7f43dde
build: update dep dev
Scrum Oct 25, 2023
fee91ab
build: update dep dev
Scrum Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .c8rc

This file was deleted.

21 changes: 21 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {}
}
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [12, 14, 16]
node: [16, 18, 20]
os: [ubuntu-latest]

steps:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ npm-debug.log

coverage
jsdoc-api
node_modules
node_modules
dist
4 changes: 2 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --extends=@commitlint/config-angular --edit $1
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
4 changes: 2 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm t
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.js": "standard --env mocha"
"*.ts": ["npm run lint", "vitest related --run"]
}
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ docs
test
coverage
node_modules
.husky
.github
src
13 changes: 13 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"bracketSpacing": true,
"endOfLine": "lf",
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"printWidth": 120,
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrderGroupNamespaceSpecifiers": true,
"importOrderCaseInsensitive": true
}
705 changes: 0 additions & 705 deletions changelog.md

This file was deleted.

145 changes: 0 additions & 145 deletions lib/api.js

This file was deleted.

Loading