Skip to content

Commit

Permalink
(docs) Add Ace and Monaco Live Example
Browse files Browse the repository at this point in the history
Signed-off-by: Progyan Bhattacharya <[email protected]>
  • Loading branch information
0xTheProDev committed Mar 1, 2024
1 parent ee0c2c3 commit 9f1f915
Show file tree
Hide file tree
Showing 53 changed files with 1,917 additions and 528 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm lint-staged
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"arrowParens": "always",
"bracketSpacing": true,
"jsxSingleQuote": false,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"plugins": ["prettier-plugin-astro"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
3 changes: 3 additions & 0 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
"*.{astro,js,ts,tsx,json,md}": ["prettier -w"],
};
18 changes: 14 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"astro": "astro",
"prettier:all": "prettier -w src/**/*.{astro,js,ts,tsx}",
"prepare": "husky"
},
"repository": {
"type": "git",
Expand All @@ -29,8 +31,6 @@
"@radix-ui/react-scroll-area": "1.0.5",
"@radix-ui/react-select": "2.0.0",
"@radix-ui/react-slot": "1.0.2",
"@types/react": "18.2.51",
"@types/react-dom": "18.2.18",
"astro": "4.3.0",
"astro-icon": "0.8.2",
"balance-text": "3.3.1",
Expand All @@ -46,10 +46,20 @@
"tailwindcss-animate": "1.0.7"
},
"devDependencies": {
"@otjs/firebase-ace": "0.2.2",
"@otjs/firebase-monaco": "0.2.2",
"@tailwindcss/typography": "0.5.10",
"@types/react": "18.2.51",
"@types/react-dom": "18.2.18",
"firebase": "9.15",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"mdast-util-toc": "7.0.0",
"prettier": "3.2.5",
"prettier-plugin-astro": "0.13.0",
"remark": "15.0.1",
"sass": "1.71.1",
"unist-util-visit": "5.0.0"
"unist-util-visit": "5.0.0",
"uuid": "9.0.1"
}
}
Loading

0 comments on commit 9f1f915

Please sign in to comment.