@provino/dialect-vitest 0.0.0-stage → 0.1.0-rc.1

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,10 @@
1
+ // src/each/title-truncate.ts
2
+ /**
3
+ * How many characters of a value Vitest keeps in a `.each` title (`taskTitleValueFormatTruncate`,
4
+ * 40 by default). A behaviour function takes no policy, so `formatEachTitle` holds this number
5
+ * itself, and `vitestPolicy.core.eachTitleTruncate` is the same constant.
6
+ * @public
7
+ */
8
+ const VITEST_EACH_TITLE_TRUNCATE = 40;
9
+
10
+ export { VITEST_EACH_TITLE_TRUNCATE as t };
package/package.json CHANGED
@@ -1,6 +1,52 @@
1
1
  {
2
2
  "name": "@provino/dialect-vitest",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0-rc.1",
4
+ "description": "Provino's Vitest 5.0 dialect: Vitest's policy values, hoisting rules and title formatting. Not wired into a run yet: `provino vitest` is not available.",
5
+ "homepage": "https://github.com/pixel-perfect-software/provino#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/pixel-perfect-software/provino/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/pixel-perfect-software/provino.git",
12
+ "directory": "packages/dialect-vitest"
13
+ },
14
+ "license": "MIT",
15
+ "type": "module",
16
+ "sideEffects": false,
17
+ "exports": {
18
+ ".": {
19
+ "provino-source": "./src/index.ts",
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ },
23
+ "./node": {
24
+ "provino-source": "./src/node/index.ts",
25
+ "types": "./dist/node/index.d.ts",
26
+ "import": "./dist/node/index.js"
27
+ },
28
+ "./runtime": {
29
+ "provino-source": "./src/runtime/index.ts",
30
+ "types": "./dist/runtime/index.d.ts",
31
+ "import": "./dist/runtime/index.js"
32
+ }
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "THIRD_PARTY_NOTICES.md"
37
+ ],
38
+ "engines": {
39
+ "node": "^22.15.0 || >=24"
40
+ },
41
+ "dependencies": {
42
+ "@provino/policy": "0.1.0-rc.1",
43
+ "@provino/types": "0.1.0-rc.1"
44
+ },
45
+ "devDependencies": {
46
+ "vitest": "5.0.5"
47
+ },
48
+ "scripts": {
49
+ "build": "tsdown --config ../../tooling/packaging/tsdown.config.ts",
50
+ "test": "node --test --conditions=provino-source \"src/**/*.test.ts\""
51
+ }
6
52
  }