Skip to content

Commit

Permalink
feat(multi): rename packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Nov 15, 2021
1 parent 5ecf45f commit 7b1b0e9
Show file tree
Hide file tree
Showing 19 changed files with 116 additions and 114 deletions.
8 changes: 5 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.138.0/containers/typescript-node/.devcontainer/base.Dockerfile
ARG VARIANT="14-buster"
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.205.2/containers/typescript-node/.devcontainer/base.Dockerfile

# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
ARG VARIANT="16-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
Expand All @@ -11,4 +13,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

# [Optional] Uncomment if you want to install more global node packages
RUN sudo -u node npm install -g ts-node
# RUN su node -c "npm install -g <your-package-list -here>"
30 changes: 15 additions & 15 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.138.0/containers/typescript-node
// https://github.com/microsoft/vscode-dev-containers/tree/v0.205.2/containers/typescript-node
{
"name": "Node.js 14 & TypeScript",
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 10, 12, 14
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"args": {
"VARIANT": "14"
"VARIANT": "16-bullseye"
}
},
//

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh"
},
//
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-tslint-plugin",
"esbenp.prettier-vscode"
]
//
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
//

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",
//
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "node"

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}
120 changes: 60 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
},
"author": "Papers GmbH <[email protected]> (https://papers.ch)",
"dependencies": {
"@airgap/beacon-blockchain-kusama": "file:packages/beacon-blockchain-kusama",
"@airgap/beacon-blockchain-tezos": "file:packages/beacon-blockchain-tezos",
"@airgap/beacon-core": "file:packages/beacon-core",
"@airgap/beacon-dapp": "file:packages/beacon-dapp",
"@airgap/beacon-protocol-kusama": "file:packages/beacon-protocol-kusama",
"@airgap/beacon-protocol-tezos": "file:packages/beacon-protocol-tezos",
"@airgap/beacon-transport-matrix": "file:packages/beacon-transport-matrix",
"@airgap/beacon-transport-postmessage": "file:packages/beacon-transport-postmessage",
"@airgap/beacon-types": "file:packages/beacon-types",
Expand Down
11 changes: 11 additions & 0 deletions packages/beacon-blockchain-kusama/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `@airgap/beacon-blockchain-kusama`

> TODO: description
## Usage

```
const beaconProtocolkusama = require('@airgap/beacon-blockchain-kusama');
// TODO: DEMONSTRATE API
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

const beaconProtocolkusama = require('..')

describe('@airgap/beacon-protocol-kusama', () => {
describe('@airgap/beacon-blockchain-kusama', () => {
it('needs tests')
})
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@airgap/beacon-protocol-kusama",
"name": "@airgap/beacon-blockchain-kusama",
"version": "0.0.1-beta.14",
"description": "> TODO: description",
"author": "Andreas Gassmann <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "./dist/esm",
"baseUrl": ".",
"paths": {
"@airgap/beacon-protocol-kusama": ["./src"]
"@airgap/beacon-blockchain-kusama": ["./src"]
}
},
"include": ["./src"]
Expand Down
11 changes: 11 additions & 0 deletions packages/beacon-blockchain-tezos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `@airgap/beacon-blockchain-tezos`

> TODO: description
## Usage

```
const beaconProtocolTezos = require('@airgap/beacon-blockchain-tezos');
// TODO: DEMONSTRATE API
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

const beaconProtocolTezos = require('..')

describe('@airgap/beacon-protocol-tezos', () => {
describe('@airgap/beacon-blockchain-tezos', () => {
it('needs tests')
})
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@airgap/beacon-protocol-tezos",
"name": "@airgap/beacon-blockchain-tezos",
"version": "0.0.1-beta.14",
"description": "> TODO: description",
"author": "Andreas Gassmann <[email protected]>",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "./dist/esm",
"baseUrl": ".",
"paths": {
"@airgap/beacon-protocol-tezos": ["./src"]
"@airgap/beacon-blockchain-tezos": ["./src"]
}
},
"include": ["./src"]
Expand Down
11 changes: 0 additions & 11 deletions packages/beacon-protocol-kusama/README.md

This file was deleted.

Loading

0 comments on commit 7b1b0e9

Please sign in to comment.