Skip to content

Commit 94592d4

Browse files
committed
fix: missing schema file for ng-add
1 parent 27232ee commit 94592d4

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

projects/ngxpert/input-otp/schematics/ng-add/package-config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/**
2-
* @license
3-
* Copyright Google LLC All Rights Reserved.
4-
*
5-
* Use of this source code is governed by an MIT-style license that can be
6-
* found in the LICENSE file at https://angular.dev/license
7-
*/
8-
91
import { Tree } from '@angular-devkit/schematics';
102

113
interface PackageJson {
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
3+
"$id": "input-otp-ng-add",
4+
"title": "Input OTP ng-add",
5+
"type": "object",
6+
"properties": {
7+
"project": {
8+
"type": "string",
9+
"description": "The name of the project.",
10+
"$default": {
11+
"$source": "projectName"
12+
}
13+
}
14+
},
15+
"required": []
16+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export interface Schema {
2+
/** Name of the project to target. */
3+
project: string;
4+
}

0 commit comments

Comments
 (0)