@cryptotaxi247 / kubo / commits / 302c97ffb

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 -[![Made by Protocol Labs](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)
4 -[![Project: IPFS](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.io/)
5 -[![Matrix](https://img.shields.io/badge/matrix-%23ipfs%3Amatrix.org-blue.svg?style=flat-square)](https://matrix.to/#/room/#ipfs:matrix.org)
6 -[![IRC](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
7 -[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](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 ![](https://user-images.githubusercontent.com/157609/88379209-ce6f0600-cda2-11ea-9620-20b9237bb441.png)
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",