IAPL rename, scripted: preferred names in src, bin, scripts, services, tests; bin files and skill folders moved
Replaced by an explicit list of forms only (ten exported names, runtime env names, project file names and marks, commands, skill names, the log prefix, the brand in prose). Package name, import paths, routes, CSS tokens, data attributes, custom keys, context flags, the cookie and kv keys are not touched. package.json keeps the five old bin names beside the five new ones. The old names stop working in this commit and come back as aliases in the next; docs follow. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
414a4702df
commit
0a4f001797
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* The copy rules as ONE table (review round 4 of the follow-ups: "a rule that cannot widen").
|
||||
*
|
||||
* A plugin listed after ipalKit copies staff collections, reuses their access objects, wraps their rules, writes
|
||||
* A plugin listed after iapl copies staff collections, reuses their access objects, wraps their rules, writes
|
||||
* rules of its own next to them — every shape the reviews of 1.16.7's follow-ups tried (zzcopy3's table, R4-1, F-1,
|
||||
* F-2, G-1, G-2, H-1, J-1, J-2). For every shape, every kind of account and every operation two things must hold:
|
||||
*
|
||||
@@ -26,7 +26,7 @@ import path from 'path'
|
||||
import { getPayload } from 'payload'
|
||||
import { expect, test } from 'vitest'
|
||||
|
||||
import { ipalKit } from '../src/plugin.js'
|
||||
import { iapl } from '../src/plugin.js'
|
||||
import { buildTestConfig } from './helpers.js'
|
||||
import { testDatabase } from './http/db.js'
|
||||
import { startPayloadServer } from './http/server.js'
|
||||
@@ -131,7 +131,7 @@ export function copyTableSuite(twoFactor: boolean): void {
|
||||
db: testDatabase(twoFactor ? 'copy_table_2fa' : 'copy_table'),
|
||||
editor: lexicalEditor(),
|
||||
plugins: [
|
||||
ipalKit({
|
||||
iapl({
|
||||
access: { authCollection: 'users', staffCollections: ['agents', 'crew', 'team', 'proj', ...staffShapes(names)] },
|
||||
i18n: { defaultLocale: 'en', locales: [{ code: 'en', label: 'English' }] },
|
||||
twoFactor: twoFactor ? { issuer: 'Example', plugin: payloadTotp, verifyLimit: false } : false,
|
||||
|
||||
Reference in New Issue
Block a user