chore: cleanup after merging dir-index-html
Marcin Rataj committed
Nov 23, 2021 at 15:35 UTC
302c97ffbb584bfa14eb5493e96933c57f0a74b5
2 files changed
+5
-24
assets/dir-index-html/README.md
+2
-10
@@ -1,23 +1,15 @@
1
# dir-index-html
2
3
-[](https://protocol.ai)
4
-[](https://ipfs.io/)
5
-[](https://matrix.to/#/room/#ipfs:matrix.org)
6
-[](http://webchat.freenode.net/?channels=%23ipfs)
7
-[](https://github.com/RichardLitt/standard-readme)
8
-
3
> Directory listing HTML for `go-ipfs` gateways
4
11
-**NOTE:** This repo is not intended to be used as a standalone project! This code is used by the gateway code within [`go-ipfs`](https://github.com/ipfs/go-ipfs). In the long term, once the the gateway is extracted from `go-ipfs`, the code in this repo will be merged into that gateway package.
12
-
5

6
7
## Updating
8
9
When making updates to the directory listing page template, please note the following:
10
19
-1. Make your changes to the (human-friendly) source documents in the `src` directory
20
-2. Before testing or releasing, make sure to run the `go generate .` script to update the minified version in the top-level `./assets` directory
11
+1. Make your changes to the (human-friendly) source documents in the `src` directory and run `npm run build`
12
+3. Before testing or releasing, go to the top-level `./assets` directory and make sure to run the `go generate .` script to update the bindata version
13
14
## Testing
15
assets/dir-index-html/package.json
+3
-14
@@ -1,21 +1,10 @@
1
{
2
"name": "dir-index-html",
3
- "author": "lgierth",
3
"description": "Directory listing HTML for go-ipfs gateways",
5
- "version": "1.2.1",
6
- "homepage": "https://github.com/ipfs/dir-index-html#readme",
7
- "bugs": {
8
- "url": "https://github.com/ipfs/dir-index-html"
9
- },
10
- "gx": {
11
- "dvcsimport": "github.com/ipfs/dir-index-html",
12
- "goversion": "1.5.2"
13
- },
14
- "gxDependencies": [],
15
- "gxVersion": "0.14.0",
16
- "language": "go",
4
+ "version": "1.3.0",
5
+ "private": true,
6
+ "homepage": "https://github.com/ipfs/go-ipfs",
7
"license": "MIT",
18
- "releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
8
"scripts": {
9
"start": "cd test && go run .",
10
"build": "npm run build:clean && npm run build:remove-style-links && npm run build:minify-wrap-css && npm run build:combine-html-css && npm run build:remove-unused",