From 03452376f9a1d8ef2007a2fd63dc5854704bce77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Wed, 25 Nov 2026 18:04:26 +0100 Subject: [PATCH] IAPL rename: three places where the brand rule had replaced a path segment or a test's needle scripts/starter-gate.mjs (node_modules/@intecion/ipal-kit), dev/tsconfig.json (the 'ipal-kit' path alias), test/starter.test.ts (the lockfile must not contain 'ipal-kit'); two JSDoc import lines. Found by pnpm starter:gate. Co-Authored-By: Claude Fable 5.2 --- dev/tsconfig.json | 2 +- scripts/starter-gate.mjs | 2 +- src/modules/frontend/createContentHelpers.ts | 2 +- src/plugin.ts | 2 +- test/starter.test.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev/tsconfig.json b/dev/tsconfig.json index cf72e10..0bc30d1 100644 --- a/dev/tsconfig.json +++ b/dev/tsconfig.json @@ -19,7 +19,7 @@ "@payload-config": [ "./payload.config.ts" ], - "IAPL": [ + "ipal-kit": [ "../src/index.ts" ], "ipal-kit/client": [ diff --git a/scripts/starter-gate.mjs b/scripts/starter-gate.mjs index 9608630..5b71c74 100644 --- a/scripts/starter-gate.mjs +++ b/scripts/starter-gate.mjs @@ -131,7 +131,7 @@ async function main() { const made = JSON.parse(readFileSync(join(site, '.iapl', 'starter.json'), 'utf8')) check('generated by this tarball (bundle sha256, plugin version)', made.source?.bundleSha256 === bundleSha256 && made.iapl === version, `${bundleSha256.slice(0, 12)} ยท ${version}`) check('bundle built from this commit', (made.source?.commit ?? '').replace(/-dirty$/, '') === commit, made.source?.commit ?? 'none') - const installed = join(site, 'node_modules', '@intecion', 'IAPL') + const installed = join(site, 'node_modules', '@intecion', 'ipal-kit') const installedSha = createHash('sha256').update(readFileSync(join(installed, 'dist', 'starter', 'template.json.gz'))).digest('hex') check('the site installed this tarball', installedSha === bundleSha256 && JSON.parse(readFileSync(join(installed, 'package.json'), 'utf8')).version === version) check('first commit, nothing left uncommitted', out('git', ['-C', site, 'status', '--porcelain']) === '' && out('git', ['-C', site, 'log', '--oneline']).split('\n').length === 1) diff --git a/src/modules/frontend/createContentHelpers.ts b/src/modules/frontend/createContentHelpers.ts index b986a67..b933979 100644 --- a/src/modules/frontend/createContentHelpers.ts +++ b/src/modules/frontend/createContentHelpers.ts @@ -172,7 +172,7 @@ export type PageJsonLdOptions = { * * ```ts * // src/lib/content.ts - * import { createContentHelpers } from 'IAPL' + * import { createContentHelpers } from '@intecion/ipal-kit' * import config from '@/payload.config' * import { contentConfig } from '@/content.config' * diff --git a/src/plugin.ts b/src/plugin.ts index ea6013a..dd90246 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -73,7 +73,7 @@ const TOTP_REDIRECT_PROVIDER = '@intecion/ipal-kit/admin#TotpRedirectProvider' * * @example * ```ts - * import { iapl } from 'IAPL' + * import { iapl } from '@intecion/ipal-kit' * * export default buildConfig({ * plugins: [ diff --git a/test/starter.test.ts b/test/starter.test.ts index 61c0fd2..228f41e 100644 --- a/test/starter.test.ts +++ b/test/starter.test.ts @@ -175,7 +175,7 @@ describe('starter: generated files', () => { 'snapshots:', '', " '@intecion/ipal-kit@file:..(abc)':", ' dependencies:', ' next: 16.4.3', '', ' next@16.4.3: {}', '', ].join('\n') const out = lockfileWithoutPlugin(lock) - expect(out).not.toContain('IAPL') + expect(out).not.toContain('ipal-kit') expect(out).not.toContain('dependenciesMeta') expect(out).toContain(" next@16.4.3:\n resolution: {integrity: x}") expect(out).toContain(' next@16.4.3: {}')