-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ieedan/extension-work
VS Code Extension + `vnv check` command
- Loading branch information
Showing
30 changed files
with
1,101 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +0,0 @@ | ||
@startsWith("https://") | ||
# Must be min 10 for name of domain and domain postfix Ex: (https://d.t) | ||
@min(10) | ||
ALLOWED_ORIGINS=["https://github.com", "https://aidanbleser.com"] | ||
@min(1000) | ||
@public | ||
POLLING_INTERVAL=5000 | ||
@min(1024) | ||
@max(49151) | ||
@public | ||
PORT=3000 | ||
@min(1) | ||
API_KEY="g74Ed6Z6txrEiGX9rSybQxWfVCFDfvAvhuOBrZvsTjfuGNrNt1jyjHfhQPSdzNh5kf6juBsGfRhjFpyfJEl8L2pw39DCs2A2yJKLfWht6sY7HCalLNpDNWcHbWip8Jpc" | ||
# IP Address regex thanks ChatGPT | ||
@matches("^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$") | ||
ALLOWED_IPS=["172.16.100.10", "192.168.1.1"] | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This is an example of how you might use valid-env | ||
# If you are contributing to valid-env this is a great way to test things out | ||
|
||
@startsWith("https://") | ||
# Must be min 10 for name of domain and domain postfix Ex: (https://d.t) | ||
@min(10) | ||
ALLOWED_ORIGINS=["https://github.com", "https://aidanbleser.com"] | ||
@min(1000) | ||
@public | ||
POLLING_INTERVAL=5000 | ||
@min(1024) | ||
@max(49151) | ||
@public | ||
PORT=3000 | ||
@min(1) | ||
API_KEY="g74Ed6Z6txrEiGX9rSybQxWfVCFDfvAvhuOBrZvsTjfuGNrNt1jyjHfhQPSdzNh5kf6juBsGfRhjFpyfJEl8L2pw39DCs2A2yJKLfWht6sY7HCalLNpDNWcHbWip8Jpc" | ||
# IP Address regex thanks ChatGPT | ||
@matches("^(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$") | ||
ALLOWED_IPS=["172.16.100.10", "192.168.1.1"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
[package] | ||
name = "valid-env" | ||
version = "0.1.0" | ||
name = "vnv" | ||
version = "0.0.1" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
regex = "^1.10.3" | ||
clap = { version = "4.5.3", features = ["derive"] } | ||
regex = "^1.10.3" | ||
colored = "2.0" |
Oops, something went wrong.