@lukoweb/create-apitogo 0.1.63 → 0.1.65

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,23 @@
1
+ # APItoGo local configuration
2
+ # Uncomment the settings you need and fill in values. Do not commit secrets.
3
+ #
4
+ # Local demo auth is enabled by default in development.
5
+ # Sign in at /login with demo@apitogo.local / password
6
+ # APITOGO_CONFIG_DEMO_MODE=false
7
+
8
+ # --- Live API URL (set automatically on publish; needed for production builds) ---
9
+ # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
10
+
11
+ # --- OIDC (required when auth mode includes OIDC) ---
12
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__AUTHORITY=https://login.example.com
13
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_ID=your-client-id
14
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_SECRET=your-client-secret
15
+
16
+ # --- Provider client secrets (optional alternative to OIDC__* above) ---
17
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__OIDC__CLIENT_SECRET=your-client-secret
18
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GOOGLE__CLIENT_SECRET=your-google-client-secret
19
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GITHUB__CLIENT_SECRET=your-github-client-secret
20
+
21
+ # --- Stripe (required when you have paid plans) ---
22
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__SECRET_KEY=sk_test_...
23
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__WEBHOOK_SECRET=whsec_...
@@ -0,0 +1,23 @@
1
+ # APItoGo local configuration
2
+ # Uncomment the settings you need and fill in values. Do not commit secrets.
3
+ #
4
+ # Local demo auth is enabled by default in development.
5
+ # Sign in at /login with demo@apitogo.local / password
6
+ # APITOGO_CONFIG_DEMO_MODE=false
7
+
8
+ # --- Live API URL (set automatically on publish; needed for production builds) ---
9
+ # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
10
+
11
+ # --- OIDC (required when auth mode includes OIDC) ---
12
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__AUTHORITY=https://login.example.com
13
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_ID=your-client-id
14
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_SECRET=your-client-secret
15
+
16
+ # --- Provider client secrets (optional alternative to OIDC__* above) ---
17
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__OIDC__CLIENT_SECRET=your-client-secret
18
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GOOGLE__CLIENT_SECRET=your-google-client-secret
19
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GITHUB__CLIENT_SECRET=your-github-client-secret
20
+
21
+ # --- Stripe (required when you have paid plans) ---
22
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__SECRET_KEY=sk_test_...
23
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__WEBHOOK_SECRET=whsec_...
@@ -0,0 +1,23 @@
1
+ # APItoGo local configuration
2
+ # Uncomment the settings you need and fill in values. Do not commit secrets.
3
+ #
4
+ # Local demo auth is enabled by default in development.
5
+ # Sign in at /login with demo@apitogo.local / password
6
+ # APITOGO_CONFIG_DEMO_MODE=false
7
+
8
+ # --- Live API URL (set automatically on publish; needed for production builds) ---
9
+ # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
10
+
11
+ # --- OIDC (required when auth mode includes OIDC) ---
12
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__AUTHORITY=https://login.example.com
13
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_ID=your-client-id
14
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_SECRET=your-client-secret
15
+
16
+ # --- Provider client secrets (optional alternative to OIDC__* above) ---
17
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__OIDC__CLIENT_SECRET=your-client-secret
18
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GOOGLE__CLIENT_SECRET=your-google-client-secret
19
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GITHUB__CLIENT_SECRET=your-github-client-secret
20
+
21
+ # --- Stripe (required when you have paid plans) ---
22
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__SECRET_KEY=sk_test_...
23
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__WEBHOOK_SECRET=whsec_...
@@ -0,0 +1,23 @@
1
+ # APItoGo local configuration
2
+ # Uncomment the settings you need and fill in values. Do not commit secrets.
3
+ #
4
+ # Local demo auth is enabled by default in development.
5
+ # Sign in at /login with demo@apitogo.local / password
6
+ # APITOGO_CONFIG_DEMO_MODE=false
7
+
8
+ # --- Live API URL (set automatically on publish; needed for production builds) ---
9
+ # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
10
+
11
+ # --- OIDC (required when auth mode includes OIDC) ---
12
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__AUTHORITY=https://login.example.com
13
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_ID=your-client-id
14
+ # APITOGO_CONFIG_AUTHENTICATION__OIDC__CLIENT_SECRET=your-client-secret
15
+
16
+ # --- Provider client secrets (optional alternative to OIDC__* above) ---
17
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__OIDC__CLIENT_SECRET=your-client-secret
18
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GOOGLE__CLIENT_SECRET=your-google-client-secret
19
+ # APITOGO_CONFIG_AUTHENTICATION__PROVIDERS__GITHUB__CLIENT_SECRET=your-github-client-secret
20
+
21
+ # --- Stripe (required when you have paid plans) ---
22
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__SECRET_KEY=sk_test_...
23
+ # APITOGO_CONFIG_AUTHENTICATION__STRIPE__WEBHOOK_SECRET=whsec_...
@@ -224,6 +224,10 @@ export const installTemplate = async ({
224
224
  case "eslintrc.json": {
225
225
  return `.${name}`;
226
226
  }
227
+ // Stored as `env` so the monorepo `.gitignore` (`.env`) does not drop the template.
228
+ case "env": {
229
+ return ".env";
230
+ }
227
231
  // README.md is ignored by webpack-asset-relocator-loader used by ncc:
228
232
  // https://github.com/vercel/webpack-asset-relocator-loader/blob/e9308683d47ff507253e37c9bcbb99474603192b/src/asset-relocator.js#L227
229
233
  case "README-template.md": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/create-apitogo",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
4
4
  "keywords": [
5
5
  "react",
6
6
  "apitogo"
@@ -1,6 +0,0 @@
1
- # Local demo auth is enabled by default in development.
2
- # Sign in at /login with demo@apitogo.local / password
3
- # Set APITOGO_CONFIG_demoMode=false to disable.
4
- #
5
- # Live dev-portal API URL (only needed after publish):
6
- # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
@@ -1,6 +0,0 @@
1
- # Local demo auth is enabled by default in development.
2
- # Sign in at /login with demo@apitogo.local / password
3
- # Set APITOGO_CONFIG_demoMode=false to disable.
4
- #
5
- # Live dev-portal API URL (only needed after publish):
6
- # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
@@ -1 +0,0 @@
1
- VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io
@@ -1,6 +0,0 @@
1
- # Local demo auth is enabled by default in development.
2
- # Sign in at /login with demo@apitogo.local / password
3
- # Set APITOGO_CONFIG_demoMode=false to disable.
4
- #
5
- # Live dev-portal API URL (only needed after publish):
6
- # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
@@ -1,6 +0,0 @@
1
- # Local demo auth is enabled by default in development.
2
- # Sign in at /login with demo@apitogo.local / password
3
- # Set APITOGO_CONFIG_demoMode=false to disable.
4
- #
5
- # Live dev-portal API URL (only needed after publish):
6
- # VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://your-dev-portal-api.example.com
@@ -1 +0,0 @@
1
- VITE_APITOGO_AUTHENTICATION_API_BASE_URL=https://dp-example.azurecontainerapps.io