strapi-plugin-magic-mark 3.4.0 → 4.0.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +366 -0
  2. package/README.md +390 -619
  3. package/dist/admin/App-C9PsvW9C.mjs +580 -0
  4. package/dist/admin/App-KJvUCwN1.js +580 -0
  5. package/dist/admin/PinnedBookmarksWidget-ClskVR1i.mjs +55 -0
  6. package/dist/admin/PinnedBookmarksWidget-DlD8lDhq.js +55 -0
  7. package/dist/admin/de-BF0nCjGF.mjs +183 -0
  8. package/dist/admin/de-Cn90CcnC.js +183 -0
  9. package/dist/admin/en-D-EGHodf.mjs +183 -0
  10. package/dist/admin/en-GDfO_EfL.js +183 -0
  11. package/dist/admin/es-6o-_RABX.js +183 -0
  12. package/dist/admin/es-C33BufuB.mjs +183 -0
  13. package/dist/admin/fr-BOZS5mJT.js +183 -0
  14. package/dist/admin/fr-DJHTjkmb.mjs +183 -0
  15. package/dist/admin/index-CLjQOzqv.js +1770 -0
  16. package/dist/admin/index-X8I03cOT.mjs +1769 -0
  17. package/dist/admin/index.js +4 -2
  18. package/dist/admin/index.mjs +2 -1
  19. package/dist/admin/pt-D13SxuK2.js +183 -0
  20. package/dist/admin/pt-yoB1jrsq.mjs +183 -0
  21. package/dist/server/index.js +1129 -1542
  22. package/dist/server/index.mjs +1126 -1539
  23. package/package.json +90 -54
  24. package/strapi-admin.js +5 -0
  25. package/strapi-server.js +2 -1
  26. package/COPYRIGHT_NOTICE.txt +0 -20
  27. package/dist/_chunks/App-DNyxeldt.js +0 -1451
  28. package/dist/_chunks/App-D_Vllkur.mjs +0 -1449
  29. package/dist/_chunks/UpgradePage-DuyIskve.mjs +0 -351
  30. package/dist/_chunks/UpgradePage-SzlmS6po.js +0 -353
  31. package/dist/_chunks/de-Cs9dd3Mr.js +0 -138
  32. package/dist/_chunks/de-DOVki5VS.mjs +0 -138
  33. package/dist/_chunks/en-CE3r46Y2.js +0 -138
  34. package/dist/_chunks/en-Cf5-O03L.mjs +0 -138
  35. package/dist/_chunks/es-Ba6JcPIm.mjs +0 -138
  36. package/dist/_chunks/es-D4AOyJYJ.js +0 -138
  37. package/dist/_chunks/fr-CWSfoA8i.js +0 -138
  38. package/dist/_chunks/fr-CrMBXR3c.mjs +0 -138
  39. package/dist/_chunks/index-CBwb0AEf.js +0 -3618
  40. package/dist/_chunks/index-JirQF8zE.mjs +0 -328
  41. package/dist/_chunks/index-QkINaIgJ.mjs +0 -3614
  42. package/dist/_chunks/index-uUErgmi9.js +0 -330
  43. package/dist/_chunks/pt-BXxZ1Zym.mjs +0 -138
  44. package/dist/_chunks/pt-DW_6r_mP.js +0 -138
  45. package/pics/advancedFilters.png +0 -0
  46. package/pics/dashboard.png +0 -0
  47. package/pics/quickaccesinContentmanager.png +0 -0
  48. package/pics/saveAsMagicMark.png +0 -0
package/package.json CHANGED
@@ -1,16 +1,30 @@
1
1
  {
2
- "version": "3.4.0",
2
+ "name": "strapi-plugin-magic-mark",
3
+ "version": "4.0.0",
4
+ "description": "Bookmarks for the Strapi 5 Content Manager: save list views with their filters, sort order, search and locale, pin them and share them with roles or admin users.",
3
5
  "keywords": [
4
6
  "strapi",
5
7
  "strapi-plugin",
6
8
  "strapi-v5",
7
- "bookmarks",
8
- "query-builder",
9
+ "strapi-5",
9
10
  "content-manager",
11
+ "bookmarks",
12
+ "saved-views",
13
+ "saved-filters",
10
14
  "filters",
11
- "productivity",
15
+ "list-view",
12
16
  "admin-panel"
13
17
  ],
18
+ "homepage": "https://schero94.github.io/Magicmark/",
19
+ "bugs": {
20
+ "url": "https://github.com/Schero94/Magicmark/issues"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/Schero94/Magicmark.git"
25
+ },
26
+ "license": "MIT",
27
+ "author": "Schero D.",
14
28
  "type": "commonjs",
15
29
  "exports": {
16
30
  "./package.json": "./package.json",
@@ -28,75 +42,97 @@
28
42
  }
29
43
  },
