@userfrosting/sprinkle-core 6.0.0-beta.8 → 6.0.0-rc.1

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/README.md CHANGED
@@ -1,21 +1,34 @@
1
- # UserFrosting 5.2 Core Sprinkle
2
-
3
- [![Version](https://img.shields.io/github/v/release/userfrosting/sprinkle-core?include_prereleases)](https://github.com/userfrosting/sprinkle-core/releases)
4
- ![PHP Version](https://img.shields.io/badge/php-%5E8.1-brightgreen)
5
- [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)
6
- [![Build](https://img.shields.io/github/actions/workflow/status/userfrosting/sprinkle-core/Build.yml?branch=5.2&logo=github)](https://github.com/userfrosting/sprinkle-core/actions)
7
- [![Codecov](https://codecov.io/gh/userfrosting/sprinkle-core/branch/5.2/graph/badge.svg)](https://app.codecov.io/gh/userfrosting/sprinkle-core/branch/5.2)
8
- [![StyleCI](https://github.styleci.io/repos/372359383/shield?branch=5.2&style=flat)](https://github.styleci.io/repos/372359383)
9
- [![PHPStan](https://img.shields.io/github/actions/workflow/status/userfrosting/sprinkle-core/PHPStan.yml?branch=5.2&label=PHPStan)](https://github.com/userfrosting/sprinkle-core/actions/workflows/PHPStan.yml)
10
- [![Join the chat](https://img.shields.io/badge/Chat-UserFrosting-brightgreen?logo=Rocket.Chat)](https://chat.userfrosting.com)
11
- [![Donate](https://img.shields.io/badge/Open_Collective-Donate-blue?logo=Open%20Collective)](https://opencollective.com/userfrosting#backer)
12
- [![Donate](https://img.shields.io/badge/Ko--fi-Donate-blue?logo=ko-fi&logoColor=white)](https://ko-fi.com/lcharette)
1
+ # UserFrosting 6.0 - Core Sprinkle
2
+
3
+ [![][UF6-CO-VER-I]][UF6-CO-VER-L]
4
+ [![][UF6-CO-NPM-I]][UF6-CO-NPM-L]
5
+ [![][UF6-LIS-I]][UF6-LIS-L]
6
+ [![][UF6-CHA-I]][UF6-CHA-L]
7
+ [![][UF6-COL-I]][UF6-COL-L]
8
+ [![][UF6-KOF-I]][UF6-KOF-L]
9
+
10
+ <!-- Links -->
11
+ [UF6-CO-VER-I]: https://img.shields.io/github/v/release/userfrosting/sprinkle-core?include_prereleases
12
+ [UF6-CO-VER-L]: https://github.com/userfrosting/sprinkle-core/releases
13
+ [UF6-CO-NPM-I]: https://img.shields.io/npm/v/%40userfrosting%2Fsprinkle-core
14
+ [UF6-CO-NPM-L]: https://www.npmjs.com/package/@userfrosting/sprinkle-core
15
+ [UF6-LIS-I]: https://img.shields.io/badge/license-MIT-brightgreen.svg
16
+ [UF6-LIS-L]: LICENSE
17
+ [UF6-CHA-I]: https://img.shields.io/badge/Chat-UserFrosting-brightgreen?logo=Rocket.Chat
18
+ [UF6-CHA-L]: https://chat.userfrosting.com
19
+ [UF6-COL-I]: https://img.shields.io/badge/Open_Collective-Donate-blue?logo=Open%20Collective
20
+ [UF6-COL-L]: https://opencollective.com/userfrosting#backer
21
+ [UF6-KOF-I]: https://img.shields.io/badge/Ko--fi-Donate-blue?logo=ko-fi&logoColor=white
22
+ [UF6-KOF-L]: https://ko-fi.com/lcharette
23
+
24
+ > [!WARNING]
25
+ > Since 6.0, this is a read-only subtree split of the [UserFrosting Monorepo](https://github.com/userfrosting/monorepo). To contribute, all Pull Requests should be sent against the monorepo. Please see the [contributing guidelines](https://github.com/userfrosting/.github/blob/main/.github/CONTRIBUTING.md) for more information.
13
26
 
14
27
  ## By [Alex Weissman](https://alexanderweissman.com) and [Louis Charette](https://bbqsoftwares.com)
15
28
 
16
- Copyright (c) 2013-2024, free to use in personal and commercial software as per the [license](LICENSE.md).
29
+ Copyright (c) 2013-2026, free to use in personal and commercial software as per the [MIT license](LICENSE.md).
17
30
 
18
- UserFrosting is a secure, modern user management system written in PHP and built on top of the [Slim Microframework](http://www.slimframework.com/), [Twig](http://twig.sensiolabs.org/) templating engine, and [Eloquent](https://laravel.com/docs/10.x/eloquent#introduction) ORM.
31
+ UserFrosting is a secure, modern user management system written in PHP and built on top of the [Slim Microframework](http://www.slimframework.com/), [Twig](http://twig.sensiolabs.org/) templating engine, [Eloquent](https://laravel.com/docs/10.x/eloquent#introduction) ORM, [Vite](https://vitejs.dev/), [Vue](https://vuejs.org/), and [UiKit](https://getuikit.com/).
19
32
 
20
33
  This **Core Sprinkle** provides most of the "heavy lifting" PHP code. It provides all the necessary services for database, templating, error handling, mail support, request throttling, and more.
21
34
 
@@ -42,38 +55,6 @@ To use this sprinkle in your UserFrosting project, follow theses instructions (*
42
55
  php bakery bake
43
56
  ```
44
57
 
45
- ## Install locally and run tests
46
- You can also install this sprinkle locally. This can be useful to debug or contribute to this sprinkle.
47
-
48
- 1. Clone repo :
49
- ```
50
- git clone https://github.com/userfrosting/sprinkle-core.git
51
- ```
52
- 2. Change directory
53
- ```
54
- cd sprinkle-core
55
- ```
56
- 3. Install dependencies :
57
- ```
58
- composer install
59
- ```
60
- 4. Run bake command :
61
- ```
62
- php bakery bake
63
- ```
64
-
65
- From this point, you can use the same command as with any other sprinkle.
66
-
67
- Tests can be run using the bundled PHPUnit :
68
- ```
69
- vendor/bin/phpunit
70
- ```
71
-
72
- Same for PHPStan, for code quality :
73
- ```
74
- vendor/bin/phpstan analyse app/src/
75
- ```
76
-
77
58
  ## Documentation
78
59
  See main [UserFrosting Documentation](https://learn.userfrosting.com) for more information.
79
60
 
@@ -1,9 +1,9 @@
1
- import { resolveComponent as o, createBlock as e, openBlock as n } from "vue";
1
+ import { resolveComponent as o, openBlock as e, createBlock as n } from "vue";
2
2
  import { _ as t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const c = {};
4
4
  function _(a, s) {
5
5
  const r = o("UFErrorPage");
6
- return n(), e(r, { errorCode: "401" });
6
+ return e(), n(r, { errorCode: "401" });
7
7
  }
8
8
  const p = /* @__PURE__ */ t(c, [["render", _]]);
9
9
  export {
@@ -1,9 +1,9 @@
1
- import { resolveComponent as o, createBlock as e, openBlock as n } from "vue";
1
+ import { resolveComponent as o, openBlock as e, createBlock as n } from "vue";
2
2
  import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const t = {};
4
4
  function _(a, s) {
5
5
  const r = o("UFErrorPage");
6
- return n(), e(r, { errorCode: "403" });
6
+ return e(), n(r, { errorCode: "403" });
7
7
  }
8
8
  const p = /* @__PURE__ */ c(t, [["render", _]]);
9
9
  export {
@@ -1,9 +1,9 @@
1
- import { resolveComponent as r, createBlock as e, openBlock as n } from "vue";
1
+ import { resolveComponent as r, openBlock as e, createBlock as n } from "vue";
2
2
  import { _ as t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const c = {};
4
4
  function _(a, s) {
5
5
  const o = r("UFErrorPage");
6
- return n(), e(o, { errorCode: "404" });
6
+ return e(), n(o, { errorCode: "404" });
7
7
  }
8
8
  const p = /* @__PURE__ */ t(c, [["render", _]]);
9
9
  export {
@@ -1,9 +1,9 @@
1
- import { resolveComponent as o, createBlock as e, openBlock as c } from "vue";
1
+ import { resolveComponent as o, openBlock as e, createBlock as c } from "vue";
2
2
  import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const t = {};
4
4
  function _(a, s) {
5
5
  const r = o("UFErrorPage");
6
- return c(), e(r);
6
+ return e(), c(r);
7
7
  }
8
8
  const p = /* @__PURE__ */ n(t, [["render", _]]);
9
9
  export {
@@ -1,8 +1,8 @@
1
1
  import { ref as _, computed as c, watchEffect as T, toValue as B } from "vue";
2
2
  import D from "axios";
3
- import { u as y, a as h } from "./useAxiosInterceptor-DTHSvv-f.js";
3
+ import { u as y, a as h } from "./useAxiosInterceptor-DcOpTLHG.js";
4
4
  import { required as q, withMessage as i, email as G, minLength as S, maxLength as V, integer as $, oneOf as p, regex as m, not as M, numeric as O, between as z, url as L } from "@regle/rules";
5
- import { b as H } from "./useAlertsStore-BnSfoOG2.js";
5
+ import { c as H } from "./useAlertsStore-Ca6nXz8C.js";
6
6
  const X = (s, a = {}, w = {}, o = 10, t = 0) => {
7
7
  const e = _(o), n = _(t), g = _(a), u = _(w), r = _({
8
8
  count: 0,
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { u as r, b as a } from "./useAlertsStore-BnSfoOG2.js";
2
- import { u as s, a as e } from "./useAxiosInterceptor-DTHSvv-f.js";
1
+ import { a, c as r } from "./useAlertsStore-Ca6nXz8C.js";
2
+ import { u as s, a as e } from "./useAxiosInterceptor-DcOpTLHG.js";
3
3
  import "vue";
4
4
  import "axios";
5
5
  import "@regle/rules";
6
6
  const p = {
7
7
  install: (o) => {
8
- s(), r().load();
9
- const t = a();
8
+ s(), a().load();
9
+ const t = r();
10
10
  t.load(), o.config.globalProperties.$t = t.translate, o.config.globalProperties.$tdate = t.translateDate, e();
11
11
  }
12
12
  };
package/dist/routes.js CHANGED
@@ -6,7 +6,7 @@ const t = [
6
6
  title: "ERROR.404.TITLE",
7
7
  description: "ERROR.404.DESCRIPTION"
8
8
  },
9
- component: () => import("./Page404NotFound-C7Y20KCv.js")
9
+ component: () => import("./Page404NotFound-CIs-2Fy2.js")
10
10
  },
11
11
  {
12
12
  path: "/:pathMatch(.*)*",
@@ -15,7 +15,7 @@ const t = [
15
15
  title: "ERROR.401.TITLE",
16
16
  description: "ERROR.401.DESCRIPTION"
17
17
  },
18
- component: () => import("./Page401Unauthorized-Dkz0W0kI.js")
18
+ component: () => import("./Page401Unauthorized-D_EoXicK.js")
19
19
  },
20
20
  {
21
21
  path: "/:pathMatch(.*)*",
@@ -24,7 +24,7 @@ const t = [
24
24
  title: "ERROR.403.TITLE",
25
25
  description: "ERROR.403.DESCRIPTION"
26
26
  },
27
- component: () => import("./Page403Forbidden-CZrvZLe3.js")
27
+ component: () => import("./Page403Forbidden-C96BgRtx.js")
28
28
  },
29
29
  {
30
30
  path: "/:pathMatch(.*)*",
@@ -33,7 +33,7 @@ const t = [
33
33
  title: "ERROR.TITLE",
34
34
  description: "ERROR.DESCRIPTION"
35
35
  },
36
- component: () => import("./PageError-wq0-2ksY.js")
36
+ component: () => import("./PageError-Sk-QAv9A.js")
37
37
  }
38
38
  ];
39
39
  export {
package/dist/stores.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as a, u as r, a as o, b as t } from "./useAlertsStore-BnSfoOG2.js";
1
+ import { u as a, a as r, b as o, c as t } from "./useAlertsStore-Ca6nXz8C.js";
2
2
  export {
3
3
  a as useAlertsStore,
4
4
  r as useConfigStore,
@@ -172,8 +172,8 @@ const D = T("config", {
172
172
  }
173
173
  });
174
174
  export {
175
- Z as a,
176
- U as b,
177
- k as c,
178
- D as u
175
+ D as a,
176
+ Z as b,
177
+ U as c,
178
+ k as u
179
179
  };
@@ -1,5 +1,5 @@
1
1
  import { ref as l, watchEffect as S } from "vue";
2
- import { u as f, c as A } from "./useAlertsStore-BnSfoOG2.js";
2
+ import { a as f, u as A } from "./useAlertsStore-Ca6nXz8C.js";
3
3
  import u from "axios";
4
4
  import "vue-router";
5
5
  import { S as b } from "./severity-DwLpzIij.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@userfrosting/sprinkle-core",
3
- "version": "6.0.0-beta.8",
3
+ "version": "6.0.0-rc.1",
4
4
  "type": "module",
5
5
  "description": "Core Sprinkle for UserFrosting",
6
6
  "funding": "https://opencollective.com/userfrosting",
@@ -64,7 +64,7 @@
64
64
  "luxon": "^3.5.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "axios": "^1.12.0",
67
+ "axios": "^1.16.0",
68
68
  "pinia": "^2.1.6",
69
69
  "pinia-plugin-persistedstate": "^3.2.0",
70
70
  "vue": "^3.4.21",