repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/src/schema/orgs.ts
typescript/src/schema/orgs.ts
import { z } from "zod"; export const OrganizationSchema = z.object({ id: z.string().uuid(), name: z.string(), }); export type Organization = z.infer<typeof OrganizationSchema>;
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/src/schema/experiments.ts
typescript/src/schema/experiments.ts
import { v4 as uuidv4 } from "uuid"; import { z } from "zod"; import { FeatureFlagSchema } from "./flags"; import { ExperimentCreateSchema as ToolExperimentCreateSchema, ExperimentUpdateInputSchema as ToolExperimentUpdateInputSchema, } from "./tool-inputs"; const ExperimentType = ["web", "product"] as const; const ...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/src/schema/surveys.ts
typescript/src/schema/surveys.ts
import { z } from "zod"; import { FilterGroupsSchema } from "./flags.js"; // Survey question types const BaseSurveyQuestionSchema = z.object({ question: z.string(), description: z.string().optional(), descriptionContentType: z.enum(["html", "text"]).optional(), optional: z.boolean().optional(), buttonText: z.stri...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/setup.ts
typescript/tests/setup.ts
import { config } from "dotenv"; import { resolve } from "node:path"; import { vi } from "vitest"; // Load .env.test file config({ path: resolve(process.cwd(), ".env.test") }); // Mock cloudflare:workers module for Node.js test environment vi.mock("cloudflare:workers", () => ({ env: { POSTHOG_BASE_URL: undefined, ...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/integration/feature-routing.test.ts
typescript/tests/integration/feature-routing.test.ts
import { SessionManager } from "@/lib/utils/SessionManager"; import { getToolsFromContext } from "@/tools"; import type { Context } from "@/tools/types"; import { describe, expect, it } from "vitest"; const createMockContext = (): Context => ({ api: {} as any, cache: {} as any, env: { INKEEP_API_KEY: undefined }, ...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/documentation.integration.test.ts
typescript/tests/tools/documentation.integration.test.ts
import { describe, it, expect, beforeAll, afterEach } from "vitest"; import { validateEnvironmentVariables, createTestClient, createTestContext, setActiveProjectAndOrg, cleanupResources, TEST_PROJECT_ID, TEST_ORG_ID, type CreatedResources, } from "@/shared/test-utils"; import searchDocsTool from "@/tools/docume...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/dashboards.integration.test.ts
typescript/tests/tools/dashboards.integration.test.ts
import { describe, it, expect, beforeAll, afterEach } from "vitest"; import { validateEnvironmentVariables, createTestClient, createTestContext, setActiveProjectAndOrg, cleanupResources, parseToolResponse, generateUniqueKey, TEST_PROJECT_ID, TEST_ORG_ID, type CreatedResources, } from "@/shared/test-utils"; im...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/projects.integration.test.ts
typescript/tests/tools/projects.integration.test.ts
import { type CreatedResources, TEST_ORG_ID, TEST_PROJECT_ID, cleanupResources, createTestClient, createTestContext, parseToolResponse, setActiveProjectAndOrg, validateEnvironmentVariables, } from "@/shared/test-utils"; import eventDefinitionsTool from "@/tools/projects/eventDefinitions"; import getProjectsToo...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/organizations.integration.test.ts
typescript/tests/tools/organizations.integration.test.ts
import { type CreatedResources, TEST_ORG_ID, TEST_PROJECT_ID, cleanupResources, createTestClient, createTestContext, parseToolResponse, setActiveProjectAndOrg, validateEnvironmentVariables, } from "@/shared/test-utils"; import getOrganizationDetailsTool from "@/tools/organizations/getDetails"; import getOrgani...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/featureFlags.integration.test.ts
typescript/tests/tools/featureFlags.integration.test.ts
import { describe, it, expect, beforeAll, afterEach } from "vitest"; import { validateEnvironmentVariables, createTestClient, createTestContext, setActiveProjectAndOrg, cleanupResources, TEST_PROJECT_ID, TEST_ORG_ID, type CreatedResources, parseToolResponse, generateUniqueKey, } from "@/shared/test-utils"; im...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/query.integration.test.ts
typescript/tests/tools/query.integration.test.ts
import type { ApiClient } from "@/api/client"; import type { InsightQuery } from "@/schema/query"; import queryRunTool from "@/tools/query/run"; import type { Context } from "@/tools/types"; import { afterEach, beforeAll, describe, expect, it } from "vitest"; import { type CreatedResources, SAMPLE_FUNNEL_QUERIES, SA...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/experiments.integration.test.ts
typescript/tests/tools/experiments.integration.test.ts
import { describe, it, expect, beforeAll, afterEach } from "vitest"; import { validateEnvironmentVariables, createTestClient, createTestContext, setActiveProjectAndOrg, cleanupResources, TEST_PROJECT_ID, TEST_ORG_ID, type CreatedResources, parseToolResponse, generateUniqueKey, } from "@/shared/test-utils"; im...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
true
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/errorTracking.integration.test.ts
typescript/tests/tools/errorTracking.integration.test.ts
import { describe, it, expect, beforeAll, afterEach } from "vitest"; import { validateEnvironmentVariables, createTestClient, createTestContext, setActiveProjectAndOrg, cleanupResources, TEST_PROJECT_ID, TEST_ORG_ID, type CreatedResources, parseToolResponse, } from "@/shared/test-utils"; import listErrorsTool ...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/insights.integration.test.ts
typescript/tests/tools/insights.integration.test.ts
import { type CreatedResources, SAMPLE_HOGQL_QUERIES, TEST_ORG_ID, TEST_PROJECT_ID, cleanupResources, createTestClient, createTestContext, generateUniqueKey, parseToolResponse, setActiveProjectAndOrg, validateEnvironmentVariables, } from "@/shared/test-utils"; import createInsightTool from "@/tools/insights/...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/surveys.integration.test.ts
typescript/tests/tools/surveys.integration.test.ts
import { type CreatedResources, TEST_ORG_ID, TEST_PROJECT_ID, cleanupResources, createTestClient, createTestContext, generateUniqueKey, parseToolResponse, setActiveProjectAndOrg, validateEnvironmentVariables, } from "@/shared/test-utils"; import createSurveyTool from "@/tools/surveys/create"; import deleteSur...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/tools/llmAnalytics.integration.test.ts
typescript/tests/tools/llmAnalytics.integration.test.ts
import { describe, it, expect, beforeAll, afterEach } from "vitest"; import { validateEnvironmentVariables, createTestClient, createTestContext, setActiveProjectAndOrg, cleanupResources, TEST_PROJECT_ID, TEST_ORG_ID, type CreatedResources, parseToolResponse, } from "@/shared/test-utils"; import getLLMCostsTool...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/api/client.integration.test.ts
typescript/tests/api/client.integration.test.ts
import { ApiClient } from "@/api/client"; import type { CreateInsightInput } from "@/schema/insights"; import { afterEach, beforeAll, describe, expect, it } from "vitest"; const API_BASE_URL = process.env.TEST_POSTHOG_API_BASE_URL || "http://localhost:8010"; const API_TOKEN = process.env.TEST_POSTHOG_PERSONAL_API_KEY;...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
true
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/unit/url-routing.test.ts
typescript/tests/unit/url-routing.test.ts
import { describe, expect, it } from "vitest"; describe("URL Routing", () => { const testCases = [ { path: "/mcp", params: "", expected: { path: "/mcp", features: undefined } }, { path: "/mcp", params: "?features=dashboards", expected: { path: "/mcp", features: ["dashboards"] }, }, { path: "/mcp",...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/unit/api-client.test.ts
typescript/tests/unit/api-client.test.ts
import { ApiClient } from "@/api/client"; import { describe, expect, it } from "vitest"; describe("ApiClient", () => { it("should create ApiClient with required config", () => { const client = new ApiClient({ apiToken: "test-token", baseUrl: "https://example.com", }); expect(client).toBeInstanceOf(ApiCli...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/unit/tool-filtering.test.ts
typescript/tests/unit/tool-filtering.test.ts
import { SessionManager } from "@/lib/utils/SessionManager"; import { getToolsFromContext } from "@/tools"; import { getToolsForFeatures } from "@/tools/toolDefinitions"; import type { Context } from "@/tools/types"; import { describe, expect, it } from "vitest"; describe("Tool Filtering - Features", () => { const fe...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/unit/StateManager.test.ts
typescript/tests/unit/StateManager.test.ts
import type { ApiClient } from "@/api/client"; import { StateManager } from "@/lib/utils/StateManager"; import { MemoryCache } from "@/lib/utils/cache/MemoryCache"; import type { ApiRedactedPersonalApiKey, ApiUser } from "@/schema/api"; import type { State } from "@/tools/types"; import { beforeEach, describe, expect, ...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/unit/SessionManager.test.ts
typescript/tests/unit/SessionManager.test.ts
import { SessionManager } from "@/lib/utils/SessionManager"; import type { ScopedCache } from "@/lib/utils/cache/ScopedCache"; import type { State } from "@/tools"; import { beforeEach, describe, expect, it, vi } from "vitest"; vi.mock("uuid", () => ({ v7: vi.fn(() => "test-uuid-12345"), })); describe("SessionManage...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
PostHog/mcp
https://github.com/PostHog/mcp/blob/e2ee61a01b3d06b9934eaf6196c222ccc70cee5c/typescript/tests/shared/test-utils.ts
typescript/tests/shared/test-utils.ts
import { ApiClient } from "@/api/client"; import { SessionManager } from "@/lib/utils/SessionManager"; import { StateManager } from "@/lib/utils/StateManager"; import { MemoryCache } from "@/lib/utils/cache/MemoryCache"; import type { InsightQuery } from "@/schema/query"; import type { Context } from "@/tools/types"; i...
typescript
MIT
e2ee61a01b3d06b9934eaf6196c222ccc70cee5c
2026-01-05T05:00:12.097572Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/.config/beemo.ts
.config/beemo.ts
export default { module: '@beemo/local', drivers: [ 'babel', 'eslint', 'jest', 'lerna', 'mocha', 'prettier', 'rollup', 'stylelint', [ 'typescript', { buildFolder: 'dts', declarationOnly: true, }, ], 'webpack', ], settings: { decorators: true, node: true, // Docusaurus ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/.config/beemo/eslint.ts
.config/beemo/eslint.ts
export default { rules: { // Breaks on Windows but not Linux/macOS 'import/named': 'off', // Rewrites our type exports 'unicorn/prefer-export-from': 'off', }, };
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/.config/beemo/jest.ts
.config/beemo/jest.ts
export default { coveragePathIgnorePatterns: ['__fixtures__', 'src/test.ts', 'cli/src'], };
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/setup.ts
tests/setup.ts
process.env.BEEMO_TEST_ROOT = __dirname;
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/baz/src/index.ts
tests/__fixtures__/project-refs/packages/baz/src/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/baz/tests/index.ts
tests/__fixtures__/project-refs/packages/baz/tests/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/qux/source/index.ts
tests/__fixtures__/project-refs/packages/qux/source/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/bar/scripts/index.ts
tests/__fixtures__/project-refs/packages/bar/scripts/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/bar/src/index.ts
tests/__fixtures__/project-refs/packages/bar/src/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/bar/nested/stories/index.ts
tests/__fixtures__/project-refs/packages/bar/nested/stories/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/foo/src/index.ts
tests/__fixtures__/project-refs/packages/foo/src/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/tests/__fixtures__/project-refs/packages/foo/custom-tests/index.ts
tests/__fixtures__/project-refs/packages/foo/custom-tests/index.ts
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-mocha/src/MochaDriver.ts
packages/driver-mocha/src/MochaDriver.ts
import { Driver } from '@beemo/core'; import { MochaConfig } from './types'; // Success: Writes passed tests to stdout // Failure: Writes failed tests to stdout export class MochaDriver extends Driver<MochaConfig> { override readonly name = '@beemo/driver-mocha'; override bootstrap() { this.setMetadata({ bin: ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-mocha/src/types.ts
packages/driver-mocha/src/types.ts
export type UISetting = 'bdd' | 'exports' | 'qunit' | 'tdd'; export type ReporterSetting = | 'doc' | 'dot' | 'json-stream' | 'json' | 'landing' | 'list' | 'markdown' | 'min' | 'nyan' | 'progress' | 'spec' | 'tap' | 'xunit'; export interface MochaConfig { // Dashed and alias names [key: string]: unknown...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-mocha/src/index.ts
packages/driver-mocha/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { MochaDriver } from './MochaDriver'; export type { MochaDriver }; export * from './types'; export default function mochaDriver(options?: DriverOptions) { return new Mo...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-mocha/tests/MochaDriver.test.ts
packages/driver-mocha/tests/MochaDriver.test.ts
import { mockTool } from '@beemo/core/test'; import factory from '../src'; import { MochaDriver } from '../src/MochaDriver'; describe('MochaDriver', () => { let driver: MochaDriver; beforeEach(() => { driver = new MochaDriver(); driver.startup(mockTool()); }); it('index returns a driver instance', () => { ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-rollup/src/RollupDriver.ts
packages/driver-rollup/src/RollupDriver.ts
import { Driver, STRATEGY_REFERENCE } from '@beemo/core'; import { RollupConfig } from './types'; // Success: // Writes bundle contents to stdout if no `-o/--file` // Writes input -> output file list to stderr // Failure: // Writes input -> output file list to stderr with syntax/error export class RollupDriver exte...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-rollup/src/types.ts
packages/driver-rollup/src/types.ts
import { ModuleFormat, OutputOptions, RollupOptions } from 'rollup'; export type RollupConfig = RollupOptions; export interface RollupArgs { 'amd.autoId'?: boolean; 'amd.basePath'?: string; 'amd.define'?: string; 'amd.id'?: string; assetFileNames?: string; banner?: string; c?: string; chunkFileNames?: string;...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-rollup/src/index.ts
packages/driver-rollup/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { RollupDriver } from './RollupDriver'; export type { RollupDriver }; export * from './types'; export default function rollupDriver(options?: DriverOptions) { return ne...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-rollup/tests/RollupDriver.test.ts
packages/driver-rollup/tests/RollupDriver.test.ts
import { mockTool } from '@beemo/core/test'; import factory from '../src'; import { RollupDriver } from '../src/RollupDriver'; describe('RollupDriver', () => { let driver: RollupDriver; beforeEach(() => { driver = new RollupDriver(); driver.startup(mockTool()); }); it('index returns a driver instance', () =>...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-webpack/src/types.ts
packages/driver-webpack/src/types.ts
import { Configuration } from 'webpack'; export interface WebpackConfig extends Configuration {} export interface WebpackArgs { c?: string; color?: boolean; config?: string; configName?: string; d?: string; devtool?: boolean | string; entry?: string[] | string; env?: string; h?: boolean; help?: boolean; j?...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-webpack/src/WebpackDriver.ts
packages/driver-webpack/src/WebpackDriver.ts
import { Driver, STRATEGY_REFERENCE } from '@beemo/core'; import { WebpackConfig } from './types'; // Success: Writes bundle/file metadata to stdout // Failure: Writes failed tests to stderr export class WebpackDriver extends Driver<WebpackConfig> { override readonly name = '@beemo/driver-webpack'; override bootstr...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-webpack/src/index.ts
packages/driver-webpack/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { WebpackDriver } from './WebpackDriver'; export type { WebpackDriver }; export * from './types'; export default function webpackDriver(options?: DriverOptions) { retur...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-webpack/tests/WebpackDriver.test.ts
packages/driver-webpack/tests/WebpackDriver.test.ts
import { mockTool } from '@beemo/core/test'; import factory from '../src'; import { WebpackDriver } from '../src/WebpackDriver'; describe('WebpackDriver', () => { let driver: WebpackDriver; beforeEach(() => { driver = new WebpackDriver(); driver.startup(mockTool()); }); it('index returns a driver instance', ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-babel/src/BabelDriver.ts
packages/driver-babel/src/BabelDriver.ts
import rimraf from 'rimraf'; import { Driver, DriverContext, DriverContextOptions, Path } from '@beemo/core'; import { BabelArgs, BabelConfig } from './types'; // Success: Writes file list to stdout // Failure: Throws SyntaxError to stderr export class BabelDriver extends Driver<BabelConfig> { override readonly name ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-babel/src/types.ts
packages/driver-babel/src/types.ts
import { MatchPattern, PluginItem, TransformOptions } from '@babel/core'; export type { MatchPattern, PluginItem }; export type SourceMaps = NonNullable<TransformOptions['sourceMaps']>; export type SourceType = NonNullable<TransformOptions['sourceType']>; export type RootMode = NonNullable<TransformOptions['rootMod...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-babel/src/index.ts
packages/driver-babel/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { BabelDriver } from './BabelDriver'; export type { BabelDriver }; export * from './types'; export default function babelDriver(options?: DriverOptions) { return new Ba...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-babel/tests/BabelDriver.test.ts
packages/driver-babel/tests/BabelDriver.test.ts
import rimraf from 'rimraf'; import { DriverContext, Path } from '@beemo/core'; import { mockTool, stubDriverContext } from '@beemo/core/test'; import factory from '../src'; import { BabelDriver } from '../src/BabelDriver'; jest.mock('rimraf'); describe('BabelDriver', () => { let driver: BabelDriver; let context: D...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-stylelint/src/StylelintDriver.ts
packages/driver-stylelint/src/StylelintDriver.ts
import fs from 'fs'; import { ConfigContext, Driver, Path } from '@beemo/core'; import { Event } from '@boost/event'; import { StylelintArgs, StylelintConfig } from './types'; // Success: Writes warnings to stdout // Failure: Writes failures to stdout export class StylelintDriver extends Driver<StylelintConfig> { ove...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-stylelint/src/types.ts
packages/driver-stylelint/src/types.ts
import { Config } from 'stylelint'; export type FormatterType = 'compact' | 'json' | 'string' | 'tap' | 'unix' | 'verbose'; export interface StylelintConfig extends Partial<Config> { ignore?: string[]; } export interface StylelintArgs { aei?: boolean; allowEmptyInput?: boolean; cache?: boolean; cacheLocation?: ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-stylelint/src/index.ts
packages/driver-stylelint/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { StylelintDriver } from './StylelintDriver'; export type { StylelintDriver }; export * from './types'; export default function stylelintDriver(options?: DriverOptions) ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-stylelint/tests/StylelintDriver.test.ts
packages/driver-stylelint/tests/StylelintDriver.test.ts
import fs from 'fs'; import { DriverContext, Path } from '@beemo/core'; import { mockNormalizedFilePath, mockTool, normalizeSeparators, stubDriverContext, stubExecResult, } from '@beemo/core/test'; import factory from '../src'; import { StylelintDriver } from '../src/StylelintDriver'; describe('StylelintDriver', ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-lerna/src/LernaDriver.ts
packages/driver-lerna/src/LernaDriver.ts
import { Driver } from '@beemo/core'; import { LernaConfig } from './types'; // Success: Writes command output to stdout, version footer to stderr export class LernaDriver extends Driver<LernaConfig> { override readonly name = '@beemo/driver-lerna'; override bootstrap() { this.setMetadata({ bin: 'lerna', co...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-lerna/src/types.ts
packages/driver-lerna/src/types.ts
export type NPMClient = 'npm' | 'pnpm' | 'yarn'; interface GlobalOptions { concurrency?: number; h?: boolean; help?: boolean; loglevel?: string; maxBuffer?: number; progress?: boolean; rejectCycles?: boolean; sort?: boolean; v?: boolean; version?: boolean; } interface FilterOptions { excludeDependents?: bo...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-lerna/src/index.ts
packages/driver-lerna/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { LernaDriver } from './LernaDriver'; export type { LernaDriver }; export * from './types'; export default function lernaDriver(options?: DriverOptions) { return new Le...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-lerna/tests/LernaDriver.test.ts
packages/driver-lerna/tests/LernaDriver.test.ts
import { mockTool } from '@beemo/core/test'; import factory from '../src'; import { LernaDriver } from '../src/LernaDriver'; describe('LernaDriver', () => { let driver: LernaDriver; beforeEach(() => { driver = new LernaDriver(); driver.startup(mockTool()); }); it('index returns a driver instance', () => { ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/integration/pass.ts
packages/driver-typescript/integration/pass.ts
// @ts-check function foo2(value: number) {} foo2(123);
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/integration/fail.ts
packages/driver-typescript/integration/fail.ts
// @ts-check function foo3(value: number) {} foo3('123');
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/integration/pass-untyped.ts
packages/driver-typescript/integration/pass-untyped.ts
function foo1(value) {} foo1(123);
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/integration/fail-syntax.ts
packages/driver-typescript/integration/fail-syntax.ts
cnst foo = 'foo';
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/src/TypeScriptDriver.ts
packages/driver-typescript/src/TypeScriptDriver.ts
/* eslint-disable no-param-reassign */ import rimraf from 'rimraf'; import { Blueprint, ConfigContext, Driver, DriverContext, Path, Schemas } from '@beemo/core'; import { Event } from '@boost/event'; import { syncProjectRefs } from './commands/syncProjectRefs'; import { join, writeFile } from './helpers'; import { Typ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/src/helpers.ts
packages/driver-typescript/src/helpers.ts
import fs from 'fs'; import { Path, PortablePath, VirtualPath } from '@beemo/core'; // tsconfig.json uses forward slashes export function join(...parts: PortablePath[]): string { return new VirtualPath(...parts).path(); } export async function writeFile(path: Path, data: unknown): Promise<void> { return new Promise...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/src/types.ts
packages/driver-typescript/src/types.ts
import ts from 'typescript'; import { DriverOptions } from '@beemo/core'; export type TargetSetting = | 'es3' | 'es5' | 'es6' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'es2021' | 'es2022' | 'esnext' | 'json' | 'latest'; export type ModuleSetting = | 'amd' | 'commonjs' | 'es6...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/src/index.ts
packages/driver-typescript/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { TypeScriptOptions } from './types'; import { TypeScriptDriver } from './TypeScriptDriver'; export type { TypeScriptDriver }; export * from './types'; export default function typeScriptDriver(options?: TypeScriptO...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/src/commands/syncProjectRefs.ts
packages/driver-typescript/src/commands/syncProjectRefs.ts
import ts from 'typescript'; import { PackageStructure, Path, Tool } from '@beemo/core'; import { join, writeFile } from '../helpers'; import type { TypeScriptConfig } from '../types'; import type { TypeScriptDriver } from '../TypeScriptDriver'; /** * Create a `tsconfig.json` in each workspace package. Automatically ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/tests/TypeScriptDriver.test.ts
packages/driver-typescript/tests/TypeScriptDriver.test.ts
import fs from 'fs'; import rimraf from 'rimraf'; import { DriverContext, Path } from '@beemo/core'; import { mockTool, stubDriverContext } from '@beemo/core/test'; import { getFixturePath } from '@boost/test-utils'; import factory from '../src'; import { TypeScriptDriver } from '../src/TypeScriptDriver'; jest.mock('r...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-typescript/tests/commands/syncProjectRefs.test.ts
packages/driver-typescript/tests/commands/syncProjectRefs.test.ts
import fs from 'fs'; import { Path, Tool } from '@beemo/core'; import { mockTool, normalizeSeparators } from '@beemo/core/test'; import { getFixturePath } from '@boost/test-utils'; import { syncProjectRefs } from '../../src/commands/syncProjectRefs'; import { TypeScriptDriver } from '../../src/TypeScriptDriver'; descr...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-eslint/src/ESLintDriver.ts
packages/driver-eslint/src/ESLintDriver.ts
import fs from 'fs'; import { ConfigContext, Driver, Execution, Path } from '@beemo/core'; import { Event } from '@boost/event'; import { ESLintArgs, ESLintConfig } from './types'; // Success: Writes warnings to stdout // Failure: Writes failures to stderr export class ESLintDriver extends Driver<ESLintConfig> { over...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-eslint/src/types.ts
packages/driver-eslint/src/types.ts
import eslint from 'eslint'; export type FixType = 'layout' | 'problem' | 'suggestion'; export type FormatType = | 'checkstyle' | 'codeframe' | 'compact' | 'html' | 'jslint-xml' | 'json' | 'junit' | 'stylish' | 'table' | 'tap' | 'unix' | 'visualstudio'; export type GlobalSetting = boolean | 'readable' | ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-eslint/src/index.ts
packages/driver-eslint/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { ESLintDriver } from './ESLintDriver'; export type { ESLintDriver }; export * from './types'; export default function eslintDriver(options?: DriverOptions) { return ne...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-eslint/tests/ESLintDriver.test.ts
packages/driver-eslint/tests/ESLintDriver.test.ts
import fs from 'fs'; import { DriverContext, Path } from '@beemo/core'; import { mockNormalizedFilePath, mockTool, normalizeSeparators, stubDriverContext, stubExecResult, } from '@beemo/core/test'; import factory from '../src'; import { ESLintDriver } from '../src/ESLintDriver'; describe('ESLintDriver', () => { ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-jest/src/JestDriver.ts
packages/driver-jest/src/JestDriver.ts
import { Driver, Execution } from '@beemo/core'; import { JestConfig } from './types'; // Success: // Writes passed tests to stderr (Bug? https://github.com/facebook/jest/issues/5064) // Writes coverage to stdout // Failure: Writes failed tests to stderr export class JestDriver extends Driver<JestConfig> { override...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-jest/src/types.ts
packages/driver-jest/src/types.ts
import { Config } from '@jest/types'; export interface CoverageThreshold { branches?: number; functions?: number; lines?: number; statements?: number; } export type NotifyMode = | 'always' | 'change' | 'failure-change' | 'failure' | 'success-change' | 'success'; export type CommonConfig = Partial< Omit<Co...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-jest/src/index.ts
packages/driver-jest/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { DriverOptions } from '@beemo/core'; import { JestDriver } from './JestDriver'; export type { JestDriver }; export * from './types'; export default function jestDriver(options?: DriverOptions) { return new JestDr...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/driver-jest/tests/JestDriver.test.ts
packages/driver-jest/tests/JestDriver.test.ts
import { mockDriver, mockTool, stubExecResult } from '@beemo/core/test'; import factory from '../src'; import { JestDriver } from '../src/JestDriver'; describe('JestDriver', () => { let driver: JestDriver; beforeEach(() => { driver = new JestDriver(); driver.startup(mockTool()); }); it('index returns a drive...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/test.d.ts
packages/core/test.d.ts
export * from './dts/test';
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/Tool.ts
packages/core/src/Tool.ts
/* eslint-disable @typescript-eslint/member-ordering */ import { createRequire } from 'module'; import fs from 'fs-extra'; import { Bind, Blueprint, Contract, Memoize, PackageStructure, Path, PathResolver, PortablePath, Project, Schemas, } from '@boost/common'; import { createDebugger, Debugger } from '@boos...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/test.ts
packages/core/src/test.ts
import execa from 'execa'; import { ArgList, Arguments, Argv } from '@boost/args'; import { Path } from '@boost/common'; import { mockNormalizedFilePath } from '@boost/common/test'; import { mockDebugger } from '@boost/debug/test'; import { ConfigContext, ConfigFile, Context, Driver, DriverContext, DriverContextO...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/Config.ts
packages/core/src/Config.ts
import { Blueprint, Schemas } from '@boost/common'; import { Configuration, createPluginsSchema, mergePlugins } from '@boost/config'; import { STRATEGY_BUFFER, STRATEGY_NONE, STRATEGY_PIPE, STRATEGY_STREAM } from './constants'; import { ConfigExecuteStrategy, ConfigFile } from './types'; export class Config extends Co...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/constants.ts
packages/core/src/constants.ts
export const STRATEGY_NONE = 'none'; export const STRATEGY_COPY = 'copy'; export const STRATEGY_CREATE = 'create'; export const STRATEGY_REFERENCE = 'reference'; export const STRATEGY_NATIVE = 'native'; export const STRATEGY_TEMPLATE = 'template'; export const STRATEGY_BUFFER = 'buffer'; export const STRATEGY_PIPE = ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/types.ts
packages/core/src/types.ts
import { ExecaError, ExecaReturnValue } from 'execa'; import { Arguments, Argv, Command, MapOptionConfig, MapParamConfig, OptionConfigMap, ParserOptions, PrimitiveType, } from '@boost/args'; import { Path, PortablePath } from '@boost/common'; import { PluginsSetting } from '@boost/config'; import { Pluggable } ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/Script.ts
packages/core/src/Script.ts
import execa, { Options as ExecaOptions } from 'execa'; import { Arguments, ParserOptions } from '@boost/args'; import { Blueprint, Schemas } from '@boost/common'; import { ConcurrentEvent } from '@boost/event'; import { Plugin } from '@boost/plugin'; import { ScriptContext } from './contexts/ScriptContext'; import { i...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/index.ts
packages/core/src/index.ts
/** * @copyright 2021, Miles Johnson * @license https://opensource.org/licenses/MIT */ import { Blueprint, PackageStructure, Path, PortablePath, Schemas, VirtualPath, } from '@boost/common'; export * from './constants'; export * from './contexts/ConfigContext'; export * from './contexts/Context'; expor...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/Driver.ts
packages/core/src/Driver.ts
import execa from 'execa'; import mergeWith from 'lodash/mergeWith'; import { PrimitiveType } from '@boost/args'; import { isObject, Path, toArray } from '@boost/common'; import { Blueprint, optimal, Schemas, schemas } from '@boost/common/optimal'; import { ConcurrentEvent, Event } from '@boost/event'; import { Plugin ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/helpers/isPatternMatch.ts
packages/core/src/helpers/isPatternMatch.ts
import micromatch from 'micromatch'; export function isPatternMatch( string: string, pattern: string, options?: micromatch.Options, ): boolean { if (!string || !pattern) { return false; } // Wildcard all (*) if (pattern === '*') { return true; } // Whitelist (foo,bar) if (pattern.includes(',') && !patt...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/helpers/isClassInstance.ts
packages/core/src/helpers/isClassInstance.ts
import { isObject } from '@boost/common'; export function isClassInstance<T>(value: unknown): value is T { return isObject(value) && value.constructor !== Object; }
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/helpers/formatExecReturn.ts
packages/core/src/helpers/formatExecReturn.ts
export interface ExecLike { command?: string; stderr?: string; stdout?: string; } export function formatExecReturn<T extends ExecLike>( obj: T, ): Pick<T, Exclude<keyof T, 'command' | 'stderr' | 'stdout'>> { if (!obj || typeof obj !== 'object') { return obj; } // Remove stdio for easier logging output const...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/helpers/filterArgs.ts
packages/core/src/helpers/filterArgs.ts
import { Argv } from '../types'; export type OptionMap = Record<string, boolean>; export interface FilterArgOptions { allow?: OptionMap; block?: OptionMap; } export function filterArgs(argv: Argv, { allow, block }: FilterArgOptions) { const filteredArgv: Argv = []; const unknownArgv: Argv = []; const isInvalid ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/RunScriptRoutine.ts
packages/core/src/routines/RunScriptRoutine.ts
/* eslint-disable @typescript-eslint/member-ordering */ import camelCase from 'lodash/camelCase'; import upperFirst from 'lodash/upperFirst'; import { Bind, instanceOf, PathResolver } from '@boost/common'; import { EXECUTE_OPTIONS } from '../constants'; import { ScriptContext } from '../contexts/ScriptContext'; import...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/ResolveConfigsRoutine.ts
packages/core/src/routines/ResolveConfigsRoutine.ts
import { Blueprint, Path, Schemas } from '@boost/common'; import { color } from '@boost/internal'; import { Routine } from '@boost/pipeline'; import { ConfigContext } from '../contexts/ConfigContext'; import type { Tool } from '../Tool'; import { RoutineOptions } from '../types'; import { CreateConfigRoutine } from './...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/RunInWorkspacesRoutine.ts
packages/core/src/routines/RunInWorkspacesRoutine.ts
import { Blueprint, PackageGraph, PackageStructure, Schemas, WorkspacePackage, } from '@boost/common'; import { Routine } from '@boost/pipeline'; import { stripAnsi, style } from '@boost/terminal'; import { Context } from '../contexts/Context'; import { isPatternMatch } from '../helpers/isPatternMatch'; import typ...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/CleanupConfigsRoutine.ts
packages/core/src/routines/CleanupConfigsRoutine.ts
/* eslint-disable @typescript-eslint/member-ordering */ import fs from 'fs-extra'; import { Bind, Blueprint, Schemas } from '@boost/common'; import { color } from '@boost/internal'; import { Routine } from '@boost/pipeline'; import { DriverContext } from '../contexts/DriverContext'; import type { Tool } from '../Tool'...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/RunDriverRoutine.ts
packages/core/src/routines/RunDriverRoutine.ts
import { Path } from '@boost/common'; import { EXECUTE_OPTIONS } from '../constants'; import { DriverContext } from '../contexts/DriverContext'; import { filterArgs } from '../helpers/filterArgs'; import { ExecuteCommandOptions, ExecuteCommandRoutine } from './driver/ExecuteCommandRoutine'; import { RunInWorkspacesRout...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/CreateConfigRoutine.ts
packages/core/src/routines/CreateConfigRoutine.ts
/* eslint-disable @typescript-eslint/member-ordering */ import fs from 'fs-extra'; import camelCase from 'lodash/camelCase'; import { Bind, Blueprint, Path, PathResolver, Schemas, VirtualPath } from '@boost/common'; import { color } from '@boost/internal'; import { requireModule } from '@boost/module'; import { Routin...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/ScaffoldRoutine.ts
packages/core/src/routines/ScaffoldRoutine.ts
/* eslint-disable no-console, @typescript-eslint/member-ordering */ import { engine, Logger } from 'hygen'; import { Bind, Blueprint, instanceOf, Schemas } from '@boost/common'; import { color } from '@boost/internal'; import { Routine } from '@boost/pipeline'; import { ScaffoldContext } from '../contexts/ScaffoldCont...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/script/ExecuteScriptRoutine.ts
packages/core/src/routines/script/ExecuteScriptRoutine.ts
import { parse } from '@boost/args'; import { Blueprint, instanceOf, Path, Schemas } from '@boost/common'; import { Routine } from '@boost/pipeline'; import { ScriptContext } from '../../contexts/ScriptContext'; import { ExecLike, formatExecReturn } from '../../helpers/formatExecReturn'; import { Script } from '../../S...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false
beemojs/beemo
https://github.com/beemojs/beemo/blob/9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690/packages/core/src/routines/driver/ExecuteCommandRoutine.ts
packages/core/src/routines/driver/ExecuteCommandRoutine.ts
/* eslint-disable @typescript-eslint/member-ordering */ import execa, { ExecaError } from 'execa'; import glob from 'fast-glob'; import fs from 'fs-extra'; import isGlob from 'is-glob'; import merge from 'lodash/merge'; import { parse } from '@boost/args'; import { Bind, Blueprint, ExitError, Path, Schemas } from '@bo...
typescript
MIT
9dfc75f45e21b0fcbf3f7ddc6e09678e5d63e690
2026-01-05T04:59:40.018050Z
false