Skip to content

Commit 11d4407

Browse files
committed
chore: create variations package
1 parent c07f6f5 commit 11d4407

File tree

8 files changed

+61
-2
lines changed

8 files changed

+61
-2
lines changed

packages/variations/package.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "@wluwd/variations",
3+
"description": "",
4+
"version": "0.1.0",
5+
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/wluwd/toolkit.git",
9+
"directory": "packages/variations"
10+
},
11+
"funding": "https://github.com/sponsors/wluwd",
12+
"author": {
13+
"name": "Raul Macarie",
14+
"email": "npm@macarie.email",
15+
"url": "https://macarie.me"
16+
},
17+
"type": "module",
18+
"exports": {
19+
".": {
20+
"import": "./source/@variations.ts",
21+
"types": "./source/@variations.ts"
22+
}
23+
},
24+
"sideEffects": false,
25+
"engines": {
26+
"node": ">=20"
27+
},
28+
"scripts": {
29+
"build": "rolldown -c ../../rolldown.config.ts",
30+
"check.types": "tsc"
31+
},
32+
"files": [
33+
"dist"
34+
]
35+
}

packages/variations/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# @wluwd/variations

packages/variations/source/@variations.ts

Whitespace-only changes.

packages/variations/tsconfig.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"types": [],
5+
},
6+
"include": ["source"],
7+
}

pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ We publish **what works**. Packages land here once they’ve demonstrated reliab
2121

2222
Currently included:
2323

24-
N/A
24+
- **[@wluwd/variations](./packages/variations)** - Generate cartesian product variations of object properties for exhaustive testing and configuration matrices
2525

2626
## Installation
2727

release-please-config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@
2626

2727
"plugins": ["node-workspace"],
2828

29-
"packages": {}
29+
"packages": {
30+
"packages/variations": {}
31+
}
3032
}

vitest.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,17 @@ export default defineConfig({
44
test: {
55
passWithNoTests: true,
66
silent: "passed-only",
7+
projects: [
8+
{
9+
root: "packages/variations",
10+
test: {
11+
name: "variations",
12+
typecheck: {
13+
enabled: true,
14+
tsconfig: "tsconfig.json",
15+
},
16+
},
17+
},
18+
],
719
},
820
});

0 commit comments

Comments
 (0)