Skip to content

Commit

Permalink
update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqcode committed Oct 5, 2024
1 parent 42aa593 commit 700daca
Show file tree
Hide file tree
Showing 13 changed files with 117 additions and 144 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ jobs:
- name: Package Build Test
run: pnpm build:all

- name: Unit test
- name: Unit Test
run: pnpm test

- name: Plugins Build Test
run: pnpm build:plugins

- name: Lint
run: pnpm eslint ui && pnpm prettier --check ui

Expand Down
8 changes: 3 additions & 5 deletions docs/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
},
"devDependencies": {
"artalk": "workspace:^",
"vitepress": "1.3.4"
},
"dependencies": {
"@artalk/plugin-katex": "^0.2.3",
"@artalk/plugin-lightbox": "^0.2.3",
"vitepress": "1.3.4",
"@artalk/plugin-katex": "^0.2.4",
"@artalk/plugin-lightbox": "^0.2.4",
"katex": "^0.16.11",
"lightgallery": "^2.7.2",
"vue": "^3.5.6"
Expand Down
6 changes: 2 additions & 4 deletions docs/landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
"preview": "vite preview",
"update:readme": "npx tsx ./scripts/update-readme.ts"
},
"dependencies": {
"devDependencies": {
"include-media": "^2.0.0",
"normalize.css": "^8.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "5.3.0"
},
"devDependencies": {
"react-icons": "5.3.0",
"@headlessui/react": "^2.1.8",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,21 @@
"dev:landing": "pnpm -F=docs-landing dev",
"build": "pnpm -F artalk build",
"build:sidebar": "pnpm -F @artalk/artalk-sidebar build",
"build:all": "pnpm build && pnpm build:sidebar",
"build:plugins": "pnpm -F @artalk/plugin-* build",
"build:auth": "pnpm -F @artalk/plugin-auth build",
"build:plugin-kit": "pnpm -F @artalk/plugin-kit build",
"build:eslint-plugin": "pnpm -F eslint-plugin-artalk build",
"build:auth": "pnpm -F @artalk/plugin-auth build",
"build:all": "pnpm build && pnpm build:sidebar",
"build:docs": "pnpm build && pnpm -F=docs-landing build && pnpm -F=docs-swagger swagger:build && pnpm -F=docs build:docs && pnpm patch:docs",
"patch:docs": "cp -rf docs/landing/dist/* docs/swagger/dist/* docs/docs/.vitepress/dist",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check .",
"lint": "pnpm lint:eslint && pnpm lint:prettier",
"lint:fix": "pnpm lint:eslint --fix && pnpm lint:prettier --write",
"test": "pnpm -F artalk test",
"postinstall": "node scripts/setup-ui-dev-env.mjs"
"test": "pnpm -F artalk test"
},
"devDependencies": {
"@artalk/plugin-kit": "^1.0.6",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.10.0",
"@playwright/test": "^1.47.1",
Expand All @@ -35,7 +36,7 @@
"eslint": "^9.10.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-artalk": "workspace:^",
"eslint-plugin-artalk": "^1.0.1",
"eslint-plugin-compat": "^6.0.1",
"eslint-plugin-import-x": "^4.2.1",
"eslint-plugin-react": "^7.36.1",
Expand Down
144 changes: 86 additions & 58 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 700daca

Please sign in to comment.