@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 +6 -0
- package/Dockerfile +1 -1
- package/jest.config.js +1 -1
- package/lib/filtersRegistry.js +1 -1
- package/package.json +2 -2
- package/test/test-project/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Dockerfile
CHANGED
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
|
-
'
|
|
7
|
+
'^@asyncapi/nunjucks-filters$': path.resolve(__dirname, '../nunjucks-filters'),
|
|
8
8
|
},
|
|
9
9
|
};
|
package/lib/filtersRegistry.js
CHANGED
|
@@ -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.
|
|
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": "
|
|
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
|
-
"
|
|
22
|
+
"^@asyncapi/nunjucks-filters$": "<rootDir>/../../../nunjucks-filters"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|