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 |
|---|---|---|---|---|---|---|---|---|
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/env.d.ts | starters/vue3-apollo-quasar/src/env.d.ts | /* eslint-disable */
declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: string;
VUE_ROUTER_MODE: 'hash' | 'history' | 'abstract' | undefined;
VUE_ROUTER_BASE: string | undefined;
}
}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/components/index.ts | starters/vue3-apollo-quasar/src/components/index.ts | export * from './NumberCounter';
export * from './FetchExample';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/components/FetchExample/index.ts | starters/vue3-apollo-quasar/src/components/FetchExample/index.ts | export { default as FetchExample } from './FetchExample.vue';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/components/NumberCounter/index.ts | starters/vue3-apollo-quasar/src/components/NumberCounter/index.ts | export { default as NumberCounter } from './NumberCounter.vue';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/router/routes.ts | starters/vue3-apollo-quasar/src/router/routes.ts | import { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
path: '/',
component: () => import('layouts/MainLayout.vue'),
children: [
{ path: '', component: () => import('pages/IndexPage.vue') },
{ path: 'counter', component: () => import('pages/CounterExample.vue') },
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/router/index.ts | starters/vue3-apollo-quasar/src/router/index.ts | import { route } from 'quasar/wrappers';
import {
createMemoryHistory,
createRouter,
createWebHashHistory,
createWebHistory,
} from 'vue-router';
import routes from './routes';
/*
* If not building with SSR mode, you can
* directly export the Router instantiation;
*
* The function below can be async too; ... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/init/setupGraphQL.ts | starters/vue3-apollo-quasar/src/init/setupGraphQL.ts | import {
ApolloClient,
createHttpLink,
InMemoryCache,
} from '@apollo/client/core';
import {
provideApolloClient,
} from '@vue/apollo-composable';
import { setContext } from '@apollo/client/link/context';
import fetch from 'cross-fetch';
import { counter } from '../globals/counter';
// HTTP connection to the... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/src/init/index.ts | starters/vue3-apollo-quasar/src/init/index.ts | /*
This file is simply meant to be an aggregator of all init functions.
This file does not implement any logic of its own and simply serves the purpose of importing functions and exporting them out together so that they can be loaded from one file.
*/
export { setupGraphQL } from './setupGraphQL';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/tests/unit/FetchExample.spec.ts | starters/vue3-apollo-quasar/tests/unit/FetchExample.spec.ts | import { mount } from '@vue/test-utils';
import { reactive } from 'vue';
import { FetchExample } from '../../src/components/FetchExample';
const data = reactive({
result: {
value: {
hello: 'Hello, vue3-apollo-quasar starter.dev!',
},
},
loading: false,
});
jest.mock('@vue/apollo-composable', () =>... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/vue3-apollo-quasar/tests/unit/NumberCounter.spec.ts | starters/vue3-apollo-quasar/tests/unit/NumberCounter.spec.ts | import { mount } from '@vue/test-utils';
import { reactive } from 'vue';
import { NumberCounter } from '../../src/components';
import { counter } from '../../src/globals/counter';
jest.useFakeTimers();
const data = reactive({
result: {
value: {
count: counter(),
},
},
loading: false,
});
jest.moc... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/playwright.config.ts | starters/lit-mobx-vaadin/playwright.config.ts | import { defineConfig, devices } from '@playwright/test';
/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: './tests',
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
for... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/stories/types.ts | starters/lit-mobx-vaadin/stories/types.ts | import { TemplateResult } from "lit";
export type Story<T> = {
(args: T): TemplateResult;
args?: Partial<T>;
argTypes?: Record<string, unknown>;
} | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/stories/components/error-message/error-message.stories.ts | starters/lit-mobx-vaadin/stories/components/error-message/error-message.stories.ts | import { html } from 'lit';
import '../../../src/components/error-message/error-message.js';
import { Story } from '../../types.js';
export default {
title: 'Error message',
component: 'td-error-message',
argTypes: {
message: {
table: {
type: { summary: 'string' },
defaultValue: { summary: '' },
},... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/stories/components/counter/counter.stories.ts | starters/lit-mobx-vaadin/stories/components/counter/counter.stories.ts | import { html } from 'lit';
import '../../../src/components/counter/counter.js';
import { Story } from '../../types.js';
export default {
title: 'Counter',
component: 'td-counter',
argTypes: {},
};
interface ArgTypes {
title?: string;
}
const Template: Story<ArgTypes> = () => html`<td-counter></td-counter>`;
e... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/stories/components/greeting/greeting.stories.ts | starters/lit-mobx-vaadin/stories/components/greeting/greeting.stories.ts | import { html } from 'lit';
import '../../../src/components/greeting/greeting.js';
import { Story } from '../../types.js';
export default {
title: 'Greeting',
component: 'td-greeting',
argTypes: {
message: {
table: {
type: { summary: 'string' },
defaultValue: { summary: '' },
},
control: 'text',... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/router.ts | starters/lit-mobx-vaadin/src/router.ts | import { Route, Router } from '@vaadin/router';
import './pages/counter/counter.js';
import './pages/greeting/greeting.js';
import './pages/home/home.js';
import './pages/starter-layout.js';
const routes: Route[] = [
{
path: '',
component: 'starter-layout',
children: [
{
path: '',
component: 'starte... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/state.spec.ts | starters/lit-mobx-vaadin/src/state.spec.ts | import { expect } from '@open-wc/testing';
import { StarterState, starterState } from './state.js';
describe('state', () => {
describe('count', () => {
it('initial state', async () => {
const state = new StarterState();
expect(state.count).to.equal(0);
});
it('incrementCount', async () => {
const stat... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/state.ts | starters/lit-mobx-vaadin/src/state.ts | import { makeAutoObservable } from 'mobx';
export class StarterState {
count = 0;
greetingMessage = '';
constructor() {
makeAutoObservable(this);
}
incrementCount() {
this.count += 1;
}
decrementCount() {
this.count -= 1;
}
resetCount() {
this.count = 0;
}
setGreetingMessage(greetingMessage: s... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/styles/theme.ts | starters/lit-mobx-vaadin/src/styles/theme.ts | import { css } from 'lit';
export const theme = css`
:host {
--td-background-color: #ededed;
--td-primary-color: #1d4ed8;
--td-primary-contrast-color: #ededed;
--td-text-color: #1d1d1d;
--td-link-color: var(--td-primary-color);
--td-link-focus-color: #1e50c3;
--td-link-visited-color: #4623eb;
--td-err... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/pages/starter-layout.ts | starters/lit-mobx-vaadin/src/pages/starter-layout.ts | import { LitElement, html } from 'lit';
import { customElement } from 'lit/decorators.js';
import '@vaadin/app-layout';
@customElement('starter-layout')
export class StarterLayout extends LitElement {
render() {
return html`
<vaadin-app-layout>
<slot></slot>
</vaadin-app-layout>
`;
}
}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/pages/page.mixin.ts | starters/lit-mobx-vaadin/src/pages/page.mixin.ts | import { LitElement, css } from 'lit';
type Constructor<T> = new (...args: any[]) => T;
export const PageMixin = <T extends Constructor<LitElement>>(superClass: T) =>
class extends superClass {
static styles = [
css`
ul {
padding: 0;
list-style: none;
}
li {
margin: 10px 0;
font... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/pages/starter-app.ts | starters/lit-mobx-vaadin/src/pages/starter-app.ts | import { LitElement, html } from 'lit';
import { customElement, query } from 'lit/decorators.js';
import { router } from '../router.js';
import { theme } from '../styles/theme.js';
@customElement('starter-app')
export class StarterApp extends LitElement {
@query('#outlet', true) private outlet!: HTMLDivElement;
sta... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/pages/home/home.ts | starters/lit-mobx-vaadin/src/pages/home/home.ts | import { LitElement, html } from 'lit';
import { customElement } from 'lit/decorators.js';
import { PageMixin } from '../page.mixin.js';
import '../../components/vaadin-vertical-layout/vaadin-vertical-layout.js';
@customElement('starter-home')
export class StarterHome extends PageMixin(LitElement) {
render() {
ret... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/pages/counter/counter.ts | starters/lit-mobx-vaadin/src/pages/counter/counter.ts | import { html, LitElement } from 'lit';
import { customElement } from 'lit/decorators.js';
import { PageMixin } from '../page.mixin.js';
import { starterState } from '../../state.js';
import '../../components/counter/counter.js';
import '../../components/vaadin-vertical-layout/vaadin-vertical-layout.js';
@customEleme... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/pages/greeting/greeting.ts | starters/lit-mobx-vaadin/src/pages/greeting/greeting.ts | import { MobxLitElement } from '@adobe/lit-mobx';
import { html, PropertyValueMap } from 'lit';
import { customElement, state } from 'lit/decorators.js';
import { BeforeEnterObserver, RouterLocation } from '@vaadin/router';
import { fetchMessage } from '../../api/fetch.js';
import { starterState } from '../../state.js'... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/vaadin-vertical-layout/vaadin-vertical-layout-styles.ts | starters/lit-mobx-vaadin/src/components/vaadin-vertical-layout/vaadin-vertical-layout-styles.ts | import '@vaadin/vertical-layout/theme/lumo/vaadin-vertical-layout-styles.js';
import {
css,
registerStyles,
} from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
const verticalLayout = css`
:host([theme~='center']) {
align-items: center;
text-align: center;
}
`;
registerStyles('vaadin-vertical-lay... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/vaadin-vertical-layout/vaadin-vertical-layout.ts | starters/lit-mobx-vaadin/src/components/vaadin-vertical-layout/vaadin-vertical-layout.ts | import './vaadin-vertical-layout-styles.js';
export * from '@vaadin/vertical-layout/src/vaadin-vertical-layout.js';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/error-message/error-message.spec.ts | starters/lit-mobx-vaadin/src/components/error-message/error-message.spec.ts | import { expect, fixture, html } from '@open-wc/testing';
import './error-message.js';
import type { ErrorMessage } from './error-message.js';
describe('ErrorMessage', () => {
it('shows message if prop is set', async () => {
const msg = 'Oops. Error.';
const el: ErrorMessage = await fixture(html`
<td-error-me... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/error-message/error-message.ts | starters/lit-mobx-vaadin/src/components/error-message/error-message.ts | import { LitElement, css, html } from 'lit';
import { customElement, property } from 'lit/decorators.js';
@customElement('td-error-message')
export class ErrorMessage extends LitElement {
@property({ type: String }) message = '';
static styles = [
css`
:host {
display: block;
background: var(--td-error... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/vaadin-horizontal-layout/vaadin-horizontal-layout.ts | starters/lit-mobx-vaadin/src/components/vaadin-horizontal-layout/vaadin-horizontal-layout.ts | import './vaadin-horizontal-layout-styles.js';
export * from '@vaadin/horizontal-layout/src/vaadin-horizontal-layout.js';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/vaadin-horizontal-layout/vaadin-horizontal-layout-styles.ts | starters/lit-mobx-vaadin/src/components/vaadin-horizontal-layout/vaadin-horizontal-layout-styles.ts | import '@vaadin/horizontal-layout/theme/lumo/vaadin-horizontal-layout-styles.js';
import {
css,
registerStyles,
} from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
const horizontalLayout = css`
:host([theme~='center']) {
align-items: center;
text-align: center;
}
:host([theme~='wrap']) {
flex-... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/vaadin-button/vaadin-button-styles.ts | starters/lit-mobx-vaadin/src/components/vaadin-button/vaadin-button-styles.ts | import '@vaadin/button/theme/lumo/vaadin-button-styles.js';
import {
css,
registerStyles,
} from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
const button = css`
:host([theme~='primary']) {
background-color: var(--td-primary-color, #1d4ed8);
color: var(--td-primary-contrast-color, #ededed);
}
`;
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/vaadin-button/vaadin-button.ts | starters/lit-mobx-vaadin/src/components/vaadin-button/vaadin-button.ts | import './vaadin-button-styles.js';
export * from '@vaadin/button/src/vaadin-button.js';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/counter/counter.spec.ts | starters/lit-mobx-vaadin/src/components/counter/counter.spec.ts | import { elementUpdated, expect, fixture, html } from '@open-wc/testing';
import { starterState } from '../../state.js';
import './counter.js';
import type { Counter } from './counter.js';
describe('Counter', () => {
beforeEach(() => {
starterState.count = 0;
});
it('has required elements 3 buttons and 1 span',... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/counter/counter.ts | starters/lit-mobx-vaadin/src/components/counter/counter.ts | import { MobxLitElement } from '@adobe/lit-mobx';
import { css, html } from 'lit';
import { customElement } from 'lit/decorators.js';
import { starterState } from '../../state.js';
import '../vaadin-button/vaadin-button.js';
import '../vaadin-horizontal-layout/vaadin-horizontal-layout.js';
@customElement('td-counter'... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/greeting/greeting.spec.ts | starters/lit-mobx-vaadin/src/components/greeting/greeting.spec.ts | import { expect, fixture, html } from '@open-wc/testing';
import './greeting.js';
import type { Greeting } from './greeting.js';
describe('Greeting', () => {
it('defaults to loading state', async () => {
const el: Greeting = await fixture(html` <td-greeting></td-greeting> `);
expect(el.shadowRoot?.querySelector... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/components/greeting/greeting.ts | starters/lit-mobx-vaadin/src/components/greeting/greeting.ts | import { LitElement, css, html } from 'lit';
import { customElement, property } from 'lit/decorators.js';
@customElement('td-greeting')
export class Greeting extends LitElement {
@property({ type: String }) message = '';
static styles = [
css`
:host {
display: block;
}
.loader {
min-width: 300px... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/src/api/fetch.ts | starters/lit-mobx-vaadin/src/api/fetch.ts | const FETCH_API_URL = 'https://api.starter.dev/.netlify/functions/server/hello';
export function fetchMessage(greeting: string): Promise<string> {
const url = new URL(FETCH_API_URL);
url.searchParams.append('greeting', greeting);
return fetch(url).then(
response => response.text(),
);
}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/tests/pages/home/home.spec.ts | starters/lit-mobx-vaadin/tests/pages/home/home.spec.ts | import { expect, test } from '@playwright/test';
test.beforeEach(async ({ page }) => {
await page.goto('http://localhost:8000/');
});
test('has title', async ({ page }) => {
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle('Lit-Mobx-Vaadin starter.dev');
await expect(page.getByRole('hea... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/tests/pages/counter/counter.spec.ts | starters/lit-mobx-vaadin/tests/pages/counter/counter.spec.ts | import { expect, test } from '@playwright/test';
test.beforeEach(async ({ page }) => {
await page.goto('http://localhost:8000/counter');
});
test('be able to increment', async ({ page }) => {
await page.getByRole('button', { name: 'Increment' }).click();
await expect(page.getByText('Count: 1')).toBeVisible();
});... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/lit-mobx-vaadin/tests/pages/greeting/greeting.spec.ts | starters/lit-mobx-vaadin/tests/pages/greeting/greeting.spec.ts | import { expect, test } from '@playwright/test';
test.beforeEach(async ({ page }) => {
await page.goto('http://localhost:8000/greet');
});
test('be able to fetch', async ({ page }) => {
await expect(
page.getByText('Message: Hello, lit-mobx-vaadin starter.dev!'),
).toBeVisible();
});
test('accepts query param t... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/.storybook/typings.d.ts | starters/angular-ngrx-scss/.storybook/typings.d.ts | declare module '*.md' {
const content: string;
export default content;
}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/test.ts | starters/angular-ngrx-scss/src/test.ts | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
// First, initialize t... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/polyfills.ts | starters/angular-ngrx-scss/src/polyfills.ts | /**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files imported... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/main.ts | starters/angular-ngrx-scss/src/main.ts | import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic()
.bootstrap... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/app.component.ts | starters/angular-ngrx-scss/src/app/app.component.ts | import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
})
export class AppComponent {}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/app.module.ts | starters/angular-ngrx-scss/src/app/app.module.ts | import { BrowserModule } from '@angular/platform-browser';
import { EffectsModule } from '@ngrx/effects';
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import { StoreModule } from '@ngrx/store';
import { Ap... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/app-routing.module.ts | starters/angular-ngrx-scss/src/app/app-routing.module.ts | import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { CounterExampleComponent } from './counter-example/counter-example.component';
import { FetchExampleComponent } from './fetch-example/fetch-example.component';
import { HomeComponent } from './home/home.component';... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/reducers.ts | starters/angular-ngrx-scss/src/app/state/reducers.ts | import { ActionReducerMap, MetaReducer } from '@ngrx/store';
import { environment } from '../../environments/environment';
import { counterReducer, CounterState } from './count/count.reducer';
import { GreetingState, greetingReducer } from './greeting/greeting.reducer';
export interface State {
count: CounterState;
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/count/count.reducer.spec.ts | starters/angular-ngrx-scss/src/app/state/count/count.reducer.spec.ts | import { TestBed } from '@angular/core/testing';
import { MockStore, provideMockStore } from '@ngrx/store/testing';
import { decrementCount, incrementCount, resetCount } from './count.actions';
import { counterReducer, CounterState } from './count.reducer';
const initialState: CounterState = { count: 10 };
describe('... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/count/count.reducer.ts | starters/angular-ngrx-scss/src/app/state/count/count.reducer.ts | import { createReducer, on } from '@ngrx/store';
import { decrementCount, incrementCount, resetCount } from './count.actions';
export const countFeatureKey = 'count';
export interface CounterState {
count: number;
}
export const initialState: CounterState = { count: 0 };
export const counterReducer = createReduce... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/count/count.selectors.ts | starters/angular-ngrx-scss/src/app/state/count/count.selectors.ts | import { createFeatureSelector, createSelector } from '@ngrx/store';
import { CounterState } from './count.reducer';
export const getCountState = createFeatureSelector<CounterState>('count');
export const getCount = createSelector(getCountState, (state: CounterState) => state.count);
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/count/count.actions.ts | starters/angular-ngrx-scss/src/app/state/count/count.actions.ts | import { createAction } from '@ngrx/store';
export const incrementCount = createAction('[Counter Example] Increment Counter');
export const decrementCount = createAction('[Counter Example] Decrement Counter');
export const resetCount = createAction('[Counter Example] Reset Counter');
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/greeting/greeting.selectors.ts | starters/angular-ngrx-scss/src/app/state/greeting/greeting.selectors.ts | import { createFeatureSelector, createSelector } from '@ngrx/store';
import { GreetingState } from './greeting.reducer';
export const getGreetingState = createFeatureSelector<GreetingState>('greeting');
export const greetingMessage = createSelector(getGreetingState, (state: GreetingState) => state?.message);
export ... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/greeting/greeting.effects.ts | starters/angular-ngrx-scss/src/app/state/greeting/greeting.effects.ts | import { Injectable } from '@angular/core';
import { catchError, map, of, switchMap } from 'rxjs';
import { Actions, createEffect, ofType } from '@ngrx/effects';
import { getGreeting, getGreetingFailure, getGreetingSuccess } from './greeting.actions';
import { FetchExampleService } from 'src/app/fetch-example/fetch-ex... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/greeting/greeting.effects.spec.ts | starters/angular-ngrx-scss/src/app/state/greeting/greeting.effects.spec.ts | import { HttpClientTestingModule } from '@angular/common/http/testing';
import { TestBed } from '@angular/core/testing';
import { provideMockActions } from '@ngrx/effects/testing';
import { Action } from '@ngrx/store';
import { Observable, of } from 'rxjs';
import { FetchExampleService } from '../../fetch-example/fetch... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/greeting/greeting.actions.ts | starters/angular-ngrx-scss/src/app/state/greeting/greeting.actions.ts | import { createAction, props } from '@ngrx/store';
export const getGreeting = createAction('[Greeting API] Get Greeting', props<{ greeting?: string }>());
export const getGreetingSuccess = createAction('[Greeting API] Get Greeting Success', props<{ message: string }>());
export const getGreetingFailure = createActio... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/greeting/greeting.reducer.spec.ts | starters/angular-ngrx-scss/src/app/state/greeting/greeting.reducer.spec.ts | import { greetingReducer, initialState } from './greeting.reducer';
import { getGreeting, getGreetingFailure, getGreetingSuccess } from './greeting.actions';
describe('Greeting Reducer', () => {
describe('getGreeting action', () => {
it('should set isLoading to true when the action is triggered', () => {
c... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/state/greeting/greeting.reducer.ts | starters/angular-ngrx-scss/src/app/state/greeting/greeting.reducer.ts | import { createReducer, on } from '@ngrx/store';
import { getGreeting, getGreetingFailure, getGreetingSuccess } from './greeting.actions';
export const greetingFeatureKey = 'greeting';
export interface GreetingState {
message: string;
error: string;
isLoading: boolean;
}
export const initialState: GreetingStat... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.component.ts | starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.component.ts | import { Component, OnInit } from '@angular/core';
import { Store } from '@ngrx/store';
import { getGreeting } from '../state/greeting/greeting.actions';
import { greetingMessage, loadingStatus, errorMessage } from '../state/greeting/greeting.selectors';
@Component({
selector: 'app-fetch-example',
templateUrl: './... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.service.spec.ts | starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.service.spec.ts | import { HttpClient } from '@angular/common/http';
import { of } from 'rxjs';
import { FetchExampleService } from './fetch-example.service';
describe('FetchExampleService', () => {
let httpClientSpy: jasmine.SpyObj<HttpClient>;
let fetchService: FetchExampleService;
beforeEach(() => {
httpClientSpy = jasmin... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.stories.ts | starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.stories.ts | import { Store, StoreModule } from '@ngrx/store';
import type { Meta, StoryObj } from '@storybook/angular';
import { applicationConfig, moduleMetadata } from '@storybook/angular';
import { of } from 'rxjs';
import { greetingReducer } from '../state/greeting/greeting.reducer';
import { FetchExampleComponent } from './fe... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.service.ts | starters/angular-ngrx-scss/src/app/fetch-example/fetch-example.service.ts | import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { catchError, map, Observable } from 'rxjs';
@Injectable({
providedIn: 'root',
})
export class FetchExampleService {
fetchMessage(greeting?: string): Observable<string> {
return this.http
.get(`https://a... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/fetch-example/loader/loader.component.ts | starters/angular-ngrx-scss/src/app/fetch-example/loader/loader.component.ts | import { Component } from '@angular/core';
@Component({
selector: 'app-loader',
templateUrl: './loader.component.html',
styleUrls: ['./loader.component.scss'],
})
export class LoaderComponent {}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/home/home.component.ts | starters/angular-ngrx-scss/src/app/home/home.component.ts | import { Component } from '@angular/core';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss'],
})
export class HomeComponent {}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/home/home.component.spec.ts | starters/angular-ngrx-scss/src/app/home/home.component.spec.ts | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HomeComponent } from './home.component';
describe('HomeComponent', () => {
let component: HomeComponent;
let fixture: ComponentFixture<HomeComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declaratio... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/counter-example/counter-example.component.spec.ts | starters/angular-ngrx-scss/src/app/counter-example/counter-example.component.spec.ts | import { By } from '@angular/platform-browser';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DebugElement } from '@angular/core';
import { MockStore, provideMockStore } from '@ngrx/store/testing';
import { CounterExampleComponent } from './counter-example.component';
import { StarterButt... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/counter-example/counter-example.component.ts | starters/angular-ngrx-scss/src/app/counter-example/counter-example.component.ts | import { ChangeDetectionStrategy, Component, OnDestroy } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs';
import { decrementCount, incrementCount, resetCount } from '../state/count/count.actions';
import { getCount } from '../state/count/count.selectors';
@Component({
sel... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/counter-example/counter-example.stories.ts | starters/angular-ngrx-scss/src/app/counter-example/counter-example.stories.ts | // also exported from '@storybook/angular' if you can deal with breaking changes in 6.1
import { APP_BASE_HREF } from '@angular/common';
import { CounterExampleComponent } from './counter-example.component';
import { StarterButtonComponent } from './starter-button/starter-button.component';
import type { Meta, StoryObj... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/counter-example/starter-button/starter-button.stories.ts | starters/angular-ngrx-scss/src/app/counter-example/starter-button/starter-button.stories.ts | import { StarterButtonComponent } from './starter-button.component';
import type { Meta, StoryObj } from '@storybook/angular';
// More on default export: https://storybook.js.org/docs/angular/writing-stories/introduction#default-export
const meta: Meta<StarterButtonComponent> = {
title: 'Example/Button',
componen... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/app/counter-example/starter-button/starter-button.component.ts | starters/angular-ngrx-scss/src/app/counter-example/starter-button/starter-button.component.ts | import { Component, Input, Output, EventEmitter } from '@angular/core';
@Component({
selector: 'starter-button',
template: ` <button
type="button"
(click)="onClick.emit($event)"
[ngClass]="classes"
[ngStyle]="{ 'background-color': backgroundColor }"
>
{{ label }}
</button>`,
styleUrls: ['... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/environments/environment.ts | starters/angular-ngrx-scss/src/environments/environment.ts | // This file can be replaced during build by using the `fileReplacements` array.
// `ng build` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
};
/*
* For easier debugging in development mode, you... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/angular-ngrx-scss/src/environments/environment.prod.ts | starters/angular-ngrx-scss/src/environments/environment.prod.ts | export const environment = {
production: true,
};
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/create-starter/src/utils.ts | packages/create-starter/src/utils.ts | import path from 'path';
import fs from 'fs/promises';
import { exec } from 'child_process';
export async function fileExists(path: string) {
try {
await fs.stat(path);
return true;
} catch (error) {
if (error.code === 'ENOENT') {
return false;
} else {
throw error;
}
}
}
export ... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/create-starter/src/metrics.ts | packages/create-starter/src/metrics.ts | import fetch from "node-fetch";
// TODO: #790 hit the deployed endpoint
// This is the production metircs-tracker url. For the development url please use the development url for dev work:
// const METRICS_TRACK_URL = 'https://05a78mw2c1.execute-api.us-east-1.amazonaws.com/track'; // <-- dev url
const METRICS_TRACK_UR... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/create-starter/src/index.ts | packages/create-starter/src/index.ts | import path from 'path';
import fs from 'fs/promises';
import { bold, gray, green, red, cyan } from 'kleur/colors';
import prompts, { Choice } from 'prompts';
import degit from 'tiged';
import fetch from 'node-fetch';
import yargs from 'yargs-parser';
import { initGitRepo, removeLockFileIfExists, overrideAngularJsonIfE... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/create-starter/types/global.d.ts | packages/create-starter/types/global.d.ts | declare module 'tiged';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/create-starter/types/tiged.d.ts | packages/create-starter/types/tiged.d.ts | // Type definitions for degit 2.8
// Project: https://github.com/Rich-Harris/degit#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { EventEmitter } from 'events';
declare class Degit extends EventEmitter {
con... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/config.tsx | packages/website/src/config.tsx | /* eslint-disable @typescript-eslint/no-explicit-any */
import type { ComponentType } from 'react';
import {
DiscordIcon,
NextIcon,
ReactIcon,
ReactQueryIcon,
TailwindIcon,
VanillaExtractIcon,
RemixIcon,
ApolloIcon,
ViteLogo,
SvelteIcon,
VueIcon,
AngularIcon,
ElementUIIcon,
SaaSIcon,
Graph... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/types.ts | packages/website/src/types.ts | /* eslint-disable @typescript-eslint/no-explicit-any */
export interface MarkdownHeader {
depth: number;
slug: string;
text: string;
}
export type MarkdownContent = any;
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/GraphQLIcon.tsx | packages/website/src/icons/GraphQLIcon.tsx | import { Props } from './types';
export function GraphQLIcon({ size = 48, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 46 46"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<g clipPath="url(#clip0_457_1227)">
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/PlaywrightIcon.tsx | packages/website/src/icons/PlaywrightIcon.tsx | import { Props } from './types';
export function PlaywrightIcon({ size = 800, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 256 192"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
className={className}
>
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/FacebookIcon.tsx | packages/website/src/icons/FacebookIcon.tsx | import { Props } from './types';
export function FacebookIcon(props: Props) {
return (
<svg fill="currentColor" viewBox="0 0 24 24" {...props}>
<path
fillRule="evenodd"
d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.8... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/SaaSIcon.tsx | packages/website/src/icons/SaaSIcon.tsx | import { Props } from './types';
export function SaaSIcon({ size = 48, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 47 46"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<g clipPath="url(#clip0_457_1098)">
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/SolidStartIcon.tsx | packages/website/src/icons/SolidStartIcon.tsx | import { Props } from './types';
export function SolidStartIcon({ className }: Props) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 166 155.3"
width="75%"
className={className}
>
<path
d="M163 35S110-4 69 5l-3 1c-6 2-11 5-14 9l-2 3-15 26 26 5c11 7 25 10 ... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/QwikIcon.tsx | packages/website/src/icons/QwikIcon.tsx | import { Props } from './types';
export function QwikIcon({ size = 48, className }: Props) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 518 518"
width={size}
height={size}
className={className}
>
<path
fill="#18B6F6"
d="m387.18 455.5-70.5... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/GitHubIcon.tsx | packages/website/src/icons/GitHubIcon.tsx | import { Props } from './types';
export function GitHubIcon({ size = '16', className }: Props) {
return (
<svg
height={size}
aria-hidden="true"
viewBox="0 0 16 16"
width={size}
data-view-component="true"
className={className}
>
<path
fill="currentColor"
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/SwaggerIcon.tsx | packages/website/src/icons/SwaggerIcon.tsx | import { Props } from './types';
export function SwaggerIcon({ size = 800, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 256 256"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
className={className}
>
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/heroicons.tsx | packages/website/src/icons/heroicons.tsx | export * from '@heroicons/react/outline/esm/index.js';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/ReactNavigationIcon.tsx | packages/website/src/icons/ReactNavigationIcon.tsx | import { Props } from './types';
export function ReactNavigationIcon({ size = 800, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 222.000000 227.000000"
version="1.0"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid meet"
clas... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/ViteLogo.tsx | packages/website/src/icons/ViteLogo.tsx | import { Props } from './types';
export function ViteLogo({ size = 48, className }: Props) {
return (
<svg
width={size}
viewBox="0 0 410 404"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<path
d="M399.641 59.5246L215.643 388.545C211.844 39... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/AxiosIcon.tsx | packages/website/src/icons/AxiosIcon.tsx | import { Props } from './types';
export function AxiosIcon({ size = 800, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 280.000000 280.000000"
version="1.0"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid meet"
className={cla... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/NgRxIcon.tsx | packages/website/src/icons/NgRxIcon.tsx | import { Props } from './types';
export function NgRxIcon({ size = 48, className }: Props) {
return (
<svg
height={size}
width={size}
xmlns="http://www.w3.org/2000/svg"
viewBox="44 11 911.963 978.148"
className={className}
>
<g fill="none" fillRule="evenodd">
<path... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/CssModuleIcon.tsx | packages/website/src/icons/CssModuleIcon.tsx | import { Props } from './types';
export function CSSModuleIcon({ size = 48, className }: Props) {
return (
<svg
id="svg2"
xmlns="http://www.w3.org/2000/svg"
height={size}
width={size}
viewBox="0 0 1000 1000"
className={className}
>
<g id="layer1" transform="translate... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/PrismaIcon.tsx | packages/website/src/icons/PrismaIcon.tsx | import { Props } from './types';
export function PrismaIcon({ className, size = 48 }: Props) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 32 32"
width={size}
height={size}
className={className}
>
<path
d="M25.21,24.21,12.739,27.928a.525.525,0,0,1... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/DiscordIcon.tsx | packages/website/src/icons/DiscordIcon.tsx | interface Props {
className?: string;
}
export function DiscordIcon({ className }: Props) {
return (
<svg
width="18"
height="18"
viewBox="0 0 18 18"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<g clipPath="url(#clip0_698_4021)">
<... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/RelayIcon.tsx | packages/website/src/icons/RelayIcon.tsx | import { Props } from './types';
export function RelayIcon({ size = 48, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 256 151"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
className={className}
>
<path
d="M20... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/Contentful.tsx | packages/website/src/icons/Contentful.tsx | import { Props } from './types';
export function ContentfulIcon({ className, size = 48 }: Props) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 150 150"
className={className}
width={size}
height={size}
>
<circle cx="75" cy="75" r="75" style={{ fill: '#fff'... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/EmotionIcon.tsx | packages/website/src/icons/EmotionIcon.tsx | import { Props } from './types';
export function EmotionIcon({ size = 800, className }: Props) {
return (
<svg
width={size}
height={size}
viewBox="0 0 257.000000 257.000000"
version="1.0"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid meet"
className={c... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/packages/website/src/icons/VanillaExtractIcon.tsx | packages/website/src/icons/VanillaExtractIcon.tsx | import { Props } from './types';
export function VanillaExtractIcon({ size = 48, className }: Props) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
focusable="false"
height={size}
preserveAspectRatio="xMidYMid meet"
viewBox="10 0 108 128"
className... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.