Skip to content

Commit

Permalink
feat: inline all mathqill assets locally
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 committed Mar 23, 2024
1 parent a8b51a1 commit 630c2f0
Show file tree
Hide file tree
Showing 9 changed files with 466 additions and 29 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
version: 8
- name: Install dependencies
run: pnpm install
- name: Copy assets
run: pnpm run copy
- name: Build page
run: pnpm run build
- name: Upload built project output
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ node_modules
.env.*
!.env.example
dist
src/lib/scripts/
21 changes: 13 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "svelte-mathquill",
"description": "A svelte wrapper for MathQuill",
"version": "0.8.1",
"version": "0.8.2",
"author": {
"name": "Tristan F.",
"email": "[email protected]"
Expand Down Expand Up @@ -29,13 +29,14 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"package": "svelte-kit sync && svelte-package && publint",
"package": "npm run copy && svelte-kit sync && svelte-package && publint",
"preview": "vite preview",
"prepublishOnly": "npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check --plugin-search-dir=. . && eslint .",
"format": "prettier --write --plugin-search-dir=. ."
"format": "prettier --write --plugin-search-dir=. .",
"copy": "tsx scripts/copy.ts"
},
"devDependencies": {
"@fontsource-variable/inter": "^5.0.4",
Expand All @@ -44,13 +45,14 @@
"@sveltejs/kit": "^2.0.0",
"@sveltejs/package": "^2.2.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/jquery": "^3.5.29",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0",
"highlight.js": "^11.9.0",
"jquery": "1.11.0",
"mathquill": "0.10.1-a",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
Expand All @@ -60,13 +62,16 @@
"svelte-highlight": "^7.6.0",
"svelte-icons": "^2.1.0",
"tslib": "^2.4.1",
"tsx": "^4.7.1",
"typescript": "^5.0.0",
"vite": "^5.0.0"
},
"peerDependencies": {
"svelte": ">=4.0.0",
"jquery": "^1.11.0",
"mathquill": "^0.10.1-a"
"svelte": ">=4.0.0"
},
"type": "module"
"type": "module",
"dependencies": {
"jquery": "1.11.0",
"signal-async": "^0.2.0"
}
}
Loading

0 comments on commit 630c2f0

Please sign in to comment.