Skip to content

Commit

Permalink
feat: rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
maneike committed Nov 18, 2024
1 parent 50941e2 commit 495e9b0
Show file tree
Hide file tree
Showing 40 changed files with 74 additions and 74 deletions.
4 changes: 2 additions & 2 deletions .changeset/angry-hats-reflect.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Improve command logs readibility
4 changes: 2 additions & 2 deletions .changeset/blue-kiwis-check.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app-core': minor
'@tonik/create-stapler-app': minor
'stplr-core': minor
'stplr': minor
---

Remove bundling
4 changes: 2 additions & 2 deletions .changeset/brown-paws-shop.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Added instructions for pushing built code to Vercel
4 changes: 2 additions & 2 deletions .changeset/clean-frogs-poke.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Configure create-stapler-app package
4 changes: 2 additions & 2 deletions .changeset/cuddly-cups-itch.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app-core': patch
'@tonik/create-stapler-app': patch
'stplr-core': patch
'stplr': patch
---

Modify core format
4 changes: 2 additions & 2 deletions .changeset/curly-ligers-cheat.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app-core': minor
'@tonik/create-stapler-app': minor
'stplr-core': minor
'stplr': minor
---

Remove .d.ts creation
4 changes: 2 additions & 2 deletions .changeset/few-parrots-switch.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Clone templates folder to cli manually
4 changes: 2 additions & 2 deletions .changeset/five-students-care.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app-core': minor
'@tonik/create-stapler-app': minor
'stplr-core': minor
'stplr': minor
---

Adjust package.json so it exports templates too
4 changes: 2 additions & 2 deletions .changeset/four-boats-confess.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Copy templates to cli
4 changes: 2 additions & 2 deletions .changeset/fresh-carpets-destroy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Logs cleanup
4 changes: 2 additions & 2 deletions .changeset/fresh-cougars-study.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app-core': minor
'@tonik/create-stapler-app': minor
'stplr-core': minor
'stplr': minor
---

Improve readibility EVEN MORE
4 changes: 2 additions & 2 deletions .changeset/fuzzy-kings-admire.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Introduce progress tracking
4 changes: 2 additions & 2 deletions .changeset/honest-parents-tickle.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': patch
'@tonik/create-stapler-app-core': patch
'stplr': patch
'stplr-core': patch
---

use index file
4 changes: 2 additions & 2 deletions .changeset/late-worms-allow.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Add spinning progress indicators
4 changes: 2 additions & 2 deletions .changeset/lazy-steaks-jog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Change cjs to esm
4 changes: 2 additions & 2 deletions .changeset/lemon-monkeys-judge.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

update state logic, add supabase local docker dev
4 changes: 2 additions & 2 deletions .changeset/light-walls-obey.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Fix: build script
4 changes: 2 additions & 2 deletions .changeset/new-eggs-cheat.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': patch
'stplr': minor
'stplr-core': patch
---

