Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 3, 2022
1 parent a1c9de6 commit 2d59912
Show file tree
Hide file tree
Showing 15 changed files with 91 additions and 70 deletions.
11 changes: 0 additions & 11 deletions .changeset/beige-dancers-peel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-carrots-sleep.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/quiet-worms-sort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sour-camels-obey.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/tender-falcons-smash.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/three-poems-occur.md

This file was deleted.

25 changes: 25 additions & 0 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# @xstate/cli

## 0.1.0

### Minor Changes

- [#68](https://github.com/statelyai/xstate-tools/pull/68) [`9eadb14`](https://github.com/statelyai/xstate-tools/commit/9eadb143bc16e0a023c89272f5c5cc066f382d3e) Thanks [@mattpocock](https://github.com/mattpocock)! - Added a typegen command which allows for running XState's typegen in CLI.

`xstate typegen "src/**/*.tsx?"`

Run the typegen against a glob. This will scan every file targeted, and generate a typegen file accompanying it. It will also import the typegen into your file, as described in [our typegen documentation](https://xstate.js.org/docs/guides/typescript.html#typegen-with-the-vscode-extension).

> Ensure you wrap your glob in quotes so that it executes correctly. If it isn't wrapped in quotes, it will be interpreted as a list of files, not a glob. This will give unexpected results.
* [#68](https://github.com/statelyai/xstate-tools/pull/68) [`a3b874b`](https://github.com/statelyai/xstate-tools/commit/a3b874b328cd6bf409861378ab2840dab70d3ff3) Thanks [@mattpocock](https://github.com/mattpocock)! - Added a watch flag to to allow for re-running typegen on file change.

`xstate typegen "src/**/*.tsx?" --watch`

Runs the task on a watch, monitoring for changed files and running the typegen script against them.

### Patch Changes

- Updated dependencies [[`a3b874b`](https://github.com/statelyai/xstate-tools/commit/a3b874b328cd6bf409861378ab2840dab70d3ff3), [`a3b874b`](https://github.com/statelyai/xstate-tools/commit/a3b874b328cd6bf409861378ab2840dab70d3ff3), [`2210d4b`](https://github.com/statelyai/xstate-tools/commit/2210d4b5175384f87dc0b001ba68400701c35818)]:
- @xstate/machine-extractor@0.6.0
- @xstate/tools-shared@1.1.0
6 changes: 3 additions & 3 deletions apps/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/cli",
"version": "0.0.1",
"version": "0.1.0",
"bin": {
"xstate": "./bin/bin.js"
},
Expand All @@ -17,8 +17,8 @@
"xstate": "^4.29.0"
},
"dependencies": {
"@xstate/machine-extractor": "0.5.8",
"@xstate/tools-shared": "1.0.0",
"@xstate/machine-extractor": "0.6.0",
"@xstate/tools-shared": "1.1.0",
"chokidar": "^3.5.3",
"commander": "^8.0.0"
},
Expand Down
34 changes: 34 additions & 0 deletions apps/extension/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# stately-vscode

## 1.7.0

### Minor Changes

- [`a1c9de6`](https://github.com/statelyai/xstate-tools/commit/a1c9de6ab1130159da5f59f399869ebbfeaa4281) Thanks [@mattpocock](https://github.com/mattpocock)! - Allowed for parsing and rewriting inline implementations in the VSCode extension. This allows you to use either named actions (which were already supported):

```ts
createMachine({
entry: ["sayHello"]
});
```

Or inline actions:

```ts
createMachine({
entry: [
() => {
console.log("Hello!");
}
]
});
```

Both can now be handled in the VSCode extension. This is true for inline actions, services and guards.

### Patch Changes

- [#69](https://github.com/statelyai/xstate-tools/pull/69) [`2210d4b`](https://github.com/statelyai/xstate-tools/commit/2210d4b5175384f87dc0b001ba68400701c35818) Thanks [@mattpocock](https://github.com/mattpocock)! - Fixed issue where tags appeared to be deleted when changes were made in VSCode.

- Updated dependencies [[`a3b874b`](https://github.com/statelyai/xstate-tools/commit/a3b874b328cd6bf409861378ab2840dab70d3ff3)]:
- @xstate/tools-shared@1.1.0
4 changes: 2 additions & 2 deletions apps/extension/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Visual editing, autocomplete and typegen for XState",
"license": "MIT",
"author": "Stately Team",
"version": "1.6.1",
"version": "1.7.0",
"private": true,
"engines": {
"vscode": "^1.52.0"
Expand Down Expand Up @@ -85,7 +85,7 @@
"dependencies": {
"@types/lz-string": "^1.3.34",
"@xstate/inspect": "^0.4.1",
"@xstate/tools-shared": "1.0.0",
"@xstate/tools-shared": "1.1.0",
"lz-string": "^1.4.4",
"vscode-languageclient": "^7.0.0",
"xstate": "^4.29.0"
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"dependencies": {
"@xstate/tools-shared": "1.0.0",
"@xstate/tools-shared": "1.1.0",
"vscode-languageserver": "^7.0.0",
"vscode-languageserver-textdocument": "^1.0.1",
"xstate": "^4.29.0"
Expand Down
11 changes: 11 additions & 0 deletions packages/machine-extractor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @xstate/machine-extractor

## 0.6.0

### Minor Changes

- [#68](https://github.com/statelyai/xstate-tools/pull/68) [`a3b874b`](https://github.com/statelyai/xstate-tools/commit/a3b874b328cd6bf409861378ab2840dab70d3ff3) Thanks [@mattpocock](https://github.com/mattpocock)! - Added logic for parsing inline actions, services and guards. This allows for users of this package to parse and edit machines containing inline implementations predictably.

### Patch Changes

- [#69](https://github.com/statelyai/xstate-tools/pull/69) [`2210d4b`](https://github.com/statelyai/xstate-tools/commit/2210d4b5175384f87dc0b001ba68400701c35818) Thanks [@mattpocock](https://github.com/mattpocock)! - Fixed issue where tags appeared to be deleted when changes were made in VSCode.
2 changes: 1 addition & 1 deletion packages/machine-extractor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/machine-extractor",
"version": "0.5.8",
"version": "0.6.0",
"main": "dist/xstate-machine-extractor.cjs.js",
"author": "Matt Pocock",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @xstate/tools-shared

## 1.1.0

### Minor Changes

- [#68](https://github.com/statelyai/xstate-tools/pull/68) [`a3b874b`](https://github.com/statelyai/xstate-tools/commit/a3b874b328cd6bf409861378ab2840dab70d3ff3) Thanks [@mattpocock](https://github.com/mattpocock)! - Bundled all shared cli/vscode utlities into a single package.

### Patch Changes

- Updated dependencies [[`a3b874b`](https://github.com/statelyai/xstate-tools/commit/a3b874b328cd6bf409861378ab2840dab70d3ff3), [`2210d4b`](https://github.com/statelyai/xstate-tools/commit/2210d4b5175384f87dc0b001ba68400701c35818)]:
- @xstate/machine-extractor@0.6.0
4 changes: 2 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@xstate/tools-shared",
"version": "1.0.0",
"version": "1.1.0",
"main": "dist/xstate-tools-shared.cjs.js",
"license": "MIT",
"dependencies": {
"@xstate/machine-extractor": "0.5.8"
"@xstate/machine-extractor": "0.6.0"
},
"scripts": {
"lint": "tsc",
Expand Down

0 comments on commit 2d59912

Please sign in to comment.