Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
πŸ“ small JSDocs improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Shiru committed Oct 5, 2023
1 parent 9322170 commit 13ab5e9
Show file tree
Hide file tree
Showing 37 changed files with 129 additions and 26 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"@vangware/test": "workspace:*"
},
"devDependencies": {
"@astrojs/prefetch": "^0.4.0",
"@astrojs/prefetch": "^0.4.1",
"@astrojs/starlight": "^0.10.4",
"@astrojs/starlight-tailwind": "^2.0.0",
"@astrojs/tailwind": "^5.0.0",
"@astrojs/tailwind": "^5.0.1",
"@changesets/cli": "^2.26.2",
"@types/node": "^20.8.2",
"astro": "^3.2.2",
"astro": "^3.2.3",
"c8": "^8.0.1",
"cpy-cli": "^5.0.0",
"esbuild": "^0.19.4",
Expand Down
6 changes: 6 additions & 0 deletions packages/@vangware/ansi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

## 6.3.33

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`

## 6.3.32

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/ansi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/ansi",
"description": "πŸ“Ÿ Functional CLI ANSI formatter",
"version": "6.3.32",
"version": "6.3.33",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
9 changes: 9 additions & 0 deletions packages/@vangware/create-package/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change log

## 1.7.11

### Patch Changes

- πŸ“ small JSDocs improvements.
- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/ansi` to `v6.3.33`
- ⬆️ upgrade `@vangware/prompts` to `v2.2.12`

## 1.7.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/create-package/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/create-package",
"description": "🚧 Vangware package scaffolder script",
"version": "1.7.10",
"version": "1.7.11",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { foregroundRed } from "@vangware/ansi";

export const hasSpecialCharacters = (value: string) =>
/[~'!()*]/u.test(value.split("/").slice(-1)[0] ?? "")
? foregroundRed`"${value}" shouldn't contain special characters`
? foregroundRed`"${value}" must not contain special characters`
: "";
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export const hasValidLength =
(minimum: number) => (maximum: number) => (value: string) =>
value.length >= minimum && value.length <= maximum
? ""
: foregroundRed`"${value}" should be between ${minimum} and ${maximum} characters long`;
: foregroundRed`"${value}" must be between ${minimum} and ${maximum} characters long`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { foregroundRed } from "@vangware/ansi";

export const startsWithPeriod = (value: string) =>
value.startsWith(".")
? foregroundRed`"${value}" shouldn't start with a period`
? foregroundRed`"${value}" must not start with a period`
: "";
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { foregroundRed } from "@vangware/ansi";

export const startsWithUnderscore = (value: string) =>
value.startsWith("_")
? foregroundRed`"${value}" shouldn't start with an underscore`
? foregroundRed`"${value}" must not start with an underscore`
: "";
9 changes: 9 additions & 0 deletions packages/@vangware/cron/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change log

## 5.1.46

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/iterables` to `v3.1.25`
- ⬆️ upgrade `@vangware/parsers` to `v1.4.17`
- ⬆️ upgrade `@vangware/predicates` to `v2.2.2`

## 5.1.45

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/cron/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/cron",
"description": "⏲️ Cron Quartz and Cron UNIX expression parser",
"version": "5.1.45",
"version": "5.1.46",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
8 changes: 8 additions & 0 deletions packages/@vangware/iterables/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change log

## 3.1.25

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/predicates` to `v2.2.2`
- ⬆️ upgrade `@vangware/utils` to `v10.1.25`

## 3.1.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/iterables/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/iterables",
"description": "πŸ” Iterable and AsyncIterable utils",
"version": "3.1.24",
"version": "3.1.25",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
9 changes: 9 additions & 0 deletions packages/@vangware/notify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change log

## 1.0.14

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/iterables` to `v3.1.25`
- ⬆️ upgrade `@vangware/predicates` to `v2.2.2`
- ⬆️ upgrade `@vangware/utils` to `v10.1.25`

## 1.0.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/notify/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/notify",
"description": "πŸ“£ Minimalistic Pub/Sub implementation",
"version": "1.0.13",
"version": "1.0.14",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
6 changes: 6 additions & 0 deletions packages/@vangware/parsers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

## 1.4.17

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`

## 1.4.16

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/parsers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/parsers",
"description": "πŸ‘οΈβ€πŸ—¨οΈ Parsers without nonsense",
"version": "1.4.16",
"version": "1.4.17",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
7 changes: 7 additions & 0 deletions packages/@vangware/predicates/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change log

## 2.2.2

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/parsers` to `v1.4.17`

## 2.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/predicates/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/predicates",
"description": "🧐 Predicate util functions",
"version": "2.2.1",
"version": "2.2.2",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
6 changes: 6 additions & 0 deletions packages/@vangware/prompts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

## 2.2.12

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`

## 2.2.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/prompts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/prompts",
"description": "⁉️ CLI interactive prompts",
"version": "2.2.11",
"version": "2.2.12",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
7 changes: 7 additions & 0 deletions packages/@vangware/test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change log

## 10.3.33

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/ansi` to `v6.3.33`

## 10.3.32

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/test",
"description": "βœ… Equality test with enforced readability",
"version": "10.3.32",
"version": "10.3.33",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
6 changes: 6 additions & 0 deletions packages/@vangware/types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

## 6.3.3

### Patch Changes

- πŸ“ small JSDocs improvements.

## 6.3.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/types/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/types",
"description": "🏷️ Vangware shared types",
"version": "6.3.2",
"version": "6.3.3",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/types/src/EmptyArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @category Array
* @remarks
* This is a type alias for an readonly empty array. Trying to access items on
* it should give a compile-time error.
* it will give a compile-time error.
* @example
* ```typescript
* const emptyArray: EmptyArray = [];
Expand Down
3 changes: 1 addition & 2 deletions packages/@vangware/types/src/EmptyString.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
*
* @category String
* @remarks
* This type is a string with no characters on it (length `0`). Trying to access
* characters should return `undefined`, and several of its methods return another
* This type is a string with no characters on it (length `0`).
* {@link EmptyString}.
* @example
* ```typescript
Expand Down
7 changes: 7 additions & 0 deletions packages/@vangware/utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change log

## 10.1.25

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/predicates` to `v2.2.2`

## 10.1.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/utils",
"description": "βš’οΈ Vangware curried functional utils",
"version": "10.1.24",
"version": "10.1.25",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
8 changes: 8 additions & 0 deletions packages/@vangware/window-open-promise/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change log

## 5.1.46

### Patch Changes

- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/iterables` to `v3.1.25`
- ⬆️ upgrade `@vangware/predicates` to `v2.2.2`

## 5.1.45

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/window-open-promise/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@vangware/window-open-promise",
"description": "πŸͺŸ Promised Window.open();",
"version": "5.1.45",
"version": "5.1.46",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
8 changes: 8 additions & 0 deletions packages/preact-pair/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change log

## 1.0.51

### Patch Changes

- πŸ“ small JSDocs improvements.
- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/utils` to `v10.1.25`

## 1.0.50

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/preact-pair/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "preact-pair",
"description": "πŸ–‡οΈ Util to help with the paired hook pattern",
"version": "1.0.50",
"version": "1.0.51",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
2 changes: 1 addition & 1 deletion packages/preact-pair/src/PairedRenderFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Function, Unary } from "@vangware/types";
import type { h } from "preact";

/**
* Function that receives the paired hook and should return a `VNode`.
* Function that receives the paired hook and must return a `VNode`.
*
* @category Internal
*/
Expand Down
8 changes: 8 additions & 0 deletions packages/react-pair/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change log

## 3.0.52

### Patch Changes

- πŸ“ small JSDocs improvements.
- ⬆️ upgrade `@vangware/types` to `v6.3.3`
- ⬆️ upgrade `@vangware/utils` to `v10.1.25`

## 3.0.51

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-pair/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-pair",
"description": "πŸ–‡οΈ Util to help with the paired hook pattern",
"version": "3.0.51",
"version": "3.0.52",
"author": {
"email": "hello@vangware.com",
"name": "Vangware",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-pair/src/PairedRenderFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Function, Unary } from "@vangware/types";
import type { createElement } from "react";

/**
* Function that receives the paired hook and should return a `ReactElement`.
* Function that receives the paired hook and must return a `ReactElement`.
*
* @category Internal
*/
Expand Down

0 comments on commit 13ab5e9

Please sign in to comment.