@asyncapi/generator 2.1.2 → 2.1.3

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,5 +1,11 @@
1
1
  # @asyncapi/generator
2
2
 
3
+ ## 2.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 93fb8e8: Updated the method for importing the Nunjucks filter dependency
8
+
3
9
  ## 2.1.2
4
10
 
5
11
  ### Patch Changes
package/Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
1
  ARG ASYNCAPI_GENERATOR_VERSION=1.10.9
2
2
 
3
- FROM node:14-alpine
3
+ FROM node:18-alpine
4
4
 
5
5
  WORKDIR /app
6
6
 
package/jest.config.js CHANGED
@@ -4,6 +4,6 @@ module.exports = {
4
4
  moduleNameMapper: {
5
5
  '^nimma/legacy$': '<rootDir>../../node_modules/nimma/dist/legacy/cjs/index.js',
6
6
  '^nimma/(.*)': '<rootDir>../../node_modules/nimma/dist/cjs/$1',
7
- '^nunjucks-filters$': path.resolve(__dirname, '../nunjucks-filters'),
7
+ '^@asyncapi/nunjucks-filters$': path.resolve(__dirname, '../nunjucks-filters'),
8
8
  },
9
9
  };
@@ -2,7 +2,7 @@ const path = require('path');
2
2
  const fs = require('fs');
3
3
  const xfs = require('fs.extra');
4
4
  const { isAsyncFunction } = require('./utils');
5
- const nunjucksFilters = require('nunjucks-filters');
5
+ const nunjucksFilters = require('@asyncapi/nunjucks-filters');
6
6
 
7
7
  /**
8
8
  * Registers all template filters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asyncapi/generator",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "The AsyncAPI generator. It can generate documentation, code, anything!",
5
5
  "main": "./lib/generator.js",
6
6
  "bin": {
@@ -75,7 +75,7 @@
75
75
  "source-map-support": "^0.5.19",
76
76
  "ts-node": "^10.9.1",
77
77
  "typescript": "^4.9.3",
78
- "nunjucks-filters": "file:../nunjucks-filters"
78
+ "@asyncapi/nunjucks-filters": "*"
79
79
  },
80
80
  "devDependencies": {
81
81
  "eslint": "^6.8.0",
@@ -19,7 +19,7 @@
19
19
  "moduleNameMapper": {
20
20
  "^nimma/legacy$": "<rootDir>/../../../../node_modules/nimma/dist/legacy/cjs/index.js",
21
21
  "^nimma/(.*)": "<rootDir>/../../../../node_modules/nimma/dist/cjs/$1",
22
- "^nunjucks-filters$": "<rootDir>/../../../nunjucks-filters"
22
+ "^@asyncapi/nunjucks-filters$": "<rootDir>/../../../nunjucks-filters"
23
23
  }
24
24
  }
25
25
  }