@cognite/dune 0.2.0 → 0.2.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.
@@ -18,7 +18,7 @@ export default defineConfig({
18
18
  },
19
19
  },
20
20
  server: {
21
- port: 3000,
21
+ port: 3001,
22
22
  },
23
23
  worker: {
24
24
  format: "es",
@@ -1,5 +1,5 @@
1
1
  ---
2
- to: <%= name %>/.cursor/data-modeling.mdc
2
+ to: <%= name %>/.cursor/rules/data-modeling.mdc
3
3
  ---
4
4
  ---
5
5
  alwaysApply: true
@@ -1992,3 +1992,5 @@ This example demonstrates:
1992
1992
  - Validate data before upserting
1993
1993
  - Log errors with context for debugging
1994
1994
 
1995
+
1996
+
@@ -1,5 +1,5 @@
1
1
  ---
2
- to: <%= name %>/.cursor/rules.mdc
2
+ to: <%= name %>/.cursor/rules/rules.mdc
3
3
  ---
4
4
  ---
5
5
  description: Describes global rules
@@ -21,7 +21,7 @@ to: <%= name %>/package.json
21
21
  },
22
22
  "dependencies": {
23
23
  "@cognite/sdk": "^10.3.0",
24
- "@cognite/dune": "^0.1.2",
24
+ "@cognite/dune": "^0.2.1",
25
25
  "@tanstack/react-query": "^5.90.10",
26
26
  "clsx": "^2.1.1",
27
27
  "react": "^19.2.0",
@@ -16,7 +16,7 @@ var fusionOpenPlugin = () => {
16
16
  configureServer(server) {
17
17
  server.httpServer?.on("listening", () => {
18
18
  const address = server.httpServer?.address();
19
- const port = address && typeof address === "object" ? address.port : 3e3;
19
+ const port = address && typeof address === "object" ? address.port : 3001;
20
20
  const appJsonPath = path.join(process.cwd(), "app.json");
21
21
  if (fs.existsSync(appJsonPath)) {
22
22
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/dune",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Build and deploy React apps to Cognite Data Fusion",
5
5
  "keywords": [
6
6
  "cognite",
@@ -25,7 +25,7 @@ export const fusionOpenPlugin = () => {
25
25
  configureServer(server: ViteDevServer) {
26
26
  server.httpServer?.on("listening", () => {
27
27
  const address = server.httpServer?.address();
28
- const port = address && typeof address === "object" ? address.port : 3000;
28
+ const port = address && typeof address === "object" ? address.port : 3001;
29
29
 
30
30
  const appJsonPath = path.join(process.cwd(), "app.json");
31
31
  if (fs.existsSync(appJsonPath)) {