@bieberkit/plugin-pages 0.0.1 → 0.6.0

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
@@ -1,19 +1,127 @@
1
1
  {
2
2
  "name": "@bieberkit/plugin-pages",
3
- "version": "0.0.1",
4
- "description": "Reserved for the first BieberKit release of this package.",
3
+ "version": "0.6.0",
4
+ "description": "Publishes localized block content and its canonical site paths.",
5
+ "keywords": [
6
+ "bieberkit",
7
+ "bieberkit-plugin"
8
+ ],
9
+ "homepage": "https://github.com/kieutrongthien/bieberkit#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/kieutrongthien/bieberkit/issues"
12
+ },
5
13
  "license": "Apache-2.0",
6
14
  "author": "Bieber Kieu <kieutrongthien@gmail.com>",
7
- "homepage": "https://github.com/kieutrongthien/bieberkit#readme",
8
15
  "repository": {
9
16
  "type": "git",
10
17
  "url": "git+https://github.com/kieutrongthien/bieberkit.git",
11
18
  "directory": "plugins/pages"
12
19
  },
13
20
  "files": [
14
- "NOTICE"
21
+ "dist",
22
+ "NOTICE",
23
+ "CHANGELOG.md"
15
24
  ],
25
+ "type": "module",
26
+ "sideEffects": false,
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ },
32
+ "./admin": {
33
+ "types": "./dist/admin/index.d.ts",
34
+ "default": "./dist/admin/index.js"
35
+ },
36
+ "./package.json": "./package.json"
37
+ },
16
38
  "publishConfig": {
17
- "registry": "https://registry.npmjs.org/"
39
+ "access": "public"
40
+ },
41
+ "dependencies": {
42
+ "@bieberkit/content": "0.6.0",
43
+ "@bieberkit/core": "0.6.0",
44
+ "@bieberkit/data": "0.6.0",
45
+ "@bieberkit/http": "0.6.0",
46
+ "@bieberkit/plugin-redirects": "0.6.0",
47
+ "@bieberkit/site-kit": "0.6.0"
48
+ },
49
+ "devDependencies": {
50
+ "@bieberkit/admin-antd": "0.6.0",
51
+ "@bieberkit/admin-core": "0.6.0",
52
+ "@bieberkit/testing": "0.6.0",
53
+ "@tanstack/react-query": "5.108.0",
54
+ "@types/react": "19.3.0",
55
+ "antd": "6.7.1",
56
+ "react": "19.3.1",
57
+ "react-dom": "19.3.1"
58
+ },
59
+ "peerDependencies": {
60
+ "@bieberkit/admin-antd": "^0.6.0",
61
+ "@bieberkit/admin-core": "^0.6.0",
62
+ "@tanstack/react-query": "^5.108.0",
63
+ "antd": "^6.0.0",
64
+ "react": "^19.0.0"
65
+ },
66
+ "peerDependenciesMeta": {
67
+ "@bieberkit/admin-antd": {
68
+ "optional": true
69
+ },
70
+ "@bieberkit/admin-core": {
71
+ "optional": true
72
+ },
73
+ "@tanstack/react-query": {
74
+ "optional": true
75
+ },
76
+ "antd": {
77
+ "optional": true
78
+ },
79
+ "react": {
80
+ "optional": true
81
+ }
82
+ },
83
+ "engines": {
84
+ "node": ">=24.12"
85
+ },
86
+ "bieberkit": {
87
+ "core": "*",
88
+ "dialects": [
89
+ "mysql",
90
+ "postgres",
91
+ "sqlite"
92
+ ],
93
+ "requires": {
94
+ "@bieberkit/plugin-redirects": "*"
95
+ },
96
+ "conflicts": [],
97
+ "env": [],
98
+ "tables": [
99
+ "bk_site_public_comments",
100
+ "bk_site_publication_locales",
101
+ "bk_site_publications"
102
+ ],
103
+ "routes": [
104
+ "DELETE /api/v1/pages/publications/:id/comments/:locale/:comment",
105
+ "GET /api/v1/pages/preview",
106
+ "GET /api/v1/pages/publications",
107
+ "GET /api/v1/pages/publications/:id/comments/:locale",
108
+ "GET /api/v1/pages/publications/:id/drafts/:locale",
109
+ "GET /api/v1/pages/sections/:slug",
110
+ "POST /api/v1/pages/publications",
111
+ "POST /api/v1/pages/publications/:id/comments/:locale",
112
+ "POST /api/v1/pages/publications/:id/preview/:locale",
113
+ "POST /api/v1/pages/publications/:id/publish/:locale",
114
+ "PUT /api/v1/pages/publications/:id/drafts/:locale"
115
+ ],
116
+ "permissions": [
117
+ "pages.manage",
118
+ "pages.publish",
119
+ "pages.read"
120
+ ],
121
+ "admin": []
122
+ },
123
+ "scripts": {
124
+ "build": "tsdown && tsdown -c tsdown.admin.config.ts && node --conditions=@bieberkit/source ../../tools/plugin-manifests.ts --write --plugin .",
125
+ "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p src/admin/tsconfig.json"
18
126
  }
19
127
  }