@lukoweb/create-apitogo 0.1.46 → 0.1.48

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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "siteName": "__APP_TITLE__",
3
+ "branding": { "title": "__APP_TITLE__" }
4
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "projectId": "optional-local-project-id",
3
+ "backend": {
4
+ "sourceDirectory": "../my-api"
5
+ }
6
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "plans": [
3
+ {
4
+ "sku": "pro",
5
+ "priceAmount": 19.99
6
+ }
7
+ ],
8
+ "backend": {
9
+ "deployed": true
10
+ }
11
+ }
@@ -10,7 +10,9 @@ To edit this page, open the `pages/introduction.mdx` file.
10
10
 
11
11
  ## Configuration
12
12
 
13
- You can find the full configuration for your APIToGo site in the `apitogo.config.tsx` file.
13
+ You can find the full site configuration in `apitogo.config.tsx`. Plans, branding, and deploy
14
+ metadata live in `apitogo.json` — copy `apitogo.local.example.json` or `apitogo.prod.example.json`
15
+ when you need environment-specific overrides.
14
16
 
15
17
  For further information on how to customize your site, check out the
16
18
  [APIToGo documentation](https://docs.apitogo.com).
@@ -252,7 +252,7 @@ export const installTemplate = async ({
252
252
  const configContents = await fs.readFile(configPath, "utf8");
253
253
  await fs.writeFile(configPath, substituteAppTitle(configContents), "utf8");
254
254
 
255
- const manifestPath = path.join(root, "apitogo.local.json");
255
+ const manifestPath = path.join(root, "apitogo.json");
256
256
  try {
257
257
  const manifestContents = await fs.readFile(manifestPath, "utf8");
258
258
  await fs.writeFile(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/create-apitogo",
3
- "version": "0.1.46",
3
+ "version": "0.1.48",
4
4
  "keywords": [
5
5
  "react",
6
6
  "apitogo"
@@ -1,23 +0,0 @@
1
- {
2
- "siteName": "__APP_TITLE__",
3
- "branding": { "title": "__APP_TITLE__" },
4
- "plans": [
5
- {
6
- "sku": "free",
7
- "displayName": "Free",
8
- "isFree": true,
9
- "limitsJson": "{\"rateLimit\":{\"calls\":10,\"renewalPeriodSeconds\":60}}",
10
- "includedActionKeys": []
11
- },
12
- {
13
- "sku": "pro",
14
- "displayName": "Pro",
15
- "isFree": false,
16
- "priceAmount": 9.99,
17
- "priceCurrency": "usd",
18
- "billingPeriod": "monthly",
19
- "limitsJson": "{\"rateLimit\":{\"calls\":100,\"renewalPeriodSeconds\":60},\"quota\":{\"calls\":50000,\"renewalPeriodDays\":1}}",
20
- "includedActionKeys": ["get:/api/items"]
21
- }
22
- ]
23
- }