Skip to content

Commit ffc4e87

Browse files
committed
fix: simplify project by removing schemas and primitive types
1 parent 25b05a4 commit ffc4e87

File tree

7 files changed

+3
-150
lines changed

7 files changed

+3
-150
lines changed

.husky/pre-push

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
# Build and run all tests except the schema test (which requires special configuration)
5-
echo "Running build and simplified test command..."
6-
yarn build && yarn lint
7-
8-
# Schema tests are temporarily disabled
9-
echo "Skipping schema tests (will be addressed in future updates)"
4+
yarn build && yarn test

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,9 @@
200200
]
201201
},
202202
"test:json-schema": {
203-
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
203+
"command": "echo \"No schemas directory found, skipping schema comparison.\"",
204204
"files": [
205-
"src/**/*.ts",
206-
"schemas"
205+
"src/**/*.ts"
207206
],
208207
"output": []
209208
},

schemas/orchestrator-app.json

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

schemas/orchestrator-template.json

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

schemas/schema.json

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

src/index.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,4 @@
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
77

8-
// Import primitive types
9-
import './primitive-types.js';
10-
11-
// These named exports are required for the OCLIF schema generator
12-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
13-
export const string: any = String;
14-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
15-
export const number: any = Number;
16-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
17-
export const boolean: any = Boolean;
18-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
19-
export const object: any = Object;
20-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
21-
export const array: any = Array;
22-
23-
// Main export
248
export default {};

src/primitive-types.d.ts

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

0 commit comments

Comments
 (0)