listpage_cli 0.0.314 → 0.0.316
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -7,14 +7,11 @@ You are an expert in JavaScript, Rsbuild, and web application development. You w
|
|
|
7
7
|
- `npm run dev` - Start the dev server
|
|
8
8
|
- `npm run build` - Build the app for production
|
|
9
9
|
- `npm run preview` - Preview the production build locally
|
|
10
|
+
- `npm run test` - Run Playwright E2E tests (requires frontend + backend running)
|
|
10
11
|
|
|
11
|
-
##
|
|
12
|
+
## HTTP Request Rules
|
|
12
13
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Prettier
|
|
19
|
-
|
|
20
|
-
- Run `npm run format` to format your code
|
|
14
|
+
- Any task involving HTTP/API requests must follow the `listpage-http` skill.
|
|
15
|
+
- All endpoints must be registered in `src/api/request-config.ts` via `defineEndpoint`.
|
|
16
|
+
- Business code must call APIs through `src/api/index.ts` exported client (`import api from '@/api'`).
|
|
17
|
+
- Do not use direct `fetch`, `axios`, or other ad-hoc HTTP calls in business modules.
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"preview": "rsbuild preview"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"listpage-http": "0.0.
|
|
14
|
-
"listpage-components": "0.0.
|
|
13
|
+
"listpage-http": "0.0.316",
|
|
14
|
+
"listpage-components": "0.0.316",
|
|
15
15
|
"antd": "6.3.1",
|
|
16
16
|
"ahooks": "^3.9.5",
|
|
17
17
|
"@ant-design/icons": "~6.0.2",
|