@webpresso/agent-config 0.1.1 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webpresso/agent-config",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,48 +14,24 @@
14
14
  "registry": "https://registry.npmjs.org/",
15
15
  "access": "public"
16
16
  },
17
- "description": "Shared vitest, tsconfig, stryker, and workers-test config for webpresso consumers. Binary-free pure test/config tooling.",
17
+ "description": "Shared vitest, tsconfig, stryker, and workers-test config for webpresso consumers. Binary-free \u2014 pure test/config tooling.",
18
18
  "license": "Elastic-2.0",
19
19
  "type": "module",
20
20
  "sideEffects": false,
21
21
  "files": [
22
22
  "dist/esm",
23
+ "tsconfig",
23
24
  "!dist/**/*.map",
24
25
  "!dist/**/*.test.*",
25
26
  "LICENSE",
26
27
  "README.md"
27
28
  ],
28
29
  "exports": {
29
- "./tsconfig/base.json": {
30
- "import": {
31
- "types": "./dist/esm/tsconfig/base.json",
32
- "default": "./dist/esm/tsconfig/base.json"
33
- }
34
- },
35
- "./tsconfig/cloudflare.json": {
36
- "import": {
37
- "types": "./dist/esm/tsconfig/cloudflare.json",
38
- "default": "./dist/esm/tsconfig/cloudflare.json"
39
- }
40
- },
41
- "./tsconfig/library.json": {
42
- "import": {
43
- "types": "./dist/esm/tsconfig/library.json",
44
- "default": "./dist/esm/tsconfig/library.json"
45
- }
46
- },
47
- "./tsconfig/react-library.json": {
48
- "import": {
49
- "types": "./dist/esm/tsconfig/react-library.json",
50
- "default": "./dist/esm/tsconfig/react-library.json"
51
- }
52
- },
53
- "./tsconfig/react-router.json": {
54
- "import": {
55
- "types": "./dist/esm/tsconfig/react-router.json",
56
- "default": "./dist/esm/tsconfig/react-router.json"
57
- }
58
- },
30
+ "./tsconfig/base.json": "./tsconfig/base.json",
31
+ "./tsconfig/cloudflare.json": "./tsconfig/cloudflare.json",
32
+ "./tsconfig/library.json": "./tsconfig/library.json",
33
+ "./tsconfig/react-library.json": "./tsconfig/react-library.json",
34
+ "./tsconfig/react-router.json": "./tsconfig/react-router.json",
59
35
  "./vitest/node": {
60
36
  "import": {
61
37
  "types": "./dist/esm/vitest/node.d.ts",
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Base",
4
+ "compilerOptions": {
5
+ "target": "ES2024",
6
+ "lib": [
7
+ "ES2024"
8
+ ],
9
+ "module": "ESNext",
10
+ "moduleResolution": "Bundler",
11
+ "resolveJsonModule": true,
12
+ "allowImportingTsExtensions": true,
13
+ "declaration": true,
14
+ "declarationMap": true,
15
+ "sourceMap": true,
16
+ "strict": true,
17
+ "noImplicitAny": true,
18
+ "noUncheckedIndexedAccess": true,
19
+ "noEmit": true,
20
+ "esModuleInterop": true,
21
+ "skipLibCheck": true,
22
+ "forceConsistentCasingInFileNames": true,
23
+ "allowSyntheticDefaultImports": true,
24
+ "isolatedModules": true,
25
+ "verbatimModuleSyntax": true,
26
+ "types": [
27
+ "node"
28
+ ]
29
+ },
30
+ "exclude": [
31
+ "node_modules",
32
+ "dist",
33
+ "build",
34
+ ".next",
35
+ ".react-router"
36
+ ]
37
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Cloudflare Workers",
4
+ "extends": "@webpresso/agent-config/tsconfig/base.json",
5
+ "compilerOptions": {
6
+ "target": "ES2024",
7
+ "lib": ["ES2024"],
8
+ "moduleResolution": "Bundler"
9
+ }
10
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Library",
4
+ "extends": "@webpresso/agent-config/tsconfig/base.json",
5
+ "compilerOptions": {
6
+ "declaration": true,
7
+ "declarationMap": true,
8
+ "outDir": "./dist",
9
+ "rootDir": "./src",
10
+ "paths": {
11
+ "#*": ["./src/*"]
12
+ }
13
+ },
14
+ "include": ["src/**/*.ts", "src/**/*.tsx"],
15
+ "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
16
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "React Library",
4
+ "extends": "@webpresso/agent-config/tsconfig/library.json",
5
+ "compilerOptions": {
6
+ "lib": ["ES2024", "DOM", "DOM.Iterable"],
7
+ "jsx": "react-jsx",
8
+ "types": ["react", "react-dom"]
9
+ }
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "React Router v7",
4
+ "extends": "@webpresso/agent-config/tsconfig/react-library.json",
5
+ "compilerOptions": {
6
+ "lib": ["ES2024", "DOM", "DOM.Iterable"],
7
+ "jsx": "react-jsx",
8
+ "types": ["vite/client"]
9
+ }
10
+ }