generated from sapphiredev/sapphire-template
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43016a0
commit ad7af34
Showing
14 changed files
with
242 additions
and
130 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,88 +1,70 @@ | ||
{ | ||
"projectName": "shapeshift", | ||
"projectOwner": "sapphiredev", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": [ | ||
"README.md" | ||
], | ||
"imageSize": 100, | ||
"commit": true, | ||
"commitConvention": "angular", | ||
"contributors": [ | ||
{ | ||
"login": "kyranet", | ||
"name": "Antonio Román", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/24852502?v=4", | ||
"profile": "https://github.com/kyranet", | ||
"contributions": [ | ||
"code", | ||
"doc", | ||
"ideas" | ||
] | ||
}, | ||
{ | ||
"login": "vladfrangu", | ||
"name": "Vlad Frangu", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/17960496?v=4", | ||
"profile": "https://github.com/vladfrangu", | ||
"contributions": [ | ||
"code", | ||
"doc", | ||
"ideas" | ||
] | ||
}, | ||
{ | ||
"login": "favna", | ||
"name": "Jeroen Claassens", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/4019718?v=4", | ||
"profile": "https://favware.tech/", | ||
"contributions": [ | ||
"doc", | ||
"maintenance", | ||
"infra" | ||
] | ||
}, | ||
{ | ||
"login": "renovate[bot]", | ||
"name": "renovate[bot]", | ||
"avatar_url": "https://avatars.githubusercontent.com/in/2740?v=4", | ||
"profile": "https://github.com/apps/renovate", | ||
"contributions": [ | ||
"maintenance" | ||
] | ||
}, | ||
{ | ||
"login": "renovate-bot", | ||
"name": "WhiteSource Renovate", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/25180681?v=4", | ||
"profile": "https://renovate.whitesourcesoftware.com/", | ||
"contributions": [ | ||
"maintenance" | ||
] | ||
}, | ||
{ | ||
"login": "Khasms", | ||
"name": "John", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/36800359?v=4", | ||
"profile": "https://github.com/Khasms", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "imranbarbhuiya", | ||
"name": "Parbez", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/74945038?v=4", | ||
"profile": "https://github.com/imranbarbhuiya", | ||
"contributions": [ | ||
"code", | ||
"test", | ||
"bug", | ||
"doc" | ||
] | ||
} | ||
], | ||
"contributorsPerLine": 7, | ||
"skipCi": true | ||
"projectName": "shapeshift", | ||
"projectOwner": "sapphiredev", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": ["README.md"], | ||
"imageSize": 100, | ||
"commit": true, | ||
"commitConvention": "angular", | ||
"contributors": [ | ||
{ | ||
"login": "kyranet", | ||
"name": "Antonio Román", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/24852502?v=4", | ||
"profile": "https://github.com/kyranet", | ||
"contributions": ["code", "doc", "ideas"] | ||
}, | ||
{ | ||
"login": "vladfrangu", | ||
"name": "Vlad Frangu", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/17960496?v=4", | ||
"profile": "https://github.com/vladfrangu", | ||
"contributions": ["code", "doc", "ideas"] | ||
}, | ||
{ | ||
"login": "favna", | ||
"name": "Jeroen Claassens", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/4019718?v=4", | ||
"profile": "https://favware.tech/", | ||
"contributions": ["doc", "maintenance", "infra"] | ||
}, | ||
{ | ||
"login": "renovate[bot]", | ||
"name": "renovate[bot]", | ||
"avatar_url": "https://avatars.githubusercontent.com/in/2740?v=4", | ||
"profile": "https://github.com/apps/renovate", | ||
"contributions": ["maintenance"] | ||
}, | ||
{ | ||
"login": "renovate-bot", | ||
"name": "WhiteSource Renovate", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/25180681?v=4", | ||
"profile": "https://renovate.whitesourcesoftware.com/", | ||
"contributions": ["maintenance"] | ||
}, | ||
{ | ||
"login": "Khasms", | ||
"name": "John", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/36800359?v=4", | ||
"profile": "https://github.com/Khasms", | ||
"contributions": ["code"] | ||
}, | ||
{ | ||
"login": "imranbarbhuiya", | ||
"name": "Parbez", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/74945038?v=4", | ||
"profile": "https://github.com/imranbarbhuiya", | ||
"contributions": ["code", "test", "bug", "doc"] | ||
}, | ||
{ | ||
"login": "allcontributors[bot]", | ||
"name": "allcontributors[bot]", | ||
"avatar_url": "https://avatars.githubusercontent.com/in/23186?v=4", | ||
"profile": "https://github.com/apps/allcontributors", | ||
"contributions": ["doc"] | ||
} | ||
], | ||
"contributorsPerLine": 7, | ||
"skipCi": true | ||
} |
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
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,16 @@ | ||
/** | ||
* A very simple file that can run without having a node_modules directory | ||
* This way we can validate from a NodeJS environment that the bundle will | ||
* work completely standalone | ||
*/ | ||
|
||
import assert from 'node:assert/strict'; | ||
import { ExpectedConstraintError, s } from '../dist/index.mjs'; | ||
|
||
const uniqSchema = s.array(s.string).unique; | ||
const goodData = ['a', 'b', 'c']; | ||
const badData = ['a', 'b', 'a']; | ||
|
||
assert.deepStrictEqual(uniqSchema.parse(goodData), goodData); | ||
|
||
assert.throws(() => uniqSchema.parse(badData), ExpectedConstraintError); |
Oops, something went wrong.