Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
feat(lib, ipfs, transport, relay, explorer): namespacing (#70)
Browse files Browse the repository at this point in the history
* feat(transport, relay, explorer): add namespacing, fork transport, update explorer

* feat(ipfs, transport, relay): namespacing proof-of-concept

* feat(lib, relay): add namespacing support

close #65
  • Loading branch information
0x77dev authored Mar 24, 2022
1 parent 07bdb7a commit bedd869
Show file tree
Hide file tree
Showing 43 changed files with 2,550 additions and 2,685 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
}
}
3 changes: 2 additions & 1 deletion babel.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"babelrcRoots": ["*"]
"babelrcRoots": ["*"],
"plugins": ["@babel/plugin-transform-typescript"]
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"tslib": "2.3.1"
},
"devDependencies": {
"@babel/plugin-transform-typescript": "^7.16.8",
"@commitlint/cli": "16.2.3",
"@commitlint/config-conventional": "16.2.1",
"@emotion/babel-plugin": "11.7.2",
Expand Down Expand Up @@ -56,13 +57,16 @@
"jest": "27.5.1",
"lerna": "4.0.0",
"lint-staged": "12.3.7",
"node-polyfill-webpack-plugin": "^1.1.4",
"npm-run-all": "4.1.5",
"patch-package": "6.4.7",
"prettier": "2.6.0",
"process": "^0.11.10",
"react-test-renderer": "17.0.2",
"standard-version": "9.3.2",
"ts-jest": "27.1.3",
"typescript": "4.6.2",
"typescript": "^4.6.2",
"util": "^0.12.4",
"yaml-crypt": "0.7.6",
"zx": "6.0.6"
},
Expand Down
78 changes: 36 additions & 42 deletions packages/explorer/project.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,67 @@
{
"projectType": "application",
"root": "packages/explorer",
"sourceRoot": "packages/explorer/src",
"projectType": "application",
"tags": [],
"targets": {
"build": {
"executor": "@nrwl/web:webpack",
"outputs": ["{options.outputPath}"],
"configurations": {
"production": {
"extractLicenses": true,
"namedChunks": false,
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"vendorChunk": false
}
},
"defaultConfiguration": "production",
"executor": "@nrwl/web:webpack",
"options": {
"compiler": "babel",
"outputPath": "dist/packages/explorer",
"index": "packages/explorer/src/index.html",
"baseHref": "/",
"main": "packages/explorer/src/main.tsx",
"polyfills": "packages/explorer/src/polyfills.ts",
"tsConfig": "packages/explorer/tsconfig.app.json",
"assets": [
"packages/explorer/src/favicon.ico",
"packages/explorer/src/assets"
],
"styles": [],
"baseHref": "/",
"compiler": "babel",
"index": "packages/explorer/src/index.html",
"main": "packages/explorer/src/main.tsx",
"outputPath": "dist/packages/explorer",
"polyfills": "packages/explorer/src/polyfills.ts",
"scripts": [],
"webpackConfig": "@nrwl/react/plugins/webpack"
"styles": [],
"tsConfig": "packages/explorer/tsconfig.app.json",
"webpackConfig": "webpack.config.js"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "packages/explorer/src/environments/environment.ts",
"with": "packages/explorer/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false
}
}
"outputs": ["{options.outputPath}"]
},
"serve": {
"executor": "@nrwl/web:dev-server",
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"buildTarget": "explorer:build",
"hmr": true
"lintFilePatterns": ["packages/explorer/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"serve": {
"configurations": {
"production": {
"buildTarget": "explorer:build:production",
"hmr": false
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
},
"executor": "@nrwl/web:dev-server",
"options": {
"lintFilePatterns": ["packages/explorer/**/*.{ts,tsx,js,jsx}"]
"buildTarget": "explorer:build",
"hmr": true
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/packages/explorer"],
"options": {
"jestConfig": "packages/explorer/jest.config.js",
"passWithNoTests": true
}
},
"outputs": ["coverage/packages/explorer"]
}
},
"tags": []
}
}
27 changes: 0 additions & 27 deletions packages/explorer/src/app/app.spec.tsx

This file was deleted.

55 changes: 0 additions & 55 deletions packages/explorer/src/app/app.tsx

This file was deleted.

Loading

0 comments on commit bedd869

Please sign in to comment.