Skip to content

Commit

Permalink
0.0.91
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Oct 2, 2024
1 parent 5152d6a commit 92ec545
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deeplinks
Submodule deeplinks updated from e9cb4a to 9fb892
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.90",
"version": "0.0.91",
"description": "Your second memory.",
"homepage": "https://deep.foundation/",
"author": {
Expand Down
120 changes: 120 additions & 0 deletions package-lock.json

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

5 changes: 3 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.90",
"version": "0.0.91",
"description": "",
"license": "Unlicense",
"main": "./bin/server.js",
Expand All @@ -25,7 +25,8 @@
"export": "(cross-env NEXT_PUBLIC_EXPORT=1 NEXT_PUBLIC_I18N_DISABLE=1 next build)",
"build": "rimraf app && next build",
"start": "next start",
"sync": "(cd ./perception-imports; npm run app:sync); (cd ./deeplinks; npm run package:build; rsync -a ./imports ../node_modules/@deep-foundation/deeplinks/; npm run package:unbuild);",
"sync": "(cd ./perception-imports; npm run app:sync); (cd ./deeplinks; npm run package:build; rsync -a ./imports ../node_modules/@deep-foundation/deeplinks/; cp ./import.js ../node_modules/@deep-foundation/deeplinks/import.js; npm run package:unbuild);",
"mklsi": "(cd ./perception-imports; npm run build; rsync -a ./imports /Users/ivanglazunov/mklsi/mklsi2/node_modules/@deep-foundation/perception-imports/; cp ./import.js /Users/ivanglazunov/mklsi/mklsi2/node_modules/@deep-foundation/perception-imports/import.js; npm run unbuild; (cd /Users/ivanglazunov/mklsi/mklsi2/node_modules/@deep-foundation/perception-imports/imports; rimraf -g \"./!(*.d).ts\" && rimraf ./*.tsx; (cd icons; rimraf -g \"./!(*.d).ts\" && rimraf ./*.tsx))); (cd ./deeplinks; npm run build; rsync -a ./imports /Users/ivanglazunov/mklsi/mklsi2/node_modules/@deep-foundation/deeplinks/; cp ./import.js /Users/ivanglazunov/mklsi/mklsi2/node_modules/@deep-foundation/deeplinks/import.js; npm run unbuild; (cd /Users/ivanglazunov/mklsi/mklsi2/node_modules/@deep-foundation/deeplinks/imports; rimraf -g \"./!(*.d).ts\" && rimraf ./*.tsx; (cd cyber; rimraf -g \"./!(*.d).ts\" && rimraf ./*.tsx); (cd experimental; rimraf -g \"./!(*.d).ts\" && rimraf ./*.tsx); (cd gql; rimraf -g \"./!(*.d).ts\" && rimraf ./*.tsx); (cd router; rimraf -g \"./!(*.d).ts\" && rimraf ./*.tsx)));",
"dev-core": "(rm -rf ./app); npm run sync; next dev",
"dev": "npm run dev-core",
"run-ios": "npx cap run ios",
Expand Down
3 changes: 2 additions & 1 deletion pages/api/preload.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { preloadApi } from '@deep-foundation/perception-imports';
let initial = false;
const preloadHandler = await preloadApi(process.env.GQL);
export default async function(req, res) {
return await ((await preloadApi())(req, res));
return await preloadHandler(req, res);
}

0 comments on commit 92ec545

Please sign in to comment.