@osdk/create-app 0.7.0 → 0.9.0

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 (76) hide show
  1. package/README.md +1 -6
  2. package/build/js/index.cjs +157 -128
  3. package/build/js/index.cjs.map +1 -1
  4. package/build/js/index.mjs +154 -127
  5. package/build/js/index.mjs.map +1 -1
  6. package/build/types/cli.d.ts +1 -0
  7. package/build/types/cli.d.ts.map +1 -0
  8. package/build/types/cli.test.d.ts +1 -0
  9. package/build/types/cli.test.d.ts.map +1 -0
  10. package/build/types/consola.d.ts +1 -0
  11. package/build/types/consola.d.ts.map +1 -0
  12. package/build/types/generate/generateEnv.d.ts +1 -0
  13. package/build/types/generate/generateEnv.d.ts.map +1 -0
  14. package/build/types/generate/generateEnv.test.d.ts +1 -0
  15. package/build/types/generate/generateEnv.test.d.ts.map +1 -0
  16. package/build/types/generate/generateFoundryConfigJson.d.ts +1 -0
  17. package/build/types/generate/generateFoundryConfigJson.d.ts.map +1 -0
  18. package/build/types/generate/generateFoundryConfigJson.test.d.ts +1 -0
  19. package/build/types/generate/generateFoundryConfigJson.test.d.ts.map +1 -0
  20. package/build/types/generate/generateNpmRc.d.ts +1 -0
  21. package/build/types/generate/generateNpmRc.d.ts.map +1 -0
  22. package/build/types/generate/generateNpmRc.test.d.ts +1 -0
  23. package/build/types/generate/generateNpmRc.test.d.ts.map +1 -0
  24. package/build/types/highlight.d.ts +1 -0
  25. package/build/types/highlight.d.ts.map +1 -0
  26. package/build/types/index.d.ts +4 -0
  27. package/build/types/index.d.ts.map +1 -0
  28. package/build/types/prompts/promptApplicationRid.d.ts +1 -0
  29. package/build/types/prompts/promptApplicationRid.d.ts.map +1 -0
  30. package/build/types/prompts/promptApplicationRid.test.d.ts +1 -0
  31. package/build/types/prompts/promptApplicationRid.test.d.ts.map +1 -0
  32. package/build/types/prompts/promptApplicationUrl.d.ts +1 -0
  33. package/build/types/prompts/promptApplicationUrl.d.ts.map +1 -0
  34. package/build/types/prompts/promptApplicationUrl.test.d.ts +1 -0
  35. package/build/types/prompts/promptApplicationUrl.test.d.ts.map +1 -0
  36. package/build/types/prompts/promptClientId.d.ts +1 -0
  37. package/build/types/prompts/promptClientId.d.ts.map +1 -0
  38. package/build/types/prompts/promptClientId.test.d.ts +1 -0
  39. package/build/types/prompts/promptClientId.test.d.ts.map +1 -0
  40. package/build/types/prompts/promptCorsProxy.d.ts +1 -0
  41. package/build/types/prompts/promptCorsProxy.d.ts.map +1 -0
  42. package/build/types/prompts/promptCorsProxy.test.d.ts +1 -0
  43. package/build/types/prompts/promptCorsProxy.test.d.ts.map +1 -0
  44. package/build/types/prompts/promptFoundryUrl.d.ts +1 -0
  45. package/build/types/prompts/promptFoundryUrl.d.ts.map +1 -0
  46. package/build/types/prompts/promptFoundryUrl.test.d.ts +1 -0
  47. package/build/types/prompts/promptFoundryUrl.test.d.ts.map +1 -0
  48. package/build/types/prompts/promptOsdkPackage.d.ts +1 -0
  49. package/build/types/prompts/promptOsdkPackage.d.ts.map +1 -0
  50. package/build/types/prompts/promptOsdkPackage.test.d.ts +1 -0
  51. package/build/types/prompts/promptOsdkPackage.test.d.ts.map +1 -0
  52. package/build/types/prompts/promptOsdkRegistryUrl.d.ts +1 -0
  53. package/build/types/prompts/promptOsdkRegistryUrl.d.ts.map +1 -0
  54. package/build/types/prompts/promptOsdkRegistryUrl.test.d.ts +1 -0
  55. package/build/types/prompts/promptOsdkRegistryUrl.test.d.ts.map +1 -0
  56. package/build/types/prompts/promptOverwrite.d.ts +1 -0
  57. package/build/types/prompts/promptOverwrite.d.ts.map +1 -0
  58. package/build/types/prompts/promptOverwrite.test.d.ts +1 -0
  59. package/build/types/prompts/promptOverwrite.test.d.ts.map +1 -0
  60. package/build/types/prompts/promptProject.d.ts +1 -0
  61. package/build/types/prompts/promptProject.d.ts.map +1 -0
  62. package/build/types/prompts/promptProject.test.d.ts +1 -0
  63. package/build/types/prompts/promptProject.test.d.ts.map +1 -0
  64. package/build/types/prompts/promptTemplate.d.ts +1 -0
  65. package/build/types/prompts/promptTemplate.d.ts.map +1 -0
  66. package/build/types/prompts/promptTemplate.test.d.ts +1 -0
  67. package/build/types/prompts/promptTemplate.test.d.ts.map +1 -0
  68. package/build/types/run.d.ts +16 -0
  69. package/build/types/run.d.ts.map +1 -0
  70. package/build/types/templates.d.ts +1 -0
  71. package/build/types/templates.d.ts.map +1 -0
  72. package/changelog/0.9.0/pr-141.v2.yml +5 -0
  73. package/package.json +2 -4
  74. package/templates/template-next-static-export/README.md.hbs +5 -3
  75. package/templates/template-react/README.md.hbs +5 -3
  76. package/templates/template-vue/README.md.hbs +5 -3
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptApplicationUrl.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptApplicationUrl.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptApplicationUrl.test.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export declare function promptClientId({ clientId }: {
2
2
  clientId?: string;
3
3
  }): Promise<string>;
