Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Commit e9803e8

Browse files
authored
feat(packages): ✨ Add a new package type with snippets (#30)
1 parent ccbc550 commit e9803e8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1152
-141
lines changed

.changeset/angry-socks-watch.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,4 @@
22
"@terminal-nerds/snippets-string": minor
33
---
44

5-
✨ Added a module `schema` for grouped snippets. It includes:
6-
7-
- `STRING_SCHEMA`
8-
- `EMPTY_STRING_SCHEMA`
9-
- `type EmptyString`
10-
- `isString()`
11-
- `isStringEmpty()`
12-
- `validateString()`
5+
✨ Added a module `schema` for string snippets.

.changeset/bright-pumas-care.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@
22
"@terminal-nerds/snippets-string": minor
33
---
44

5-
✨ Added a module `word` for grouped snippets. It includes:
6-
7-
- `reverseString()`
8-
- `type ReversedString`
9-
- `isPalindrome()`
10-
- `isNumeric()`
5+
✨ Added a module `word` for grouped snippets.

.changeset/calm-weeks-fry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@terminal-nerds/snippets-type": minor
3+
---
4+
5+
✨ Added module `non-primitive` for grouped snippets.

.changeset/curvy-windows-train.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@terminal-nerds/snippets-type": minor
3+
---
4+
5+
✨ Added module `constructor` for grouped snippets.

.changeset/early-pets-return.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,4 @@
22
"@terminal-nerds/snippets-runtime": minor
33
---
44

5-
✨ Added a module `scope` for grouped snippets. It includes:
6-
7-
- `CI_CD_ENVIRONMENT_VARIABLES`
8-
- `type CICDEnvironmentVariable`
9-
- `CI_CD_ENVIRONMENT_VARIABLE_SCHEMA`
10-
- `type TestEnvironmentVariable`
11-
- `TEST_ENVIRONMENT_VARIABLES`
12-
- `TEST_ENVIRONMENT_VARIABLE_SCHEMA`
13-
- `inContinuousIntegration()`
14-
- `inTest()`
5+
✨ Added a module `scope` for grouped snippets.

.changeset/great-crabs-float.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,4 @@
33
---
44

55
✨ Added a module `case` for grouped snippets. It includes string casing transformation functions from [`case-anything`](https://github.com/mesqueeb/case-anything)
6-
with a better types support from [`type-fest`](https://github.com/sindresorhus/type-fest) for:
7-
8-
- `camelCase()`
9-
- `constantCase()`
10-
- `kebabCase()`
11-
- `pascalCase()`
12-
- `snakeCase()`
6+
with a better types support from [`type-fest`](https://github.com/sindresorhus/type-fest).

.changeset/great-rabbits-battle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@terminal-nerds/snippets-type": minor
3+
---
4+
5+
✨ Added a module `built-in` for grouped snippets.

.changeset/heavy-lamps-camp.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22
"@terminal-nerds/snippets-test": minor
33
---
44

5-
Add reusable snippets group for unit testing `unit`, it includes:
6-
7-
- `returns`,
8-
- `throws`,
5+
Added a module `unit` for grouped snippets related to unit testing.

.changeset/khaki-yaks-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@terminal-nerds/snippets-type": minor
3+
---
4+
5+
✨ Added module `primitive` for grouped snippets.

.changeset/kind-moons-flash.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,4 @@
22
"@terminal-nerds/snippets-runtime": minor
33
---
44

5-
✨ Added a module `environment` for grouped snippets. It includes:
6-
7-
- `RUNTIME_ENVIROMENTS`
8-
- `type RuntimeEnvironment`
9-
- `RUNTIME_ENVIROMENT_SCHEMA`
10-
- `IN_BROWSER`
11-
- `IN_BUN`
12-
- `IN_DENO`
13-
- `IN_DOM`
14-
- `IN_EDGE_RUNTIME`
15-
- `IN_HAPPY_DOM`
16-
- `IN_JSDOM`
17-
- `IN_WEB_WORKER`
18-
- `getRuntimeEnvironmentName()`
19-
- `validateRuntimeEnvironmentName()`
20-
- `isValidRuntimeEnvironmentName()`
5+
✨ Added a module `environment` for grouped snippets.

0 commit comments

Comments
 (0)