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 |
|---|---|---|---|---|---|---|---|---|
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-terminal/src/api/decorator.ts | tabby-terminal/src/api/decorator.ts | import { Subscription } from 'rxjs'
import { BaseTerminalTabComponent } from './baseTerminalTab.component'
/**
* Extend to automatically run actions on new terminals
*/
export abstract class TerminalDecorator {
private smartSubscriptions = new Map<BaseTerminalTabComponent<any>, Subscription[]>()
/**
* ... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-terminal/src/api/colorSchemeProvider.ts | tabby-terminal/src/api/colorSchemeProvider.ts | import { TerminalColorScheme } from './interfaces'
/**
* Extend to add more terminal color schemes
*/
export abstract class TerminalColorSchemeProvider {
abstract getSchemes (): Promise<TerminalColorScheme[]>
}
| typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-terminal/src/features/debug.ts | tabby-terminal/src/features/debug.ts | import { Injectable } from '@angular/core'
import { TerminalDecorator } from '../api/decorator'
import { BaseTerminalTabComponent } from '../api/baseTerminalTab.component'
import { PlatformService } from 'tabby-core'
/** @hidden */
@Injectable()
export class DebugDecorator extends TerminalDecorator {
constructor (... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-terminal/src/features/zmodem.ts | tabby-terminal/src/features/zmodem.ts | import colors from 'ansi-colors'
import * as ZModem from 'zmodem.js'
import { Observable, filter, first } from 'rxjs'
import { Injectable } from '@angular/core'
import { TerminalDecorator } from '../api/decorator'
import { BaseTerminalTabComponent } from '../api/baseTerminalTab.component'
import { SessionMiddleware } f... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-terminal/src/frontends/frontend.ts | tabby-terminal/src/frontends/frontend.ts | import { Injector } from '@angular/core'
import { Observable, Subject, AsyncSubject, ReplaySubject, BehaviorSubject } from 'rxjs'
import { BaseTerminalProfile, ResizeEvent } from '../api/interfaces'
export interface SearchOptions {
regex?: boolean
wholeWord?: boolean
caseSensitive?: boolean
incremental... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-terminal/src/frontends/xtermFrontend.ts | tabby-terminal/src/frontends/xtermFrontend.ts | import deepEqual from 'deep-equal'
import { BehaviorSubject, filter, firstValueFrom, takeUntil } from 'rxjs'
import { Injector } from '@angular/core'
import { ConfigService, getCSSFontFamily, getWindows10Build, HostAppService, HotkeysService, Platform, PlatformService, ThemesService } from 'tabby-core'
import { Fronten... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-community-color-schemes/src/colorSchemes.ts | tabby-community-color-schemes/src/colorSchemes.ts | import { Injectable } from '@angular/core'
import { TerminalColorSchemeProvider, TerminalColorScheme } from 'tabby-terminal'
const schemeContents = (require as any).context('../schemes/', false, /.*/)
@Injectable()
export class ColorSchemes extends TerminalColorSchemeProvider {
async getSchemes (): Promise<Termin... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-community-color-schemes/src/index.ts | tabby-community-color-schemes/src/index.ts | import { NgModule } from '@angular/core'
import { TerminalColorSchemeProvider } from 'tabby-terminal'
import { ColorSchemes } from './colorSchemes'
@NgModule({
providers: [
{ provide: TerminalColorSchemeProvider, useClass: ColorSchemes, multi: true },
],
})
export default class PopularThemesModule { }... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-auto-sudo-password/src/decorator.ts | tabby-auto-sudo-password/src/decorator.ts | import colors from 'ansi-colors'
import { Injectable } from '@angular/core'
import { TerminalDecorator, BaseTerminalTabComponent, XTermFrontend, SessionMiddleware } from 'tabby-terminal'
import { SSHProfile, SSHTabComponent, PasswordStorageService } from 'tabby-ssh'
const SUDO_PROMPT_REGEX = /^\[sudo\] password for ([... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-auto-sudo-password/src/index.ts | tabby-auto-sudo-password/src/index.ts | /* eslint-disable @typescript-eslint/no-extraneous-class */
import { NgModule } from '@angular/core'
import { ToastrModule } from 'ngx-toastr'
import { TerminalDecorator } from 'tabby-terminal'
import { AutoSudoPasswordDecorator } from './decorator'
@NgModule({
imports: [
ToastrModule,
],
provider... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web-demo/src/profiles.ts | tabby-web-demo/src/profiles.ts | import { Injectable } from '@angular/core'
import { ProfileProvider, NewTabParameters, Profile, PartialProfile } from 'tabby-core'
import { DemoTerminalTabComponent } from './components/terminalTab.component'
@Injectable({ providedIn: 'root' })
export class DemoProfilesService extends ProfileProvider<Profile> {
id... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web-demo/src/session.ts | tabby-web-demo/src/session.ts | /* eslint-disable @typescript-eslint/no-empty-function */
import { Injector, NgZone } from '@angular/core'
import * as path from 'path'
import { BaseSession } from 'tabby-terminal'
import { Logger } from 'tabby-core'
const currentScript: any = document.currentScript
export class Session extends BaseSession {
priv... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web-demo/src/buttonProvider.ts | tabby-web-demo/src/buttonProvider.ts | /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { Injectable } from '@angular/core'
import { ToolbarButtonProvider, ToolbarButton, AppService } from 'tabby-core'
import { DemoTerminalTabComponent } from './components/terminalTab.component'
/** @hidden */
@Injectable()
export class ButtonP... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web-demo/src/index.ts | tabby-web-demo/src/index.ts | import { NgModule } from '@angular/core'
// import { BrowserModule } from '@angular/platform-browser'
import { FormsModule } from '@angular/forms'
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'
import TabbyCorePlugin, { ProfileProvider, AppService } from 'tabby-core'
import TabbyTerminalModule from 'tabby-term... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web-demo/src/components/terminalTab.component.ts | tabby-web-demo/src/components/terminalTab.component.ts | import { Component, Injector } from '@angular/core'
import { BaseTerminalProfile, BaseTerminalTabComponent } from 'tabby-terminal'
import { Session } from '../session'
// eslint-disable-next-line @typescript-eslint/no-type-alias
type DemoProfile = BaseTerminalProfile
/** @hidden */
@Component({
selector: 'demoTer... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/config.ts | tabby-electron/src/config.ts | import { ConfigProvider, Platform } from 'tabby-core'
/** @hidden */
export class ElectronConfigProvider extends ConfigProvider {
platformDefaults = {
[Platform.macOS]: {
hotkeys: {
'toggle-window': ['Ctrl-Space'],
'new-window': ['⌘-N'],
},
},... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/pathDrop.ts | tabby-electron/src/pathDrop.ts | import { Injectable } from '@angular/core'
import { TerminalDecorator, BaseTerminalTabComponent } from 'tabby-terminal'
import { webUtils } from 'electron'
/** @hidden */
@Injectable()
export class PathDropDecorator extends TerminalDecorator {
attach (terminal: BaseTerminalTabComponent<any>): void {
setTim... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/colorSchemes.ts | tabby-electron/src/colorSchemes.ts | import * as fs from 'mz/fs'
import * as path from 'path'
import { Injectable } from '@angular/core'
import { TerminalColorSchemeProvider, TerminalColorScheme } from 'tabby-terminal'
/** @hidden */
@Injectable()
export class HyperColorSchemes extends TerminalColorSchemeProvider {
async getSchemes (): Promise<Termin... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/pty.ts | tabby-electron/src/pty.ts | import * as psNode from 'ps-node'
import { ipcRenderer } from 'electron'
import { ChildProcess, PTYInterface, PTYProxy } from 'tabby-local'
import { getWorkingDirectoryFromPID } from 'native-process-working-directory'
/* eslint-disable block-scoped-var */
try {
var macOSNativeProcessList = require('macos-native-p... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/sshImporters.ts | tabby-electron/src/sshImporters.ts | import * as fs from 'fs/promises'
import * as fsSync from 'fs'
import * as path from 'path'
import * as glob from 'glob'
import * as yaml from 'js-yaml'
import { Injectable } from '@angular/core'
import { PartialProfile } from 'tabby-core'
import {
SSHProfileImporter,
PortForwardType,
SSHProfile,
AutoPr... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/index.ts | tabby-electron/src/index.ts | import { NgModule } from '@angular/core'
import { PlatformService, LogService, UpdaterService, DockingService, HostAppService, ThemesService, Platform, AppService, ConfigService, WIN_BUILD_FLUENT_BG_SUPPORTED, isWindowsBuild, HostWindowService, HotkeyProvider, ConfigProvider, FileProvider } from 'tabby-core'
import { T... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/hotkeys.ts | tabby-electron/src/hotkeys.ts | import { Injectable } from '@angular/core'
import { HotkeyDescription, HotkeyProvider, TranslateService } from 'tabby-core'
/** @hidden */
@Injectable()
export class ElectronHotkeyProvider extends HotkeyProvider {
hotkeys: HotkeyDescription[] = [
{
id: 'new-window',
name: this.trans... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/sftpContextMenu.ts | tabby-electron/src/sftpContextMenu.ts | import * as tmp from 'tmp-promise'
import * as path from 'path'
import * as fs from 'fs'
import { Subject, debounceTime, debounce } from 'rxjs'
import { Injectable } from '@angular/core'
import { MenuItemOptions, TranslateService } from 'tabby-core'
import { SFTPFile, SFTPPanelComponent, SFTPContextMenuItemProvider, SF... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/dockMenu.service.ts | tabby-electron/src/services/dockMenu.service.ts | import { NgZone, Injectable } from '@angular/core'
import { ConfigService, HostAppService, Platform, ProfilesService, TranslateService } from 'tabby-core'
import { ElectronService } from './electron.service'
/** @hidden */
@Injectable({ providedIn: 'root' })
export class DockMenuService {
appVersion: string
p... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/shellIntegration.service.ts | tabby-electron/src/services/shellIntegration.service.ts | import * as path from 'path'
import * as fs from 'mz/fs'
import { exec } from 'mz/child_process'
import { Injectable } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
/* eslint-disable block-scoped-var */
try {
var wnr = req... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/fileProvider.service.ts | tabby-electron/src/services/fileProvider.service.ts | import { promises as fs } from 'fs'
import { Injectable } from '@angular/core'
import { FileProvider } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
import { ElectronHostWindow } from './hostWindow.service'
@Injectable()
export class ElectronFileProvider extends FileProvider {
na... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/updater.service.ts | tabby-electron/src/services/updater.service.ts | import { Injectable } from '@angular/core'
import axios from 'axios'
import { Logger, LogService, ConfigService, UpdaterService, PlatformService, TranslateService } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
const UPDATES_URL = 'https://api.github.com/repos/eugeny/tabby/releases/... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/docking.service.ts | tabby-electron/src/services/docking.service.ts | import { Injectable, NgZone, Inject } from '@angular/core'
import type { Display } from 'electron'
import { ConfigService, DockingService, Screen, PlatformService, BootstrapData, BOOTSTRAP_DATA } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
import { ElectronHostWindow, Bounds } from ... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/hostApp.service.ts | tabby-electron/src/services/hostApp.service.ts | import { Injectable, NgZone, Injector } from '@angular/core'
import { isWindowsBuild, WIN_BUILD_FLUENT_BG_SUPPORTED, HostAppService, Platform, CLIHandler } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
@Injectable({ providedIn: 'root' })
export class ElectronHostAppService extends H... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/uac.service.ts | tabby-electron/src/services/uac.service.ts | import { Injectable } from '@angular/core'
import * as path from 'path'
import { WIN_BUILD_CONPTY_SUPPORTED, isWindowsBuild } from 'tabby-core'
import { SessionOptions, UACService } from 'tabby-local'
import { ElectronService } from './electron.service'
/** @hidden */
@Injectable()
export class ElectronUACService exte... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/touchbar.service.ts | tabby-electron/src/services/touchbar.service.ts | import deepEqual from 'deep-equal'
import { Subject, distinctUntilChanged, map } from 'rxjs'
import { ipcRenderer } from 'electron'
import { Injectable, NgZone } from '@angular/core'
import { AppService, HostAppService, Platform } from 'tabby-core'
/** @hidden */
@Injectable({ providedIn: 'root' })
export class Touchb... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/log.service.ts | tabby-electron/src/services/log.service.ts | import * as fs from 'fs'
import * as path from 'path'
import * as winston from 'winston'
import { Injectable } from '@angular/core'
import { ConsoleLogger, Logger } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
const initializeWinston = (electron: ElectronService) => {
const logD... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/platform.service.ts | tabby-electron/src/services/platform.service.ts | import * as path from 'path'
import * as fs from 'fs/promises'
import * as fsSync from 'fs'
import * as os from 'os'
import promiseIpc, { RendererProcessType } from 'electron-promise-ipc'
import { execFile } from 'mz/child_process'
import { Injectable, NgZone } from '@angular/core'
import { PlatformService, ClipboardCo... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/hostWindow.service.ts | tabby-electron/src/services/hostWindow.service.ts | import type { BrowserWindow, TouchBar } from 'electron'
import { Injectable, Inject, NgZone } from '@angular/core'
import { BootstrapData, BOOTSTRAP_DATA, HostWindowService } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
export interface Bounds {
x: number
y: number
width... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/services/electron.service.ts | tabby-electron/src/services/electron.service.ts | import { Injectable } from '@angular/core'
import { App, IpcRenderer, Shell, Dialog, Clipboard, GlobalShortcut, Screen, AutoUpdater, TouchBar, BrowserWindow, Menu, MenuItem, PowerSaveBlocker, NativeTheme } from 'electron'
import * as remote from '@electron/remote'
export interface MessageBoxResponse {
response: nu... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/posix.ts | tabby-electron/src/shells/posix.ts | import * as fs from 'mz/fs'
import slugify from 'slugify'
import { Injectable } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/** @hidden */
@Injectable()
export class POSIXShellsProvider extends ShellProvider {
constructor (
... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/windowsStock.ts | tabby-electron/src/shells/windowsStock.ts | import * as path from 'path'
import * as fs from 'fs/promises'
import * as which from 'which'
import { Injectable } from '@angular/core'
import { HostAppService, Platform, ConfigService } from 'tabby-core'
import { ElectronService } from '../services/electron.service'
import { Shell } from 'tabby-local'
import { Windo... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/wsl.ts | tabby-electron/src/shells/wsl.ts | import * as fs from 'mz/fs'
import slugify from 'slugify'
import { Injectable } from '@angular/core'
import { HostAppService, Platform, isWindowsBuild, WIN_BUILD_WSL_EXE_DISTRO_FLAG } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/* eslint-disable block-scoped-var */
try {
var wnr = requi... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/winDefault.ts | tabby-electron/src/shells/winDefault.ts | import { Injectable } from '@angular/core'
import { HostAppService, Platform, TranslateService } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
import { WSLShellProvider } from './wsl'
import { PowerShellCoreShellProvider } from './powershellCore'
import { WindowsStockShellsProvider } from './wi... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/cygwin32.ts | tabby-electron/src/shells/cygwin32.ts | import * as path from 'path'
import { Injectable } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/* eslint-disable block-scoped-var */
try {
var wnr = require('windows-native-registry') // eslint-disable-line @typescript-eslint/no-va... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/msys2.ts | tabby-electron/src/shells/msys2.ts | import * as fs from 'fs/promises'
import * as path from 'path'
import { Injectable } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/** @hidden */
@Injectable()
export class MSYS2ShellProvider extends ShellProvider {
constructor (
... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/gitBash.ts | tabby-electron/src/shells/gitBash.ts | import * as path from 'path'
import { Injectable } from '@angular/core'
import { Platform, ConfigService, HostAppService } from 'tabby-core'
import { Shell } from 'tabby-local'
import { WindowsBaseShellProvider } from './windowsBase'
/* eslint-disable block-scoped-var */
try {
var wnr = require('windows-native-r... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/vs.ts | tabby-electron/src/shells/vs.ts | import * as path from 'path'
import * as fs from 'fs/promises'
import { Injectable } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/* eslint-disable quote-props */
const vsIconMap: Record<string, string> = {
'2017': require('../icons/... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/windowsBase.ts | tabby-electron/src/shells/windowsBase.ts | import { ConfigService, HostAppService } from 'tabby-core'
import { ShellProvider } from 'tabby-local'
export abstract class WindowsBaseShellProvider extends ShellProvider {
constructor (
protected hostApp: HostAppService,
protected config: ConfigService,
) {
super()
}
protect... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/linuxDefault.ts | tabby-electron/src/shells/linuxDefault.ts | import * as fs from 'mz/fs'
import { Injectable } from '@angular/core'
import { HostAppService, Platform, LogService, Logger, TranslateService } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/** @hidden */
@Injectable()
export class LinuxDefaultShellProvider extends ShellProvider {
private ... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/powershellCore.ts | tabby-electron/src/shells/powershellCore.ts | import { Injectable } from '@angular/core'
import { HostAppService, ConfigService, Platform } from 'tabby-core'
import { Shell } from 'tabby-local'
import { WindowsBaseShellProvider } from './windowsBase'
/* eslint-disable block-scoped-var */
try {
var wnr = require('windows-native-registry') // eslint-disable-l... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/macDefault.ts | tabby-electron/src/shells/macDefault.ts | import { Injectable } from '@angular/core'
import promiseIpc, { RendererProcessType } from 'electron-promise-ipc'
import { HostAppService, Platform, TranslateService } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/** @hidden */
@Injectable()
export class MacOSDefaultShellProvider extends Shell... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/cygwin64.ts | tabby-electron/src/shells/cygwin64.ts | import * as path from 'path'
import { Injectable } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/* eslint-disable block-scoped-var */
try {
var wnr = require('windows-native-registry') // eslint-disable-line @typescript-eslint/no-va... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-electron/src/shells/cmder.ts | tabby-electron/src/shells/cmder.ts | import * as path from 'path'
import { Injectable } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
import { ShellProvider, Shell } from 'tabby-local'
/** @hidden */
@Injectable()
export class CmderShellProvider extends ShellProvider {
constructor (
private hostApp: HostAppServic... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/config.ts | tabby-web/src/config.ts | import { ConfigProvider } from 'tabby-core'
/** @hidden */
export class WebConfigProvider extends ConfigProvider {
defaults = {
web: {
preventAccidentalTabClosure: false,
},
}
}
| typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/platform.ts | tabby-web/src/platform.ts | import '@vaadin/vaadin-context-menu'
import copyToClipboard from 'copy-text-to-clipboard'
import { Injectable, Inject } from '@angular/core'
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
import { PlatformService, ClipboardContent, MenuItemOptions, MessageBoxOptions, MessageBoxResult, FileUpload, FileUploadOptio... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/index.ts | tabby-web/src/index.ts | import { NgModule } from '@angular/core'
import { CommonModule } from '@angular/common'
import { ConfigProvider, HostAppService, HostWindowService, LogService, PlatformService, UpdaterService } from 'tabby-core'
import { WebPlatformService } from './platform'
import { ConsoleLogService } from './services/log.service'
... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/services/updater.service.ts | tabby-web/src/services/updater.service.ts | import { UpdaterService } from 'tabby-core'
export class NullUpdaterService extends UpdaterService {
async check (): Promise<boolean> {
return false
}
// eslint-disable-next-line @typescript-eslint/no-empty-function
async update (): Promise<void> { }
}
| typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/services/hostApp.service.ts | tabby-web/src/services/hostApp.service.ts | import Bowser from 'bowser'
import { Injectable, Injector } from '@angular/core'
import { HostAppService, Platform } from 'tabby-core'
@Injectable()
export class WebHostApp extends HostAppService {
get platform (): Platform {
return Platform.Web
}
get configPlatform (): Platform {
const os... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/services/log.service.ts | tabby-web/src/services/log.service.ts | import { Injectable } from '@angular/core'
import { ConsoleLogger, Logger } from 'tabby-core'
@Injectable({ providedIn: 'root' })
export class ConsoleLogService {
create (name: string): Logger {
return new ConsoleLogger(name)
}
}
| typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/services/hostWindow.service.ts | tabby-web/src/services/hostWindow.service.ts | import { Injectable } from '@angular/core'
import { ConfigService, HostWindowService, TranslateService } from 'tabby-core'
@Injectable({ providedIn: 'root' })
export class WebHostWindow extends HostWindowService {
get isFullscreen (): boolean { return !!document.fullscreenElement }
constructor (
confi... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/tabby-web/src/components/messageBoxModal.component.ts | tabby-web/src/components/messageBoxModal.component.ts | import { Component, Input, ElementRef } from '@angular/core'
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'
import { BaseComponent, HotkeysService, MessageBoxOptions } from 'tabby-core'
/** @hidden */
@Component({
templateUrl: './messageBoxModal.component.pug',
})
export class MessageBoxModalComponent... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/web/entry.ts | web/entry.ts | import './polyfills'
import 'zone.js'
import 'core-js/proposals/reflect-metadata'
import 'core-js/features/array/flat'
import 'rxjs'
import '../app/src/global.scss'
import '../app/src/toastr.scss'
import { enableProdMode, NgModuleRef, ApplicationRef } from '@angular/core'
import { enableDebugTools } from '@angular/p... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/web/polyfills.buffer.ts | web/polyfills.buffer.ts | /* eslint-disable @typescript-eslint/no-unnecessary-condition */
/* eslint-disable @typescript-eslint/init-declarations */
/* eslint-disable prefer-spread */
/* eslint-disable @typescript-eslint/no-invalid-this */
/* eslint-disable @typescript-eslint/no-use-before-define */
/* eslint-disable @typescript-eslint/explicit... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/web/polyfills.ts | web/polyfills.ts | /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
/* eslint-disable @typescript-eslint/no-empty-function */
/* eslint-disable @typescript-eslint/no-extraneous-class */
import './polyfills.buffer'
import { Duplex } from 'stream-browserify'
const Tabby = window['Tabby']
export class SocketProxy ex... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
Eugeny/tabby | https://github.com/Eugeny/tabby/blob/5c6008deacd3b1fcd12d0a78f5e645db43beec89/web/entry.preload.ts | web/entry.preload.ts | import 'source-sans-pro/source-sans-pro.css'
import 'source-code-pro/source-code-pro.css'
import '@fortawesome/fontawesome-free/css/solid.css'
import '@fortawesome/fontawesome-free/css/brands.css'
import '@fortawesome/fontawesome-free/css/regular.css'
import '@fortawesome/fontawesome-free/css/fontawesome.css'
import '.... | typescript | MIT | 5c6008deacd3b1fcd12d0a78f5e645db43beec89 | 2026-01-04T15:27:36.904744Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/vitest.config.ts | vitest.config.ts | import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
projects: ['./packages/*', '!./packages/tsconfig.base.json'],
exclude: ['**/*.spec.?(c|m)[jt]s?(x)', 'integrations/**/*'],
},
})
| typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vitest.config.ts | integrations/vitest.config.ts | import { defineProject } from 'vitest/config'
export default defineProject({
test: {
hideSkippedTests: true,
},
})
| typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/utils.ts | integrations/utils.ts | import dedent from 'dedent'
import fastGlob from 'fast-glob'
import { exec, spawn } from 'node:child_process'
import fs from 'node:fs/promises'
import { platform, tmpdir } from 'node:os'
import path from 'node:path'
import { stripVTControlCharacters } from 'node:util'
import { RawSourceMap, SourceMapConsumer } from 'so... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/astro.test.ts | integrations/vite/astro.test.ts | import { candidate, fetchStyles, html, js, json, retryAssertion, test, ts } from '../utils'
test(
'dev mode',
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"astro": "^4.15.2",
"@tailwindcss/vite": "workspace:^",
"tailwi... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/resolvers.test.ts | integrations/vite/resolvers.test.ts | import { describe } from 'vitest'
import { candidate, css, fetchStyles, html, js, retryAssertion, test, ts, txt } from '../utils'
describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
test(
'resolves aliases in production build',
{
fs: {
'package.json': txt`
{
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/index.test.ts | integrations/vite/index.test.ts | import path from 'node:path'
import { describe } from 'vitest'
import {
candidate,
css,
fetchStyles,
html,
js,
json,
retryAssertion,
test,
ts,
txt,
yaml,
} from '../utils'
describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
test(
`production build`,
{
fs: {
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | true |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/other-transforms.test.ts | integrations/vite/other-transforms.test.ts | import dedent from 'dedent'
import { describe } from 'vitest'
import { css, fetchStyles, html, retryAssertion, test, ts, txt } from '../utils'
function createSetup(transformer: 'postcss' | 'lightningcss') {
return {
fs: {
'package.json': txt`
{
"type": "module",
"dependencies": ... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/css-modules.test.ts | integrations/vite/css-modules.test.ts | import { describe } from 'vitest'
import { css, html, test, ts, txt } from '../utils'
describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
test(
`dev mode`,
{
fs: {
'package.json': txt`
{
"type": "module",
"dependencies": {
"@tailwi... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/multi-root.test.ts | integrations/vite/multi-root.test.ts | import { candidate, css, fetchStyles, html, json, retryAssertion, test, ts } from '../utils'
test(
`production build`,
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"@tailwindcss/vite": "workspace:^",
"tailwindcss": "workspace:^"
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/qwik.test.ts | integrations/vite/qwik.test.ts | import { candidate, css, fetchStyles, json, retryAssertion, test, ts } from '../utils'
test(
'dev mode',
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"@builder.io/qwik": "^1",
"@builder.io/qwik-city": "^1",
"vite": "^5... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/html-style-blocks.test.ts | integrations/vite/html-style-blocks.test.ts | import { html, json, test, ts } from '../utils'
test(
'transforms html style blocks',
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"tailwindcss": "workspace:^"
},
"devDependencies": {
"@tailwindcss/vite": "work... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/solidstart.test.ts | integrations/vite/solidstart.test.ts | import { candidate, css, fetchStyles, js, json, retryAssertion, test, ts } from '../utils'
const WORKSPACE = {
'package.json': json`
{
"type": "module",
"dependencies": {
"@solidjs/start": "^1",
"solid-js": "^1",
"vinxi": "^0",
"@tailwindcss/vite": "workspace:^",
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/ssr.test.ts | integrations/vite/ssr.test.ts | import { candidate, css, html, json, test, ts } from '../utils'
const WORKSPACE = {
'index.html': html`
<body>
<div id="app"></div>
<script type="module" src="./src/index.ts"></script>
</body>
`,
'src/index.css': css`@import 'tailwindcss';`,
'src/index.ts': ts`
import './index.css'
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/react-router.test.ts | integrations/vite/react-router.test.ts | import { candidate, css, fetchStyles, json, retryAssertion, test, ts, txt } from '../utils'
const WORKSPACE = {
'package.json': json`
{
"type": "module",
"dependencies": {
"@react-router/dev": "^7",
"@react-router/node": "^7",
"@react-router/serve": "^7",
"@tailwindcss... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/svelte.test.ts | integrations/vite/svelte.test.ts | import { candidate, css, html, json, retryAssertion, test, ts } from '../utils'
test(
'production build',
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"svelte": "^5",
"tailwindcss": "workspace:^"
},
"devDepende... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/virtual-modules.test.ts | integrations/vite/virtual-modules.test.ts | import { candidate, css, fetchStyles, html, retryAssertion, test, ts, txt } from '../utils'
const WORKSPACE = {
'package.json': txt`
{
"type": "module",
"dependencies": {
"@tailwindcss/vite": "workspace:^",
"tailwindcss": "workspace:^"
},
"devDependencies": {... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/nuxt.test.ts | integrations/vite/nuxt.test.ts | import { candidate, css, fetchStyles, html, json, retryAssertion, test, ts } from '../utils'
const SETUP = {
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"@tailwindcss/vite": "workspace:^",
"nuxt": "3.14.0",
"nitropack": "2.11.0",
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/source-maps.test.ts | integrations/vite/source-maps.test.ts | import { candidate, css, fetchStyles, html, json, retryAssertion, test, ts } from '../utils'
test(
`dev build`,
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"@tailwindcss/vite": "workspace:^",
"tailwindcss": "workspace:^"
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/ignored-packages.test.ts | integrations/vite/ignored-packages.test.ts | import { candidate, css, fetchStyles, html, js, retryAssertion, test, ts, txt } from '../utils'
const WORKSPACE = {
fs: {
'package.json': txt`
{
"type": "module",
"dependencies": {
"tailwind-merge": "^2",
"@tailwindcss/vite": "workspace:^",
"tailwindcss": "workspace:^"
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/vue.test.ts | integrations/vite/vue.test.ts | import { stripVTControlCharacters } from 'node:util'
import { candidate, html, json, test, ts } from '../utils'
test(
'production build',
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"vue": "^3.4.37",
"tailwindcss": "workspace:^"
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/url-rewriting.test.ts | integrations/vite/url-rewriting.test.ts | import { describe } from 'vitest'
import { binary, css, html, svg, test, ts, txt } from '../utils'
const SIMPLE_IMAGE = `iVBORw0KGgoAAAANSUhEUgAAADAAAAAlAQAAAAAsYlcCAAAACklEQVR4AWMYBQABAwABRUEDtQAAAABJRU5ErkJggg==`
describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
test(
'can rewrite urls in pr... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/vite/config.test.ts | integrations/vite/config.test.ts | import { candidate, css, fetchStyles, html, js, json, retryAssertion, test, ts } from '../utils'
test(
'Config files (CJS)',
{
fs: {
'package.json': json`
{
"type": "module",
"dependencies": {
"@tailwindcss/vite": "workspace:^",
"tailwindcss": "workspac... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/upgrade/index.test.ts | integrations/upgrade/index.test.ts | import path from 'node:path'
import { isRepoDirty } from '../../packages/@tailwindcss-upgrade/src/utils/git'
import { candidate, css, html, js, json, test, ts, yaml } from '../utils'
test(
'error when no CSS file with @tailwind is used',
{
fs: {
'package.json': json`
{
"dependencies": {... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | true |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/upgrade/upgrade-errors.test.ts | integrations/upgrade/upgrade-errors.test.ts | import { stripVTControlCharacters } from 'node:util'
import { css, html, js, json, test } from '../utils'
test(
'upgrades half-upgraded v3 project to v4 (pnpm)',
{
fs: {
'package.json': json`
{
"dependencies": {
"tailwindcss": "^3",
"@tailwindcss/upgrade": "works... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/upgrade/js-config.test.ts | integrations/upgrade/js-config.test.ts | import path from 'node:path'
import { describe } from 'vitest'
import { css, html, json, test, ts } from '../utils'
test(
`upgrade JS config files with flat theme values, darkMode, and content fields`,
{
fs: {
'package.json': json`
{
"dependencies": {
"tailwindcss": "^3",
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | true |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/webpack/index.test.ts | integrations/webpack/index.test.ts | import { css, html, js, json, test } from '../utils'
test(
'webpack + PostCSS (watch)',
{
fs: {
'package.json': json`
{
"main": "./src/index.js",
"browser": "./src/index.js",
"dependencies": {
"css-loader": "^6",
"postcss": "^8",
"... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/cli/index.test.ts | integrations/cli/index.test.ts | import dedent from 'dedent'
import os from 'node:os'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { describe } from 'vitest'
import { candidate, css, html, js, json, retryAssertion, test, ts, txt, yaml } from '../utils'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
con... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | true |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/cli/plugins.test.ts | integrations/cli/plugins.test.ts | import { candidate, css, html, json, test } from '../utils'
test(
'builds the `@tailwindcss/typography` plugin utilities',
{
fs: {
'package.json': json`
{
"dependencies": {
"@tailwindcss/typography": "^0.5.14",
"tailwindcss": "workspace:^",
"@tailwind... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/cli/standalone.test.ts | integrations/cli/standalone.test.ts | import os from 'node:os'
import path from 'node:path'
import { candidate, css, html, js, json, test, ts } from '../utils'
const STANDALONE_BINARY = (() => {
switch (os.platform()) {
case 'win32':
return 'tailwindcss-windows-x64.exe'
case 'darwin':
return os.arch() === 'x64' ? 'tailwindcss-macos-x... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/cli/config.test.ts | integrations/cli/config.test.ts | import { candidate, css, html, js, json, test, ts } from '../utils'
test(
'Config files (CJS)',
{
fs: {
'package.json': json`
{
"dependencies": {
"tailwindcss": "workspace:^",
"@tailwindcss/cli": "workspace:^"
}
}
`,
'index.html': ht... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/index.test.ts | integrations/postcss/index.test.ts | import path from 'node:path'
import { candidate, css, html, js, json, test, ts, yaml } from '../utils'
test(
'production build (string)',
{
fs: {
'package.json': json`{}`,
'pnpm-workspace.yaml': yaml`
#
packages:
- project-a
`,
'project-a/package.json': json`
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/source.test.ts | integrations/postcss/source.test.ts | import dedent from 'dedent'
import path from 'node:path'
import { candidate, css, html, js, json, test, yaml } from '../utils'
test(
'auto source detection kitchen sink',
{
fs: {
'package.json': json`
{
"dependencies": {
"postcss": "^8",
"postcss-cli": "^10",
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/core-as-postcss-plugin.test.ts | integrations/postcss/core-as-postcss-plugin.test.ts | import { describe } from 'vitest'
import { css, js, json, test } from '../utils'
const variantConfig = {
string: {
'postcss.config.js': js`
module.exports = {
plugins: {
tailwindcss: {},
},
}
`,
},
ESM: {
'postcss.config.mjs': js`
import tailwindcss from 't... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/plugins.test.ts | integrations/postcss/plugins.test.ts | import { candidate, css, html, js, json, test } from '../utils'
test(
'builds the `@headlessui/tailwindcss` plugin utilities (CJS)',
{
fs: {
'package.json': json`
{
"type": "commonjs",
"dependencies": {
"postcss": "^8",
"postcss-cli": "^10",
... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/multi-root.test.ts | integrations/postcss/multi-root.test.ts | import { candidate, css, html, js, json, test } from '../utils'
test(
'production build',
{
fs: {
'package.json': json`
{
"dependencies": {
"postcss": "^8",
"postcss-cli": "^10",
"tailwindcss": "workspace:^",
"@tailwindcss/postcss": "works... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/next.test.ts | integrations/postcss/next.test.ts | import { describe } from 'vitest'
import { candidate, css, fetchStyles, js, json, jsx, retryAssertion, test, txt } from '../utils'
test(
'production build',
{
fs: {
'package.json': json`
{
"dependencies": {
"react": "^18",
"react-dom": "^18",
"next": ... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/url-rewriting.test.ts | integrations/postcss/url-rewriting.test.ts | import { css, js, json, test } from '../utils'
test(
'can rewrite urls in production builds',
{
fs: {
'package.json': json`
{
"dependencies": {
"postcss": "^8",
"postcss-cli": "^10",
"tailwindcss": "workspace:^",
"@tailwindcss/postcss": "w... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/postcss/config.test.ts | integrations/postcss/config.test.ts | import { candidate, css, html, js, json, test } from '../utils'
test(
'Config files (CJS)',
{
fs: {
'package.json': json`
{
"dependencies": {
"postcss": "^8",
"postcss-cli": "^10",
"tailwindcss": "workspace:^",
"@tailwindcss/postcss": "wor... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
tailwindlabs/tailwindcss | https://github.com/tailwindlabs/tailwindcss/blob/9720692edac4b8045b3646b26e47ad7b97a37cbf/integrations/oxide/wasm.test.ts | integrations/oxide/wasm.test.ts | import { css, js, json, test } from '../utils'
// This test runs the wasm build using the `node:wasi` runtime.
//
// There are currently a known problems that the Node WASI preview implementation does not properly
// handle FS reads on macOS and it does not implement all APIs on Windows. Because of that, this
// test ... | typescript | MIT | 9720692edac4b8045b3646b26e47ad7b97a37cbf | 2026-01-04T15:25:31.821134Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.