@knapsack/renderer-twig 4.79.0--canary.5786.bed70a8.0 → 4.79.0--canary.5939.a9dbb35.0

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,61 @@
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
+
21
+ # v4.78.7 (Wed Apr 09 2025)
22
+
23
+ #### 🏠 Internal
24
+
25
+ - Github webhook deletes only on PR merge KSP-3609 [#5875](https://github.com/knapsack-labs/app-monorepo/pull/5875) ([@freneticpixel](https://github.com/freneticpixel))
26
+
27
+ #### Authors: 1
28
+
29
+ - Jim Frenette ([@freneticpixel](https://github.com/freneticpixel))
30
+
31
+ ---
32
+
33
+ # v4.78.5 (Thu Mar 27 2025)
34
+
35
+ #### 🏠 Internal
36
+
37
+ - prevent new or deleted launch darkly flags from causing error [#5855](https://github.com/knapsack-labs/app-monorepo/pull/5855) ([@mabry1985](https://github.com/mabry1985))
38
+
39
+ #### Authors: 1
40
+
41
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
42
+
43
+ ---
44
+
45
+ # v4.78.3 (Wed Mar 26 2025)
46
+
47
+ #### 🐛 Bug Fix
48
+
49
+ - strictNullChecks: @knapsack/update [#5788](https://github.com/knapsack-labs/app-monorepo/pull/5788) ([@illepic](https://github.com/illepic))
50
+ - Merge branch 'latest' into docs/supported-browsers ([@mabry1985](https://github.com/mabry1985))
51
+
52
+ #### Authors: 2
53
+
54
+ - Christopher Bloom ([@illepic](https://github.com/illepic))
55
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
56
+
57
+ ---
58
+
1
59
  # v4.78.2 (Mon Mar 24 2025)
2
60
 
3
61
  #### 🏠 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.79.0--canary.5786.bed70a8.0",
4
+ "version": "4.79.0--canary.5939.a9dbb35.0",
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.79.0--canary.5786.bed70a8.0",
29
- "@knapsack/file-utils": "4.79.0--canary.5786.bed70a8.0",
30
- "@knapsack/types": "4.79.0--canary.5786.bed70a8.0",
28
+ "@knapsack/app": "4.79.0--canary.5939.a9dbb35.0",
29
+ "@knapsack/file-utils": "4.79.0--canary.5939.a9dbb35.0",
30
+ "@knapsack/types": "4.79.0--canary.5939.a9dbb35.0",
31
31
  "ejs": "^3.1.10"
32
32
  },
33
33
  "devDependencies": {
34
- "@knapsack/eslint-config-starter": "4.79.0--canary.5786.bed70a8.0",
35
- "@knapsack/test-ava": "4.79.0--canary.5786.bed70a8.0",
36
- "@knapsack/typescript-config-starter": "4.79.0--canary.5786.bed70a8.0",
37
- "ava": "^6.2.0",
34
+ "@knapsack/eslint-config-starter": "4.79.0--canary.5939.a9dbb35.0",
35
+ "@knapsack/typescript-config-starter": "4.79.0--canary.5939.a9dbb35.0",
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": "bed70a8fc3307d2d7e4128f8bf82b415fa586877"
48
+ "gitHead": "a9dbb35418f28eb25e2059c2436a0a929d7aeaf3"
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;