Skip to content

Commit a4ba836

Browse files
chore: Organized package.json and README.md (#803)
1 parent 3f7482f commit a4ba836

File tree

5 files changed

+585
-424
lines changed

5 files changed

+585
-424
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656

5757
- name: Release
5858
if: startsWith(matrix.os, 'ubuntu') && matrix.version == 'stable' && github.ref == 'refs/heads/master' && github.repository == 'JohnstonCode/svn-scm'
59-
run: npm run semantic-release
59+
run: |
60+
npm run organize
61+
npm run semantic-release
6062
env:
6163
VSCE_TOKEN: ${{ secrets.vsceToken }}
6264
GITHUB_TOKEN: ${{ secrets.githubToken }}

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@semantic-release/changelog",
1111
{
1212
"path": "@semantic-release/git",
13-
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
13+
"assets": ["CHANGELOG.md", "README.md", "package.json", "package-lock.json"],
1414
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
1515
},
1616
"semantic-release-vsce"

README.md

Lines changed: 118 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -61,46 +61,121 @@ If you use [TortoiseSVN](https://tortoisesvn.net/), make sure the option
6161
Please use a dedicated extension like [blamer-vs](https://marketplace.visualstudio.com/items?itemName=beaugust.blamer-vs)
6262

6363
## Settings
64-
Here is a table of settings with their default values. To change any of these, add the relevant Config key and value to your VSCode settings.json file.
65-
66-
|Config|Description|Default|
67-
|-|-|-|
68-
|`svn.enabled`|Whether svn is enabled|`true`|
69-
|`svn.enableProposedApi`|Allow usage of proposed APIs of VSCode. set 'product' to auto-edit product.json, set 'argument' to allow with start argument, set 'none' to not prompt|`null`|
70-
|`svn.autorefresh`|Whether auto refreshing is enabled|`true`|
71-
|`svn.decorations.enabled`|Controls if SVN contributes colors and badges to the explorer and the open (VSCode \>= 1.18 with proposed-api)|`true`|
72-
|`svn.path`|Path to the svn executable|`null`|
73-
|`svn.defaultCheckoutDirectory`|The default location to checkout a svn repository.|`null`|
74-
|`svn.ignoreRepositories`|List of SVN repositories to ignore.|`null`|
75-
|`svn.ignoreMissingSvnWarning`|Ignores the warning when SVN is missing|`false`|
76-
|`svn.ignoreWorkingCopyIsTooOld`|Ignores the warning when working copy is too old|`false`|
77-
|`svn.diff.withHead`|Show diff changes using latest revision in the repository. Set false to use latest revision in local folder|`true`|
78-
|`svn.layout.trunkRegex`|Regex to detect path for 'trunk' in SVN URL, 'null' to disable. (Ex.: '(trunk)', '(main)')|`"(trunk)(/.*)?"`|
79-
|`svn.layout.trunkRegexName`|Regex group position for name of trunk|`1`|
80-
|`svn.layout.branchesRegex`|Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/[^/]+/([^/]+)(/.\*)?' (Ex.: 'branches/...', 'versions/...')|`"branches/([^/]+)(/.*)?"`|
81-
|`svn.layout.branchesRegexName`|Regex group position for name of branch|`1`|
82-
|`svn.layout.tagsRegex`|Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/[^/]+/([^/]+)(/.\*)?'. (Ex.: 'tags/...', 'stamps/...')|`"tags/([^/]+)(/.*)?"`|
83-
|`svn.layout.tagRegexName`|Regex group position for name of tag|`1`|
84-
|`svn.layout.showFullName`|Set true to show 'branches/\<name\>' and false to show only '\<name\>'|`true`|
85-
|`svn.multipleFolders.enabled`|Allow to find subfolders using SVN|`false`|
86-
|`svn.multipleFolders.depth`|Maximum depth to find subfolders using SVN|`4`|
87-
|`svn.multipleFolders.ignore`|Folders to ignore using SVN|`["**/.git","**/.hg","**/vendor","**/node_modules"]`|
88-
|`svn.sourceControl.ignoreOnCommit`|Changelists to ignore on commit|`["ignore-on-commit"]`|
89-
|`svn.sourceControl.ignoreOnStatusCount`|Changelists to ignore on status count|`["ignore-on-commit"]`|
90-
|`svn.detectExternals`|Controls whether to automatically detect svn externals.|`true`|
91-
|`svn.detectIgnored`|Controls whether to automatically detect svn on ignored folders.|`true`|
92-
|`svn.sourceControl.combineExternalIfSameServer`|Combine the svn external in the main if is from the same server.|`false`|
93-
|`svn.sourceControl.countUnversioned`|Allow to count unversioned files in status count|`true`|
94-
|`svn.log.length`|Number of commit messages to log|`50`|
95-
|`svn.showOutput`|Show the output window when the extension starts|`false`|
96-
|`svn.conflicts.autoResolve`|Set file to status resolved after fix conflicts|`false`|
97-
|`svn.update.ignoreExternals`|Set to ignore externals definitions on update (add --ignore-externals)|`true`|
98-
|`svn.delete.actionForDeletedFiles`|When a file is deleted, what SVN should do? `none` - Do nothing, `prompt` - Ask the action, `remove` - automatically remove from SVN|`"prompt"`|
99-
|`svn.delete.ignoredRulesForDeletedFiles`|Ignored files/rules for `svn.delete.actionForDeletedFiles`(Ex.: file.txt or \*\*/\*.txt)|`[]`|
100-
|`svn.default.encoding`|Encoding of svn output if the output is not utf-8. When this parameter is null, the encoding is automatically detected. Example: 'windows-1252'.|`null`|
101-
|`svn.showUpdateMessage`|Show the update message when update is run|`true`|
102-
|`svn.remoteChanges.checkFrequency`|Set the interval in seconds to check changed files on remote repository and show in statusbar. 0 to disable|`300`|
103-
|`svn.sourceControl.hideUnversioned`|Hide unversioned files in Source Control UI|`false`|
104-
|`svn.refresh.remoteChanges`|Refresh remote changes on refresh command|`false`|
105-
|`svn.sourceControl.changesLeftClick`|Set left click functionality on changes resource state|`"open diff"`|
106-
|`svn.gravatars.enabled`|Use garavatar icons in log viewers|`true`|
64+
Here are all of the extension settings with their default values. To change any of these, add the relevant Config key and value to your VSCode settings.json file. Alternatively search for the config key in the settings UI to change its value.
65+
66+
<!--begin-settings-->
67+
```js
68+
{
69+
// Whether auto refreshing is enabled
70+
"svn.autorefresh": true,
71+
72+
// Set file to status resolved after fix conflicts
73+
"svn.conflicts.autoResolve": null,
74+
75+
// Encoding of svn output if the output is not utf-8. When this parameter is null, the encoding is automatically detected. Example: 'windows-1252'.
76+
"svn.default.encoding": null,
77+
78+
// The default location to checkout a svn repository.
79+
"svn.defaultCheckoutDirectory": null,
80+
81+
// When a file is deleted, what SVN should do? `none` - Do nothing, `prompt` - Ask the action, `remove` - automatically remove from SVN
82+
"svn.delete.actionForDeletedFiles": "prompt" // values: ["none","prompt","remove"],
83+
84+
// Ignored files/rules for `svn.delete.actionForDeletedFiles`(Ex.: file.txt or **/*.txt)
85+
"svn.delete.ignoredRulesForDeletedFiles": [],
86+
87+
// Controls whether to automatically detect svn externals.
88+
"svn.detectExternals": true,
89+
90+
// Controls whether to automatically detect svn on ignored folders.
91+
"svn.detectIgnored": true,
92+
93+
// Show diff changes using latest revision in the repository. Set false to use latest revision in local folder
94+
"svn.diff.withHead": true,
95+
96+
// Whether svn is enabled
97+
"svn.enabled": true,
98+
99+
// Use garavatar icons in log viewers
100+
"svn.gravatars.enabled": true,
101+
102+
// Ignores the warning when SVN is missing
103+
"svn.ignoreMissingSvnWarning": null,
104+
105+
// List of SVN repositories to ignore.
106+
"svn.ignoreRepositories": null,
107+
108+
// Ignores the warning when working copy is too old
109+
"svn.ignoreWorkingCopyIsTooOld": null,
110+
111+
// Regex to detect path for 'branches' in SVN URL, 'null' to disable. Subpath use 'branches/[^/]+/([^/]+)(/.*)?' (Ex.: 'branches/...', 'versions/...')
112+
"svn.layout.branchesRegex": "branches/([^/]+)(/.*)?",
113+
114+
// Regex group position for name of branch
115+
"svn.layout.branchesRegexName": 1,
116+
117+
// Set true to show 'branches/<name>' and false to show only '<name>'
118+
"svn.layout.showFullName": true,
119+
120+
// Regex group position for name of tag
121+
"svn.layout.tagRegexName": 1,
122+
123+
// Regex to detect path for 'tags' in SVN URL, 'null' to disable. Subpath use 'tags/[^/]+/([^/]+)(/.*)?'. (Ex.: 'tags/...', 'stamps/...')
124+
"svn.layout.tagsRegex": "tags/([^/]+)(/.*)?",
125+
126+
// Regex to detect path for 'trunk' in SVN URL, 'null' to disable. (Ex.: '(trunk)', '(main)')
127+
"svn.layout.trunkRegex": "(trunk)(/.*)?",
128+
129+
// Regex group position for name of trunk
130+
"svn.layout.trunkRegexName": 1,
131+
132+
// Number of commit messages to log
133+
"svn.log.length": 50,
134+
135+
// Maximum depth to find subfolders using SVN
136+
"svn.multipleFolders.depth": 4,
137+
138+
// Allow to find subfolders using SVN
139+
"svn.multipleFolders.enabled": null,
140+
141+
// Folders to ignore using SVN
142+
"svn.multipleFolders.ignore": ["**/.git","**/.hg","**/vendor","**/node_modules"],
143+
144+
// Path to the svn executable
145+
"svn.path": null,
146+
147+
// Refresh remote changes on refresh command
148+
"svn.refresh.remoteChanges": null,
149+
150+
// Set the interval in seconds to check changed files on remote repository and show in statusbar. 0 to disable
151+
"svn.remoteChanges.checkFrequency": 300,
152+
153+
// Show the output window when the extension starts
154+
"svn.showOutput": null,
155+
156+
// Show the update message when update is run
157+
"svn.showUpdateMessage": true,
158+
159+
// Set left click functionality on changes resource state
160+
"svn.sourceControl.changesLeftClick": "open diff" // values: ["open","open diff"],
161+
162+
// Combine the svn external in the main if is from the same server.
163+
"svn.sourceControl.combineExternalIfSameServer": null,
164+
165+
// Allow to count unversioned files in status count
166+
"svn.sourceControl.countUnversioned": true,
167+
168+
// Hide unversioned files in Source Control UI
169+
"svn.sourceControl.hideUnversioned": null,
170+
171+
// Changelists to ignore on commit
172+
"svn.sourceControl.ignoreOnCommit": ["ignore-on-commit"],
173+
174+
// Changelists to ignore on status count
175+
"svn.sourceControl.ignoreOnStatusCount": ["ignore-on-commit"],
176+
177+
// Set to ignore externals definitions on update (add --ignore-externals)
178+
"svn.update.ignoreExternals": true
179+
}
180+
```
181+
<!--end-settings-->

0 commit comments

Comments
 (0)