Skip to content

Commit

Permalink
make valid project names case insensitive
Browse files Browse the repository at this point in the history
Signed-off-by: Luke-zhang-04 <luke.zhang2004dev@gmail.com>
  • Loading branch information
Luke-zhang-04 committed Mar 19, 2021
1 parent 1e9c063 commit 4a9cb80
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 12 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.6] - 2021-03-19

### Fixed
- Make valid project names case insensitive


## [2.0.5] - 2020-03-19

### Fixes
### Fixed
- Handle paths with spaces better


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "processing-vscode",
"displayName": "Processing VSCode",
"description": "Processing Language Support for VSCode",
"version": "2.0.5",
"version": "2.0.6",
"publisher": "Luke-zhang-04",
"engines": {
"vscode": "^1.48.0"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import typescript from "@rollup/plugin-typescript"

const banner = `/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
* @preserve
*/
Expand Down
2 changes: 1 addition & 1 deletion src/commands/run.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/

Expand Down
2 changes: 1 addition & 1 deletion src/diagnostics.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/

Expand Down
2 changes: 1 addition & 1 deletion src/documentation.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/

Expand Down
2 changes: 1 addition & 1 deletion src/getConfig.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/

Expand Down
2 changes: 1 addition & 1 deletion src/search.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/

Expand Down
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/

export const isValidProcessingProject = (path?: string): boolean =>
path !== undefined && /^[\/_$a-z][\/\w$]*$/.test(path)
path !== undefined && /^[\/_$a-z][\/\w$]*$/iu.test(path)
2 changes: 1 addition & 1 deletion src/validateCommand.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* processing-vscode - Processing Language Support for VSCode
* @version 2.0.5
* @version 2.0.6
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/
import childProcess from "child_process"
Expand Down

0 comments on commit 4a9cb80

Please sign in to comment.