Skip to content

Commit fd8f915

Browse files
committed
updo
1 parent 5fd873f commit fd8f915

8 files changed

Lines changed: 206 additions & 33 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.github @XYOracleNetwork/xyo-foundation-maintainers

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- next
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
node: [22, 24]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.head_ref }}
20+
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node }}
24+
25+
# Turn off windows-defender for this folder to speed up compile
26+
- if: runner.os == 'Windows'
27+
name: windows-defender
28+
run: powershell -Command Add-MpPreference -ExclusionPath "."
29+
30+
- name: install
31+
run: npm install
32+
33+
- name: build
34+
run: npm run build

.gitignore

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,36 @@
1+
node_modules
2+
dist
3+
docs
4+
build
5+
bin
6+
.DS_Store
7+
*.log
8+
*.tgz
9+
.rollup.cache
10+
.tsconfig*
11+
.pnp.*
12+
.yarn/*
113
!.yarn/patches
214
!.yarn/plugins
315
!.yarn/releases
416
!.yarn/sdks
517
!.yarn/versions
6-
*.log
7-
*.tgz
8-
*.tsbuildinfo
9-
.DS_Store
10-
.env
11-
.eslintcache
12-
.git
13-
.hg
18+
1419
.idea
15-
.pnp.*
16-
.rollup.cache
17-
.serverless
18-
.svn
19-
.tsconfig*
20-
.webpack
21-
.yarn/*
22-
build
23-
dist
24-
docs
25-
node_modules
26-
storybook-static
20+
21+
.idea
22+
.eslintcache
23+
.env
24+
.env.local
25+
.env.remote
26+
27+
.store
28+
*storybook.log
29+
storybook-static
30+
.temp-typedoc
31+
32+
.chrome
33+
yarn.lock
34+
.yarnrc.yml
35+
package-lock.json
36+
pnpm-lock.yaml

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["dbaeumer.vscode-eslint", "streetsidesoftware.code-spell-checker"]
3+
}

.vscode/launch.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Node Hello World Sample",
11+
"program": "${workspaceFolder}/dist/index.js",
12+
"args": [],
13+
"outFiles": [
14+
"${workspaceFolder}/dist/**"
15+
],
16+
"runtimeArgs": [
17+
"--max-old-space-size=8192"
18+
],
19+
"envFile": "${workspaceFolder}/.env",
20+
"sourceMaps": true,
21+
"resolveSourceMapLocations": [
22+
"!**/node_modules/**",
23+
],
24+
"pauseForSourceMap": true,
25+
"cwd": "${workspaceFolder}",
26+
"preLaunchTask": "build",
27+
},
28+
{
29+
"type": "node",
30+
"request": "launch",
31+
"name": "Node Hello World Runner",
32+
"program": "${workspaceFolder}/dist/helloWorldRunner.js",
33+
"args": [],
34+
"outFiles": [
35+
"${workspaceFolder}/dist/**"
36+
],
37+
"runtimeArgs": [
38+
"--max-old-space-size=8192"
39+
],
40+
"envFile": "${workspaceFolder}/.env",
41+
"sourceMaps": true,
42+
"resolveSourceMapLocations": [
43+
"!**/node_modules/**",
44+
],
45+
"pauseForSourceMap": true,
46+
"cwd": "${workspaceFolder}",
47+
"preLaunchTask": "build",
48+
},
49+
]
50+
}

.vscode/settings.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"files.exclude": {
3+
"**/node_modules": false
4+
},
5+
"search.exclude": {
6+
"**/node_modules": true,
7+
"**/bower_components": true,
8+
"**/*.code-search": true,
9+
"**/.yarn": true,
10+
"**/yarn.lock": true,
11+
"**/build": true,
12+
"**/dist": true,
13+
},
14+
"editor.formatOnSave": true,
15+
"editor.quickSuggestions": {
16+
"comments": "on",
17+
"strings": "on",
18+
"other": "on"
19+
},
20+
"editor.tabSize": 2,
21+
"editor.suggestSelection": "first",
22+
"editor.codeActionsOnSave": {
23+
"source.fixAll": "explicit"
24+
},
25+
"eslint.alwaysShowStatus": true,
26+
"eslint.format.enable": true,
27+
"eslint.lintTask.enable": true,
28+
"files.autoSave": "onFocusChange",
29+
"javascript.updateImportsOnFileMove.enabled": "always",
30+
"typescript.updateImportsOnFileMove.enabled": "always",
31+
"[typescriptreact]": {
32+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
33+
},
34+
"[typescript]": {
35+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
36+
},
37+
"[javascript]": {
38+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
39+
},
40+
"[javascriptreact]": {
41+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
42+
},
43+
"[jsonc]": {
44+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
45+
},
46+
"typescript.tsdk": "node_modules/typescript/lib",
47+
"cSpell.words": [
48+
"Arie",
49+
"arietrouw",
50+
"boundwitness",
51+
"Promisable",
52+
"Trouw",
53+
"VITE",
54+
"xylabs"
55+
],
56+
}

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "build",
7+
"label": "build",
8+
"detail": "Build the project",
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
},
13+
"problemMatcher": ["$tsc", "$eslint-stylish"]
14+
15+
}
16+
]
17+
}

