Skip to content

Commit 26b13e1

Browse files
committed
chore: remove detector
1 parent 99c6bab commit 26b13e1

File tree

4 files changed

+0
-112
lines changed

4 files changed

+0
-112
lines changed

turbo/generators/config.ts

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -85,50 +85,4 @@ export default function generator(plop: PlopTypes.NodePlopAPI): void {
8585
},
8686
],
8787
});
88-
89-
// Detector/Plugin Package Generator
90-
plop.setGenerator('detector', {
91-
description: 'Create a new detector or plugin package',
92-
prompts: [
93-
{
94-
type: 'input',
95-
name: 'name',
96-
message:
97-
"What is the name of the detector/plugin? (e.g., 'browser-detector', 'web-common')",
98-
},
99-
{
100-
type: 'input',
101-
name: 'description',
102-
message: 'What is the package description?',
103-
},
104-
{
105-
type: 'list',
106-
name: 'type',
107-
message: 'What type of package is this?',
108-
choices: ['detector', 'plugin', 'utility'],
109-
},
110-
],
111-
actions: [
112-
{
113-
type: 'add',
114-
path: 'packages/{{kebabCase name}}/package.json',
115-
templateFile: 'templates/detector/package.json.hbs',
116-
},
117-
{
118-
type: 'add',
119-
path: 'packages/{{kebabCase name}}/src/index.ts',
120-
templateFile: 'templates/detector/index.ts.hbs',
121-
},
122-
{
123-
type: 'add',
124-
path: 'packages/{{kebabCase name}}/tsconfig.json',
125-
templateFile: 'templates/shared/tsconfig.json.hbs',
126-
},
127-
{
128-
type: 'add',
129-
path: 'packages/{{kebabCase name}}/README.md',
130-
templateFile: 'templates/detector/README.md.hbs',
131-
},
132-
],
133-
});
13488
}

turbo/generators/templates/detector/README.md.hbs

Lines changed: 0 additions & 19 deletions
This file was deleted.

turbo/generators/templates/detector/index.ts.hbs

Lines changed: 0 additions & 7 deletions
This file was deleted.

turbo/generators/templates/detector/package.json.hbs

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)