@ghentcdh/create-crouton 0.0.1-alpha.60 → 0.0.1-alpha.61
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18969,7 +18969,7 @@ var FieldInputSchema = external_exports.object({
|
|
|
18969
18969
|
* Supports dynamic default tokens evaluated at form-open time:
|
|
18970
18970
|
* - `"$now"` — current datetime ISO string
|
|
18971
18971
|
* - `"$today"` — current date ISO string (date only, e.g. `"2025-03-14"`)
|
|
18972
|
-
* - `"$user
|
|
18972
|
+
* - `"$user"` — current user object (requires `defaults: { '$user': ... }` on `CroutonPlugin` config, or `useCrouton().setDefault('$user', ...)`)
|
|
18973
18973
|
*/
|
|
18974
18974
|
defaultValue: external_exports.unknown().optional(),
|
|
18975
18975
|
options: external_exports.union([RelationFieldInputOptionsSchema, external_exports.unknown()]).optional(),
|
|
@@ -38971,7 +38971,7 @@ var runCreate = async (name, opts) => {
|
|
|
38971
38971
|
const tokens = {
|
|
38972
38972
|
name,
|
|
38973
38973
|
Name: toTitle(name),
|
|
38974
|
-
version: true ? "0.0.1-alpha.
|
|
38974
|
+
version: true ? "0.0.1-alpha.61" : "latest",
|
|
38975
38975
|
year: String((/* @__PURE__ */ new Date()).getFullYear()),
|
|
38976
38976
|
pmRun: pm === "npm" ? "npm run" : pm,
|
|
38977
38977
|
urlEnv: "DATABASE_URL",
|