package.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,21 @@
2424
"build": "vite build --mode production",
2525
"package-build": "npm run build",
2626
"serve": "npm run build && npm run dlx serve ./build",
27-
"start": "npm run vite"
27+
"start": "npx vite",
28+
"updo": "npx npm-check-updates -i"
2829
},
2930
"dependencies": {
3031
"@mui/material": "~7.3.1",
31-
"@xylabs/assert": "~5.0.8",
32-
"@xylabs/delay": "~5.0.8",
33-
"@xylabs/hex": "~5.0.8",
34-
"@xylabs/typeof": "~5.0.8",
35-
"@xyo-network/id-payload-plugin": "~5.0.5",
36-
"@xyo-network/payload-builder": "~5.0.5",
37-
"@xyo-network/react-chain-model": "~1.12.1",
38-
"@xyo-network/react-chain-provider": "~1.12.1",
39-
"@xyo-network/xl1-protocol": "~1.10.13",
40-
"@xyo-network/xl1-rpc": "~1.12.0",
32+
"@xylabs/assert": "~5.0.10",
33+
"@xylabs/delay": "~5.0.10",
34+
"@xylabs/hex": "~5.0.10",
35+
"@xylabs/typeof": "~5.0.10",
36+
"@xyo-network/id-payload-plugin": "~5.0.7",
37+
"@xyo-network/payload-builder": "~5.0.7",
38+
"@xyo-network/react-chain-model": "~1.12.6",
39+
"@xyo-network/react-chain-provider": "~1.12.6",
40+
"@xyo-network/xl1-protocol": "~1.10.15",
41+
"@xyo-network/xl1-rpc": "~1.12.6",
4142
"react": "~19.1.1",
4243
"react-dom": "~19.1.1"
4344
},
@@ -47,9 +48,10 @@
4748
"@types/react": "~19.1.10",
4849
"@types/react-dom": "~19.1.7",
4950
"@vitejs/plugin-react-swc": "~4.0.0",
50-
"@xylabs/tsconfig-react": "~7.1.2",
51-
"@xyo-network/xl1-cli": "~1.10.0",
51+
"@xylabs/tsconfig-react": "~7.1.3",
52+
"@xyo-network/xl1-cli": "^1.12.6",
5253
"dotenv": "~17.2.1",
54+
"npm-check-updates": "~18.0.2",
5355
"typescript": "~5.9.2",
5456
"vite": "~7.1.2",
5557
"vite-plugin-top-level-await": "~1.6.0"

0 commit comments

Comments
 (0)