@knapsack/renderer-twig 4.78.8--canary.5929.195cb32.0 → 4.78.8

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/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ # v4.78.8 (Thu Apr 10 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - design src pipeline improvements [#5929](https://github.com/knapsack-labs/app-monorepo/pull/5929) ([@mabry1985](https://github.com/mabry1985))
6
+ - KSP-6294: renderers use vitest instead of Ava ([@illepic](https://github.com/illepic))
7
+ - Merge branch 'latest' into feature/ksp-6340-design-src-pipeline-improvements ([@mabry1985](https://github.com/mabry1985))
8
+
9
+ #### 🏠 Internal
10
+
11
+ - KSP-6294: renderers use vitest instead of Ava [#5933](https://github.com/knapsack-labs/app-monorepo/pull/5933) ([@illepic](https://github.com/illepic))
12
+ - adds ability to disable knapsack support floating trigger [#5928](https://github.com/knapsack-labs/app-monorepo/pull/5928) ([@mabry1985](https://github.com/mabry1985))
13
+
14
+ #### Authors: 2
15
+
16
+ - Christopher Bloom ([@illepic](https://github.com/illepic))
17
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
18
+
19
+ ---
20
+
1
21
  # v4.78.7 (Wed Apr 09 2025)
2
22
 
3
23
  #### 🏠 Internal
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/renderer-twig",
3
3
  "description": "Render Twig",
4
- "version": "4.78.8--canary.5929.195cb32.0",
4
+ "version": "4.78.8",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "exports": {
@@ -20,23 +20,22 @@
20
20
  "clean": "rm -rf dist",
21
21
  "lint": "eslint ./src --quiet",
22
22
  "start": "yarn build --watch",
23
- "test": "time ava"
23
+ "test": "vitest run --typecheck.enabled"
24
24
  },
25
25
  "author": "Knapsack (https://www.knapsack.cloud)",
26
26
  "dependencies": {
27
27
  "@basalt/twig-renderer": "^3.2.4",
28
- "@knapsack/app": "4.78.8--canary.5929.195cb32.0",
29
- "@knapsack/file-utils": "4.78.8--canary.5929.195cb32.0",
30
- "@knapsack/types": "4.78.8--canary.5929.195cb32.0",
28
+ "@knapsack/app": "4.78.8",
29
+ "@knapsack/file-utils": "4.78.8",
30
+ "@knapsack/types": "4.78.8",
31
31
  "ejs": "^3.1.10"
32
32
  },
33
33
  "devDependencies": {
34
- "@knapsack/eslint-config-starter": "4.78.8--canary.5929.195cb32.0",
35
- "@knapsack/test-ava": "4.78.8--canary.5929.195cb32.0",
36
- "@knapsack/typescript-config-starter": "4.78.8--canary.5929.195cb32.0",
37
- "ava": "^6.2.0",
34
+ "@knapsack/eslint-config-starter": "4.78.8",
35
+ "@knapsack/typescript-config-starter": "4.78.8",
38
36
  "eslint": "^8.57.0",
39
- "typescript": "^5.7.3"
37
+ "typescript": "^5.7.3",
38
+ "vitest": "^3.1.1"
40
39
  },
41
40
  "publishConfig": {
42
41
  "access": "public"
@@ -46,5 +45,5 @@
46
45
  "directory": "apps/client/renderers/renderer-twig",
47
46
  "type": "git"
48
47
  },
49
- "gitHead": "195cb32aab748b519655e2bc0159ccadcf2e4014"
48
+ "gitHead": "f8e263c7d4993fc416ae7396b31ac0a2781e0916"
50
49
  }
@@ -0,0 +1,17 @@
1
+ import { defineConfig } from 'vitest/config';
2
+
3
+ // https://vitest.dev/config/
4
+ export default defineConfig({
5
+ test: {
6
+ // Include both .ts and .mts files for tests
7
+ include: ['tests/**/*.{vtest,vitest}.{ts,tsx,mts,mtsx}'],
8
+ includeSource: ['src/**/*.{ts,tsx,mts,mtsx}'],
9
+ setupFiles: ['./vitest.setup.mts'],
10
+ coverage: {
11
+ enabled: true,
12
+ reporter: ['text'],
13
+ include: ['src/**/*.{ts,tsx,mts,mtsx}'],
14
+ exclude: ['./src/test-fixtures/**', './src/index.ts'],
15
+ },
16
+ },
17
+ });
@@ -0,0 +1,2 @@
1
+ // this is here for the vs code extension to work, it runs tests from the root of repo, but tests need to run from pkg directory
2
+ process.chdir(import.meta.dirname);
package/ava.config.cjs DELETED
@@ -1,3 +0,0 @@
1
- const config = require('@knapsack/test-ava');
2
-
3
- module.exports = config;