30
44
  "files": [
31
- "dist/",
45
+ "dist",
46
+ "strapi-admin.js",
32
47
  "strapi-server.js",
33
48
  "README.md",
34
49
  "LICENSE",
35
- "COPYRIGHT_NOTICE.txt",
36
- "pics/"
50
+ "CHANGELOG.md"
37
51
  ],
38
52
  "scripts": {
39
- "build": "strapi-plugin build",
53
+ "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
54
+ "test": "node --test tests/*.test.cjs",
55
+ "test:ts:front": "tsc --noEmit -p admin/tsconfig.json",
56
+ "test:ts:back": "tsc --noEmit -p server/tsconfig.json",
57
+ "lint": "eslint .",
58
+ "lint:fix": "eslint . --fix",
59
+ "format": "prettier --write .",
60
+ "format:check": "prettier --check .",
61
+ "build": "npm run clean && strapi-plugin build",
40
62
  "watch": "strapi-plugin watch",
41
63
  "watch:link": "strapi-plugin watch:link",
42
64
  "verify": "strapi-plugin verify",
43
- "test:ts:front": "run -T tsc -p admin/tsconfig.json",
44
- "test:ts:back": "run -T tsc -p server/tsconfig.json"
65
+ "verify:runtime": "node scripts/verify-runtime.cjs",
66
+ "prepublishOnly": "npm test && npm run build && npm run verify && npm run verify:runtime"
45
67
  },
46
68
  "dependencies": {
47
- "@heroicons/react": "^2.2.0",
48
- "@strapi/design-system": "^2.0.0-rc.30",
49
- "@strapi/icons": "^2.0.0-rc.30",
50
- "@types/qs": "^6.14.0",
51
- "qs": "^6.14.0",
52
- "react-intl": "^7.1.14"
69
+ "@strapi/utils": "^5.57.0",
70
+ "qs": "^6.17.1",
71
+ "zod": "^4.6.7"
53
72
  },
54
73
  "devDependencies": {
55
- "@semantic-release/changelog": "^6.0.3",
56
- "@semantic-release/commit-analyzer": "^13.0.0",
57
- "@semantic-release/git": "^10.0.1",
58
- "@semantic-release/github": "^11.0.2",
59
- "@semantic-release/npm": "^12.0.1",
60
- "@semantic-release/release-notes-generator": "^14.0.1",
61
- "@strapi/sdk-plugin": "^5.3.2",
62
- "@strapi/strapi": "^5.29.0",
63
- "@strapi/typescript-utils": "^5.29.0",
64
- "@swc/core": "^1.13.5",
65
- "@types/react": "^19.2.2",
66
- "@types/react-dom": "^19.2.2",
67
- "prettier": "^3.6.2",
74
+ "@eslint/js": "^10.0.1",
75
+ "@semantic-release/changelog": "^7.0.0",
76
+ "@semantic-release/commit-analyzer": "^13.0.1",
77
+ "@semantic-release/git": "^11.0.1",
78
+ "@semantic-release/github": "^12.0.10",
79
+ "@semantic-release/npm": "^13.2.0",
80
+ "@semantic-release/release-notes-generator": "^14.1.1",
81
+ "@strapi/design-system": "^2.2.4",
82
+ "@strapi/icons": "^2.2.4",
83
+ "@strapi/sdk-plugin": "^6.1.1",
84
+ "@strapi/strapi": "5.61.0",
85
+ "@strapi/typescript-utils": "5.61.0",
86
+ "@types/qs": "^6.15.1",
87
+ "@types/react": "^18.3.31",
88
+ "@types/react-dom": "^18.3.7",
89
+ "eslint": "^10.14.0",
90
+ "eslint-config-prettier": "^10.1.8",
91
+ "eslint-plugin-react-hooks": "^7.1.1",
92
+ "globals": "^17.14.0",
93
+ "prettier": "^3.9.10",
68
94
  "react": "^18.3.1",
69
95
  "react-dom": "^18.3.1",
70
- "react-router-dom": "^6.30.1",
71
- "semantic-release": "^24.2.3",
72
- "styled-components": "^6.1.19",
73
- "typescript": "^5.9.3"
96
+ "react-intl": "^6.8.9",
97
+ "react-router-dom": "^6.30.6",
98
+ "semantic-release": "^25.0.9",
99
+ "styled-components": "^6.6.0",
100
+ "typescript": "^5.9.3",
101
+ "typescript-eslint": "^8.72.1"
74
102
  },
