@vibe-validate/config 0.10.3 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +100 -166
- package/dist/index.d.ts +17 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -37
- package/dist/loader.d.ts +6 -46
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +30 -133
- package/dist/schema.d.ts +168 -160
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +41 -51
- package/package.json +9 -10
- package/vibe-validate.schema.json +23 -61
- package/LICENSE +0 -21
- package/dist/define-config.d.ts +0 -49
- package/dist/define-config.d.ts.map +0 -1
- package/dist/define-config.js +0 -72
- package/dist/presets/index.d.ts +0 -27
- package/dist/presets/index.d.ts.map +0 -1
- package/dist/presets/index.js +0 -36
- package/dist/presets/typescript-library.d.ts +0 -9
- package/dist/presets/typescript-library.d.ts.map +0 -1
- package/dist/presets/typescript-library.js +0 -67
- package/dist/presets/typescript-nodejs.d.ts +0 -9
- package/dist/presets/typescript-nodejs.d.ts.map +0 -1
- package/dist/presets/typescript-nodejs.js +0 -64
- package/dist/presets/typescript-react.d.ts +0 -9
- package/dist/presets/typescript-react.d.ts.map +0 -1
- package/dist/presets/typescript-react.js +0 -73
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Preset: TypeScript Node.js Application
|
|
3
|
-
*
|
|
4
|
-
* Preset for Node.js applications with TypeScript.
|
|
5
|
-
* Includes type checking, linting, unit/integration tests, and build validation.
|
|
6
|
-
*/
|
|
7
|
-
import { GIT_DEFAULTS } from '../constants.js';
|
|
8
|
-
export const typescriptNodejsPreset = {
|
|
9
|
-
preset: 'typescript-nodejs',
|
|
10
|
-
validation: {
|
|
11
|
-
phases: [
|
|
12
|
-
{
|
|
13
|
-
name: 'Phase 1: Pre-Qualification + Build',
|
|
14
|
-
parallel: true,
|
|
15
|
-
failFast: true,
|
|
16
|
-
steps: [
|
|
17
|
-
{
|
|
18
|
-
name: 'TypeScript type checking',
|
|
19
|
-
command: 'tsc --noEmit',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: 'ESLint code checking',
|
|
23
|
-
command: 'eslint .',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'Build',
|
|
27
|
-
command: 'npm run build',
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: 'Phase 2: Testing',
|
|
33
|
-
parallel: true,
|
|
34
|
-
dependsOn: ['Phase 1: Pre-Qualification + Build'],
|
|
35
|
-
steps: [
|
|
36
|
-
{
|
|
37
|
-
name: 'Unit tests',
|
|
38
|
-
command: 'npm run test:unit',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
name: 'Integration tests',
|
|
42
|
-
command: 'npm run test:integration',
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
caching: {
|
|
48
|
-
strategy: 'git-tree-hash',
|
|
49
|
-
enabled: true,
|
|
50
|
-
statePath: '.vibe-validate-state.yaml',
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
git: {
|
|
54
|
-
mainBranch: GIT_DEFAULTS.MAIN_BRANCH,
|
|
55
|
-
remoteOrigin: GIT_DEFAULTS.REMOTE_ORIGIN,
|
|
56
|
-
autoSync: GIT_DEFAULTS.AUTO_SYNC,
|
|
57
|
-
warnIfBehind: GIT_DEFAULTS.WARN_IF_BEHIND,
|
|
58
|
-
},
|
|
59
|
-
output: {
|
|
60
|
-
showProgress: true,
|
|
61
|
-
verbose: false,
|
|
62
|
-
noColor: false,
|
|
63
|
-
},
|
|
64
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Preset: TypeScript React Application
|
|
3
|
-
*
|
|
4
|
-
* Preset for React applications with TypeScript.
|
|
5
|
-
* Includes type checking, linting, component tests, and build validation.
|
|
6
|
-
*/
|
|
7
|
-
import type { VibeValidateConfig } from '../schema.js';
|
|
8
|
-
export declare const typescriptReactPreset: VibeValidateConfig;
|
|
9
|
-
//# sourceMappingURL=typescript-react.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-react.d.ts","sourceRoot":"","sources":["../../src/presets/typescript-react.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGvD,eAAO,MAAM,qBAAqB,EAoE7B,kBAAkB,CAAC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Preset: TypeScript React Application
|
|
3
|
-
*
|
|
4
|
-
* Preset for React applications with TypeScript.
|
|
5
|
-
* Includes type checking, linting, component tests, and build validation.
|
|
6
|
-
*/
|
|
7
|
-
import { GIT_DEFAULTS } from '../constants.js';
|
|
8
|
-
export const typescriptReactPreset = {
|
|
9
|
-
preset: 'typescript-react',
|
|
10
|
-
validation: {
|
|
11
|
-
phases: [
|
|
12
|
-
{
|
|
13
|
-
name: 'Phase 1: Pre-Qualification',
|
|
14
|
-
parallel: true,
|
|
15
|
-
failFast: true,
|
|
16
|
-
steps: [
|
|
17
|
-
{
|
|
18
|
-
name: 'TypeScript type checking',
|
|
19
|
-
command: 'tsc --noEmit',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: 'ESLint code checking',
|
|
23
|
-
command: 'eslint .',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
name: 'Phase 2: Testing',
|
|
29
|
-
parallel: true,
|
|
30
|
-
dependsOn: ['Phase 1: Pre-Qualification'],
|
|
31
|
-
steps: [
|
|
32
|
-
{
|
|
33
|
-
name: 'Unit tests',
|
|
34
|
-
command: 'npm run test:unit',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
name: 'Component tests',
|
|
38
|
-
command: 'npm run test:components',
|
|
39
|
-
continueOnError: true, // Optional if component tests are in progress
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
name: 'Phase 3: Build',
|
|
45
|
-
parallel: false,
|
|
46
|
-
dependsOn: ['Phase 2: Testing'],
|
|
47
|
-
steps: [
|
|
48
|
-
{
|
|
49
|
-
name: 'Production build',
|
|
50
|
-
command: 'npm run build',
|
|
51
|
-
timeout: 600000, // 10 minutes for React builds
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
caching: {
|
|
57
|
-
strategy: 'git-tree-hash',
|
|
58
|
-
enabled: true,
|
|
59
|
-
statePath: '.vibe-validate-state.yaml',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
git: {
|
|
63
|
-
mainBranch: GIT_DEFAULTS.MAIN_BRANCH,
|
|
64
|
-
remoteOrigin: GIT_DEFAULTS.REMOTE_ORIGIN,
|
|
65
|
-
autoSync: GIT_DEFAULTS.AUTO_SYNC,
|
|
66
|
-
warnIfBehind: GIT_DEFAULTS.WARN_IF_BEHIND,
|
|
67
|
-
},
|
|
68
|
-
output: {
|
|
69
|
-
showProgress: true,
|
|
70
|
-
verbose: false,
|
|
71
|
-
noColor: false,
|
|
72
|
-
},
|
|
73
|
-
};
|