@regardio/dev 0.9.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/LICENSE +9 -0
- package/README.md +416 -0
- package/dist/bin/exec-clean.d.ts +3 -0
- package/dist/bin/exec-clean.d.ts.map +1 -0
- package/dist/bin/exec-clean.js +18 -0
- package/dist/bin/exec-husky.d.ts +3 -0
- package/dist/bin/exec-husky.d.ts.map +1 -0
- package/dist/bin/exec-husky.js +8 -0
- package/dist/bin/exec-p.d.ts +3 -0
- package/dist/bin/exec-p.d.ts.map +1 -0
- package/dist/bin/exec-p.js +8 -0
- package/dist/bin/exec-s.d.ts +3 -0
- package/dist/bin/exec-s.d.ts.map +1 -0
- package/dist/bin/exec-s.js +8 -0
- package/dist/bin/exec-ts.d.ts +3 -0
- package/dist/bin/exec-ts.d.ts.map +1 -0
- package/dist/bin/exec-ts.js +28 -0
- package/dist/bin/exec-tsc.d.ts +3 -0
- package/dist/bin/exec-tsc.d.ts.map +1 -0
- package/dist/bin/exec-tsc.js +8 -0
- package/dist/bin/flow-branch.d.ts +3 -0
- package/dist/bin/flow-branch.d.ts.map +1 -0
- package/dist/bin/flow-branch.js +27 -0
- package/dist/bin/flow-version.d.ts +3 -0
- package/dist/bin/flow-version.d.ts.map +1 -0
- package/dist/bin/flow-version.js +83 -0
- package/dist/bin/lint-biome.d.ts +3 -0
- package/dist/bin/lint-biome.d.ts.map +1 -0
- package/dist/bin/lint-biome.js +8 -0
- package/dist/bin/lint-commit.d.ts +3 -0
- package/dist/bin/lint-commit.d.ts.map +1 -0
- package/dist/bin/lint-commit.js +8 -0
- package/dist/bin/lint-md.d.ts +3 -0
- package/dist/bin/lint-md.d.ts.map +1 -0
- package/dist/bin/lint-md.js +10 -0
- package/dist/config.test.d.ts +2 -0
- package/dist/config.test.d.ts.map +1 -0
- package/dist/config.test.js +101 -0
- package/dist/playwright/index.d.ts +10 -0
- package/dist/playwright/index.d.ts.map +1 -0
- package/dist/playwright/index.js +42 -0
- package/dist/playwright/index.test.d.ts +2 -0
- package/dist/playwright/index.test.d.ts.map +1 -0
- package/dist/playwright/index.test.js +55 -0
- package/dist/testing/setup-react.d.ts +2 -0
- package/dist/testing/setup-react.d.ts.map +1 -0
- package/dist/testing/setup-react.js +1 -0
- package/dist/vitest/node.d.ts +3 -0
- package/dist/vitest/node.d.ts.map +1 -0
- package/dist/vitest/node.js +6 -0
- package/dist/vitest/react.d.ts +3 -0
- package/dist/vitest/react.d.ts.map +1 -0
- package/dist/vitest/react.js +7 -0
- package/package.json +104 -0
- package/src/bin/exec-clean.ts +24 -0
- package/src/bin/exec-husky.ts +13 -0
- package/src/bin/exec-p.ts +13 -0
- package/src/bin/exec-s.ts +13 -0
- package/src/bin/exec-ts.ts +39 -0
- package/src/bin/exec-tsc.ts +13 -0
- package/src/bin/lint-biome.ts +13 -0
- package/src/bin/lint-commit.ts +13 -0
- package/src/bin/lint-md.ts +16 -0
- package/src/biome/preset.json +297 -0
- package/src/commitlint/commitlint.cjs +26 -0
- package/src/config.test.ts +129 -0
- package/src/markdownlint/markdownlint.json +9 -0
- package/src/playwright/index.test.ts +73 -0
- package/src/playwright/index.ts +63 -0
- package/src/testing/setup-react.ts +8 -0
- package/src/typescript/base.json +50 -0
- package/src/typescript/build.json +19 -0
- package/src/typescript/react.json +8 -0
- package/src/vitest/node.ts +12 -0
- package/src/vitest/react.ts +15 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://www.schemastore.org/tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": false,
|
|
5
|
+
"allowSyntheticDefaultImports": true,
|
|
6
|
+
"allowUnreachableCode": false,
|
|
7
|
+
"allowUnusedLabels": false,
|
|
8
|
+
"alwaysStrict": true,
|
|
9
|
+
"checkJs": false,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"exactOptionalPropertyTypes": false,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"incremental": false,
|
|
14
|
+
"inlineSources": false,
|
|
15
|
+
"isolatedDeclarations": false,
|
|
16
|
+
"isolatedModules": true,
|
|
17
|
+
"module": "ESNext",
|
|
18
|
+
"moduleDetection": "force",
|
|
19
|
+
"moduleResolution": "Bundler",
|
|
20
|
+
"noEmit": true,
|
|
21
|
+
"noErrorTruncation": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noImplicitAny": true,
|
|
24
|
+
"noImplicitOverride": true,
|
|
25
|
+
"noImplicitReturns": true,
|
|
26
|
+
"noImplicitThis": true,
|
|
27
|
+
"noPropertyAccessFromIndexSignature": false,
|
|
28
|
+
"noUncheckedIndexedAccess": true,
|
|
29
|
+
"noUncheckedSideEffectImports": true,
|
|
30
|
+
"noUnusedLocals": true,
|
|
31
|
+
"noUnusedParameters": true,
|
|
32
|
+
"resolveJsonModule": true,
|
|
33
|
+
"resolvePackageJsonExports": true,
|
|
34
|
+
"resolvePackageJsonImports": true,
|
|
35
|
+
"skipLibCheck": true,
|
|
36
|
+
"sourceMap": true,
|
|
37
|
+
"strict": true,
|
|
38
|
+
"strictBindCallApply": true,
|
|
39
|
+
"strictBuiltinIteratorReturn": true,
|
|
40
|
+
"strictFunctionTypes": true,
|
|
41
|
+
"strictNullChecks": true,
|
|
42
|
+
"strictPropertyInitialization": true,
|
|
43
|
+
"target": "ES2022",
|
|
44
|
+
"types": ["@total-typescript/ts-reset", "@types/node"],
|
|
45
|
+
"useDefineForClassFields": true,
|
|
46
|
+
"useUnknownInCatchVariables": true,
|
|
47
|
+
"verbatimModuleSyntax": true
|
|
48
|
+
},
|
|
49
|
+
"exclude": [".turbo", "build", "coverage", "dist", "node_modules"]
|
|
50
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://www.schemastore.org/tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"declarationMap": true,
|
|
6
|
+
"noEmit": false,
|
|
7
|
+
"preserveWatchOutput": true,
|
|
8
|
+
"removeComments": true,
|
|
9
|
+
"sourceMap": false
|
|
10
|
+
},
|
|
11
|
+
"exclude": [
|
|
12
|
+
"dist/**/*",
|
|
13
|
+
"src/**/*.spec.ts",
|
|
14
|
+
"src/**/*.spec.tsx",
|
|
15
|
+
"src/**/*.test.ts",
|
|
16
|
+
"src/**/*.test.tsx",
|
|
17
|
+
"tests/**/*"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TestUserConfig } from 'vitest/node';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Base Vitest configuration for Node.js packages.
|
|
5
|
+
* Use with defineConfig() in your vitest.config.ts
|
|
6
|
+
*/
|
|
7
|
+
export const vitestNodeConfig: TestUserConfig = {
|
|
8
|
+
environment: 'node',
|
|
9
|
+
exclude: ['node_modules', 'dist', 'build', '.turbo', '.react-router'],
|
|
10
|
+
globals: true,
|
|
11
|
+
include: ['**/*.test.ts', '**/*.test.tsx'],
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TestUserConfig } from 'vitest/node';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Vitest configuration for React packages with jsdom environment.
|
|
5
|
+
* Use with defineConfig() in your vitest.config.ts
|
|
6
|
+
*
|
|
7
|
+
* Requires a setup file that imports '@testing-library/jest-dom/vitest'
|
|
8
|
+
*/
|
|
9
|
+
export const vitestReactConfig: TestUserConfig = {
|
|
10
|
+
environment: 'jsdom',
|
|
11
|
+
exclude: ['node_modules', 'dist', 'build', '.turbo', '.react-router'],
|
|
12
|
+
globals: true,
|
|
13
|
+
include: ['**/*.test.ts', '**/*.test.tsx'],
|
|
14
|
+
setupFiles: ['./src/test-setup.ts'],
|
|
15
|
+
};
|