4
+ //# sourceMappingURL=promptClientId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptClientId.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptClientId.ts"],"names":[],"mappings":"AAmBA,wBAAsB,cAAc,CAClC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAClC,OAAO,CAAC,MAAM,CAAC,CAejB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptClientId.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptClientId.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptClientId.test.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export declare function promptCorsProxy({ corsProxy }: {
2
2
  corsProxy?: boolean;
3
3
  }): Promise<boolean>;
4
+ //# sourceMappingURL=promptCorsProxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptCorsProxy.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptCorsProxy.ts"],"names":[],"mappings":"AAmBA,wBAAsB,eAAe,CACnC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GACrC,OAAO,CAAC,OAAO,CAAC,CAalB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptCorsProxy.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptCorsProxy.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptCorsProxy.test.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export declare function promptFoundryUrl({ foundryUrl }: {
2
2
  foundryUrl?: string;
3
3
  }): Promise<string>;
4
+ //# sourceMappingURL=promptFoundryUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptFoundryUrl.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptFoundryUrl.ts"],"names":[],"mappings":"AAmBA,wBAAsB,gBAAgB,CACpC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GACtC,OAAO,CAAC,MAAM,CAAC,CAejB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptFoundryUrl.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptFoundryUrl.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptFoundryUrl.test.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export declare function promptOsdkPackage({ osdkPackage }: {
2
2
  osdkPackage?: string;
3
3
  }): Promise<string>;
4
+ //# sourceMappingURL=promptOsdkPackage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptOsdkPackage.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptOsdkPackage.ts"],"names":[],"mappings":"AAmBA,wBAAsB,iBAAiB,CACrC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GACxC,OAAO,CAAC,MAAM,CAAC,CAejB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptOsdkPackage.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptOsdkPackage.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptOsdkPackage.test.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export declare function promptOsdkRegistryUrl({ osdkRegistryUrl }: {
2
2
  osdkRegistryUrl?: string;
