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:
co-authored by
Claude Fable 5.2
parent
5a0ea924ff
commit
03452376f9
+1
-1
@@ -19,7 +19,7 @@
|
||||
"@payload-config": [
|
||||
"./payload.config.ts"
|
||||
],
|
||||
"IAPL": [
|
||||
"ipal-kit": [
|
||||
"../src/index.ts"
|
||||
],
|
||||
"ipal-kit/client": [
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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'
|
||||
*
|
||||
|
||||
+1
-1
@@ -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: [
|
||||
|
||||
@@ -175,7 +175,7 @@ describe('starter: generated files', () => {
|
||||
'snapshots:', '', " '@intecion/ipal-kit@file:..(abc)':", ' dependencies:', ' next: 16.4.3', '', ' [email protected]: {}', '',
|
||||
].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(" [email protected]:\n resolution: {integrity: x}")
|
||||
expect(out).toContain(' [email protected]: {}')
|
||||
|
||||
Reference in New Issue
Block a user