Skip to content

Commit

Permalink
chore: remove redundant build files
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Feb 21, 2020
1 parent b9092b2 commit 9daa6d9
Show file tree
Hide file tree
Showing 25 changed files with 115 additions and 537 deletions.
41 changes: 6 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Dependency tools
package-lock.json
yarn.lock

Expand All @@ -6,48 +7,18 @@ logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
.nyc_output

# Dependency directory
node_modules

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Dignified.js builds
# Build artefacts
dist
lib

# Doc generation
docs

**/node_modules
**/*.log
test/setup/tmp-disposable-nodes-addrs.json
dist
coverage
.nyc_output
**/*.swp
examples/sub-module/**/bundle.js
examples/sub-module/**/*-minified.js
examples/sub-module/*-bundle.js
# Deployment files
.npmrc
File renamed without changes.
20 changes: 20 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"lerna": "3.20.2",
"packages": [
"packages/*"
],
"version": "independent",
"command": {
"bootstrap": {
"hoist": true
},
"run": {
"stream": true
},
"publish": {
"message": "chore: publish",
"conventionalCommits": true,
"createRelease": "github"
}
}
}
51 changes: 51 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "js-ipfs",
"version": "1.0.0",
"description": "JavaScript implementation of the IPFS specification",
"scripts": {
"postinstall": "lerna bootstrap",
"reset": "lerna run --parallel clean && rm -rf packages/*/node_modules node_modules",
"test": "lerna run --parallel test",
"test:node": "lerna run --parallel test:node",
"test:browser": "lerna run --parallel test:browser",
"test:webworker": "lerna run --parallel test:webworker",
"coverage": "lerna run --parallel coverage",
"build": "lerna run --parallel build",
"clean": "lerna run --parallel clean",
"lint": "lerna run --parallel lint",
"depcheck": "lerna run --parallel depcheck",
"release": "npm run update-contributors && lerna publish",
"release:rc": "lerna publish --canary --preid rc --dist-tag next",
"update-contributors": "aegir release --lint=false --test=false --bump=false --build=false --changelog=false --commit=false --tag=false --push=false --ghrelease=false --docs=false --publish=false"
},
"devDependencies": {
"lerna": "^3.20.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"private": true,
"contributors": [
"achingbrain <alex@achingbrain.net>",
"David Dias <daviddias.p@gmail.com>",
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
"Stephen Whitmore <stephen.whitmore@gmail.com>",
"Alan Shaw <alan@tableflip.io>",
"Pedro Teixeira <i@pgte.me>",
"nginnever <ginneversource@gmail.com>",
"Volker Mische <volker.mische@gmail.com>",
"Dan Ordille <dordille@gmail.com>",
"Richard Schneider <makaretu@gmail.com>",
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com>",
"Hugo Dias <hugomrdias@gmail.com>",
"JGAntunes <j.goncalo.antunes@gmail.com>",
"Marcin Rataj <lidel@lidel.org>",
"Richard Littauer <richard.littauer@gmail.com>",
"Mithgol <getgit@mithgol.ru>",
"Francisco Baio Dias <xicombd@gmail.com>",
"Diogo Silva <fsdiogo@gmail.com>",
"jbenet <juan@benet.ai>",
"Bernard Mordan <bernard@tableflip.io>"
]
}
26 changes: 0 additions & 26 deletions packages/interface-ipfs-core/.npmignore

This file was deleted.

13 changes: 0 additions & 13 deletions packages/interface-ipfs-core/.travis.yml

This file was deleted.

18 changes: 4 additions & 14 deletions packages/interface-ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,29 @@
"description": "A test suite and interface you can use to implement a IPFS core interface.",
"leadMaintainer": "Alan Shaw <alan@tableflip.io>",
"main": "src/index.js",
"homepage": "https://github.com/ipfs/js-ipfs",
"bugs": "https://github.com/ipfs/js-ipfs/issues",
"browser": {
"fs": false,
"os": false,
"ipfs-utils/src/files/glob-source": false
},
"scripts": {
"test": "exit 0",
"test:node": "exit 0",
"test:browser": "exit 0",
"test:webworker": "exit 0",
"lint": "aegir lint",
"release": "aegir release -t node --no-docs --no-build --no-test",
"release-minor": "aegir release -t node --type minor --no-docs --no-build --no-test",
"release-major": "aegir release -t node --type major --no-docs --no-build --no-test",
"coverage": "exit 0",
"coverage-publish": "exit 0"
"clean": "rm -rf ./dist"
},
"files": [
"src/",
"test/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/interface-ipfs-core.git"
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"keywords": [
"IPFS"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/ipfs/interface-ipfs-core/issues"
},
"homepage": "https://github.com/ipfs/interface-ipfs-core#readme",
"dependencies": {
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
Expand Down
71 changes: 0 additions & 71 deletions packages/ipfs-http-client/.travis.yml

This file was deleted.

9 changes: 0 additions & 9 deletions packages/ipfs-http-client/greenkeeper.json

This file was deleted.

15 changes: 8 additions & 7 deletions packages/ipfs-http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"keywords": [
"ipfs"
],
"homepage": "https://github.com/ipfs/js-ipfs-http-client",
"bugs": "https://github.com/ipfs/js-ipfs-http-client/issues",
"homepage": "https://github.com/ipfs/js-ipfs",
"bugs": "https://github.com/ipfs/js-ipfs/issues",
"license": "(Apache-2.0 OR MIT)",
"leadMaintainer": "Alan Shaw <alan@tableflip.io>",
"files": [
Expand All @@ -19,7 +19,10 @@
"./src/lib/buffer-to-form-data.js": "./src/lib/buffer-to-form-data.browser.js",
"ipfs-utils/src/files/glob-source": false
},
"repository": "github:ipfs/js-ipfs-http-client",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"test": "aegir test",
"test:node": "aegir test -t node",
Expand All @@ -31,10 +34,8 @@
"test:firefox": "aegir test -t browser -t webworker -- --browsers FirefoxHeadless",
"lint": "aegir lint",
"build": "aegir build",
"release": "aegir release ",
"release-minor": "aegir release --type minor ",
"release-major": "aegir release --type major ",
"coverage": "npx nyc -r html npm run test:node -- --bail"
"coverage": "npx nyc -r html npm run test:node -- --bail",
"clean": "rm -rf ./dist"
},
"dependencies": {
"abort-controller": "^3.0.0",
Expand Down
43 changes: 0 additions & 43 deletions packages/ipfs-mfs/.gitignore

This file was deleted.

Loading

0 comments on commit 9daa6d9

Please sign in to comment.