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 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 18:04:26 +01:00
co-authored by Claude Fable 5.2
parent 5a0ea924ff
commit 03452376f9
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
"@payload-config": [ "@payload-config": [
"./payload.config.ts" "./payload.config.ts"
], ],
"IAPL": [ "ipal-kit": [
"../src/index.ts" "../src/index.ts"
], ],
"ipal-kit/client": [ "ipal-kit/client": [
+1 -1
View File
@@ -131,7 +131,7 @@ async function main() {
const made = JSON.parse(readFileSync(join(site, '.iapl', 'starter.json'), 'utf8')) 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('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') 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') 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('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) check('first commit, nothing left uncommitted', out('git', ['-C', site, 'status', '--porcelain']) === '' && out('git', ['-C', site, 'log', '--oneline']).split('\n').length === 1)
+1 -1
View File
@@ -172,7 +172,7 @@ export type PageJsonLdOptions = {
* *
* ```ts * ```ts
* // src/lib/content.ts * // src/lib/content.ts
* import { createContentHelpers } from 'IAPL' * import { createContentHelpers } from '@intecion/ipal-kit'
* import config from '@/payload.config' * import config from '@/payload.config'
* import { contentConfig } from '@/content.config' * import { contentConfig } from '@/content.config'
* *
+1 -1
View File
@@ -73,7 +73,7 @@ const TOTP_REDIRECT_PROVIDER = '@intecion/ipal-kit/admin#TotpRedirectProvider'
* *
* @example * @example
* ```ts * ```ts
* import { iapl } from 'IAPL' * import { iapl } from '@intecion/ipal-kit'
* *
* export default buildConfig({ * export default buildConfig({
* plugins: [ * plugins: [
+1 -1
View File
@@ -175,7 +175,7 @@ describe('starter: generated files', () => {
'snapshots:', '', " '@intecion/ipal-kit@file:..(abc)':", ' dependencies:', ' next: 16.4.3', '', ' [email protected]: {}', '', 'snapshots:', '', " '@intecion/ipal-kit@file:..(abc)':", ' dependencies:', ' next: 16.4.3', '', ' [email protected]: {}', '',
].join('\n') ].join('\n')
const out = lockfileWithoutPlugin(lock) const out = lockfileWithoutPlugin(lock)
expect(out).not.toContain('IAPL') expect(out).not.toContain('ipal-kit')
expect(out).not.toContain('dependenciesMeta') expect(out).not.toContain('dependenciesMeta')
expect(out).toContain(" [email protected]:\n resolution: {integrity: x}") expect(out).toContain(" [email protected]:\n resolution: {integrity: x}")
expect(out).toContain(' [email protected]: {}') expect(out).toContain(' [email protected]: {}')