Skip to content

Commit 05df56f

Browse files
committed
change all interweb to hyperweb
1 parent d7ac616 commit 05df56f

File tree

13 files changed

+84
-112
lines changed

13 files changed

+84
-112
lines changed

.github/workflows/run-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run Interweb Build Tests 🧪
1+
name: Run Hyperweb Build Tests 🧪
22

33
on:
44
push:
@@ -31,9 +31,9 @@ jobs:
3131
yarn build
3232
yarn symlink
3333
34-
- name: Test @interweb/build 🔍
34+
- name: Test @hyperweb/build 🔍
3535
run: cd packages/build && yarn test
3636

37-
- name: Test @interweb/ts-json-schema 🔍
37+
- name: Test @hyperweb/ts-json-schema 🔍
3838
run: cd packages/ts-json-schema && yarn test
3939

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2024 Interweb, Inc. <developers@cosmology.zone>
3+
Copyright (c) 2024 Hyperweb, Inc. <developers@hyperweb.io>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# Interweb Build Tools
1+
# Hyperweb Build Tools
22

33
<p align="center" width="100%">
44
<img height="90" src="https://user-images.githubusercontent.com/545047/190171432-5526db8f-9952-45ce-a745-bea4302f912b.svg" />
55
</p>
66

77
<p align="center" width="100%">
8-
<a href="https://github.com/cosmology-tech/interweb-build/actions/workflows/run-tests.yml">
9-
<img height="20" src="https://github.com/cosmology-tech/interweb-build/actions/workflows/run-tests.yml/badge.svg" />
8+
<a href="https://github.com/hyperweb-io/hyperweb-build/actions/workflows/run-tests.yml">
9+
<img height="20" src="https://github.com/hyperweb-io/hyperweb-build/actions/workflows/run-tests.yml/badge.svg" />
1010
</a>
1111
<br />
12-
<a href="https://github.com/cosmology-tech/interweb-build/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
12+
<a href="https://github.com/hyperweb-io/hyperweb-build/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
1313
</p>
1414

15-
Interweb is a collection of powerful tools designed to simplify and streamline your development process for web and TypeScript projects.
15+
Hyperweb is a collection of powerful tools designed to simplify and streamline your development process for web and TypeScript projects.
1616

