gaboesquivel 3.9.5 → 3.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8 -1
- package/dist/index.mjs +7 -1
- package/package.json +23 -18
package/dist/index.d.mts
CHANGED
|
@@ -41,6 +41,7 @@ declare function getProjectBySlug(slug: string): Project | undefined;
|
|
|
41
41
|
declare function getTechStackByTag(tag: Tag): TechStackItemWithProjects | null;
|
|
42
42
|
declare function getTechStackBySlug(slug: string): TechStackItemWithProjects | null;
|
|
43
43
|
declare function getProjectsByTechnology(tag: Tag): Project[];
|
|
44
|
+
declare function getProjectsByTechnologySlug(slug: string): Project[];
|
|
44
45
|
declare function gaboLog(): void;
|
|
45
46
|
|
|
46
|
-
export { type Project, type Tag, type TechStackItem, type TechStackItemWithProjects, gaboLog, getProjectBySlug, getProjectsByTechnology, getTechStackBySlug, getTechStackByTag, projects, techStack };
|
|
47
|
+
export { type Project, type Tag, type TechStackItem, type TechStackItemWithProjects, gaboLog, getProjectBySlug, getProjectsByTechnology, getProjectsByTechnologySlug, getTechStackBySlug, getTechStackByTag, projects, techStack };
|
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ declare function getProjectBySlug(slug: string): Project | undefined;
|
|
|
41
41
|
declare function getTechStackByTag(tag: Tag): TechStackItemWithProjects | null;
|
|
42
42
|
declare function getTechStackBySlug(slug: string): TechStackItemWithProjects | null;
|
|
43
43
|
declare function getProjectsByTechnology(tag: Tag): Project[];
|
|
44
|
+
declare function getProjectsByTechnologySlug(slug: string): Project[];
|
|
44
45
|
declare function gaboLog(): void;
|
|
45
46
|
|
|
46
|
-
export { type Project, type Tag, type TechStackItem, type TechStackItemWithProjects, gaboLog, getProjectBySlug, getProjectsByTechnology, getTechStackBySlug, getTechStackByTag, projects, techStack };
|
|
47
|
+
export { type Project, type Tag, type TechStackItem, type TechStackItemWithProjects, gaboLog, getProjectBySlug, getProjectsByTechnology, getProjectsByTechnologySlug, getTechStackBySlug, getTechStackByTag, projects, techStack };
|
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __export(index_exports, {
|
|
|
23
23
|
gaboLog: () => gaboLog,
|
|
24
24
|
getProjectBySlug: () => getProjectBySlug,
|
|
25
25
|
getProjectsByTechnology: () => getProjectsByTechnology,
|
|
26
|
+
getProjectsByTechnologySlug: () => getProjectsByTechnologySlug,
|
|
26
27
|
getTechStackBySlug: () => getTechStackBySlug,
|
|
27
28
|
getTechStackByTag: () => getTechStackByTag,
|
|
28
29
|
projects: () => projects,
|
|
@@ -1675,7 +1676,7 @@ var techStack = [
|
|
|
1675
1676
|
},
|
|
1676
1677
|
{
|
|
1677
1678
|
name: "TanStack Query",
|
|
1678
|
-
slug: "tanstack",
|
|
1679
|
+
slug: "tanstack-query",
|
|
1679
1680
|
tag: "TanStack Query",
|
|
1680
1681
|
image: "/images/tech/tanstack.png",
|
|
1681
1682
|
description: "Powerful asynchronous state management for fetching, caching, and updating data in React applications.",
|
|
@@ -2477,6 +2478,11 @@ function getTechStackBySlug(slug) {
|
|
|
2477
2478
|
function getProjectsByTechnology(tag) {
|
|
2478
2479
|
return projects.filter((project) => project.tech.includes(tag));
|
|
2479
2480
|
}
|
|
2481
|
+
function getProjectsByTechnologySlug(slug) {
|
|
2482
|
+
const tech = techStack.find((tech2) => tech2.slug === slug);
|
|
2483
|
+
if (!tech) return [];
|
|
2484
|
+
return projects.filter((project) => project.tech.includes(tech.tag));
|
|
2485
|
+
}
|
|
2480
2486
|
function gaboLog() {
|
|
2481
2487
|
console.log({ projects, tech: techStack });
|
|
2482
2488
|
}
|
|
@@ -2485,6 +2491,7 @@ function gaboLog() {
|
|
|
2485
2491
|
gaboLog,
|
|
2486
2492
|
getProjectBySlug,
|
|
2487
2493
|
getProjectsByTechnology,
|
|
2494
|
+
getProjectsByTechnologySlug,
|
|
2488
2495
|
getTechStackBySlug,
|
|
2489
2496
|
getTechStackByTag,
|
|
2490
2497
|
projects,
|
package/dist/index.mjs
CHANGED
|
@@ -1643,7 +1643,7 @@ var techStack = [
|
|
|
1643
1643
|
},
|
|
1644
1644
|
{
|
|
1645
1645
|
name: "TanStack Query",
|
|
1646
|
-
slug: "tanstack",
|
|
1646
|
+
slug: "tanstack-query",
|
|
1647
1647
|
tag: "TanStack Query",
|
|
1648
1648
|
image: "/images/tech/tanstack.png",
|
|
1649
1649
|
description: "Powerful asynchronous state management for fetching, caching, and updating data in React applications.",
|
|
@@ -2445,6 +2445,11 @@ function getTechStackBySlug(slug) {
|
|
|
2445
2445
|
function getProjectsByTechnology(tag) {
|
|
2446
2446
|
return projects.filter((project) => project.tech.includes(tag));
|
|
2447
2447
|
}
|
|
2448
|
+
function getProjectsByTechnologySlug(slug) {
|
|
2449
|
+
const tech = techStack.find((tech2) => tech2.slug === slug);
|
|
2450
|
+
if (!tech) return [];
|
|
2451
|
+
return projects.filter((project) => project.tech.includes(tech.tag));
|
|
2452
|
+
}
|
|
2448
2453
|
function gaboLog() {
|
|
2449
2454
|
console.log({ projects, tech: techStack });
|
|
2450
2455
|
}
|
|
@@ -2452,6 +2457,7 @@ export {
|
|
|
2452
2457
|
gaboLog,
|
|
2453
2458
|
getProjectBySlug,
|
|
2454
2459
|
getProjectsByTechnology,
|
|
2460
|
+
getProjectsByTechnologySlug,
|
|
2455
2461
|
getTechStackBySlug,
|
|
2456
2462
|
getTechStackByTag,
|
|
2457
2463
|
projects,
|
package/package.json
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
"name": "gaboesquivel",
|
|
3
|
+
"version": "3.9.7",
|
|
4
|
+
"description": "Gabo Esquivel - Software Engineer",
|
|
5
|
+
"author": "Gabo Esquivel",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
10
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
11
|
+
"prepublishOnly": "npm run build",
|
|
12
|
+
"hooks:pre-commit": "biome check --write --staged --no-errors-on-unmatched && git update-index --again",
|
|
13
|
+
"lint": "biome check .",
|
|
14
|
+
"lint:fix": "biome check . --write"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"simple-git-hooks": "2.11.1",
|
|
18
|
+
"tsup": "^8.4.0",
|
|
19
|
+
"typescript": "^5.8.2"
|
|
20
|
+
},
|
|
21
|
+
"simple-git-hooks": {
|
|
22
|
+
"pre-commit": "bun run hooks:pre-commit"
|
|
23
|
+
},
|
|
24
|
+
"files": ["dist"]
|
|
20
25
|
}
|