From 302c97ffbb584bfa14eb5493e96933c57f0a74b5 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 23 Nov 2021 15:35:30 +0100 Subject: [PATCH] chore: cleanup after merging dir-index-html --- assets/dir-index-html/README.md | 12 ++---------- assets/dir-index-html/package.json | 17 +++-------------- 2 files changed, 5 insertions(+), 24 deletions(-) diff --git a/assets/dir-index-html/README.md b/assets/dir-index-html/README.md index 969fa8c9f..ad5fa68b2 100644 --- a/assets/dir-index-html/README.md +++ b/assets/dir-index-html/README.md @@ -1,23 +1,15 @@ # dir-index-html -[![Made by Protocol Labs](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![Project: IPFS](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.io/) -[![Matrix](https://img.shields.io/badge/matrix-%23ipfs%3Amatrix.org-blue.svg?style=flat-square)](https://matrix.to/#/room/#ipfs:matrix.org) -[![IRC](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) -[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) - > Directory listing HTML for `go-ipfs` gateways -**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. - ![](https://user-images.githubusercontent.com/157609/88379209-ce6f0600-cda2-11ea-9620-20b9237bb441.png) ## Updating When making updates to the directory listing page template, please note the following: -1. Make your changes to the (human-friendly) source documents in the `src` directory -2. Before testing or releasing, make sure to run the `go generate .` script to update the minified version in the top-level `./assets` directory +1. Make your changes to the (human-friendly) source documents in the `src` directory and run `npm run build` +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 ## Testing diff --git a/assets/dir-index-html/package.json b/assets/dir-index-html/package.json index 068a8aabd..4b2427574 100644 --- a/assets/dir-index-html/package.json +++ b/assets/dir-index-html/package.json @@ -1,21 +1,10 @@ { "name": "dir-index-html", - "author": "lgierth", "description": "Directory listing HTML for go-ipfs gateways", - "version": "1.2.1", - "homepage": "https://github.com/ipfs/dir-index-html#readme", - "bugs": { - "url": "https://github.com/ipfs/dir-index-html" - }, - "gx": { - "dvcsimport": "github.com/ipfs/dir-index-html", - "goversion": "1.5.2" - }, - "gxDependencies": [], - "gxVersion": "0.14.0", - "language": "go", + "version": "1.3.0", + "private": true, + "homepage": "https://github.com/ipfs/go-ipfs", "license": "MIT", - "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", "scripts": { "start": "cd test && go run .", "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",