Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/templates-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ jobs:
pkg.pnpm = pkg.pnpm || {};
pkg.pnpm.overrides = {
'@startupkit/auth': 'link:' + workspace + '/packages/auth',
'@startupkit/analytics': 'link:' + workspace + '/packages/analytics',
'@startupkit/utils': 'link:' + workspace + '/packages/utils'
'@startupkit/analytics': 'link:' + workspace + '/packages/analytics'
};
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));
console.log('Overrides added:', pkg.pnpm.overrides);
Expand Down Expand Up @@ -102,8 +101,7 @@ jobs:
pkg.pnpm = pkg.pnpm || {};
pkg.pnpm.overrides = {
'@startupkit/auth': 'link:' + workspace + '/packages/auth',
'@startupkit/analytics': 'link:' + workspace + '/packages/analytics',
'@startupkit/utils': 'link:' + workspace + '/packages/utils'
'@startupkit/analytics': 'link:' + workspace + '/packages/analytics'
};
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));
console.log('Overrides added:', pkg.pnpm.overrides);
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ jobs:
pkg.pnpm = pkg.pnpm || {};
pkg.pnpm.overrides = {
'@startupkit/auth': 'link:' + workspace + '/packages/auth',
'@startupkit/analytics': 'link:' + workspace + '/packages/analytics',
'@startupkit/utils': 'link:' + workspace + '/packages/utils'
'@startupkit/analytics': 'link:' + workspace + '/packages/analytics'
};
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));
console.log('Overrides added:', pkg.pnpm.overrides);
Expand Down
4 changes: 1 addition & 3 deletions .ruler/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ This is a **pnpm monorepo** built with **TypeScript**, **Next.js 16**, **React 1
├── packages/ # Published npm packages
│ ├── analytics/ # @startupkit/analytics npm package
│ ├── auth/ # @startupkit/auth npm package
│ ├── cli/ # startupkit CLI tool
│ └── utils/ # @startupkit/utils npm package
│ └── cli/ # startupkit CLI tool
├── templates/ # Scaffolding templates
│ ├── next/ # Next.js app template
│ ├── package/ # Generic package template
Expand All @@ -36,7 +35,6 @@ This is a **pnpm monorepo** built with **TypeScript**, **Next.js 16**, **React 1
- **`packages/cli`** - The `startupkit` CLI tool for scaffolding projects
- **`packages/analytics`** - Published to npm as `@startupkit/analytics`
- **`packages/auth`** - Published to npm as `@startupkit/auth`
- **`packages/utils`** - Published to npm as `@startupkit/utils`

**Templates**:
- **`templates/repo`** - Full monorepo template (most comprehensive)
Expand Down
3 changes: 0 additions & 3 deletions config/typescript/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
{
"@startupkit/auth": "packages/auth"
},
{
"@startupkit/utils": "packages/utils"
},
{
"startupkit": "packages/cli"
}
Expand Down
4 changes: 0 additions & 4 deletions packages/utils/biome.jsonc

This file was deleted.

32 changes: 0 additions & 32 deletions packages/utils/package.json

This file was deleted.

26 changes: 0 additions & 26 deletions packages/utils/rollup.config.js

This file was deleted.

45 changes: 0 additions & 45 deletions packages/utils/rollup.config.mjs

This file was deleted.

9 changes: 0 additions & 9 deletions packages/utils/src/index.ts

This file was deleted.

83 changes: 0 additions & 83 deletions packages/utils/src/url.ts

This file was deleted.

10 changes: 0 additions & 10 deletions packages/utils/tsconfig.json

This file was deleted.

4 changes: 3 additions & 1 deletion templates/repo/packages/auth/src/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export const auth = betterAuth({
if (newSession) {
await db
.update(users)
.set({ lastSeenAt: new Date() })
.set({
lastSeenAt: new Date()
})
.where(eq(users.id, newSession.user.id))

const [user] = await db
Expand Down