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

Releases #93

Merged
merged 36 commits into from
Jul 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4ec0218
:package: Chore: add bump version (#32)
upupming Apr 13, 2019
7082558
:pencil: Docs: currect azure project name (#33)
upupming Apr 14, 2019
adf7f91
:arrow_up: Upgrade: picgo to 1.3.6
Spades-S Apr 21, 2019
e687a25
:tada: Release: 2.0.4
Spades-S Apr 21, 2019
606b9d4
:bug: Fix: add tencent cos path option
upupming Apr 24, 2019
24bc06b
:hammer: Refactor: code structure, message consistency, fix settings …
Spades-S Apr 27, 2019
ee2f389
:pencil: Docs: readme.md
Spades-S Apr 29, 2019
f067c74
:pencil: Docs: fix custom upload name & custom output format docs
upupming May 9, 2019
0056092
:pencil: Docs: update issue templates
upupming May 9, 2019
fc2a965
:pencil: Docs: code format
upupming May 23, 2019
aba9895
:white_check_mark: Test: add basic testes (#42)
upupming Jun 2, 2019
d351648
:arrow_up: Upgrade: fix querystringify vulnerability
upupming Jun 8, 2019
c8129ed
:bug: Fix: azure pipeline + coveralls
upupming Jun 8, 2019
5ae4ec2
:package: Chore: azure -> github actions
upupming Feb 2, 2020
2b40945
:sparkles: Feature(package.json): support sm.ms V2
Spades-S Mar 22, 2020
ce3fe27
:package: Chore: replace tslint with eslint
Spades-S Mar 22, 2020
65f8157
:package: Chore(.vscode): update .vscode
Spades-S Mar 22, 2020
016ee0f
:art: Style: run codestyle:fix
Spades-S Mar 22, 2020
02a2e76
:pencil: Docs: update docs: README.md, CHANGELOG.md
Spades-S Mar 22, 2020
55ffbbc
:pencil: Docs: update README.md
Spades-S Mar 22, 2020
82a4682
:white_check_mark: Test(test): refactor unit tests
Spades-S Mar 26, 2020
e8b30b7
:package: Chore: add coverage collector
Spades-S Mar 27, 2020
4fb1ad9
build(deps): bump lodash from 4.17.15 to 4.17.19 (#68)
dependabot[bot] Aug 18, 2020
d11b495
build(deps): bump decompress from 4.2.0 to 4.2.1 (#71)
dependabot[bot] Oct 31, 2020
19f3364
build(deps): bump ini from 1.3.5 to 1.3.7 (#73)
dependabot[bot] Dec 11, 2020
ad88ef1
feat: 🎸 add support for svg (#74)
kkyeer Dec 19, 2020
3347690
:bug: Fix(ci): github actions use yarn to lock versions (#77)
upupming Dec 28, 2020
9aff38e
:bug: Fix(clipboard): set `PICGO_ENV` to `CLI`, fixes #75 (#78)
upupming Jan 5, 2021
5cd019d
:bug: Fix(proxy): add proxy config, fixes #79
upupming Jan 13, 2021
3366be1
:arrow_up: Upgrade: update picgo core
upupming Mar 3, 2021
75c8c97
:package: Chore: migrate to standardjs (#83)
upupming Apr 26, 2021
059998c
:arrow_up: Upgrade(core): upgrade dependencies (#92)
Spades-S Jul 25, 2021
2d581e6
:tada: Release: v2.1.1
upupming Jul 25, 2021
5c523ed
:bug: Fix(dep): bundle picgo-core to dist
upupming Jul 25, 2021
ba05a54
:tada: Release: v2.1.2
upupming Jul 25, 2021
a741ff9
:sparkles: Feature(core): merge Master into feat/dev
Spades-S Jul 26, 2021
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
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
32 changes: 32 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module.exports = {
root: true,
extends: ['standard-with-typescript', 'prettier-standard'],
parserOptions: {
project: './tsconfig.json'
},
rules: {
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'interface',
format: ['PascalCase'],
custom: {
regex: '^I[A-Z]',
match: true
}
}
],
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/strict-boolean-expressions': 0,
'no-console': 'warn'
},
overrides: [
{
files: ['./*.js', './*.ts'],
rules: {
'import/no-anonymous-default-export': 0,
'filenames/match-exported': 0
}
}
]
}
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

<!-- Please fill in this template and provide enough information for us. -->

### Describe the bug

<!-- A clear and concise description of what the bug is. -->

### To Reproduce

<!-- Steps to reproduce the behavior. -->

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

### Screenshots

<!-- If applicable, add screenshots to help explain your problem. -->

### System information

- OS: [e.g. Windows]
- Version [e.g. Windows 10]

### VSCode information

- `Help` -> `About` -> `Copy`

```txt
// Place you VScode `About` data here
```

- `vs-picgo` version

- Settings begin with `picgo`:

```json
// ...
"picgo.customUploadName": "${fileName}-${date}${extName}"
// ...
```

### Additional context

**Is this bug picBed specific, i.e. only the picBed you use is affected?** Yes/No.

**Is there any error in the console (`Help` -> `Toggle Developer tools`)?**: Yes/No.

```txt
If yes, please paste the error here.
```
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build
on: [push, pull_request]
jobs:
build-and-prerelease:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'

- name: yarn install, compile, and test coverage
run: |
yarn install
yarn compile
yarn test

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build artifact
run: |
mkdir artifact
rm README.md && yarn vsce package --yarn -o artifact

- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: vs-picgo CI built release
path: artifact
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ node_modules
.vscode
yarn-error.log
package-lock.json
coverage
.coveralls.yml
.DS_Store
dist
tmp
assets/test.md
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

19 changes: 13 additions & 6 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"eg2.tslint"
]
}
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"davidanson.vscode-markdownlint",
"yzhang.markdown-all-in-one",
"wix.vscode-import-cost",
"pkief.material-icon-theme",
"eamodio.gitlens"
]
}
56 changes: 26 additions & 30 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,30 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--user-data-dir=tmp",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/runner/index"
],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
"preLaunchTask": "npm: test-compile"
}
]
}
50 changes: 41 additions & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,43 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
}
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"files.insertFinalNewline": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
// Use eslint to format js/ts files
// prettier is included by eslint
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.packageManager": "yarn",
"typescript.tsdk": "node_modules\\typescript\\lib",
"editor.tabSize": 2,
"cSpell.words": [
"Mixins",
"picgo",
"vspicgo"
]
}
60 changes: 41 additions & 19 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process
// A task runner that calls a custom npm script that compiles the extension.
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
"version": "2.0.0",
"presentation": {
"echo": false,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false
},
"tasks": [
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": ["$ts-checker-webpack", "$ts-checker-eslint-webpack"]
},
{
"type": "npm",
"script": "lint",
"group": "build",
"problemMatcher": ["$eslint-stylish"]
},
{
"type": "npm",
"script": "watch",
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": true,
"problemMatcher": ["$ts-checker-webpack-watch", "$ts-checker-eslint-webpack-watch"]
}
]
}
11 changes: 7 additions & 4 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.vscode/**
.vscode-test/**
out/test/**
out/**/*.map
src/**
.gitignore
tsconfig.json
vsc-extension-quickstart.md
tslint.json
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
node_modules
out/
webpack.config.js
9 changes: 5 additions & 4 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
--add.ignore-engines true
--add.exact true
--add.registry "https://registry.npm.taobao.org"
--add.registry "https://registry.yarnpkg.com"
--upgrade.ignore-engines true
--upgrade.registry "https://registry.npm.taobao.org"
--upgrade.registry "https://registry.yarnpkg.com"
--install.ignore-engines true
--install.registry "https://registry.npm.taobao.org"
--remove.ignore-engines true
--install.registry "https://registry.yarnpkg.com"
--remove.ignore-engines true
ignore-engines true
Loading