Skip to content

Commit

Permalink
Merge pull request #422 from ottofeller/add-telemetry-options-to-all-…
Browse files Browse the repository at this point in the history
…templates

Add telemetry to options to all projects
  • Loading branch information
gvidon authored Nov 11, 2023
2 parents fd4baeb + ea388d8 commit 1b1041f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions src/apollo-server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {AssetFile} from '../common/files/AssetFile'
import {WithGitHooks, addHusky, extendGitignore} from '../common/git'
import {PullRequestTest, WithDefaultWorkflow} from '../common/github'
import {WithCustomLintPaths, addLinters} from '../common/lint'
import {IWithTelemetryReportUrl, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {IWithTelemetryReportUrl, WithTelemetry, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {addVsCode} from '../common/vscode-settings'
import {sampleCode} from './sample-code'

Expand All @@ -17,7 +17,8 @@ export interface OttofellerApolloServerProjectOptions
WithDocker,
WithDefaultWorkflow,
WithCustomLintPaths,
WithGitHooks {}
WithGitHooks,
WithTelemetry {}

/**
* Apollo server template.
Expand Down
5 changes: 3 additions & 2 deletions src/cdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import {NodePackageManager} from 'projen/lib/javascript'
import {WithGitHooks, addHusky, extendGitignore} from '../common/git'
import {PullRequestTest, ReleaseWorkflow, WithDefaultWorkflow} from '../common/github'
import {WithCustomLintPaths, addLinters} from '../common/lint'
import {IWithTelemetryReportUrl, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {IWithTelemetryReportUrl, WithTelemetry, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {addVsCode} from '../common/vscode-settings'

export interface OttofellerCDKProjectOptions
extends AwsCdkTypeScriptAppOptions,
WithDefaultWorkflow,
WithCustomLintPaths,
WithGitHooks {
WithGitHooks,
WithTelemetry {
/**
* The base version of the very first release.
*
Expand Down
5 changes: 3 additions & 2 deletions src/playwright/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {NodePackageManager} from 'projen/lib/javascript'
import {TypeScriptProject, TypeScriptProjectOptions} from 'projen/lib/typescript'
import {WithDefaultWorkflow, WithDocker, WithGitHooks} from '../common'
import {WithCustomLintPaths, addLinters} from '../common/lint'
import {IWithTelemetryReportUrl, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {IWithTelemetryReportUrl, WithTelemetry, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {PlaywrightWorkflowTest} from './github'
import {sampleCode} from './sample-code'

Expand All @@ -14,7 +14,8 @@ export interface OttofellerPlaywrightProjectOptions
WithDocker,
WithDefaultWorkflow,
WithCustomLintPaths,
WithGitHooks {}
WithGitHooks,
WithTelemetry {}
/**
* Playwright template with TypeScript support.
*
Expand Down
5 changes: 3 additions & 2 deletions src/sst/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ import {TypeScriptAppProject, TypeScriptProjectOptions} from 'projen/lib/typescr
import {WithGitHooks, addHusky, extendGitignore} from '../common/git'
import {PullRequestTest, ReleaseWorkflow, WithDefaultWorkflow} from '../common/github'
import {WithCustomLintPaths, addLinters} from '../common/lint'
import {IWithTelemetryReportUrl, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {IWithTelemetryReportUrl, WithTelemetry, collectTelemetry, setupTelemetry} from '../common/telemetry'
import {addVsCode} from '../common/vscode-settings'

export interface OttofellerSSTProjectOptions
extends TypeScriptProjectOptions,
WithDefaultWorkflow,
WithCustomLintPaths,
WithGitHooks {
WithGitHooks,
WithTelemetry {
/**
* The base version of the very first release.
*
Expand Down

0 comments on commit 1b1041f

Please sign in to comment.