Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 00f11fe

Browse files
committed
Replace coveralls with codecov badge
1 parent 23dc6d5 commit 00f11fe

File tree

1 file changed

+62
-62
lines changed

1 file changed

+62
-62
lines changed

README.md

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@
55
[![travis][travis]][travis-url]
66
[![appveyor][appveyor]][appveyor-url]
77
[![coverage][cover]][cover-url]
8-
[![chat][chat]][chat-url]
9-
10-
<div align="center">
11-
<!-- replace with accurate logo e.g from https://worldvectorlogo.com/ -->
12-
<a href="https://github.com/webpack/webpack">
13-
<img width="200" height="200" vspace="" hspace="25"
14-
src="https://cdn.rawgit.com/webpack/media/e7485eb2/logo/icon.svg">
15-
</a>
16-
<h1>Val Loader</h1>
17-
<p>Executes the given module to generate source code on build time.<p>
18-
</div>
19-
20-
<h2 align="center">Install</h2>
21-
22-
```bash
23-
npm install val-loader --save-dev
24-
```
8+
[![chat][chat]][chat-url]
9+
10+
<div align="center">
11+
<!-- replace with accurate logo e.g from https://worldvectorlogo.com/ -->
12+
<a href="https://github.com/webpack/webpack">
13+
<img width="200" height="200" vspace="" hspace="25"
14+
src="https://cdn.rawgit.com/webpack/media/e7485eb2/logo/icon.svg">
15+
</a>
16+
<h1>Val Loader</h1>
17+
<p>Executes the given module to generate source code on build time.<p>
18+
</div>
19+
20+
<h2 align="center">Install</h2>
21+
22+
```bash
23+
npm install val-loader --save-dev
24+
```
2525

2626
<h2 align="center">Examples</h2>
2727

@@ -66,11 +66,11 @@ function findAnswer(options) {
6666
return ask(options.question)
6767
.then(generateResult)
6868
.then(result => ({
69-
69+
7070
code: result.code,
7171
sourceMap: result.sourceMap,
7272
ast: result.abstractSyntaxTree,
73-
73+
7474
// Mark dependencies of findAnswer().
7575
// The function will be re-executed if one of these
7676
// dependencies has changed in watch mode.
@@ -79,7 +79,7 @@ function findAnswer(options) {
7979
require.resolve('./ask.js'),
8080
require.resolve('./generateResult.js')
8181
],
82-
82+
8383
// Flag the generated code as cacheable.
8484
// If none of the dependencies have changed,
8585
// the function won't be executed again.
@@ -108,7 +108,7 @@ module.exports = {
108108
}
109109
};
110110
```
111-
111+
112112
<h2 align="center">Usage</h2>
113113

114114
The module that is loaded with this loader must stick to the following interfaces:
@@ -141,47 +141,47 @@ Property | Type | Description
141141
`code` | `string|Buffer` | **Required**. The code that is passed to the next loader or to webpack.
142142
`sourceMap` | [`SourceMap`](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit) | **Optional**. Will be passed to the next loader or to webpack.
143143
`ast``any` | **Optional**. An [Abstract Syntax Tree](https://en.wikipedia.org/wiki/Abstract_syntax_tree) that will be passed to the next loader. Useful to speed up the build time if the next loader uses the same AST.
144-
`dependencies` | `Array<string>` | **Default: `[]`**. An array of absolute, native paths to file dependencies that need to be watched for changes.
144+
`dependencies` | `Array<string>` | **Default: `[]`**. An array of absolute, native paths to file dependencies that need to be watched for changes.
145145
`cacheable` | `boolean` | **Default: `false`**. Flag whether the code can be re-used in watch mode if none of the `dependencies` have changed.
146-
146+
147147
### Loader Options
148148

149-
The **val-loader** itself has no options. The options are passed as they are (without cloning them) to the exported function.
150-
151-
<h2 align="center">Maintainers</h2>
152-
153-
<table>
154-
<tbody>
155-
<tr>
156-
<td align="center">
157-
<img width="150" height="150"
158-
src="https://avatars3.githubusercontent.com/u/166921?v=3&s=150">
159-
</br>
160-
<a href="https://github.com/bebraw">Juho Vepsäläinen</a>
161-
</td>
162-
<td align="center">
163-
<img width="150" height="150"
164-
src="https://avatars2.githubusercontent.com/u/8420490?v=3&s=150">
165-
</br>
166-
<a href="https://github.com/d3viant0ne">Joshua Wiens</a>
167-
</td>
168-
<td align="center">
169-
<img width="150" height="150"
170-
src="https://avatars3.githubusercontent.com/u/533616?v=3&s=150">
171-
</br>
172-
<a href="https://github.com/SpaceK33z">Kees Kluskens</a>
173-
</td>
174-
<td align="center">
175-
<img width="150" height="150"
176-
src="https://avatars3.githubusercontent.com/u/781746?v=3&s=150">
177-
</br>
178-
<a href="https://github.com/jhnns">Johannes Ewald</a>
179-
</td>
180-
</tr>
181-
<tbody>
182-
</table>
183-
184-
149+
The **val-loader** itself has no options. The options are passed as they are (without cloning them) to the exported function.
150+
151+
<h2 align="center">Maintainers</h2>
152+
153+
<table>
154+
<tbody>
155+
<tr>
156+
<td align="center">
157+
<img width="150" height="150"
158+
src="https://avatars3.githubusercontent.com/u/166921?v=3&s=150">
159+
</br>
160+
<a href="https://github.com/bebraw">Juho Vepsäläinen</a>
161+
</td>
162+
<td align="center">
163+
<img width="150" height="150"
164+
src="https://avatars2.githubusercontent.com/u/8420490?v=3&s=150">
165+
</br>
166+
<a href="https://github.com/d3viant0ne">Joshua Wiens</a>
167+
</td>
168+
<td align="center">
169+
<img width="150" height="150"
170+
src="https://avatars3.githubusercontent.com/u/533616?v=3&s=150">
171+
</br>
172+
<a href="https://github.com/SpaceK33z">Kees Kluskens</a>
173+
</td>
174+
<td align="center">
175+
<img width="150" height="150"
176+
src="https://avatars3.githubusercontent.com/u/781746?v=3&s=150">
177+
</br>
178+
<a href="https://github.com/jhnns">Johannes Ewald</a>
179+
</td>
180+
</tr>
181+
<tbody>
182+
</table>
183+
184+
185185
[npm]: https://img.shields.io/npm/v/val-loader.svg
186186
[npm-stats]: https://img.shields.io/npm/dm/val-loader.svg
187187
[npm-url]: https://npmjs.com/package/val-loader
@@ -198,8 +198,8 @@ The **val-loader** itself has no options. The options are passed as they are (wi
198198
[appveyor-url]: https://ci.appveyor.com/project/jhnns/val-loader/branch/master
199199
[appveyor]: https://ci.appveyor.com/api/projects/status/github/webpack-contrib/val-loader?svg=true
200200

201-
[cover]: https://coveralls.io/repos/github/webpack-contrib/val-loader/badge.svg
202-
[cover-url]: https://coveralls.io/github/webpack-contrib/val-loader
201+
[cover]: https://codecov.io/gh/webpack-contrib/val-loader/branch/master/graph/badge.svg
202+
[cover-url]: https://codecov.io/gh/webpack-contrib/val-loader
203203

204204
[chat]: https://badges.gitter.im/webpack-contrib/webpack.svg
205-
[chat-url]: https://gitter.im/webpack-contrib/webpack
205+
[chat-url]: https://gitter.im/webpack-contrib/webpack

0 commit comments

Comments
 (0)