1717
- [Packages](#packages)
18-
- [@interweb/build](#interwebbuild)
19-
- [@interweb/ts-json-schema](#interwebts-json-schema)
18+
- [@hyperweb/build](#hyperwebbuild)
19+
- [@hyperweb/ts-json-schema](#hyperwebts-json-schema)
2020
- [Development](#development)
2121
- [Project Setup](#project-setup)
2222
- [Running Tests](#running-tests)
@@ -28,31 +28,31 @@ Interweb is a collection of powerful tools designed to simplify and streamline y
2828

2929
This monorepo contains the following packages:
3030

31-
### [@interweb/build](./packages/build)
31+
### [@hyperweb/build](./packages/build)
3232

33-
[![npm version](https://img.shields.io/npm/v/@interweb/build.svg)](https://www.npmjs.com/package/@interweb/build)
33+
[![npm version](https://img.shields.io/npm/v/@hyperweb/build.svg)](https://www.npmjs.com/package/@hyperweb/build)
3434

35-
Interweb Build is a powerful wrapper around esbuild, designed to simplify and streamline your build process for Interweb projects.
35+
Hyperweb Build is a powerful wrapper around esbuild, designed to simplify and streamline your build process for Hyperweb projects.
3636

3737
#### Installation
3838
```sh
39-
npm install @interweb/build
39+
npm install @hyperweb/build
4040
```
4141

42-
[Read more about @interweb/build](./packages/build)
42+
[Read more about @hyperweb/build](./packages/build)
4343

44-
### [@interweb/ts-json-schema](./packages/ts-json-schema)
44+
### [@hyperweb/ts-json-schema](./packages/ts-json-schema)
4545

46-
[![npm version](https://img.shields.io/npm/v/@interweb/ts-json-schema.svg)](https://www.npmjs.com/package/@interweb/ts-json-schema)
46+
[![npm version](https://img.shields.io/npm/v/@hyperweb/ts-json-schema.svg)](https://www.npmjs.com/package/@hyperweb/ts-json-schema)
4747

48-
Interweb TS JSON Schema is a powerful wrapper around ts-json-schema-generator, designed to simplify the process of generating JSON schemas from TypeScript files in Interweb projects.
48+
Hyperweb TS JSON Schema is a powerful wrapper around ts-json-schema-generator, designed to simplify the process of generating JSON schemas from TypeScript files in Hyperweb projects.
4949

5050
#### Installation
5151
```sh
52-
npm install @interweb/ts-json-schema
52+
npm install @hyperweb/ts-json-schema
5353
```
5454

55-
[Read more about @interweb/ts-json-schema](./packages/ts-json-schema)
55+
[Read more about @hyperweb/ts-json-schema](./packages/ts-json-schema)
5656

5757
## Development
5858

@@ -72,7 +72,7 @@ This will install dependencies, build all packages, and create symlinks between
7272

7373
### Running Tests
7474

75-
To run tests for a specific package, navigate to the package directory and use the `test:watch` script. For example, to run tests for `@interweb/build`:
75+
To run tests for a specific package, navigate to the package directory and use the `test:watch` script. For example, to run tests for `@hyperweb/build`:
7676

7777
```sh
7878
cd ./packages/build
@@ -108,4 +108,4 @@ These hotkeys make it easy to focus on specific tests or files during developmen
108108

109109
## License
110110

111-
Interweb Build is [MIT licensed](./LICENSE).
111+
Hyperweb Build is [MIT licensed](./LICENSE).

packages/build/CHANGELOG.md

-28
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,3 @@
22

33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5-
6-
## [0.0.5](https://github.com/cosmology-tech/interweb-build/compare/@interweb/[email protected]...@interweb/[email protected]) (2024-10-02)
7-
8-
**Note:** Version bump only for package @interweb/build
9-
10-
11-
12-
13-
14-
## [0.0.4](https://github.com/cosmology-tech/interweb-build/compare/@interweb/[email protected]...@interweb/[email protected]) (2024-09-11)
15-
16-
**Note:** Version bump only for package @interweb/build
17-
18-
19-
20-
21-
22-
## [0.0.3](https://github.com/cosmology-tech/interweb-build/compare/@interweb/[email protected]...@interweb/[email protected]) (2024-09-11)
23-
24-
**Note:** Version bump only for package @interweb/build
25-
26-
27-
28-
29-
30-
## 0.0.2 (2024-09-11)
31-
32-
**Note:** Version bump only for package @interweb/build

packages/build/README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
# Interweb Build
1+
# Hyperweb Build
22

33
<p align="center" width="100%">
44
<img height="90" src="https://user-images.githubusercontent.com/545047/190171432-5526db8f-9952-45ce-a745-bea4302f912b.svg" />
55
</p>
66

77
<p align="center" width="100%">
8-
<a href="https://github.com/cosmology-tech/interweb-build/actions/workflows/run-tests.yml">
9-
<img height="20" src="https://github.com/cosmology-tech/interweb-build/actions/workflows/run-tests.yml/badge.svg" />
8+
<a href="https://github.com/hyperweb-io/hyperweb-build/actions/workflows/run-tests.yml">
9+
<img height="20" src="https://github.com/hyperweb-io/hyperweb-build/actions/workflows/run-tests.yml/badge.svg" />
1010
</a>
1111
<br />
12-
<a href="https://github.com/cosmology-tech/interweb-build/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
13-
<a href="https://www.npmjs.com/package/@interweb/build"><img height="20" src="https://img.shields.io/github/package-json/v/cosmology-tech/interweb-build?filename=packages%2Fbuild%2Fpackage.json"></a>
12+
<a href="https://github.com/hyperweb-io/hyperweb-build/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
13+
<a href="https://www.npmjs.com/package/@hyperweb/build"><img height="20" src="https://img.shields.io/github/package-json/v/hyperweb-io/hyperweb-build?filename=packages%2Fbuild%2Fpackage.json"></a>
1414
</p>
1515

16-
Interweb Build is a powerful wrapper around esbuild, designed to simplify and streamline your build process for Interweb projects.
16+
Hyperweb Build is a powerful wrapper around esbuild, designed to simplify and streamline your build process for Hyperweb projects.
1717

1818

1919
## Features
2020

2121
- Simple API for building TypeScript projects
2222
- Customizable build options
23-
- Built-in support for common Interweb project configurations
23+
- Built-in support for common Hyperweb project configurations
2424
- Easy integration with existing projects
2525

2626

2727
## Installation
2828

2929
```sh
30-
npm install @interweb/build
30+
npm install @hyperweb/build
3131
```
3232

3333
## Usage
3434

35-
Here's a basic example of how to use Interweb Build:
35+
Here's a basic example of how to use Hyperweb Build:
3636

3737
```js
38-
import { InterwebBuild, defaultOptions } from '@interweb/build';
38+
import { HyperwebBuild, defaultOptions } from '@hyperweb/build';
3939

4040
// Use default options
41-
InterwebBuild.build();
41+
HyperwebBuild.build();
4242

4343
// Customize options
44-
InterwebBuild.build({
44+
HyperwebBuild.build({
4545
entryPoints: ['src/custom-entry.ts'],
4646
outfile: 'dist/custom-bundle.js',
4747
minify: true,
@@ -53,12 +53,12 @@ const myConfig = {
5353
minify: true,
5454
target: 'es2018',
5555
};
56-
InterwebBuild.build(myConfig);
56+
HyperwebBuild.build(myConfig);
5757
```
5858

5959
## API Reference
6060

61-
### `InterwebBuild.build(options)`
61+
### `HyperwebBuild.build(options)`
6262

6363
Builds your project using the provided options.
6464

@@ -72,7 +72,7 @@ An object containing the default build options. You can spread these into your o
7272

7373
## Default Configuration
7474

75-
Interweb Build comes with the following default configuration:
75+
Hyperweb Build comes with the following default configuration:
7676

7777
```ts
7878
{
@@ -88,4 +88,4 @@ Interweb Build comes with the following default configuration:
8888

8989
## License
9090

91-
Interweb Build is MIT licensed.
91+
Hyperweb Build is MIT licensed.

packages/build/__tests__/amm.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import fs from 'fs/promises';
22
import { join, resolve } from 'path';
33

4-
import { InterwebBuild, InterwebBuildOptions } from '../src/index';
4+
import { HyperwebBuild, HyperwebBuildOptions } from '../src/index';
55

66
const fixtureDir = resolve(join(__dirname, '/../../../__fixtures__/', 'amm'));
77
const outputDir = resolve(join(__dirname, '/../../../__output__/', 'amm'));
88

9-
describe('InterwebBuild', () => {
9+
describe('HyperwebBuild', () => {
1010
it('builds the AMM fixture project successfully', async () => {
1111
const outfile = join(outputDir, 'bundle.js');
1212

13-
const options: Partial<InterwebBuildOptions> = {
13+
const options: Partial<HyperwebBuildOptions> = {
1414
entryPoints: [join(fixtureDir, 'src/index.js')],
1515
outfile,
1616
external: ['bank']
1717
};
1818

19-
await InterwebBuild.build(options);
19+
await HyperwebBuild.build(options);
2020

2121
// Check if the output file exists
2222
const outfileExists = await fs.access(outfile)

packages/build/__tests__/first.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import fs from 'fs/promises';
22
import { join, resolve } from 'path';
33

4-
import { InterwebBuild, InterwebBuildOptions } from '../src/index';
4+
import { HyperwebBuild, HyperwebBuildOptions } from '../src/index';
55

66
const fixtureDir = resolve(join(__dirname, '/../../../__fixtures__/', 'first'));
77
const outputDir = resolve(join(__dirname, '/../../../__output__/', 'first'));
88

9-
describe('InterwebBuild', () => {
9+
describe('HyperwebBuild', () => {
1010
it('builds the fixture project successfully', async () => {
1111
const outfile = join(outputDir, 'bundle.js');
1212

13-
const options: Partial<InterwebBuildOptions> = {
13+
const options: Partial<HyperwebBuildOptions> = {
1414
entryPoints: [join(fixtureDir, 'src/index.ts')],
1515
outfile
1616
};
1717

18-
await InterwebBuild.build(options);
18+
await HyperwebBuild.build(options);
1919

2020
// Check if the output file exists
2121
const outfileExists = await fs.access(outfile)

packages/build/__tests__/second.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import fs from 'fs/promises';
22
import { join, resolve } from 'path';
33

4-
import { InterwebBuild, InterwebBuildOptions } from '../src/index';
4+
import { HyperwebBuild, HyperwebBuildOptions } from '../src/index';
55

66
const fixtureDir = resolve(join(__dirname, '/../../../__fixtures__/', 'imports'));
77
const outputDir = resolve(join(__dirname, '/../../../__output__/', 'imports'));
88

9-
describe('InterwebBuild', () => {
9+
describe('HyperwebBuild', () => {
1010
it('builds the fixture project successfully', async () => {
1111
const outfile = join(outputDir, 'bundle.js');
1212

13-
const options: Partial<InterwebBuildOptions> = {
13+
const options: Partial<HyperwebBuildOptions> = {
1414
entryPoints: [join(fixtureDir, 'src/index.ts')],
1515
outfile,
1616
external: ['otherpackage', '~somepackage']
1717
};
1818

19-
await InterwebBuild.build(options);
19+
await HyperwebBuild.build(options);
2020

2121
// Check if the output file exists
2222
const outfileExists = await fs.access(outfile)

packages/build/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "@interweb/build",
3-
"version": "0.0.5",
4-
"author": "Dan Lynch <[email protected]>",
5-
"description": "build tools for interweb",
2+
"name": "@hyperweb/build",
3+
"version": "0.0.1",
4+
"author": "Hyperweb <[email protected]>",
5+
"description": "build tools for hyperweb",
66
"main": "index.js",
77
"module": "esm/index.js",
88
"types": "index.d.ts",
9-
"homepage": "https://github.com/cosmology-tech/interweb-build",
9+
"homepage": "https://github.com/hyperweb-io/hyperweb-build",
1010
"license": "SEE LICENSE IN LICENSE",
1111
"publishConfig": {
1212
"access": "public",
1313
"directory": "dist"
1414
},
1515
"repository": {
1616
"type": "git",
17-
"url": "https://github.com/cosmology-tech/interweb-build"
17+
"url": "https://github.com/hyperweb-io/hyperweb-build"
1818
},
1919
"bugs": {
20-
"url": "https://github.com/cosmology-tech/interweb-build/issues"
20+
"url": "https://github.com/hyperweb-io/hyperweb-build/issues"
2121
},
2222
"scripts": {
2323
"copy": "copyfiles -f ../../LICENSE README.md package.json dist",

packages/build/src/index.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import esbuild from 'esbuild';
22

3-
export interface InterwebBuildOptions extends esbuild.BuildOptions {
4-
// Add any Interweb-specific options here
3+
export interface HyperwebBuildOptions extends esbuild.BuildOptions {
4+
// Add any Hyperweb-specific options here
55
customPlugins?: esbuild.Plugin[];
66
}
77

8-
export const defaultOptions: InterwebBuildOptions = {
8+
export const defaultOptions: HyperwebBuildOptions = {
99
bundle: true,
1010
minify: false,
1111
outfile: 'dist/bundle.js',
@@ -20,9 +20,9 @@ export const defaultOptions: InterwebBuildOptions = {
2020
treeShaking: false,
2121
};
2222

23-
export const InterwebBuild = {
24-
async build(options: Partial<InterwebBuildOptions> = {}): Promise<esbuild.BuildResult> {
25-
const mergedOptions: InterwebBuildOptions = { ...defaultOptions, ...options };
23+
export const HyperwebBuild = {
24+
async build(options: Partial<HyperwebBuildOptions> = {}): Promise<esbuild.BuildResult> {
25+
const mergedOptions: HyperwebBuildOptions = { ...defaultOptions, ...options };
2626

2727
// Apply custom plugins if any
2828
if (mergedOptions.customPlugins) {

packages/ts-json-schema/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
55

66
## 0.0.2 (2024-09-11)
77

8-
**Note:** Version bump only for package @interweb/ts-json-schema
8+
**Note:** Version bump only for package @hyperweb/ts-json-schema

0 commit comments

Comments
 (0)