Skip to content

Commit

Permalink
Merge branch 'main' into anmol/change-jsdjs-to-hyperwebjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Oct 8, 2024
2 parents a1c07e0 + 3d7451a commit 9ffaaef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"starship:ci": "starship --config configs/ci.yaml"
},
"devDependencies": {
"@interweb/build": "^0.0.5",
"@hyperweb/build": "^0.0.2",
"@starship-ci/cli": "^2.10.1",
"@types/jest": "^29.5.11",
"@types/node": "^22.7.4",
Expand Down
6 changes: 3 additions & 3 deletions scripts/build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { InterwebBuild, InterwebBuildOptions } from '@interweb/build';
import { HyperwebBuild, HyperwebBuildOptions } from '@hyperweb/build';
import { join } from 'path';

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

const options: Partial<InterwebBuildOptions> = {
const options: Partial<HyperwebBuildOptions> = {
entryPoints: [join(rootDir, entryFile)],
outfile: join(rootDir, outFile),
external: externalPackages
};

try {
await InterwebBuild.build(options);
await HyperwebBuild.build(options);
console.log(`Build completed successfully! Output: ${options.outfile}`);
} catch (error) {
console.error('Build failed:', error);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -674,10 +674,10 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3"
integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==

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

Expand Down

0 comments on commit 9ffaaef

Please sign in to comment.