@stacksjs/faker 0.70.23 → 0.70.26

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.
@@ -0,0 +1,8 @@
1
+ import type { Faker as BaseFaker } from '@stacksjs/ts-faker';
2
+ /**
3
+ * Enhanced faker instance with improved lorem API and @faker-js/faker compatibility
4
+ */
5
+ export declare const faker: {
6
+ lorem: unknown
7
+ };
8
+ export type Faker = BaseFaker;
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@stacksjs/faker",
3
3
  "type": "module",
4
- "version": "0.70.23",
4
+ "version": "0.70.26",
5
5
  "description": "Faker functions.",
6
6
  "author": "Chris Breuer",
7
- "contributors": ["Chris Breuer <chris@stacksjs.org>"],
7
+ "contributors": [
8
+ "Chris Breuer <chris@stacksjs.com>"
9
+ ],
8
10
  "license": "MIT",
9
11
  "funding": "https://github.com/sponsors/chrisbbreuer",
10
12
  "homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/faker#readme",
@@ -16,18 +18,30 @@
16
18
  "bugs": {
17
19
  "url": "https://github.com/stacksjs/stacks/issues"
18
20
  },
19
- "keywords": ["faker", "fakerjs", "factory", "functions", "stacks"],
21
+ "keywords": [
22
+ "faker",
23
+ "fakerjs",
24
+ "factory",
25
+ "functions",
26
+ "stacks"
27
+ ],
20
28
  "exports": {
21
29
  ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "bun": "./src/index.ts",
22
32
  "import": "./dist/index.js"
23
33
  },
24
34
  "./*": {
35
+ "bun": "./src/*",
25
36
  "import": "./dist/*"
26
37
  }
27
38
  },
28
39
  "module": "dist/index.js",
29
40
  "types": "dist/index.d.ts",
30
- "files": ["README.md", "dist"],
41
+ "files": [
42
+ "README.md",
43
+ "dist"
44
+ ],
31
45
  "scripts": {
32
46
  "build": "bun build.ts",
33
47
  "typecheck": "bun tsc --noEmit",
@@ -35,9 +49,10 @@
35
49
  "prepublishOnly": "bun run build"
36
50
  },
37
51
  "devDependencies": {
38
- "@faker-js/faker": "^9.5.1",
39
- "@stacksjs/cli": "0.70.22",
40
- "@stacksjs/config": "0.70.22",
41
- "@stacksjs/development": "0.70.22"
42
- }
52
+ "@stacksjs/cli": "0.70.23",
53
+ "@stacksjs/config": "0.70.23",
54
+ "better-dx": "^0.2.12",
55
+ "@stacksjs/ts-faker": "^0.1.7"
56
+ },
57
+ "sideEffects": false
43
58
  }
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export type { Faker } from '@faker-js/faker'
2
-
3
- export { faker } from '@faker-js/faker'