Skip to content

Commit

Permalink
feat(zhi-core): add basic blog project
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Apr 26, 2023
1 parent b2d8047 commit 5819297
Show file tree
Hide file tree
Showing 29 changed files with 3,318 additions and 91 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ Thumbs.db

# Styles
*.css

.astro
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Expose Astro dependencies for \`pnpm\` users
shamefully-hoist=true
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
5 changes: 1 addition & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
]
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint", "astro-build.astro-vscode"]
}
29 changes: 13 additions & 16 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
{
"plugins": ["@nxtensions/astro"],
"targetDefaults": {
"lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore"]
},
"test": {
"inputs": ["default", "^default"]
}
},
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": ["build", "lint", "test", "e2e"],
"cacheableOperations": ["build", "lint", "test", "e2e", "check"],
"accessToken": "NWRiNzY2NDMtNjg0My00NmJmLTgwMzAtMTA1YjI1MDBmYTgzfHJlYWQtd3JpdGU="
}
}
},
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"lint": {
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore"
]
},
"test": {
"inputs": ["default", "^default"]
}
},
"generators": {
"@nrwl/web:application": {
"style": "styl",
Expand All @@ -34,5 +29,7 @@
"linter": "eslint",
"unitTestRunner": "vitest"
}
}
},
"defaultProject": "zhi-server-blog-astro",
"extends": "nx/presets/npm.json"
}
Loading

0 comments on commit 5819297

Please sign in to comment.