cognite-create 0.2.23 → 0.2.24

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cognite-create",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "Create a Next.js app preconfigured with Cognite defaults.",
5
5
  "bin": {
6
6
  "cognite-create": "./bin/index.js"
@@ -10,9 +10,16 @@ Always use semantic Tailwind color classes (e.g., bg-primary, text-primary, bord
10
10
 
11
11
  CogniteSDK Rules
12
12
 
13
- Look in .env.example for the envars to use.
13
+ Environment Variables
14
+ # Cognite Configuration
15
+ NEXT_PUBLIC_COGNITE_PROJECT=
16
+ NEXT_PUBLIC_COGNITE_BASE_URL=
14
17
 
15
- All CogniteSDK calls should be done server side or in server components.
18
+ # OIDC Authentication (Required for production)
19
+ NEXT_PUBLIC_COGNITE_CLIENT_ID=
20
+ COGNITE_CLIENT_SECRET=
21
+
22
+ All CogniteSDK calls should be done server side in server actions or in server components.
16
23
 
17
24
  We can't use the cognite sdk in the browser as the COGNITE_CLIENT_SECRET is private.
18
25