Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docsetをdownloadできるようにする #18

Merged
merged 29 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d3b8ee5
docset名を検索結果に入れる
bundai223 Sep 12, 2023
2965699
debugで起動できるようにした。もしかしたら別ブランチで対応済みかも
bundai223 Sep 13, 2023
673b1c3
update
bundai223 Sep 13, 2023
f26366b
feed url
bundai223 Sep 15, 2023
903624d
debugprintにindent実装
bundai223 Sep 19, 2023
dcd6ff5
update
bundai223 Sep 20, 2023
7c66448
xmlのライブラリ切り替え
bundai223 Sep 22, 2023
a60db0d
xml解析中
bundai223 Sep 26, 2023
b48d360
docsetダウンロードできた!
bundai223 Sep 29, 2023
65c8fd1
docsetダウンロード
bundai223 Oct 2, 2023
ac07ca8
downloadできる
bundai223 Oct 3, 2023
ca426c4
configとsearchの行き来
bundai223 Oct 5, 2023
25574d3
update
bundai223 Dec 25, 2023
4ed2128
storybook
bundai223 Jan 4, 2024
fd18aae
storybook追加m
bundai223 Jan 25, 2024
104c772
debuggerのcwd探し
bundai223 Jan 25, 2024
121a19d
cliでsqliteでquery
bundai223 Jan 30, 2024
52021de
docsetのpath調整
bundai223 Jan 31, 2024
106beac
docset一覧
bundai223 Jan 31, 2024
5777802
docset一覧
bundai223 Feb 1, 2024
6f8b863
Merge branch 'main' into feature/fetch_docset
bundai223 Feb 1, 2024
9dac25f
fix error
bundai223 Feb 1, 2024
dab69b1
いろいろupdate
bundai223 Feb 1, 2024
4070d9b
download処理呼べそうなところまで
bundai223 Feb 1, 2024
aa5f4d5
feed経由する処理のイメージ実装
bundai223 Feb 2, 2024
069e4c6
refactor
bundai223 Feb 3, 2024
ee62db5
docset downloadできた
bundai223 Feb 3, 2024
9a01d9d
ちょっと整理
bundai223 Feb 3, 2024
a8548d4
fix warning.
bundai223 Feb 5, 2024
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
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"rust-lang.rust-analyzer",
"vadimcn.vscode-lldb",
"oscartbeaumont.rspc-vscode",
"Zerotaskx.rust-extension-pack"
"Zerotaskx.rust-extension-pack",
"oscartbeaumont.rspc-vscode"
]
}
},
Expand Down
4 changes: 3 additions & 1 deletion .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ sudo chown -R :rustlang /usr/local/rustup
# cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) \
# cpanm JSON Net::SSLeay LWP::Simple LWP::Protocol::https

cargo install [email protected]
# cargo install [email protected]
pnpm update @tauri-apps/cli @tauri-apps/api --latest
pnpm outdated @tauri-apps/cli

pnpm i
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:storybook/recommended"
],
overrides: [
{
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ dist-ssr
.pnpm-store

docsets/*
src-tauri/spec/tmp/*
19 changes: 19 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import type { StorybookConfig } from "@storybook/react-vite";

const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-onboarding",
"@storybook/addon-interactions",
],
framework: {
name: "@storybook/react-vite",
options: {},
},
docs: {
autodocs: "tag",
},
};
export default config;
15 changes: 15 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { Preview } from "@storybook/react";

const preview: Preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
};

export default preview;
5 changes: 4 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
"recommendations": [
"tauri-apps.tauri-vscode",
"rust-lang.rust-analyzer"
]
}
270 changes: 270 additions & 0 deletions bin/create_docset_master.sh

Large diffs are not rendered by default.

Binary file removed docsets/hoge.db3
Binary file not shown.
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,29 @@
"preview": "vite preview",
"lint": "prettier --check .; eslint src",
"tauri": "tauri",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-front": "vitest",
"test-tauri": "cd src-tauri; cargo test"
},
"dependencies": {
"@rspc/client": "^0.1.3",
"@rspc/react": "^0.1.3",
"@rspc/tauri": "^0.1.3",
"@tauri-apps/api": "^1.2.0",
"@tauri-apps/api": "^1.5.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.2",
"@storybook/addon-essentials": "^7.6.6",
"@storybook/addon-interactions": "^7.6.6",
"@storybook/addon-links": "^7.6.6",
"@storybook/addon-onboarding": "^1.0.10",
"@storybook/blocks": "^7.6.6",
"@storybook/react": "^7.6.6",
"@storybook/react-vite": "^7.6.6",
"@storybook/test": "^7.6.6",
"@tauri-apps/cli": "^1.5.9",
"@types/node": "^18.7.10",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
Expand All @@ -31,7 +41,9 @@
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-storybook": "^0.6.15",
"prettier": "^2.8.8",
"storybook": "^7.6.6",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.6",
"vite": "^4.2.1"
Expand Down
Loading
Loading