Skip to content

Commit

Permalink
Merge branch 'master' into noOverwrite1128-monorepo&filters
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Jul 31, 2024
2 parents 5fea3a7 + ef865ad commit 4a1f332
Show file tree
Hide file tree
Showing 9 changed files with 1,494 additions and 3,999 deletions.
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"linked": [],
"access": "public",
"baseBranch": "master",
"ignore": ["@asyncapi/nunjucks-filters"],
"updateInternalDependencies": "patch",
"privatePackages": {
"version": true,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build Image
uses: docker/build-push-action@v4
with:
context: './apps/generator'
context: "{{defaultContext}}:apps/generator"
push: true
load: false
build-args: |
Expand Down
12 changes: 12 additions & 0 deletions apps/generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @asyncapi/generator

## 2.1.3

### Patch Changes

- 93fb8e8: Updated the method for importing the Nunjucks filter dependency

## 2.1.2

### Patch Changes

- a3e93ef: update the git context for the docker versioning.

## 2.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/generator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG ASYNCAPI_GENERATOR_VERSION=1.10.9

FROM node:14-alpine
FROM node:18-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion apps/generator/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
moduleNameMapper: {
'^nimma/legacy$': '<rootDir>../../node_modules/nimma/dist/legacy/cjs/index.js',
'^nimma/(.*)': '<rootDir>../../node_modules/nimma/dist/cjs/$1',
'^nunjucks-filters$': path.resolve(__dirname, '../nunjucks-filters'),
'^@asyncapi/nunjucks-filters$': path.resolve(__dirname, '../nunjucks-filters'),
},
};
2 changes: 1 addition & 1 deletion apps/generator/lib/filtersRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const fs = require('fs');
const xfs = require('fs.extra');
const { isAsyncFunction } = require('./utils');
const nunjucksFilters = require('nunjucks-filters');
const nunjucksFilters = require('@asyncapi/nunjucks-filters');

/**
* Registers all template filters.
Expand Down
4 changes: 2 additions & 2 deletions apps/generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/generator",
"version": "2.1.1",
"version": "2.1.3",
"description": "The AsyncAPI generator. It can generate documentation, code, anything!",
"main": "./lib/generator.js",
"bin": {
Expand Down Expand Up @@ -74,7 +74,7 @@
"source-map-support": "^0.5.19",
"ts-node": "^10.9.1",
"typescript": "^4.9.3",
"nunjucks-filters": "file:../nunjucks-filters"
"@asyncapi/nunjucks-filters": "*"
},
"devDependencies": {
"eslint": "^6.8.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/generator/test/test-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"moduleNameMapper": {
"^nimma/legacy$": "<rootDir>/../../../../node_modules/nimma/dist/legacy/cjs/index.js",
"^nimma/(.*)": "<rootDir>/../../../../node_modules/nimma/dist/cjs/$1",
"^nunjucks-filters$": "<rootDir>/../../../nunjucks-filters"
"^@asyncapi/nunjucks-filters$": "<rootDir>/../../../nunjucks-filters"
}
}
}
Loading

0 comments on commit 4a1f332

Please sign in to comment.