Skip to content

Commit f9d0689

Browse files
committed
constructive
1 parent 17157f1 commit f9d0689

29 files changed

Lines changed: 2744 additions & 5369 deletions

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ A comprehensive collection of TypeScript utilities for working with schemas, JSO
3030
| **schema-typescript** | [![npm](https://img.shields.io/npm/v/schema-typescript.svg)](https://www.npmjs.com/package/schema-typescript) | [GitHub](./packages/schema-typescript) | Convert JSON Schema to TypeScript Definitions |
3131
| **strfy-js** | [![npm](https://img.shields.io/npm/v/strfy-js.svg)](https://www.npmjs.com/package/strfy-js) | [GitHub](./packages/strfy-js) | Stringify JSON as JavaScript with extended serialization capabilities |
3232
| **yanse** | [![npm](https://img.shields.io/npm/v/yanse.svg)](https://www.npmjs.com/package/yanse) | [GitHub](./packages/yanse) | Fast and lightweight terminal color styling library with chalk-like API |
33-
| **@interweb/fetch-api-client** | [![npm](https://img.shields.io/npm/v/@interweb/fetch-api-client.svg)](https://www.npmjs.com/package/@interweb/fetch-api-client) | [GitHub](./packages/fetch-api-client) | Universal Fetch-based HTTP client for Node.js and browsers |
33+
| **@constructive-io/fetch-api-client** | [![npm](https://img.shields.io/npm/v/@constructive-io/fetch-api-client.svg)](https://www.npmjs.com/package/@constructive-io/fetch-api-client) | [GitHub](./packages/fetch-api-client) | Universal Fetch-based HTTP client for Node.js and browsers |
3434
| **find-and-require-package-json** | [![npm](https://img.shields.io/npm/v/find-and-require-package-json.svg)](https://www.npmjs.com/package/find-and-require-package-json) | [GitHub](./packages/find-and-require-package-json) | Find the package.json file from within a build/package |
35-
| **@interweb/http-errors** | [![npm](https://img.shields.io/npm/v/@interweb/http-errors.svg)](https://www.npmjs.com/package/@interweb/http-errors) | [GitHub](./packages/http-errors) | HTTP error handling utilities for API clients |
36-
| **@interweb/node-api-client** | [![npm](https://img.shields.io/npm/v/@interweb/node-api-client.svg)](https://www.npmjs.com/package/@interweb/node-api-client) | [GitHub](./packages/node-api-client) | Lightweight HTTP client for Node.js RESTful APIs |
35+
| **@constructive-io/http-errors** | [![npm](https://img.shields.io/npm/v/@constructive-io/http-errors.svg)](https://www.npmjs.com/package/@constructive-io/http-errors) | [GitHub](./packages/http-errors) | HTTP error handling utilities for API clients |
36+
| **@constructive-io/node-api-client** | [![npm](https://img.shields.io/npm/v/@constructive-io/node-api-client.svg)](https://www.npmjs.com/package/@constructive-io/node-api-client) | [GitHub](./packages/node-api-client) | Lightweight HTTP client for Node.js RESTful APIs |
3737
| **@schema-typescript/cli** | [![npm](https://img.shields.io/npm/v/@schema-typescript/cli.svg)](https://www.npmjs.com/package/@schema-typescript/cli) | [GitHub](./packages/schema-ts-cli) | schema-typescript CLI |
3838

3939
## Development

__fixtures__/output/swagger-client.merged.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
1+
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@constructive-io/fetch-api-client';
22
export interface MutatingWebhook {
33
admissionReviewVersions: string[];
44
clientConfig: IoK8sApiAdmissionregistrationV1WebhookClientConfig;

__fixtures__/output/swagger-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
1+
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@constructive-io/fetch-api-client';
22
/* io.k8s.api.admissionregistration.v1.MutatingWebhook */
33
/* MutatingWebhook describes an admission webhook and the resources and operations it applies to. */
44
export interface MutatingWebhook {

__fixtures__/output/swagger-extended-client-full-name-strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
1+
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@constructive-io/fetch-api-client';
22
/* com.coreos.monitoring.v1.Alertmanager */
33
/* The `Alertmanager` custom resource definition (CRD) defines a desired [Alertmanager](https://prometheus.io/docs/alerting) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more.
44

__fixtures__/output/swagger-extended-client.merged.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
1+
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@constructive-io/fetch-api-client';
22
export interface MonitoringCoreosComV1Alertmanager {
33
apiVersion?: string;
44
kind?: string;

__fixtures__/output/swagger-extended-client.swagger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
1+
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@constructive-io/fetch-api-client';
22
export interface MonitoringCoreosComV1Alertmanager {
33
apiVersion?: string;
44
kind?: string;

__fixtures__/output/swagger-extended-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@interweb/fetch-api-client';
1+
import { APIClient, APIClientRequestOpts, APIClientOptions } from '@constructive-io/fetch-api-client';
22
/* com.coreos.monitoring.v1.Alertmanager */
33
/* The `Alertmanager` custom resource definition (CRD) defines a desired [Alertmanager](https://prometheus.io/docs/alerting) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more.
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@interweb/dev-utils",
2+
"name": "@constructive-io/dev-utils",
33
"version": "0.0.1",
44
"author": "Constructive <developers@constructive.io>",
55
"private": true,

packages/fetch-api-client/CHANGELOG.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,50 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
## [0.7.11](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.10...@interweb/fetch-api-client@0.7.11) (2025-12-27)
6+
## [0.7.11](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.10...@constructive-io/fetch-api-client@0.7.11) (2025-12-27)
77

8-
**Note:** Version bump only for package @interweb/fetch-api-client
8+
**Note:** Version bump only for package @constructive-io/fetch-api-client
99

10-
## [0.7.10](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.9...@interweb/fetch-api-client@0.7.10) (2025-12-27)
10+
## [0.7.10](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.9...@constructive-io/fetch-api-client@0.7.10) (2025-12-27)
1111

12-
**Note:** Version bump only for package @interweb/fetch-api-client
12+
**Note:** Version bump only for package @constructive-io/fetch-api-client
1313

14-
## [0.7.9](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.8...@interweb/fetch-api-client@0.7.9) (2025-12-27)
14+
## [0.7.9](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.8...@constructive-io/fetch-api-client@0.7.9) (2025-12-27)
1515

16-
**Note:** Version bump only for package @interweb/fetch-api-client
16+
**Note:** Version bump only for package @constructive-io/fetch-api-client
1717

18-
## [0.7.8](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.7...@interweb/fetch-api-client@0.7.8) (2025-12-17)
18+
## [0.7.8](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.7...@constructive-io/fetch-api-client@0.7.8) (2025-12-17)
1919

20-
**Note:** Version bump only for package @interweb/fetch-api-client
20+
**Note:** Version bump only for package @constructive-io/fetch-api-client
2121

22-
## [0.7.7](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.6...@interweb/fetch-api-client@0.7.7) (2025-12-14)
22+
## [0.7.7](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.6...@constructive-io/fetch-api-client@0.7.7) (2025-12-14)
2323

24-
**Note:** Version bump only for package @interweb/fetch-api-client
24+
**Note:** Version bump only for package @constructive-io/fetch-api-client
2525

26-
## [0.7.6](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.5...@interweb/fetch-api-client@0.7.6) (2025-11-28)
26+
## [0.7.6](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.5...@constructive-io/fetch-api-client@0.7.6) (2025-11-28)
2727

28-
**Note:** Version bump only for package @interweb/fetch-api-client
28+
**Note:** Version bump only for package @constructive-io/fetch-api-client
2929

30-
## [0.7.5](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.4...@interweb/fetch-api-client@0.7.5) (2025-11-26)
30+
## [0.7.5](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.4...@constructive-io/fetch-api-client@0.7.5) (2025-11-26)
3131

32-
**Note:** Version bump only for package @interweb/fetch-api-client
32+
**Note:** Version bump only for package @constructive-io/fetch-api-client
3333

34-
## [0.7.4](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.3...@interweb/fetch-api-client@0.7.4) (2025-11-24)
34+
## [0.7.4](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.3...@constructive-io/fetch-api-client@0.7.4) (2025-11-24)
3535

36-
**Note:** Version bump only for package @interweb/fetch-api-client
36+
**Note:** Version bump only for package @constructive-io/fetch-api-client
3737

38-
## [0.7.3](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.2...@interweb/fetch-api-client@0.7.3) (2025-11-24)
38+
## [0.7.3](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.2...@constructive-io/fetch-api-client@0.7.3) (2025-11-24)
3939

40-
**Note:** Version bump only for package @interweb/fetch-api-client
40+
**Note:** Version bump only for package @constructive-io/fetch-api-client
4141

42-
## [0.7.2](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.1...@interweb/fetch-api-client@0.7.2) (2025-11-23)
42+
## [0.7.2](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.1...@constructive-io/fetch-api-client@0.7.2) (2025-11-23)
4343

44-
**Note:** Version bump only for package @interweb/fetch-api-client
44+
**Note:** Version bump only for package @constructive-io/fetch-api-client
4545

46-
## [0.7.1](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.7.0...@interweb/fetch-api-client@0.7.1) (2025-11-23)
46+
## [0.7.1](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.7.0...@constructive-io/fetch-api-client@0.7.1) (2025-11-23)
4747

48-
**Note:** Version bump only for package @interweb/fetch-api-client
48+
**Note:** Version bump only for package @constructive-io/fetch-api-client
4949

50-
# [0.7.0](https://github.com/constructive-io/dev-utils/compare/@interweb/fetch-api-client@0.6.1...@interweb/fetch-api-client@0.7.0) (2025-11-23)
50+
# [0.7.0](https://github.com/constructive-io/dev-utils/compare/@constructive-io/fetch-api-client@0.6.1...@constructive-io/fetch-api-client@0.7.0) (2025-11-23)
5151

52-
**Note:** Version bump only for package @interweb/fetch-api-client
52+
**Note:** Version bump only for package @constructive-io/fetch-api-client

packages/fetch-api-client/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @interweb/fetch-api-client
1+
# @constructive-io/fetch-api-client
22

33
<p align="center">
44
<img src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" height="250"><br />
@@ -12,20 +12,20 @@
1212
</a>
1313
</p>
1414

15-
`@interweb/fetch-api-client` is a lightweight and flexible HTTP client for interacting with RESTful APIs in Node.js or the Browser. It supports common HTTP methods such as GET, POST, PUT, PATCH, and DELETE, with customizable options for headers, query parameters, and timeouts.
15+
`@constructive-io/fetch-api-client` is a lightweight and flexible HTTP client for interacting with RESTful APIs in Node.js or the Browser. It supports common HTTP methods such as GET, POST, PUT, PATCH, and DELETE, with customizable options for headers, query parameters, and timeouts.
1616

1717
## install
1818

1919
```sh
20-
npm install @interweb/fetch-api-client
20+
npm install @constructive-io/fetch-api-client
2121
```
2222

2323
## Usage
2424

25-
Here's an example of how to use `@interweb/fetch-api-client`:
25+
Here's an example of how to use `@constructive-io/fetch-api-client`:
2626

2727
```js
28-
import { APIClient, APIClientOptions } from '@interweb/fetch-api-client';
28+
import { APIClient, APIClientOptions } from '@constructive-io/fetch-api-client';
2929

3030
const options: APIClientOptions = {
3131
restEndpoint: 'http://localhost:8001/api'

0 commit comments

Comments
 (0)