Added separate bundled create-stapler-app package
4 changes: 2 additions & 2 deletions .changeset/nine-berries-raise.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Add docker compose to cli files
4 changes: 2 additions & 2 deletions .changeset/old-radios-bake.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Change build commands
4 changes: 2 additions & 2 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"@tonik/create-stapler-app": "0.1.0-alpha.1",
"@tonik/create-stapler-app-core": "0.1.0"
"stplr": "0.1.0-alpha.1",
"stplr-core": "0.1.0"
},
"changesets": [
"angry-hats-reflect",
Expand Down
2 changes: 1 addition & 1 deletion .changeset/rare-beans-divide.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@tonik/create-stapler-app': minor
'stplr': minor
---

Changed binaries
4 changes: 2 additions & 2 deletions .changeset/selfish-cheetahs-vanish.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': patch
'@tonik/create-stapler-app-core': patch
'stplr': patch
'stplr-core': patch
---

use index file from create-stapler-app
2 changes: 1 addition & 1 deletion .changeset/short-waves-flow.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@tonik/create-stapler-app': patch
'stplr': patch
---

Point to mjs bin file
4 changes: 2 additions & 2 deletions .changeset/silent-rocks-design.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Add missing dependencies
2 changes: 1 addition & 1 deletion .changeset/small-ghosts-listen.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@tonik/create-stapler-app': minor
'stplr': minor
---

Migrate code from cjs to esm
4 changes: 2 additions & 2 deletions .changeset/tall-games-compete.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

- Improved Payload UX
Expand Down
4 changes: 2 additions & 2 deletions .changeset/ten-swans-ring.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app-core': minor
'@tonik/create-stapler-app': minor
'stplr-core': minor
'stplr': minor
---

Add dynamic handling for template files directories
4 changes: 2 additions & 2 deletions .changeset/thirty-clocks-move.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app-core': minor
'@tonik/create-stapler-app': minor
'stplr-core': minor
'stplr': minor
---

Change requires to imports
4 changes: 2 additions & 2 deletions .changeset/warm-gorillas-yawn.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Remove cli from npm
2 changes: 1 addition & 1 deletion .changeset/warm-peas-behave.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@tonik/create-stapler-app': minor
'stplr': minor
---

Add dependencies to create-stapler-app package.json
4 changes: 2 additions & 2 deletions .changeset/witty-months-give.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
'stplr': minor
'stplr-core': minor
---

Fixed registry problems
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stapler CLI 🖇️

This is a monorepo for our **Stapler** [CLI tool](https://www.npmjs.com/package/@tonik/create-stapler-app) that scaffolds an entire fullstack app using a monorepo structure. It integrates **Next.js**, **Supabase**, **Payload CMS**, **Vercel**, and more, leveraging **Turbo** and **pnpm** to optimize your development workflow.
This is a monorepo for our **Stapler** [CLI tool](https://www.npmjs.com/package/stplr) that scaffolds an entire fullstack app using a monorepo structure. It integrates **Next.js**, **Supabase**, **Payload CMS**, **Vercel**, and more, leveraging **Turbo** and **pnpm** to optimize your development workflow.

## Requirements

Expand Down Expand Up @@ -48,7 +48,7 @@ npm link
Once the CLI is linked, you can use it to create a new fullstack project by running:

```bash
@tonik/create-stapler-app
stplr
```

This will scaffold a new project in the directory you're currently in.
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @tonik/create-stapler-app
# stplr

## 0.1.0-alpha.29

Expand Down Expand Up @@ -149,7 +149,7 @@

- Added separate bundled create-stapler-app package
- Updated dependencies
- @tonik/create-stapler-app-core@0.2.0-alpha.2
- stplr[email protected]

## 0.2.0-alpha.1

Expand All @@ -160,7 +160,7 @@
### Patch Changes

- Updated dependencies [4da0a9c]
- @tonik/create-stapler-app-core@0.2.0-alpha.1
- stplr[email protected]

## 0.2.0-alpha.0

Expand All @@ -171,4 +171,4 @@
### Patch Changes

- Updated dependencies
- @tonik/create-stapler-app-core@0.2.0-alpha.0
- stplr[email protected]
2 changes: 1 addition & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This amazing tool is brought to you by awesome [**Tonik**](https://www.tonik.com
To create a new project, run the following command:

```bash
npx @tonik/create-stapler-app
npx stplr
```

This command will guide you through the setup process and create a new project in the current directory.
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Command } from 'commander';
import gradient from 'gradient-string';
import inquirer from 'inquirer';
import { findUnfinishedProjects, UnfinishedProject } from './utils/findUnfinishedProjects';
import { createProject } from '@tonik/create-stapler-app-core';
import { createProject } from 'stplr-core';

const asciiArt = `
.&&&% &&&&
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@tonik/create-stapler-app",
"name": "stplr",
"version": "0.1.0-alpha.29",
"main": "./dist/index.mjs",
"bin": {
"create-stapler-app": "./dist/index.mjs"
"stplr": "./dist/index.mjs"
},
"publishConfig": {
"access": "public",
Expand All @@ -24,7 +24,7 @@
"inquirer": "^10.2.2"
},
"devDependencies": {
"@tonik/create-stapler-app-core": "workspace:*",
"stplr-core": "workspace:*",
"@types/inquirer": "^9.0.7",
"@types/node": "^22.5.4",
"tsup": "^8.2.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/utils/findUnfinishedProjects.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';
import path from 'path';
import { StaplerState } from '@tonik/create-stapler-app-core/types';
import { StaplerState } from 'stplr-core/types';

const MAX_DEPTH = 2;

Expand Down
2 changes: 1 addition & 1 deletion packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @tonik/create-stapler-app-core
# stplr-core

## 0.2.0-alpha.13

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tonik/create-stapler-app-core",
"name": "stplr-core",
"version": "0.2.0-alpha.13",
"private": true,
"main": "./dist/index.js",
Expand Down

0 comments on commit 495e9b0

Please sign in to comment.