Skip to content

Commit 08747dc

Browse files
committed
build: copied over configs
1 parent 249c70c commit 08747dc

File tree

9 files changed

+72
-11
lines changed

9 files changed

+72
-11
lines changed

.env.example

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ NODE_ENV=development
77
# Debug node native modules - https://nodejs.org/api/cli.html#node_debug_nativemodule
88
# NODE_DEBUG_NATIVE=
99

10+
# Path to PK executable to override tests/bin target
11+
# PK_TEST_COMMAND=
12+
13+
# If set, indicates that `PK_TEST_COMMAND` is targetting docker
14+
# PK_TEST_COMMAND_DOCKER=
15+
# Accessing AWS for testnet.polykey.io and mainnet.polykey.io deployment
16+
AWS_DEFAULT_REGION='ap-southeast-2'
17+
AWS_ACCESS_KEY_ID=
18+
AWS_SECRET_ACCESS_KEY=
19+
1020
# Path to container registry authentication file used by `skopeo`
1121
# The file has the same contents as `DOCKER_AUTH_CONFIG`
1222
# Use this command to acquire the auth file at `./tmp/auth.json`:
@@ -18,3 +28,13 @@ NODE_ENV=development
1828
# --authfile=./tmp/auth.json
1929
# ```
2030
# REGISTRY_AUTH_FILE=
31+
32+
# Authenticate to GitHub with `gh`
33+
# GITHUB_TOKEN=
34+
35+
# To allow testing different executables in the bin tests
36+
# Both PK_TEST_COMMAND and PK_TEST_PLATFORM must be set at the same time
37+
# PK_TEST_COMMAND= #Specify the shell command we want to test against
38+
# PK_TEST_PLATFORM=docker #Overrides the auto set `testPlatform` variable used for enabling platform specific tests
39+
# PK_TEST_TMPDIR= #Sets the `global.tmpDir` variable to allow overriding the temp directory used for tests
40+

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/proto/*

.eslintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"extends": [
1111
"eslint:recommended",
1212
"plugin:@typescript-eslint/recommended",
13-
"plugin:prettier/recommended",
14-
"prettier"
13+
"plugin:prettier/recommended"
1514
],
1615
"plugins": [
1716
"import"

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,7 @@ dist
126126
.yarn/build-state.yml
127127
.yarn/install-state.gz
128128
.pnp.*
129+
130+
# editor
131+
.vscode/
132+
.idea/

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
/nix
44
/tsconfig.json
55
/tsconfig.build.json
6+
/babel.config.js
67
/jest.config.js
8+
/nodemon.json
79
/scripts
810
/src
911
/tests

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# Polykey-CLI
22

3+
staging:[![pipeline status](https://gitlab.com/MatrixAI/open-source/Polykey-CLI/badges/staging/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/Polykey-CLI/commits/staging)
4+
master:[![pipeline status](https://gitlab.com/MatrixAI/open-source/Polykey-CLI/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/Polykey-CLI/commits/master)
5+
6+
Polykey is an open-source decentralized secrets management and sharing system. It is made for today's decentralized world of people, services and devices.
7+
8+
* Decentralized Encrypted Storage - No storage of secrets on third parties, secrets are stored on your device and synchronised point-to-point between Polykey nodes.
9+
* Secure Peer-to-Peer Communications - Polykey bootstraps TLS keys by federating trusted social identities (e.g. GitHub).
10+
* Secure Computational Workflows - Share secrets (passwords, keys, tokens and certificates) with people, between teams, and across machine infrastructure.
11+
12+
<p align="center">
13+
<img src="./images/cli_demo.gif" alt="Polykey CLI Demo"/>
14+
</p>
15+
16+
Polykey synthesizes a unified workflow between interactive password management and infrastructure key management.
17+
18+
You have complete end-to-end control and privacy over your secrets, with no third-party data collection.
19+
20+
Polykey runs on distributed keynodes referred to as "nodes". Any computing system can run multiple keynodes. Each node manages one or more vaults which are encrypted filesystems with automatic version history. Vaults can be shared between the nodes.
21+
22+
This repository is the core library for Polykey.
23+
24+
The Polykey project is split up into these main repositories:
25+
26+
* [Polykey](https://github.com/MatrixAI/Polykey) - Polykey Core Library
27+
* [Polykey-CLI](https://github.com/MatrixAI/Polykey-CLI) - CLI of Polykey
28+
* [Polykey-Desktop](https://github.com/MatrixAI/Polykey-Desktop) - Polykey Desktop (Windows, Mac, Linux) application
29+
* [Polykey-Mobile](https://github.com/MatrixAI/Polykey-Mobile) - Polykey Mobile (iOS & Android) Application
30+
31+
Have a bug or a feature-request? Please submit it the issues of the relevant subproject above.
32+
33+
For tutorials, how-to guides, reference and theory, see the [docs](https://polykey.io/docs).
34+
35+
Have a question? Join our [discussion board](https://github.com/MatrixAI/Polykey/discussions).
36+
37+
Our main website is https://polykey.io
38+
339
## Installation
440

541
Note that JavaScript libraries are not packaged in Nix. Only JavaScript applications are.

images/cli_demo.gif

1.12 MB
Loading

jest.config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ module.exports = {
4949
"^.+\\.(t|j)sx?$": [
5050
"@swc/jest",
5151
{
52-
jsc: {
53-
parser: {
54-
syntax: "typescript",
55-
tsx: true,
56-
decorators: compilerOptions.experimentalDecorators,
57-
dynamicImport: true,
52+
"jsc": {
53+
"parser": {
54+
"syntax": "typescript",
55+
"dynamicImport": true,
56+
"tsx": true,
57+
"decorators": compilerOptions.experimentalDecorators,
5858
},
59-
target: compilerOptions.target.toLowerCase(),
60-
keepClassNames: true,
59+
"target": compilerOptions.target.toLowerCase(),
60+
"keepClassNames": true,
6161
},
6262
}
6363
],

shell.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ in
1111
gitAndTools.gh
1212
skopeo
1313
jq
14-
jetbrains.webstorm
1514
];
1615
PKG_CACHE_PATH = utils.pkgCachePath;
1716
PKG_IGNORE_TAG = 1;

0 commit comments

Comments
 (0)