niieani / aurelia-template-lint-webpack-loader Goto Github PK
View Code? Open in Web Editor NEWThis project forked from w3tecch/aurelia-template-lint-loader
An aurelia template linter for webpack
License: MIT License
This project forked from w3tecch/aurelia-template-lint-loader
An aurelia template linter for webpack
License: MIT License
Hi,
I added the linter to my project after upgrading to Webpack 4 (not that the webpack version is relevant to this). I noticed the addition of the linter would slow my npm start
from 30 seconds all the way up to 9 minutes.
I chucked in some console logs after reading a bit of the code and noticed that the Typescript Definitions are being read from the file system and put in memory for each and every HTML file that was being linted. My project had 707 typescript files being loaded by the linter which makes this pretty intensive.
I think we could get a massive performance boost if we could somehow cache these definitions between calls to the loader, though I'm not sure how yet as I'm not accustomed with the loader API's.
I'm thinking along the lines of:
aurelia-template-lint-webpack-loader
to provide these definitions and take on the responsibility of caching these. Would aim to make AureliaLinter backwards compatible with this change.aurelia-template-lint-webpack-loader
. Ideally cache this as a promise so that we can possibly make these linting checks asynchronous in future?Would like to hear your thoughts on this, or whether I should be looking at this from another perspective.
Edit: I am currently using aurelia-template-lint-webpack-loader
v1.1.0, and have been using the linter for a while. It's extremely valuable!
Hi,
Is it possible the webpack 4 bits aren't on npm yet?
Would it be possible to publish a new release for that? Thanks in advance!
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | semantic-release |
Current Version | 15.1.7 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
semantic-release 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 4 commits.
b9bd650
fix(package): update env-ci to version 2.0.0
6e15c18
chore(package): update p-retry to version 2.0.0
5af9031
docs: add details on NPM error 403 to troubleshooting doc
218aa32
docs: add semantic-release-chrome to the list of community plugins
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 🌴
@niieani please update the plugin to work with webpack 4.
Thanks
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.