75
103
  "peerDependencies": {
76
- "@strapi/sdk-plugin": "^5.3.2",
77
- "@strapi/strapi": "^5.29.0",
78
- "react": "^18.3.1",
79
- "react-dom": "^18.3.1",
80
- "react-router-dom": "^6.30.1",
81
- "styled-components": "^6.1.19"
104
+ "@strapi/design-system": "^2.0.0",
105
+ "@strapi/icons": "^2.0.0",
106
+ "@strapi/strapi": "^5.57.0",
107
+ "react": "^18.0.0",
108
+ "react-dom": "^18.0.0",
109
+ "react-intl": "^6.0.0",
110
+ "react-router-dom": "^6.0.0",
111
+ "styled-components": "^6.0.0"
112
+ },
113
+ "peerDependenciesMeta": {
114
+ "@strapi/design-system": {
115
+ "optional": true
116
+ },
117
+ "@strapi/icons": {
118
+ "optional": true
119
+ },
120
+ "react-intl": {
121
+ "optional": true
122
+ }
123
+ },
124
+ "engines": {
125
+ "node": "^22.22.2 || >=24.15.0",
126
+ "npm": ">=6.0.0"
127
+ },
128
+ "publishConfig": {
129
+ "access": "public"
82
130
  },
83
131
  "strapi": {
84
132
  "kind": "plugin",
85
133
  "name": "magic-mark",
86
- "displayName": "MagicMark - Query Builder",
87
- "description": "Save and apply complex Content Manager queries with one click. Advanced bookmark management with role-based sharing."
88
- },
89
- "name": "strapi-plugin-magic-mark",
90
- "description": "Advanced Query Builder and Bookmark Manager for Strapi v5 - Save complex Content Manager filters with one click",
91
- "license": "MIT",
92
- "private": false,
93
- "author": "Schero D.",
94
- "repository": {
95
- "type": "git",
96
- "url": "https://github.com/Schero94/Magicmark.git"
97
- },
98
- "bugs": {
99
- "url": "https://github.com/Schero94/Magicmark/issues"
134
+ "displayName": "Magic Mark",
135
+ "description": "Save Content Manager list views with their filters as bookmarks and share them with roles and users."
100
136
  },
101
- "homepage": "https://github.com/Schero94/Magicmark#readme"
137
+ "private": false
102
138
  }
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ const admin = require('./dist/admin/index.js');
4
+
5
+ module.exports = admin.default || admin;
package/strapi-server.js CHANGED
@@ -1,4 +1,5 @@
1
1
  'use strict';
2
2
 
3
- module.exports = require('./server/src/index.ts');
3
+ const server = require('./dist/server/index.js');
4
4
 
5
+ module.exports = server.default || server;
@@ -1,20 +0,0 @@
1
- /**
2
- * MagicMark - Advanced Query Builder for Strapi
3
- *
4
- * Copyright (c) 2025 Schero D.
5
- *
6
- * Licensed under the MIT License
7
- *
8
- * This plugin is free to use for personal and commercial projects.
9
- *
10
- * IMPORTANT RESTRICTION:
11
- * The license validation system (license-guard.ts and related components)
12
- * must remain intact and functional. Removing or bypassing this system
13
- * is strictly prohibited.
14
- *
15
- * See LICENSE file for full terms.
16
- *
17
- * Repository: https://github.com/Schero94/Magicmark
18
- * Issues: https://github.com/Schero94/Magicmark/issues
19
- */
20
-