Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
chore: Apply suggested changes from PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
cdata committed Dec 3, 2022
1 parent 98aaeaa commit eb7739e
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 54 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run_test_suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
- uses: google/wireit@setup-github-actions-caching/v1
- uses: actions-rs/toolchain@v1
with:
override: true
Expand Down
2 changes: 1 addition & 1 deletion rust/noosphere/src/sphere/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl SphereContextBuilder {
self
}

/// Speciy the URL of an IPFS Kubo RPC API for this application to access
/// Specify the URL of an IPFS Kubo RPC API for this application to access
/// as a contingency when blocks being read from storage are missing
pub fn reading_ipfs_from(mut self, ipfs_api: Option<&Url>) -> Self {
self.ipfs_api = ipfs_api.cloned();
Expand Down
160 changes: 110 additions & 50 deletions typescript/package-lock.json

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

11 changes: 10 additions & 1 deletion typescript/packages/orb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,25 @@
"@web/dev-server": "^0.1.34",
"esbuild": "^0.15.9",
"typescript": "~4.8.2",
"wireit": "^0.8.0"
"wireit": "^0.9.0"
},
"wireit": {
"build": {
"dependencies": [
"generate_wasm"
],
"command": "tsc --pretty",
"clean": "if-file-deleted",
"files": [
"../../tsconfig.base.json",
"tsconfig.json",
"./src/**/*.ts"
],
"output": [
"./lib/index.js",
"./lib/index.d.ts",
"./lib/index.js.map",
"./tsconfig.tsbuildinfo"
]
},
"generate_wasm": {
Expand Down
15 changes: 13 additions & 2 deletions typescript/packages/sphere-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"typescript": "~4.8.2",
"vite": "^3.2.3",
"vite-plugin-wasm": "^3.1.0",
"wireit": "^0.8.0"
"wireit": "^0.9.0"
},
"wireit": {
"build": {
Expand All @@ -37,12 +37,23 @@
"dependencies": [
"../orb:build"
],
"command": "tsc"
"command": "tsc --pretty",
"clean": "if-file-deleted",
"files": [
"../../tsconfig.base.json",
"tsconfig.json",
"./src/**/*.ts"
],
"output": [
"./lib/**",
"./tsconfig.tsbuildinfo"
]
},
"serve": {
"dependencies": [
"build"
],
"service": true,
"command": "web-dev-server -r ./dist --open"
},
"clean": {
Expand Down

0 comments on commit eb7739e

Please sign in to comment.