fulls1z3 / azure-functions-typescript Goto Github PK
View Code? Open in Web Editor NEWSeed project for backend development on Azure Functions with TypeScript
License: MIT License
Seed project for backend development on Azure Functions with TypeScript
License: MIT License
I'm submitting a ... (check one with "x")
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report <!-- Please check the repository for a similar issue or PR before submitting -->
[ ] Support request => <!-- Please check the repository for a similar issue or PR before submitting -->
[x] Feature request
[ ] Documentation issue or request
Current behavior
As far as I understand, with the current Webpack configuration will need to be updated every time a new Function is created. It makes life difficult, especially when you are migrating an existing project to use this template.
Expected/desired behavior
Automatically detect functions under src
directory and bundle them invidually.
This can be achieved by adding an extra helper method to get all the directories under src
and create webpack entry
object.
To make things smooth, I used Parllel Webpack to do the bundling in parallel.
I already have such setup working in my project and I would be more than happy to share the setup if you are intersted.
4.5.2
to 4.5.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
copy-webpack-plugin is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
48bc708
chore(release): 4.5.3
5fa69db
fix(processPattern): add glob
directory context to contextDependencies
(#290)
5474889
docs: context option is a string, not array (#269)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
2.6.2
to 2.6.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rimraf is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 6 commits.
9442819
2.6.3
42fe369
autopublish scripts
21fd3df
bin test
8f1d3a1
update tap and glob for security stuff
f0bc3a1
update tap, add package-lock
692022b
travis node version updates
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I'm submitting a ...
[ ] Regression
[ ] Bug report
[X] Support request
[ ] Feature request
[ ] Documentation issue or request
Current behavior
I ran npm run build
and I got TS related errors.
ERROR in [at-loader] ../../node_modules/@babel/parser/typings/babel-parser.d.ts:11:70
TS1144: '{' or ';' expected.
ERROR in [at-loader] ../../node_modules/@babel/parser/typings/babel-parser.d.ts:16:80
TS1144: '{' or ';' expected.
ERROR in [at-loader] ../../node_modules/@babel/parser/typings/babel-parser.d.ts:11:64
TS2304: Cannot find name 'import'.
ERROR in [at-loader] ../../node_modules/@babel/parser/typings/babel-parser.d.ts:11:87
TS2339: Property 'File' does not exist on type '"@babel/types"'.
ERROR in [at-loader] ../../node_modules/@babel/parser/typings/babel-parser.d.ts:16:74
TS2304: Cannot find name 'import'.
ERROR in [at-loader] ../../node_modules/@babel/parser/typings/babel-parser.d.ts:16:97
TS2339: Property 'Expression' does not exist on type '"@babel/types"'.
ERROR in [at-loader] ../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2820:14
TS2300: Duplicate identifier 'LibraryManagedAttributes'.
ERROR in [at-loader] ../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2833:13
TS2717: Subsequent property declarations must have the same type. Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.
ERROR in [at-loader] ../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2834:13
TS2717: Subsequent property declarations must have the same type. Property 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
...
Expected/desired behavior
Running npm run build
and not having errors throwed.
Minimal reproduction of the problem with instructions
git clone https://github.com/azure-seed/azure-functions-typescript.git
yarn
npm run build
What is the motivation / use case for changing the behavior?
I want to build
Environment
Others
The app is in a sub-folder (a yarn workspace) in a monorepo so my node_module
is in the root folder.
Seems to work out of a yarn workspace
I'm submitting a ... (check one with "x")
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report <!-- Please check the repository for a similar issue or PR before submitting -->
[ ] Support request => <!-- Please check the repository for a similar issue or PR before submitting -->
[x] Feature request
[ ] Documentation issue or request
Current behavior
Expected/desired behavior
_
prefixMinimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.