From 19f6414c4bc36614e6d0f9eb7c41894f9ac61746 Mon Sep 17 00:00:00 2001 From: Alex Yuly Date: Tue, 1 Oct 2024 03:20:25 -0700 Subject: [PATCH] The word 'celestial' is an adjective, not a noun. (#24) --- README.md | 4 ++-- src/dictionary/en/adjectives.ts | 1 + src/dictionary/en/nouns.ts | 3 --- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c6f798a..0cb2190 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ pnpm add space-slug ## 🚀 Getting Started ```ts -const { spaceSlug, color, digits, noun } from 'space-slug'; +const { spaceSlug, adjective, color, digits, noun } from 'space-slug'; -const slug = spaceSlug([color(), noun(2), digits(3)], { +const slug = spaceSlug([color(), adjective(), noun(1), digits(3)], { separator: '_' }); // Returns: blue_celestial_labyrinth_718 diff --git a/src/dictionary/en/adjectives.ts b/src/dictionary/en/adjectives.ts index 3d56b96..f186c92 100644 --- a/src/dictionary/en/adjectives.ts +++ b/src/dictionary/en/adjectives.ts @@ -68,4 +68,5 @@ export const adjectives = [ 'vibrant', 'jovial', 'radiant', + 'celestial', ]; diff --git a/src/dictionary/en/nouns.ts b/src/dictionary/en/nouns.ts index 5a91f7b..4439798 100644 --- a/src/dictionary/en/nouns.ts +++ b/src/dictionary/en/nouns.ts @@ -143,7 +143,6 @@ export const nouns = [ 'serenity', 'aurora', 'paragon', - 'celestial', 'rhapsody', 'arcade', 'charisma', @@ -180,7 +179,6 @@ export const nouns = [ 'serendipity', 'aurora', 'twilight', - 'celestial', 'marvel', 'dusk', 'solstice', @@ -224,7 +222,6 @@ export const nouns = [ 'serendipity', 'aurora', 'twilight', - 'celestial', 'marvel', 'dusk', 'solstice',