Skip to content

Commit 59cec46

Browse files
Merge pull request #166 from Jefiozie/fix/monorepostructure
test: added a lot tests around the monorepo structure
2 parents 312d6d6 + 5260a6a commit 59cec46

File tree

14 files changed

+450
-100
lines changed

14 files changed

+450
-100
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nestjs/azure-func-http",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "Nest - modern, fast, powerful node.js web framework (@azure-func-http)",
55
"author": "Kamil Mysliwiec",
66
"license": "MIT",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = function (options) {
2+
return {
3+
...options,
4+
entry: __dirname + '/src/main/index.ts',
5+
output: {
6+
libraryTarget: 'commonjs2',
7+
filename: '<%= rootDir %>/main/index.js'
8+
},
9+
};
10+
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

schematics/install/files/project/__rootDir__/main/function.json renamed to schematics/install/files/project/__sourceRoot__/main/function.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
"name": "res"
1414
}
1515
],
16-
"scriptFile": "../dist/main/index.js"
16+
"scriptFile": "../../../../dist/<%= getRootDirectory() %>/main/index.js"
1717
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)