Skip to content

Commit e6c5b43

Browse files
authored
Merge pull request #24 from ClayPulse/test
Update CLI README
2 parents cdbfcfd + 353c81a commit e6c5b43

File tree

10 files changed

+93
-24
lines changed

10 files changed

+93
-24
lines changed

.changeset/mighty-ghosts-crash.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"pulse-editor-web": minor
3+
"@pulse-editor/shared-utils": patch
4+
"@pulse-editor/react-api": patch
5+
---
6+
7+
0.1.1-alpha

.changeset/pre.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"mode": "pre",
3+
"tag": "alpha",
4+
"initialVersions": {
5+
"pulse-editor-desktop": "0.0.1",
6+
"pulse-editor-mobile": "0.0.1",
7+
"@pulse-editor/react-api": "0.1.0",
8+
"@pulse-editor/shared-utils": "0.1.0",
9+
"pulse-editor-vscode": "0.0.3",
10+
"pulse-editor-web": "0.0.2"
11+
},
12+
"changesets": [
13+
"mighty-ghosts-crash"
14+
]
15+
}

.github/workflows/release-npm-packages.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ permissions:
88

99
on:
1010
push:
11-
branches: ["dev"]
11+
branches: ["main"]
1212
pull_request:
13-
branches: ["dev"]
13+
branches: ["main"]
1414

1515
jobs:
1616
release:
@@ -24,6 +24,12 @@ jobs:
2424
with:
2525
node-version: 20
2626

27+
- name: Install changesets
28+
run: npm i -D changesets
29+
30+
- name: Check for changesets
31+
run: changeset status --since=main
32+
2733
- name: Install dependencies
2834
run: npm i --workspace=npm-packages/shared-utils && npm i --workspace=npm-packages/react-api
2935

@@ -33,9 +39,6 @@ jobs:
3339
- name: Build @pulse-editor/react-api
3440
run: npm run build --workspace=npm-packages/react-api
3541

36-
- name: Install changesets
37-
run: npm i -D changesets
38-
3942
- name: Create Release Pull Request or Publish to npm
4043
id: changesets
4144
uses: changesets/action@v1

npm-packages/cli/readme.md

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,43 @@
1-
# cli
2-
3-
> This readme is automatically generated by [create-ink-app](https://github.com/vadimdemedes/create-ink-app)
4-
1+
# Pulse CLI
52
## Install
63

74
```bash
8-
$ npm install --global cli
5+
$ npm install --global @pulse-editor/cli
96
```
107

11-
## CLI
8+
## CLI Manual
129

1310
```
14-
$ cli --help
15-
1611
Usage
17-
$ cli
18-
19-
Options
20-
--name Your name
12+
pulse [command] [flags]
13+
14+
Commands
15+
help [command] Show help for a command.
16+
chat [message] (WIP) Chat with the Pulse Editor AI assistant.
17+
18+
Flags:
19+
--interactive, -i
20+
Start an interactive chat session
21+
22+
login Login to the Pulse Editor Platform.
23+
24+
Flags:
25+
--token [token]
26+
Login using an access token. This is the default if the
27+
token is set in the environment variable PE_ACCESS_TOKEN.
28+
--flow
29+
Login using a browser flow.
30+
31+
logout Logout from the Pulse Editor Platform.
32+
publish Publish Pulse Editor Extension in current directory to the Pulse Editor Platform.
33+
create Create a new Pulse App using the starter template.
34+
Flags:
35+
--framework, -f [framework]
36+
The framework to use for the new app.
37+
Currently available options: react.
38+
Future options: vue, angular, etc.
2139
2240
Examples
23-
$ cli --name=Jane
24-
Hello, Jane
41+
pulse help publish
42+
2543
```

npm-packages/react-api/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
# @pulse-editor/react-api
2+
3+
## 0.1.1-alpha.0
4+
5+
### Patch Changes
6+
7+
- 0.1.1-alpha
8+
- Updated dependencies
9+
- @pulse-editor/shared-utils@0.1.1-alpha.0
10+
211
## 0.1.0-alpha.0
312

413
### Minor Changes

npm-packages/react-api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pulse-editor/react-api",
3-
"version": "0.1.0",
3+
"version": "0.1.1-alpha.0",
44
"main": "dist/main.js",
55
"type": "module",
66
"files": [
@@ -35,7 +35,7 @@
3535
"typescript-eslint": "^8.30.1"
3636
},
3737
"peerDependencies": {
38-
"@pulse-editor/shared-utils": "0.1.0",
38+
"@pulse-editor/shared-utils": "0.1.1-alpha.0",
3939
"react": "^19.0.0",
4040
"react-dom": "^19.0.0"
4141
}

npm-packages/shared-utils/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @pulse-editor/shared-utils
22

3+
## 0.1.1-alpha.0
4+
5+
### Patch Changes
6+
7+
- 0.1.1-alpha
8+
39
## 0.1.0-alpha.0
410

511
### Minor Changes

npm-packages/shared-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pulse-editor/shared-utils",
3-
"version": "0.1.0",
3+
"version": "0.1.1-alpha.0",
44
"main": "dist/main.js",
55
"type": "module",
66
"files": [

web/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# pulse-editor-web
22

3+
## 0.1.1-alpha.0
4+
5+
### Minor Changes
6+
7+
- 0.1.1-alpha
8+
9+
### Patch Changes
10+
11+
- Updated dependencies
12+
- @pulse-editor/shared-utils@0.1.1-alpha.0
13+
314
## 0.0.2-alpha.0
415

516
### Patch Changes

web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pulse-editor-web",
3-
"version": "0.0.2",
3+
"version": "0.1.1-alpha.0",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -21,7 +21,7 @@
2121
"@heroui/theme": "^2.4.14-beta.2",
2222
"@langchain/anthropic": "^0.3.18",
2323
"@langchain/community": "^0.3.41",
24-
"@pulse-editor/shared-utils": "^0.1.0",
24+
"@pulse-editor/shared-utils": "^0.1.1-alpha.0",
2525
"@ricky0123/vad-web": "^0.0.22",
2626
"elevenlabs": "^1.57.0",
2727
"framer-motion": "^12.7.4",

0 commit comments

Comments
 (0)