create-bw-app 0.24.2 → 0.24.4
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 +1 -1
- package/src/constants.mjs +9 -9
- package/template/modules/projects/app/(shell)/projetos/[projectId]/loading.tsx +1 -0
- package/template/supabase/modules/projects/migrations/20260804120000_project_task_start_date.sql +12 -0
- package/template/supabase/modules/projects/migrations/20260804123000_project_start_date.sql +12 -0
package/package.json
CHANGED
package/src/constants.mjs
CHANGED
|
@@ -175,16 +175,16 @@ export const PLATFORM_STARTER_FILES = [
|
|
|
175
175
|
];
|
|
176
176
|
|
|
177
177
|
export const APP_DEPENDENCY_DEFAULTS = {
|
|
178
|
-
"@brightweblabs/app-shell": "^0.11.
|
|
179
|
-
"@brightweblabs/core-auth": "^0.10.
|
|
178
|
+
"@brightweblabs/app-shell": "^0.11.3",
|
|
179
|
+
"@brightweblabs/core-auth": "^0.10.3",
|
|
180
180
|
"@brightweblabs/infra": "^0.7.0",
|
|
181
|
-
"@brightweblabs/module-admin": "^0.8.
|
|
182
|
-
"@brightweblabs/module-crm": "^0.
|
|
183
|
-
"@brightweblabs/module-marketing": "^0.4.
|
|
184
|
-
"@brightweblabs/module-orgs": "^0.4.
|
|
185
|
-
"@brightweblabs/module-projects": "^0.
|
|
186
|
-
"@brightweblabs/theme": "^0.7.
|
|
187
|
-
"@brightweblabs/ui": "^1.4.
|
|
181
|
+
"@brightweblabs/module-admin": "^0.8.8",
|
|
182
|
+
"@brightweblabs/module-crm": "^0.15.0",
|
|
183
|
+
"@brightweblabs/module-marketing": "^0.4.3",
|
|
184
|
+
"@brightweblabs/module-orgs": "^0.4.3",
|
|
185
|
+
"@brightweblabs/module-projects": "^0.14.0",
|
|
186
|
+
"@brightweblabs/theme": "^0.7.4",
|
|
187
|
+
"@brightweblabs/ui": "^1.4.7",
|
|
188
188
|
"geist": "1.7.2",
|
|
189
189
|
"lucide-react": "^1.8.0",
|
|
190
190
|
"next": "^16.0.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProjectDetailLoading as default } from "@brightweblabs/module-projects/ui/project-detail-loading";
|
package/template/supabase/modules/projects/migrations/20260804120000_project_task_start_date.sql
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
ALTER TABLE public.project_tasks
|
|
2
|
+
ADD COLUMN IF NOT EXISTS start_date date;
|
|
3
|
+
|
|
4
|
+
ALTER TABLE public.project_tasks
|
|
5
|
+
DROP CONSTRAINT IF EXISTS project_tasks_date_range_check;
|
|
6
|
+
|
|
7
|
+
ALTER TABLE public.project_tasks
|
|
8
|
+
ADD CONSTRAINT project_tasks_date_range_check
|
|
9
|
+
CHECK (start_date IS NULL OR due_date IS NULL OR due_date >= start_date);
|
|
10
|
+
|
|
11
|
+
CREATE INDEX IF NOT EXISTS idx_project_tasks_start_date
|
|
12
|
+
ON public.project_tasks (start_date);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
ALTER TABLE public.projects
|
|
2
|
+
ADD COLUMN IF NOT EXISTS start_date date;
|
|
3
|
+
|
|
4
|
+
ALTER TABLE public.projects
|
|
5
|
+
DROP CONSTRAINT IF EXISTS projects_date_range_check;
|
|
6
|
+
|
|
7
|
+
ALTER TABLE public.projects
|
|
8
|
+
ADD CONSTRAINT projects_date_range_check
|
|
9
|
+
CHECK (start_date IS NULL OR target_date IS NULL OR target_date >= start_date);
|
|
10
|
+
|
|
11
|
+
CREATE INDEX IF NOT EXISTS idx_projects_start_date
|
|
12
|
+
ON public.projects(start_date);
|