@krizaka/config 0.4.0 → 0.4.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.
package/README.md CHANGED
@@ -119,11 +119,11 @@ The rule — on in `krizakaBase` and `krizakaNext` — refuses a name read throu
119
119
 
120
120
  - a **product**: the organisation's name, the repository's own (the first word of its package.json name,
121
121
  `acme-monorepo` → `ACME_`), or one you name — a deployment already says which product it is;
122
- - a **vendor** (`BUNNY_`, `MAILGUN_`, `RESEND_`, `STRIPE_`, `GOOGLE_`, `EXPO_`, `REDIS_`, `VERCEL_`…): the vendor is a
122
+ - a **vendor** (`BUNNY_`, `MAILGUN_`, `RESEND_`, `STRIPE_`, `GOOGLE_`, `EXPO_`, `REDIS_`…): the vendor is a
123
123
  value (`MEDIA_STORAGE_PROVIDER=bunny`, `MAIL_PROVIDER=mailgun`) and its settings sit under the context
124
124
  (`MEDIA_STORAGE_API_KEY`, `MAIL_API_KEY`).
125
125
 
126
- The platforms' own names (`GITHUB_TOKEN`, `VERCEL_URL`, `EAS_BUILD`, …) pass. Tune it with
126
+ The platforms' own names (`GITHUB_TOKEN`, `EAS_BUILD`, …) pass. Tune it with
127
127
  `envNames({ products, vendors, allow })` from `@krizaka/config/eslint/env-names`; `envNamePrefixProblem(name)` gives
128
128
  the same verdict to a script (a `.env.example` or deployment spec check).
129
129
 
package/eslint/rules.js CHANGED
@@ -180,11 +180,11 @@ export const ENV_VENDOR_PREFIXES = Object.freeze([
180
180
  "TWILIO", "SUPABASE", "MAPBOX",
181
181
  ]);
182
182
 
183
- /** Names the platforms set themselves (GitHub Actions, Vercel, EAS): read, never chosen. */
183
+ /** Names the platforms set themselves (GitHub Actions, EAS): read, never chosen. */
184
184
  export const ENV_PLATFORM_NAMES = Object.freeze([
185
185
  "GITHUB_ACTIONS", "GITHUB_TOKEN", "GITHUB_SHA", "GITHUB_REF", "GITHUB_REF_NAME", "GITHUB_REPOSITORY", "GITHUB_RUN_ID",
186
186
  "GITHUB_RUN_NUMBER", "GITHUB_WORKSPACE", "GITHUB_OUTPUT", "GITHUB_STEP_SUMMARY", "GITHUB_EVENT_NAME", "GITHUB_SERVER_URL",
187
- "VERCEL", "VERCEL_ENV", "VERCEL_URL", "VERCEL_GIT_COMMIT_SHA", "EAS_BUILD", "EAS_BUILD_PLATFORM", "EAS_BUILD_PROFILE",
187
+ "EAS_BUILD", "EAS_BUILD_PLATFORM", "EAS_BUILD_PROFILE",
188
188
  "EXPO_TOKEN",
189
189
  ]);
190
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/config",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "The shared configuration of every Krizaka JavaScript repository: ESLint flat configs (base, Next.js, the four UI rules, the three stack rules, no locale ternary), the dependency-cruiser boundary, tsconfig bases, Prettier, EditorConfig, and the krizaka-ratchet debt counter.",
5
5
  "keywords": [
6
6
  "krizaka",
@@ -12,7 +12,7 @@
12
12
  "dependency-cruiser",
13
13
  "tanstack"
14
14
  ],
15
- "homepage": "https://www.krizaka.com/en/docs/ui",
15
+ "homepage": "https://ui.krizaka.com/packages/config",
16
16
  "bugs": "https://github.com/krizaka/krizaka-ui/issues",
17
17
  "repository": {
18
18
  "type": "git",