Skip to content

Commit

Permalink
feat(samples): Create WASM sample from demo website
Browse files Browse the repository at this point in the history
  • Loading branch information
SakuraIsayeki committed Mar 11, 2024
1 parent 4ae042f commit 6e6903f
Show file tree
Hide file tree
Showing 35 changed files with 71,193 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Samples/nodsoft_moltenobsidian_web_wasm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# build output
dist/

# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# Vault output
public/vault/*
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions Samples/nodsoft_moltenobsidian_web_wasm/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
8 changes: 8 additions & 0 deletions Samples/nodsoft_moltenobsidian_web_wasm/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({
site: 'https://nodsoft.github.io',
base: '/MoltenObsidian/',
output: 'static'
});
20 changes: 20 additions & 0 deletions Samples/nodsoft_moltenobsidian_web_wasm/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "nodsoft_moltenobsidian_web",
"type": "module",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"astro": "^4.4.0",
"bootstrap-icons": "^1.11.3",
"moltenobsidian-ssg-client": "link:..\\nodsoft_moltenobsidian_ssg_client",
"sass": "^1.71.0",
"sharp": "^0.33.2"
}
}
Loading

0 comments on commit 6e6903f

Please sign in to comment.