Skip to content

Commit

Permalink
chore(azure-func): upgrade @azure/functions to 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ziacik committed Sep 30, 2023
1 parent 6256361 commit 4a206c1
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 47 deletions.
82 changes: 41 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion packages/azure-func/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.2] - 2023-09-30

### Changed

- Upgraded @azure/functions to 4.0.1.

## [1.1.1] - 2023-09-26

### Changed
Expand Down Expand Up @@ -61,7 +67,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `serve` now watches the project for changes.

[unreleased]: https://github.com/ziacik/nx-tools/compare/azure-func-1.1.1...HEAD
[unreleased]: https://github.com/ziacik/nx-tools/compare/azure-func-1.1.2...HEAD
[1.1.1]: https://github.com/ziacik/nx-tools/compare/azure-func-1.1.1...azure-func-1.1.2
[1.1.1]: https://github.com/ziacik/nx-tools/compare/azure-func-1.1.0...azure-func-1.1.1
[1.1.0]: https://github.com/ziacik/nx-tools/compare/azure-func-1.0.0...azure-func-1.1.0
[1.0.0]: https://github.com/ziacik/nx-tools/compare/azure-func-0.3.1...azure-func-1.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/azure-func/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To publish the application to azure:

## Prerequisites

For generating, there are not prerequisites.
For generating, there are no prerequisites.

For `serve`, a `func` cli has to be installed:

Expand Down
11 changes: 11 additions & 0 deletions packages/azure-func/migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"packageJsonUpdates": {
"1.1.2": {
"version": "1.1.1",
"packages": {
"@azure/functions": "^4.0.1",
"alwaysAddToPackageJson": false
}
}
}
}
7 changes: 5 additions & 2 deletions packages/azure-func/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ziacik/azure-func",
"version": "1.1.1",
"version": "1.1.2",
"dependencies": {
"@nx/devkit": "16.9.1",
"@nx/js": "16.9.1",
Expand All @@ -20,5 +20,8 @@
"directory": "packages/azure-func"
},
"license": "MIT",
"executors": "./executors.json"
"executors": "./executors.json",
"nx-migrations": {
"migrations": "./migrations.json"
}
}
5 changes: 5 additions & 0 deletions packages/azure-func/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
"input": "./packages/azure-func",
"glob": "executors.json",
"output": "."
},
{
"input": "./packages/azure-func",
"glob": "migrations.json",
"output": "."
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('application generator', () => {
const packageJson = readJson(tree, 'package.json');
expect(packageJson).toMatchObject({
dependencies: {
'@azure/functions': '^4.0.0-alpha.13',
'@azure/functions': '^4.0.1',
},
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function addProjectDependencies(tree: Tree): GeneratorCallback {
return addDependenciesToPackageJson(
tree,
{
'@azure/functions': '^4.0.0-alpha.13',
'@azure/functions': '^4.0.1',
},
{}
);
Expand Down

0 comments on commit 4a206c1

Please sign in to comment.