3
3
  }): Promise<string>;
4
+ //# sourceMappingURL=promptOsdkRegistryUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptOsdkRegistryUrl.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptOsdkRegistryUrl.ts"],"names":[],"mappings":"AAmBA,wBAAsB,qBAAqB,CACzC,EAAE,eAAe,EAAE,EAAE;IAAE,eAAe,CAAC,EAAE,MAAM,CAAA;CAAE,GAChD,OAAO,CAAC,MAAM,CAAC,CAuBjB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptOsdkRegistryUrl.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptOsdkRegistryUrl.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptOsdkRegistryUrl.test.ts"],"names":[],"mappings":""}
@@ -2,3 +2,4 @@ export declare function promptOverwrite({ project, overwrite, }: {
2
2
  project: string;
3
3
  overwrite?: boolean;
4
4
  }): Promise<boolean>;
5
+ //# sourceMappingURL=promptOverwrite.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptOverwrite.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptOverwrite.ts"],"names":[],"mappings":"AAqBA,wBAAsB,eAAe,CACnC,EACE,OAAO,EACP,SAAS,GACV,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GACA,OAAO,CAAC,OAAO,CAAC,CAoClB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptOverwrite.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptOverwrite.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptOverwrite.test.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export declare function promptProject({ project }: {
2
2
  project?: string;
3
3
  }): Promise<string>;
4
+ //# sourceMappingURL=promptProject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptProject.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptProject.ts"],"names":[],"mappings":"AAkBA,wBAAsB,aAAa,CACjC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAChC,OAAO,CAAC,MAAM,CAAC,CAejB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptProject.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptProject.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptProject.test.ts"],"names":[],"mappings":""}
@@ -2,3 +2,4 @@ import { type Template } from "../templates.js";
2
2
  export declare function promptTemplate(parsed: {
3
3
  template?: string;
4
4
  }): Promise<Template>;
5
+ //# sourceMappingURL=promptTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptTemplate.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptTemplate.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,iBAAiB,CAAC;AAE3D,wBAAsB,cAAc,CAClC,MAAM,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAC5B,OAAO,CAAC,QAAQ,CAAC,CA+BnB"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=promptTemplate.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promptTemplate.test.d.ts","sourceRoot":"","sources":["../../../src/prompts/promptTemplate.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import type { Template } from "./templates.js";
2
+ interface RunArgs {
3
+ project: string;
4
+ overwrite: boolean;
5
+ template: Template;
6
+ foundryUrl: string;
7
+ applicationUrl: string | undefined;
8
+ application: string;
9
+ clientId: string;
10
+ osdkPackage: string;
11
+ osdkRegistryUrl: string;
12
+ corsProxy: boolean;
13
+ }
14
+ export declare function run({ project, overwrite, template, foundryUrl, applicationUrl, application, clientId, osdkPackage, osdkRegistryUrl, corsProxy, }: RunArgs): Promise<void>;
15
+ export {};
16
+ //# sourceMappingURL=run.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/run.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,QAAQ,EAAmB,MAAM,gBAAgB,CAAC;AAEhE,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,wBAAsB,GAAG,CACvB,EACE,OAAO,EACP,SAAS,EACT,QAAQ,EACR,UAAU,EACV,cAAc,EACd,WAAW,EACX,QAAQ,EACR,WAAW,EACX,eAAe,EACf,SAAS,GACV,EAAE,OAAO,iBAqGX"}
@@ -11,3 +11,4 @@ export interface TemplateContext {
11
11
  corsProxy: boolean;
12
12
  }
13
13
  export declare const TEMPLATES: readonly Template[];
14
+ //# sourceMappingURL=templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/templates.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,SAAS,QAAQ,EAmBxC,CAAC"}
@@ -0,0 +1,5 @@
1
+ type: improvement
2
+ improvement:
3
+ description: Improves tsconfig
4
+ links:
5
+ - https://github.com/palantir/osdk-ts/pull/141
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/create-app",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "license": "Apache-2.0",
@@ -30,7 +30,6 @@
30
30
  "@types/node": "^18.0.0",
