@cognite/dune 0.3.1 → 0.3.2

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.
Files changed (46) hide show
  1. package/_templates/app/new/config/eslint.config.mjs.ejs.t +96 -0
  2. package/_templates/app/new/config/tailwind.config.js.ejs.t +1 -5
  3. package/_templates/app/new/config/vite.config.ts.ejs.t +9 -10
  4. package/_templates/app/new/config/vitest.config.ts.ejs.t +4 -5
  5. package/_templates/app/new/config/vitest.setup.ts.ejs.t +1 -2
  6. package/_templates/app/new/cursor/mcp.json.ejs.t +0 -5
  7. package/_templates/app/new/cursor/rules.mdc.ejs.t +1 -2
  8. package/_templates/app/new/prompt.js +29 -29
  9. package/_templates/app/new/root/index.html.ejs.t +3 -3
  10. package/_templates/app/new/root/package.json.ejs.t +11 -5
  11. package/_templates/app/new/src/App.test.tsx.ejs.t +32 -20
  12. package/_templates/app/new/src/App.tsx.ejs.t +118 -7
  13. package/_templates/app/new/src/lib/utils.ts.ejs.t +2 -3
  14. package/_templates/app/new/src/main.tsx.ejs.t +8 -8
  15. package/_templates/app/new/src/styles.css.ejs.t +5 -19
  16. package/bin/auth/authentication-flow.js +16 -14
  17. package/bin/auth/callback-server.js +23 -23
  18. package/bin/auth/certificate-manager.js +13 -13
  19. package/bin/auth/client-credentials.js +31 -32
  20. package/bin/auth/oauth-client.js +7 -7
  21. package/bin/cli.js +31 -30
  22. package/bin/deploy-command.js +32 -32
  23. package/bin/deploy-interactive-command.js +73 -73
  24. package/bin/skills-command.js +28 -28
  25. package/bin/utils/crypto.js +7 -8
  26. package/dist/auth/index.d.ts +10 -13
  27. package/dist/auth/index.js +1 -1
  28. package/dist/{chunk-VIBN7U5H.js → chunk-53VTKDSC.js} +1 -2
  29. package/dist/index.d.ts +2 -2
  30. package/dist/index.js +1 -1
  31. package/package.json +1 -1
  32. package/src/auth/dune-auth-provider.tsx +17 -16
  33. package/src/auth/index.ts +5 -5
  34. package/src/auth/use-dune.ts +5 -4
  35. package/src/auth/utils.ts +18 -18
  36. package/src/deploy/application-deployer.ts +12 -11
  37. package/src/deploy/application-packager.ts +11 -10
  38. package/src/deploy/deploy.ts +7 -6
  39. package/src/deploy/get-sdk.ts +4 -3
  40. package/src/deploy/index.ts +6 -6
  41. package/src/deploy/login.ts +7 -7
  42. package/src/index.ts +1 -1
  43. package/src/vite/fusion-open-plugin.ts +12 -12
  44. package/src/vite/index.ts +1 -1
  45. package/_templates/app/new/config/biome.json.ejs.t +0 -54
  46. package/_templates/app/new/config/components.json.ejs.t +0 -28
@@ -1,54 +0,0 @@
1
- ---
2
- to: '<%= useCurrentDir ? "" : ((directoryName || name) + "/") %>biome.json'
3
- ---
4
- {
5
- "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
6
- "organizeImports": {
7
- "enabled": true
8
- },
9
- "linter": {
10
- "enabled": true,
11
- "rules": {
12
- "recommended": true,
13
- "suspicious": {
14
- "noExplicitAny": "off"
15
- },
16
- "style": {
17
- "noNonNullAssertion": "off"
18
- },
19
- "complexity": {
20
- "noForEach": "off"
21
- }
22
- }
23
- },
24
- "formatter": {
25
- "enabled": true,
26
- "indentStyle": "space",
27
- "indentWidth": 2,
28
- "lineWidth": 100
29
- },
30
- "javascript": {
31
- "formatter": {
32
- "quoteStyle": "double",
33
- "trailingCommas": "es5",
34
- "semicolons": "always"
35
- }
36
- },
37
- "json": {
38
- "formatter": {
39
- "enabled": true
40
- }
41
- },
42
- "files": {
43
- "ignore": [
44
- "node_modules",
45
- "dist",
46
- "build",
47
- ".next",
48
- "coverage",
49
- "*.min.js",
50
- "pnpm-lock.yaml"
51
- ]
52
- }
53
- }
54
-
@@ -1,28 +0,0 @@
1
- ---
2
- to: '<%= useCurrentDir ? "" : ((directoryName || name) + "/") %>components.json'
3
- ---
4
- {
5
- "$schema": "https://ui.shadcn.com/schema.json",
6
- "style": "new-york",
7
- "rsc": false,
8
- "tsx": true,
9
- "tailwind": {
10
- "config": "tailwind.config.js",
11
- "css": "src/styles.css",
12
- "baseColor": "zinc",
13
- "cssVariables": true,
14
- "prefix": ""
15
- },
16
- "iconLibrary": "lucide",
17
- "aliases": {
18
- "components": "@/components",
19
- "utils": "@/lib/utils",
20
- "ui": "@/components/ui",
21
- "lib": "@/lib",
22
- "hooks": "@/hooks"
23
- },
24
- "registries": {
25
- "@aura": "https://cognitedata.github.io/aura/r/{name}.json"
26
- }
27
- }
28
-