{"id":19259285,"url":"https://github.com/hyperweb-io/interweb-build","last_synced_at":"2025-04-21T16:30:48.621Z","repository":{"id":256502206,"uuid":"855504601","full_name":"hyperweb-io/interweb-build","owner":"hyperweb-io","description":null,"archived":true,"fork":false,"pushed_at":"2024-10-02T07:28:01.000Z","size":161,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-21T05:07:50.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperweb-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-11T01:18:11.000Z","updated_at":"2025-01-17T23:38:27.000Z","dependencies_parsed_at":"2024-09-11T06:11:01.099Z","dependency_job_id":"47d74350-2c30-4857-8965-b7be11e6ddc8","html_url":"https://github.com/hyperweb-io/interweb-build","commit_stats":null,"previous_names":["cosmology-tech/interweb-build","hyperweb-io/interweb-build"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterweb-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterweb-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterweb-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperweb-io%2Finterweb-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperweb-io","download_url":"https://codeload.github.com/hyperweb-io/interweb-build/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250090691,"owners_count":21373232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T19:15:58.857Z","updated_at":"2025-04-21T16:30:48.345Z","avatar_url":"https://github.com/hyperweb-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interweb Build Tools\n\n\u003cp align=\"center\" width=\"100%\"\u003e\n    \u003cimg height=\"90\" src=\"https://user-images.githubusercontent.com/545047/190171432-5526db8f-9952-45ce-a745-bea4302f912b.svg\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" width=\"100%\"\u003e\n  \u003ca href=\"https://github.com/cosmology-tech/interweb-build/actions/workflows/run-tests.yml\"\u003e\n    \u003cimg height=\"20\" src=\"https://github.com/cosmology-tech/interweb-build/actions/workflows/run-tests.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n   \u003ca href=\"https://github.com/cosmology-tech/interweb-build/blob/main/LICENSE\"\u003e\u003cimg height=\"20\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nInterweb is a collection of powerful tools designed to simplify and streamline your development process for web and TypeScript projects.\n\n- [Packages](#packages)\n  - [@interweb/build](#interwebbuild)\n  - [@interweb/ts-json-schema](#interwebts-json-schema)\n- [Development](#development)\n  - [Project Setup](#project-setup)\n  - [Running Tests](#running-tests)\n  - [Jest Watch Mode](#jest-watch-mode)\n  - [Workflow Tips](#workflow-tips)\n- [License](#license)\n\n## Packages\n\nThis monorepo contains the following packages:\n\n### [@interweb/build](./packages/build)\n\n[![npm version](https://img.shields.io/npm/v/@interweb/build.svg)](https://www.npmjs.com/package/@interweb/build)\n\nInterweb Build is a powerful wrapper around esbuild, designed to simplify and streamline your build process for Interweb projects.\n\n#### Installation\n```sh\nnpm install @interweb/build\n```\n\n[Read more about @interweb/build](./packages/build)\n\n### [@interweb/ts-json-schema](./packages/ts-json-schema)\n\n[![npm version](https://img.shields.io/npm/v/@interweb/ts-json-schema.svg)](https://www.npmjs.com/package/@interweb/ts-json-schema)\n\nInterweb 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.\n\n#### Installation\n```sh\nnpm install @interweb/ts-json-schema\n```\n\n[Read more about @interweb/ts-json-schema](./packages/ts-json-schema)\n\n## Development\n\nThis section explains how to set up the project for development and how to run tests.\n\n### Project Setup\n\nTo bootstrap the project, run the following commands from the root of the monorepo:\n\n```sh\nyarn \nyarn build\nyarn symlink\n```\n\nThis will install dependencies, build all packages, and create symlinks between them.\n\n### Running Tests\n\nTo 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`:\n\n```sh\ncd ./packages/build\nyarn test:watch\n```\n\nThis command leverages Jest's watch mode, which provides a convenient interface for running tests.\n\n### Jest Watch Mode\n\nJest watch mode offers several useful hotkeys to control test execution:\n\n- `a` - Run all tests\n- `f` - Run only failed tests\n- `p` - Filter by a filename regex pattern\n- `t` - Filter by a test name regex pattern\n- `q` - Quit watch mode\n- `Enter` - Trigger a test run\n\nHere are some examples of how to use these hotkeys:\n\n1. Press `p`, then type `utils` to run tests only in files with \"utils\" in their name.\n2. Press `t`, then type `should calculate` to run only tests with \"should calculate\" in their description.\n3. Press `a` to run all tests again after filtering.\n\nThese hotkeys make it easy to focus on specific tests or files during development.\n\n### Workflow Tips\n\n1. Keep the test runner in watch mode while you're developing. This provides instant feedback as you make changes.\n2. Use the `p` and `t` filters to focus on the specific area you're working on. This can significantly speed up the test-debug cycle.\n3. Remember to run all tests (`a`) before committing changes to ensure you haven't inadvertently broken anything elsewhere in the package.\n\n## License\n\nInterweb Build is [MIT licensed](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperweb-io%2Finterweb-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperweb-io%2Finterweb-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperweb-io%2Finterweb-build/lists"}