cognite-create 0.2.18 → 0.2.19
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
|
@@ -8,8 +8,6 @@ Use the ShadCN MCP server to list the Cognite registry for components you can us
|
|
|
8
8
|
|
|
9
9
|
Always use semantic Tailwind color classes (e.g., bg-primary, text-primary, border-primary) instead of arbitrary color values (e.g., bg-blue-600, text-red-500). This ensures consistency with the design system.
|
|
10
10
|
|
|
11
|
-
Run `pnpm lint` after your changes to make sure you have fixed all potential errors.
|
|
12
|
-
|
|
13
11
|
When setting up auth rememeber to set up the oidcTokenProvider.
|
|
14
12
|
|
|
15
13
|
Use this function to get the token string:
|
|
@@ -32,4 +30,8 @@ export const getToken = async (clientId: string, clientSecret: string) => {
|
|
|
32
30
|
|
|
33
31
|
console.log("Token response:", data);
|
|
34
32
|
return data.access_token;
|
|
35
|
-
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
Always run `pnpm lint` after you make changes to make sure you have fixed all potential errors.
|
|
36
|
+
|
|
37
|
+
Make sure all client and server components are handled properly and you are not passing client events from server components.
|