mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-15 01:30:50 +00:00
Repackage as libp2p-ts
This commit is contained in:
parent
a2689534c1
commit
9e537faac5
11
.eslintrc.js
11
.eslintrc.js
@ -1,11 +0,0 @@
|
|||||||
const base = require('@polkadot/dev/config/eslint');
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
...base,
|
|
||||||
parserOptions: {
|
|
||||||
...base.parserOptions,
|
|
||||||
project: [
|
|
||||||
'./tsconfig.json'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
};
|
|
54
.github/workflows/pr-any.yml
vendored
54
.github/workflows/pr-any.yml
vendored
@ -1,54 +0,0 @@
|
|||||||
name: PR
|
|
||||||
on: [pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
name: Linting
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [12.x]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
- name: lint
|
|
||||||
run: |
|
|
||||||
yarn install --frozen-lockfile
|
|
||||||
yarn lint
|
|
||||||
|
|
||||||
test:
|
|
||||||
name: Testing
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [12.x]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
- name: test
|
|
||||||
run: |
|
|
||||||
yarn install --frozen-lockfile
|
|
||||||
yarn test
|
|
||||||
|
|
||||||
build_code:
|
|
||||||
name: Build Code
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [12.x]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
- name: build
|
|
||||||
run: |
|
|
||||||
yarn install --frozen-lockfile
|
|
||||||
yarn build
|
|
42
.github/workflows/push-master.yml
vendored
42
.github/workflows/push-master.yml
vendored
@ -1,42 +0,0 @@
|
|||||||
name: Master
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_code:
|
|
||||||
name: Build Code
|
|
||||||
if: "! contains(github.event.head_commit.message, '[CI Skip]')"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [12.x]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GH_PAT }}
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
- name: build
|
|
||||||
env:
|
|
||||||
GH_PAT: ${{ secrets.GH_PAT }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
run: |
|
|
||||||
yarn install --frozen-lockfile
|
|
||||||
CI_NO_BETA=true yarn polkadot-dev-ghact-build
|
|
||||||
|
|
||||||
dummy:
|
|
||||||
name: Dummy
|
|
||||||
if: "contains(github.event.head_commit.message, '[CI Skip]')"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [12.x]
|
|
||||||
steps:
|
|
||||||
- name: dummy
|
|
||||||
run: |
|
|
||||||
echo "Dummy skip step"
|
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
ISC License (ISC)
|
ISC License (ISC)
|
||||||
|
|
||||||
Copyright 2017-2020 @polkadot/ts authors & contributors
|
Copyright 2017-2020 @chainsafe/libp2p-ts authors & contributors
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
21
README.md
21
README.md
@ -1,21 +1,8 @@
|
|||||||
[](https://polkadot.js.org)
|
|
||||||

|

|
||||||
[](https://www.npmjs.com/package/@polkadot/ts)
|
[](https://www.npmjs.com/package/@chainsafe/libp2p-ts)
|
||||||
[](https://codeclimate.com/github/polkadot-js/ts/maintainability)
|
|
||||||
|
|
||||||
# @polkadot/ts
|
# @chainsafe/libp2p-ts
|
||||||
|
|
||||||
TypeScript definitions for packages that are not (yet) available on [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) but are used in `@polkadot` projects.
|
TypeScript definitions for packages that are not (yet) available on [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) but are used in `@chainsafe` projects.
|
||||||
|
|
||||||
In general, updates here should have corrsponding PRs on the DefinitelyTyped repo. Tracking should be provided for these.
|
In general, updates here should have corrsponding PRs on the DefinitelyTyped repo or upstream libp2p repos. Tracking should be provided for these.
|
||||||
|
|
||||||
# libraries
|
|
||||||
|
|
||||||
This following libraries are currently awaiting external merges or have been replaced by upstream.
|
|
||||||
|
|
||||||
- https://www.npmjs.com/package/@types/abstract-leveldown
|
|
||||||
- https://www.npmjs.com/package/@types/bn.js
|
|
||||||
- https://www.npmjs.com/package/@types/leveldown
|
|
||||||
- https://www.npmjs.com/package/@types/memdown
|
|
||||||
- https://www.npmjs.com/package/@types/store
|
|
||||||
- https://www.npmjs.com/package/@types/varint
|
|
||||||
|
2
build.sh
2
build.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Copyright 2017-2020 @polkadot/ts authors & contributors
|
# Copyright 2017-2020 @chainsafe/libp2p-ts authors & contributors
|
||||||
# This software may be modified and distributed under the terms
|
# This software may be modified and distributed under the terms
|
||||||
# of the ISC license. See the LICENSE file for details.
|
# of the ISC license. See the LICENSE file for details.
|
||||||
|
|
||||||
|
12
package.json
12
package.json
@ -1,12 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/ts",
|
"name": "@chainsafe/libp2p-ts",
|
||||||
"version": "0.2.1",
|
"version": "0.1.0",
|
||||||
"description": "Typescript definitions that are not (yet) available on https://github.com/DefinitelyTyped/DefinitelyTyped",
|
"description": "Typescript definitions that are not (yet) available on https://github.com/DefinitelyTyped/DefinitelyTyped",
|
||||||
"repository": "https://github.com/polkadot-js/ts.git",
|
"repository": "https://github.com/chainsafe/libp2p-ts.git",
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "ChainSafe Systems",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"babel-core": "^7.0.0-bridge.0",
|
|
||||||
"typescript": "^3.7.5"
|
"typescript": "^3.7.5"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -18,7 +17,6 @@
|
|||||||
"@types/chrome": "^0.0.92"
|
"@types/chrome": "^0.0.92"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.8.3",
|
"typescript": "^3.7.5"
|
||||||
"@polkadot/dev": "^0.33.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"extends": "./node_modules/@polkadot/dev/config/tsconfig",
|
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"build/**/*",
|
"build/**/*",
|
||||||
"**/build/**/*"
|
"**/build/**/*"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user