Skip to content

Commit

Permalink
Merge pull request #473 from shalldie/v2.0
Browse files Browse the repository at this point in the history
V2.0
  • Loading branch information
shalldie authored Oct 23, 2024
2 parents 91d3803 + 5940820 commit 44a5c31
Show file tree
Hide file tree
Showing 64 changed files with 5,232 additions and 1,750 deletions.
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

22 changes: 0 additions & 22 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ Thank you for submitting a Pull Request. Please select a list to check:

### Checklist - en

- [ ] Read our [Pull Request guidelines](https://github.com/shalldie/vscode-background/blob/master/CONTRIBUTING.md).
- [ ] Read our [Contributing Guide](https://github.com/shalldie/vscode-background/blob/master/docs/contributing.md).
- [ ] Associate an issue with the Pull Request.
- [ ] Ensure that the code is up-to-date with the `master` branch.
- [ ] Include a description of the proposed changes.

### Checklist - zh-CN

- [ ] 阅读 [贡献指南](https://github.com/shalldie/vscode-background/blob/master/CONTRIBUTING.zh-CN.md)
- [ ] 阅读 [贡献指南](https://github.com/shalldie/vscode-background/blob/master/docs/contributing.zh-CN.md)
- [ ] 把 issue 和 pr 相关联.
- [ ] 确保代码与 `master` 分支保持同步.
- [ ] 尽可能详细的描述所做的变更.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
node-version-file: ".node-version"

# validate compile、package
- run: npm ci
- run: npm run package
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build-artifact
path: "*.vsix"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
out
dist
node_modules
.vscode-test/
*.vsix
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

18 changes: 0 additions & 18 deletions .prettierrc

This file was deleted.

29 changes: 29 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/** @type {import("prettier").Config} */
module.exports = {
singleQuote: true,
trailingComma: 'none',
tabWidth: 4,
endOfLine: 'auto',
printWidth: 120,
bracketSpacing: true,
arrowParens: 'avoid',
overrides: [
{
files: ['*.md', 'package(-lock)?.json', '*.ya?ml'],
options: {
singleQuote: false,
tabWidth: 2
}
}
],
plugins: ['@ianvs/prettier-plugin-sort-imports'],
importOrder: [
'<BUILTIN_MODULES>', // Node.js built-in modules
'',
'<THIRD_PARTY_MODULES>', // Imports not matched by other special words or groups.
'',
'^[.]' // relative imports
],
importOrderTypeScriptVersion: '5.0.0',
importOrderCaseSensitive: true
};
6 changes: 5 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"recommendations": ["esbenp.prettier-vscode", "styled-components.vscode-styled-components"]
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"styled-components.vscode-styled-components"
]
}
22 changes: 10 additions & 12 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
.github/**
.vscode/**
.vscode-test/**
out/test/**
out/**/*.map
src/**
.gitignore
tsconfig.json
vsc-extension-quickstart.md
.eslintignore
.eslintrc.json
package-lock.json
.huskyrc
.prettierignore
.github
.yarnrc
**/tsconfig.json
**/eslint.config.mjs
**/*.map
**/*.ts
**/.vscode-test.*
.husky/**
*.touch
.husky
*.cache
*.cache
.node-version
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## v2.0.0 (2024/10/23) (#462)

<img width="380" src="./images/containers.png">

This is a major version that has added more features, which will bring you a better coding experience!

1. More configurable sections: `fullscreen`, `sidebar`, `editor`, `panel`.
2. Clear and concise configuration.
3. Added quick commands that can be invoked through the 「Background」 button in the bottom-right corner of the statusbar.
4. No more warnings about `Your Code installation appears to be corrupt` !!!
5. Added support for multiple languages (l10n).
6. More content can be found in [README.md](./README.md)[Migration from v1](./docs/migration-from-v1.md)

这是一个大版本,增加了更多的功能,会给你带来更好的编码体验!

1. 更多的可配置区域:`全屏``侧边栏``编辑器``面板`
2. 更清晰简洁的配置。
3. 添加了快捷命令,可以通过右下角「background」按钮唤起。
4. 不再有令人厌烦的 `Code 安装似乎损坏` 提示 !!!
5. 添加了多语言(l10n)支持。
6. 更多内容可见 [README.md](./README.md)[从 v1 迁移](./docs/migration-from-v1.md)

## ver1.2.16 (2024/10/09)

#468, #458
Expand Down
2 changes: 2 additions & 0 deletions README.ja-JP.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## Deprecated! We need someone to help translate the document

<!-- 中英文切换 -->
<div align="right">

Expand Down
Loading

0 comments on commit 44a5c31

Please sign in to comment.