Skip to content

Commit f7512f6

Browse files
committed
[add] Strapi 4 wrapper
1 parent 8104f6b commit f7512f6

7 files changed

Lines changed: 1840 additions & 1 deletion

File tree

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
wrapper/
12
test/
23
.env
34
.parcel-cache/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx-restful",
3-
"version": "0.6.0-rc.1",
3+
"version": "0.6.0-rc.2",
44
"license": "LGPL-3.0",
55
"author": "shiy2008@gmail.com",
66
"description": "MobX SDK for RESTful API",

wrapper/Strapi/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.parcel-cache/

wrapper/Strapi/package.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "mobx-strapi",
3+
"version": "0.4.0-rc.0",
4+
"license": "LGPL-3.0",
5+
"author": "shiy2008@gmail.com",
6+
"description": "MobX SDK for Strapi v4 (headless CMS)",
7+
"keywords": [
8+
"mobx",
9+
"observable",
10+
"model",
11+
"sdk",
12+
"strapi",
13+
"headless",
14+
"cms",
15+
"restful",
16+
"api"
17+
],
18+
"homepage": "https://github.com/idea2app/MobX-RESTful/tree/main/wrapper/Strapi",
19+
"source": "source/index.ts",
20+
"types": "dist/index.d.ts",
21+
"module": "dist/index.esm.js",
22+
"main": "dist/index.js",
23+
"dependencies": {
24+
"@swc/helpers": "^0.4.7",
25+
"mobx-restful": "^0.6.0-rc.2",
26+
"qs": "^6.11.0",
27+
"regenerator-runtime": "^0.13.9"
28+
},
29+
"devDependencies": {
30+
"@types/qs": "^6.9.7",
31+
"parcel": "^2.7.0"
32+
},
33+
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
34+
"targets": {
35+
"main": {
36+
"optimize": true
37+
}
38+
},
39+
"scripts": {
40+
"build": "rm -rf dist/ && parcel build"
41+
}
42+
}

0 commit comments

Comments
 (0)