vite-plugin-twig-drupal 1.6.4 โ†’ 1.7.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.
@@ -12,6 +12,13 @@ jobs:
12
12
  vite: 7
13
13
  - node: 18
14
14
  vite: 8
15
+ include:
16
+ - node: 18
17
+ twig: 1
18
+ - node: 20
19
+ twig: 2
20
+ - node: 22
21
+ twig: 3
15
22
  runs-on: ubuntu-latest
16
23
  steps:
17
24
  - name: ๐Ÿ›‘ Cancel Previous Runs
@@ -33,6 +40,9 @@ jobs:
33
40
  - name: โšก๏ธ Setup vite
34
41
  run: npm install vite@${{ matrix.vite }}
35
42
 
43
+ - name: ๐ŸŒฑ Setup twig
44
+ run: npm install twig@${{ matrix.twig }}
45
+
36
46
  - name: ๐Ÿงน Linting
37
47
  run: npm run lint
38
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-twig-drupal",
3
- "version": "1.6.4",
3
+ "version": "1.7.0",
4
4
  "description": "Provides a โšก๏ธ Vite plugin to transform ๐ŸŒฑ Twig into HTML with a ๐Ÿ’ง Drupal flavour",
5
5
  "keywords": [
6
6
  "Vite",
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "drupal-attribute": "^1.0.2",
29
29
  "drupal-twig-extensions": "^1.0.0-beta.5",
30
- "twig": "^1.16.0"
30
+ "twig": "^1.16.0 || ^2 || ^3"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "vite": "^4.4.11 || ^5 || ^6 || ^7 || ^8"