cognite-create 0.2.37 → 0.2.39

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/bin/index.js CHANGED
@@ -87,6 +87,8 @@ async function main() {
87
87
  }
88
88
 
89
89
  const createArgs = ["create-vite@latest", projectDir, ...additionalArgs];
90
+ console.log("\nšŸ” Running create-vite with args:", createArgs.join(" "));
91
+ console.log("šŸ“‹ Full command: npx", createArgs.join(" "), "\n");
90
92
  await runCreateVite(createArgs);
91
93
  await cleanupViteDefaults(projectDir);
92
94
  await addCogniteTemplates(projectDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cognite-create",
3
- "version": "0.2.37",
3
+ "version": "0.2.39",
4
4
  "description": "Create a Next.js app preconfigured with Cognite defaults.",
5
5
  "bin": {
6
6
  "cognite-create": "./bin/index.js"
@@ -1,7 +1,7 @@
1
- import path from "path"
2
- import tailwindcss from "@tailwindcss/vite"
3
- import react from "@vitejs/plugin-react"
4
- import { defineConfig } from "vite"
1
+ import path from "path";
2
+ import tailwindcss from "@tailwindcss/vite";
3
+ import react from "@vitejs/plugin-react";
4
+ import { defineConfig } from "vite";
5
5
 
6
6
  // https://vite.dev/config/
7
7
  export default defineConfig({
@@ -11,4 +11,4 @@ export default defineConfig({
11
11
  "@": path.resolve(__dirname, "./src"),
12
12
  },
13
13
  },
14
- })
14
+ });