@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.
- package/_templates/app/new/config/vite.config.ts.ejs.t +1 -1
- package/_templates/app/new/cursor/data-modeling.mdc.ejs.t +3 -1
- package/_templates/app/new/cursor/rules.mdc.ejs.t +1 -1
- package/_templates/app/new/root/package.json.ejs.t +1 -1
- package/dist/vite/index.js +1 -1
- package/package.json +1 -1
- package/src/vite/fusion-open-plugin.ts +1 -1
|
@@ -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
|
+
|
package/dist/vite/index.js
CHANGED
|
@@ -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 :
|
|
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
|
@@ -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 :
|
|
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)) {
|