31
31
  "@types/tmp": "^0.2.6",
32
32
  "@types/yargs": "^17.0.29",
33
- "dir-compare": "^4.2.0",
34
33
  "tmp": "^0.2.1",
35
34
  "typescript": "^5.4.2"
36
35
  },
@@ -62,7 +61,6 @@
62
61
  "test:watch": "vitest",
63
62
  "transpile": "tsup",
64
63
  "transpileWatch": "tsup --watch",
65
- "typecheck": "tsc-absolute --build",
66
- "update-snapshots": "UPDATE_SNAPSHOTS=true vitest run"
64
+ "typecheck": "tsc-absolute --build"
67
65
  }
68
66
  }
@@ -1,6 +1,6 @@
1
1
  # {{project}}
2
2
 
3
- This project was generated with `@osdk/create-app` and demonstrates using the OSDK package `{{osdkPackage}}` with React on top of Next.js. Check out the [Next.js](https://nextjs.org/docs) docs for further configuration.
3
+ This project was generated with [`@osdk/create-app`](https://www.npmjs.com/package/@osdk/create-app) and demonstrates using the Ontology SDK package `{{osdkPackage}}` with React on top of Next.js. Check out the [Next.js](https://nextjs.org/docs) docs for further configuration.
4
4
 
5
5
  ## Developing
6
6
 
@@ -15,7 +15,7 @@ Development configuration is stored in `.env.development`.
15
15
  {{#if corsProxy}}
16
16
  In order to make API requests to Foundry, a CORS proxy has been set up for local development which may be removed if the stack is configured to allow `http://localhost:8080` to load resources. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
17
17
  {{else}}
18
- In order to make API requests to Foundry, CORS must be configured for the stack to allow `http://localhost:8080` to load resources. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
18
+ In order to make API requests to Foundry, CORS must be configured for the stack to allow `http://localhost:8080` to load resources. If this has not been configured and you are unable to request this, you can alternatively generate your project again with `--corsProxy true` to use a proxy for API requests during local development. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
19
19
  {{/if}}
20
20
 
21
21
  ## Deploying
@@ -30,4 +30,6 @@ Production configuration is stored in `.env.production`.
30
30
 
31
31
  If you did not fill in the URL your production application will be hosted on you will need to fill in the `NEXT_PUBLIC_FOUNDRY_REDIRECT_URL` in `.env.production`.
32
32
 
33
- In order to make API requests to Foundry, CORS must be configured for the stack to allow the production origin to load resources. The configured OAuth client must also allow the production origin auth callback as a redirect URL.
33
+ In order to make API requests to Foundry, CORS must be configured for the stack to allow the production origin to load resources. This will be automatically done for you if you are using Foundry website hosting. The configured OAuth client must also allow the production origin auth callback as a redirect URL.
34
+
35
+ A `foundry.config.json` file is included in the root of this project to make deploying to Foundry website hosting with [`@osdk/cli`](https://www.npmjs.com/package/@osdk/cli) easier. If you are not using Foundry website hosting for your application you may delete this file.
@@ -1,6 +1,6 @@
1
1
  # {{project}}
2
2
 
3
- This project was generated with `@osdk/create-app` and demonstrates using the OSDK package `{{osdkPackage}}` with React on top of Vite. Check out the [Vite](https://vitejs.dev/guide/) docs for further configuration.
3
+ This project was generated with [`@osdk/create-app`](https://www.npmjs.com/package/@osdk/create-app) and demonstrates using the Ontology SDK package `{{osdkPackage}}` with React on top of Vite. Check out the [Vite](https://vitejs.dev/guide/) docs for further configuration.
4
4
 
5
5
  ## Developing
6
6
 
@@ -15,7 +15,7 @@ Development configuration is stored in `.env.development`.
15
15
  {{#if corsProxy}}
16
16
  In order to make API requests to Foundry, a CORS proxy has been set up for local development which may be removed if the stack is configured to allow `http://localhost:8080` to load resources. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
17
17
  {{else}}
18
- In order to make API requests to Foundry, CORS must be configured for the stack to allow `http://localhost:8080` to load resources. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
18
+ In order to make API requests to Foundry, CORS must be configured for the stack to allow `http://localhost:8080` to load resources. If this has not been configured and you are unable to request this, you can alternatively generate your project again with `--corsProxy true` to use a proxy for API requests during local development. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
19
19
  {{/if}}
20
20
 
21
21
  ## Deploying
@@ -30,4 +30,6 @@ Production configuration is stored in `.env.production`.
30
30
 
31
31
  If you did not fill in the URL your production application will be hosted on you will need to fill in the `VITE_FOUNDRY_REDIRECT_URL` in `.env.production`.
32
32
 
33
- In order to make API requests to Foundry, CORS must be configured for the stack to allow the production origin to load resources. The configured OAuth client must also allow the production origin auth callback as a redirect URL.
33
+ In order to make API requests to Foundry, CORS must be configured for the stack to allow the production origin to load resources. This will be automatically done for you if you are using Foundry website hosting. The configured OAuth client must also allow the production origin auth callback as a redirect URL.
34
+
35
+ A `foundry.config.json` file is included in the root of this project to make deploying to Foundry website hosting with [`@osdk/cli`](https://www.npmjs.com/package/@osdk/cli) easier. If you are not using Foundry website hosting for your application you may delete this file.
@@ -1,6 +1,6 @@
1
1
  # {{project}}
2
2
 
3
- This project was generated with `@osdk/create-app` and demonstrates using the OSDK package `{{osdkPackage}}` with Vue on top of Vite. Check out the [Vite](https://vitejs.dev/guide/) docs for further configuration.
3
+ This project was generated with [`@osdk/create-app`](https://www.npmjs.com/package/@osdk/create-app) and demonstrates using the Ontology SDK package `{{osdkPackage}}` with Vue on top of Vite. Check out the [Vite](https://vitejs.dev/guide/) docs for further configuration.
4
4
 
5
5
  ## Developing
6
6
 
@@ -15,7 +15,7 @@ Development configuration is stored in `.env.development`.
15
15
  {{#if corsProxy}}
16
16
  In order to make API requests to Foundry, a CORS proxy has been set up for local development which may be removed if the stack is configured to allow `http://localhost:8080` to load resources. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
17
17
  {{else}}
18
- In order to make API requests to Foundry, CORS must be configured for the stack to allow `http://localhost:8080` to load resources. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
18
+ In order to make API requests to Foundry, CORS must be configured for the stack to allow `http://localhost:8080` to load resources. If this has not been configured and you are unable to request this, you can alternatively generate your project again with `--corsProxy true` to use a proxy for API requests during local development. The configured OAuth client must also allow `http://localhost:8080/auth/callback` as a redirect URL.
19
19
  {{/if}}
20
20
 
21
21
  ## Deploying
@@ -30,4 +30,6 @@ Production configuration is stored in `.env.production`.
30
30
 
31
31
  If you did not fill in the URL your production application will be hosted on you will need to fill in the `VITE_FOUNDRY_REDIRECT_URL` in `.env.production`.
32
32
 
33
- In order to make API requests to Foundry, CORS must be configured for the stack to allow the production origin to load resources. The configured OAuth client must also allow the production origin auth callback as a redirect URL.
33
+ In order to make API requests to Foundry, CORS must be configured for the stack to allow the production origin to load resources. This will be automatically done for you if you are using Foundry website hosting. The configured OAuth client must also allow the production origin auth callback as a redirect URL.
34
+
35
+ A `foundry.config.json` file is included in the root of this project to make deploying to Foundry website hosting with [`@osdk/cli`](https://www.npmjs.com/package/@osdk/cli) easier. If you are not using Foundry website hosting for your application you may delete this file.