Skip to content

Commit

Permalink
0.0.55
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Sep 12, 2024
1 parent 157f4cf commit c29f04d
Show file tree
Hide file tree
Showing 7 changed files with 5,652 additions and 30,206 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@
[![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/deep-foundation/perception-app)
[![Discord](https://badgen.net/badge/icon/discord?icon=discord&label&color=purple)](https://discord.gg/deep-foundation)


## Development

With regenerate imports/preloaded.json
```
GQL="<GQL_URL>" TOKEN="<ADMIN_TOKEN>" npm run dev
```

Without regenerate imports/preloaded.json
```
npm run dev
```

Regenerate imports/preloaded.json even if dev already runned
```
GQL="<GQL_URL>" TOKEN="<ADMIN_TOKEN>" npm run preload
```

For fast editing depended packages, initial commands:

> If perception-imports and/or deeplinks cloned, then `npm run dev` automatically copy into perception-app/node_modules.
```
npm ci; (git clone https://github.com/deep-foundation/perception-imports.git; cd perception-imports; npm ci); (git clone https://github.com/deep-foundation/deeplinks.git; cd deeplinks; npm ci);
```

## ENVS

```
Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deep-foundation/perception-app",
"version": "0.0.54",
"version": "0.0.55",
"description": "Your second memory.",
"homepage": "https://deep.foundation/",
"author": {
Expand Down
35,676 changes: 5,607 additions & 30,069 deletions imports/preloaded.js

Large diffs are not rendered by default.

142 changes: 12 additions & 130 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
@@ -1,6 +1,6 @@
{
"name": "@deep-foundation/perception-app",
"version": "0.0.54",
"version": "0.0.55",
"description": "",
"license": "Unlicense",
"main": "./bin/server.js",
Expand Down Expand Up @@ -40,7 +40,7 @@
"@apollo/sandbox": "^2.6.0",
"@chakra-ui/icons": "^2.1.1",
"@chakra-ui/theme-tools": "^2.1.2",
"@deep-foundation/perception-imports": "^0.0.62",
"@deep-foundation/perception-imports": "^0.0.63",
"@pbe/react-yandex-maps": "^1.2.5",
"@react-hook/debounce": "^4.0.0",
"@rjsf/chakra-ui": "^5.19.3",
Expand Down
2 changes: 1 addition & 1 deletion perception-imports
Submodule perception-imports updated from 439248 to 6ed613
6 changes: 3 additions & 3 deletions preloader.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { dirname } from 'path';
import { fileURLToPath } from 'url';

let path, ssl = true;
try { path = process.env.NEXT_PUBLIC_GRAPHQL_URL || 'https://deeplinks.deep.foundation/gql' } catch(e) {}
try { path = process.env.GQL || process.env.NEXT_PUBLIC_GRAPHQL_URL || 'https://deeplinks.deep.foundation/gql' } catch(e) {}
try { ssl = new URL(path).protocol === "https:" } catch(e) {}

const secret = process.env.DEEPLINKS_HASURA_SECRET;
const token = process.env.NEXT_PUBLIC_DEEP_TOKEN;
const secret = process.env.SECRET || process.env.DEEPLINKS_HASURA_SECRET;
const token = process.env.TOKEN || process.env.NEXT_PUBLIC_DEEP_TOKEN;

const deep = new DeepClient({
apolloClient: generateApolloClient({
Expand Down

0 comments on commit c29f04d

Please sign in to comment.