Skip to content

Commit

Permalink
Feat loadingcleanup (#24)
Browse files Browse the repository at this point in the history
* feat: initial reorder for loading of services

* more structural cleanup

* made calls async and also fixed the loading order for some of the initial calls to make sure tables are loaded at the correct time

* feat(render): add render debounce
  • Loading branch information
sytone authored Sep 1, 2024
1 parent 4750ea3 commit 929b957
Show file tree
Hide file tree
Showing 25 changed files with 1,533 additions and 949 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/betarelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup PNPM ⚙️
uses: pnpm/action-setup@v2
with:
version: 10
version: 9

# Get the version number and put it in a variable
# - name: Get Version
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/publish-docs-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,30 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled

- uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
with:
version: 10
version: 9

# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm # or pnpm / yarn

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Install dependencies
run: pnpm install

- name: Build generated documentation
run: pnpm run build:docs

- name: Build with VitePress
run: pnpm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup PNPM ⚙️
uses: pnpm/action-setup@v2
with:
version: 10
version: 9

# Get the version number and put it in a variable
# - name: Get Version
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- uses: pnpm/action-setup@v2
with:
version: 10
version: 9

- name: Install modules
run: pnpm install

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ VS Code will work on all operating systems and the configuration will recommend

## Setting up development environment

PNPM is used as the package manager, use `npm install -g pnpm@latest-8` to install. Version 20.15.1 of NodeJS is being used for the build process so ensure that is also installed. If you use Node version manager you can run `nvm install 20.15.1` and `nvm use 20.15.1` to install and use the current node version.
PNPM is used as the package manager, use `npm install -g pnpm@latest-9` to install. Version 20.15.1 of NodeJS is being used for the build process so ensure that is also installed. If you use Node version manager you can run `nvm install 20.15.1` and `nvm use 20.15.1` to install and use the current node version.

Run `pnpm install` to ensure dependencies are installed and then `pnpm run build`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "main.js",
"scripts": {
"build:dev": "node ophidian.config.mjs dev",
"build": "node ophidian.config.mjs production && mdinject --root=./src --docs-root=./docs --wrap",
"build": "node ophidian.config.mjs production",
"build:docs": "mdinject --root=./src --docs-root=./docs --wrap",
"opendocs": "start obsidian://open?vault=docs",
"lint": "xo --fix",
Expand Down
Loading

0 comments on commit 929b957

Please sign in to comment.