Skip to content

Commit

Permalink
feat: copy templates to cli package
Browse files Browse the repository at this point in the history
  • Loading branch information
maneike committed Oct 30, 2024
1 parent d332ec3 commit 2fa8086
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/four-boats-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@tonik/create-stapler-app': minor
'@tonik/create-stapler-app-core': minor
---

Copy templates to cli
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"cuddly-cups-itch",
"curly-ligers-cheat",
"five-students-care",
"four-boats-confess",
"honest-parents-tickle",
"lazy-steaks-jog",
"light-walls-obey",
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
run: |
pnpm build --no-cache
- name: Copy Templates from core
run: |
cp -r packages/core/templates .
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tonik/create-stapler-app

## 0.1.0-alpha.19

### Minor Changes

- Copy templates to cli

## 0.1.0-alpha.18

### Minor Changes
Expand Down
5 changes: 2 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "@tonik/create-stapler-app",
"version": "0.1.0-alpha.18",
"version": "0.1.0-alpha.19",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"create-stapler-app": "./dist/index.mjs"
},
Expand All @@ -12,7 +11,7 @@
},
"files": [
"dist",
"core/templates"
"templates"
],
"scripts": {
"build": "tsup index.ts --out-dir ./dist --format esm",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tonik/create-stapler-app-core

## 0.2.0-alpha.3

### Minor Changes

- Copy templates to cli

## 0.2.0-alpha.2

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonik/create-stapler-app-core",
"version": "0.2.0-alpha.2",
"version": "0.2.0-alpha.3",
"private": true,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit 2fa8086

Please sign in to comment.