Skip to content

Commit 3d7451a

Browse files
authored
Merge pull request #19 from hyperweb-io/anmol/change-to-hyperweb-build
feature: change InterwebBuild to HyperwebBuild
2 parents 01b5f17 + 5f22530 commit 3d7451a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"starship:ci": "starship --config configs/ci.yaml"
2222
},
2323
"devDependencies": {
24-
"@interweb/build": "^0.0.5",
24+
"@hyperweb/build": "^0.0.2",
2525
"@starship-ci/cli": "^2.10.1",
2626
"@types/jest": "^29.5.11",
2727
"@types/node": "^22.7.4",

scripts/build.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InterwebBuild, InterwebBuildOptions } from '@interweb/build';
1+
import { HyperwebBuild, HyperwebBuildOptions } from '@hyperweb/build';
22
import { join } from 'path';
33

44
interface BuildConfig {
@@ -25,14 +25,14 @@ const rootDir = join(__dirname, '/../');
2525
async function buildInterweb(config: BuildConfig): Promise<void> {
2626
const { entryFile, outFile, externalPackages } = config;
2727

28-
const options: Partial<InterwebBuildOptions> = {
28+
const options: Partial<HyperwebBuildOptions> = {
2929
entryPoints: [join(rootDir, entryFile)],
3030
outfile: join(rootDir, outFile),
3131
external: externalPackages
3232
};
3333

3434
try {
35-
await InterwebBuild.build(options);
35+
await HyperwebBuild.build(options);
3636
console.log(`Build completed successfully! Output: ${options.outfile}`);
3737
} catch (error) {
3838
console.error('Build failed:', error);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,10 +1553,10 @@
15531553
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3"
15541554
integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==
15551555

1556-
"@interweb/build@^0.0.5":
1557-
version "0.0.5"
1558-
resolved "https://registry.yarnpkg.com/@interweb/build/-/build-0.0.5.tgz#91fc19f87137257e8c49c7586d53ffdac9e811b8"
1559-
integrity sha512-drm00cnpAhdPskmvFtP/EFw+my9jtVmDt2ry6FLmSlhybjT8dk+MEfgyCGRhk+U6iOMBJdfB8zkiLeGXgDB1zg==
1556+
"@hyperweb/build@^0.0.2":
1557+
version "0.0.2"
1558+
resolved "https://registry.yarnpkg.com/@hyperweb/build/-/build-0.0.2.tgz#b673bafd800a0d6d2df138484f3bfae008643748"
1559+
integrity sha512-38L9vlwQBlCMHbTWsxrm7RxkJQB5b/CLS6IBac16fiT//VxRlsshpVVmru+nqCEee3za2n4QxVZPJaL3Gqtd9A==
15601560
dependencies:
15611561
esbuild "^0.23.1"
15621562

0 commit comments

Comments
 (0)