Skip to content

Commit

Permalink
chore: version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and unional committed Oct 4, 2022
1 parent 8c22b43 commit 7e201bd
Show file tree
Hide file tree
Showing 45 changed files with 426 additions and 194 deletions.
13 changes: 0 additions & 13 deletions .changeset/angry-mugs-walk.md

This file was deleted.

26 changes: 0 additions & 26 deletions .changeset/gold-doors-teach.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-jobs-poke.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/orange-eels-pump.md

This file was deleted.

65 changes: 0 additions & 65 deletions .changeset/polite-balloons-fly.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/red-phones-exist.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/sour-bears-clean.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thin-mugs-develop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-clouds-explain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-weeks-itch.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/yellow-cars-warn.md

This file was deleted.

24 changes: 24 additions & 0 deletions apps/just-func/play-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @just-func/play-react

## 0.2.8

### Patch Changes

- Updated dependencies [8c3183e]
- Updated dependencies [b262ab5]
- Updated dependencies [8c3183e]
- Updated dependencies [8c3183e]
- Updated dependencies [8c3183e]
- Updated dependencies [564addf]
- Updated dependencies [c228a89]
- Updated dependencies [cad72d1]
- @just-web/os@1.0.0
- @just-web/commands@1.0.0
- @just-web/react-commands@2.0.0
- @just-web/app@1.0.0
- @just-web/contributions@1.0.0
- @just-web/log@1.0.0
- @just-web/states@1.0.0
- @just-web/react@2.0.0
- @just-web/routes@1.0.0
- @just-web/browser@1.0.0
- @just-web/browser-contributions@1.0.0

## 0.2.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/just-func/play-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@just-func/play-react",
"version": "0.2.7",
"version": "0.2.8",
"private": true,
"scripts": {
"build": "run-s tailwind:css build:ts build:react",
Expand Down
36 changes: 36 additions & 0 deletions components/react-commands/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @just-web/react-commands

## 2.0.0

### Patch Changes

- 8c3183e: Use `useCallback()` for the callbacks.
- 8c3183e: Update `react-command-palette` to `0.21.1`.

The "Using UNSAFE_componentWillReceiveProps in strict mode" is not fixed.

That is caused by https://github.com/moroshko/react-autosuggest/issues/624
and likely will not be fixed.

Will soon need to look for alternatives.

- 564addf: Upgrade type-plus to 4.13.1

Update `init()` and `start()` logs.

Code comments are not kept so it that JSDocs will be available

- Updated dependencies [8c3183e]
- Updated dependencies [b262ab5]
- Updated dependencies [8c3183e]
- Updated dependencies [564addf]
- Updated dependencies [c228a89]
- Updated dependencies [8c3183e]
- @just-web/os@1.0.0
- @just-web/commands@1.0.0
- @just-web/app@1.0.0
- @just-web/contributions@1.0.0
- @just-web/log@1.0.0
- @just-web/states@1.0.0
- @just-web/react@2.0.0
- @just-web/types@1.0.0
- @just-web/browser-contributions@1.0.0

## 1.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion components/react-commands/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@just-web/react-commands",
"version": "1.0.7",
"version": "2.0.0",
"description": "@just-web/commands UI components in react",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
84 changes: 84 additions & 0 deletions frameworks/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,89 @@
# @just-web/app

## 1.0.0

### Major Changes

- 8c3183e: Default export is removed. Use `import { createApp } from '@just-web/app` instead.
This is done to avoid confusion,
and may reserve default export for other things.

The overall design is overhauled.

Now `createApp()` only build in `@just-web/log`.
`@just-web/platform` is removed and code moved to `@just-web/browser` and other places.
So that it is center around logic, which each platform (browser, nodejs, etc) will provide implementation for the features.
Instead of getting a common set of API by abstracting the `platform`.

`@just-web/contributions`, `@just-web/commands`, `@just-web/errors` (moved to `@just-web/browser`) are all optional.

You will need to add them in if you need them.

This change keeps the core app very small and compact,
thus making the design very flexible.

The plugin mechanism is updated that now through the `extend()` method:

```ts
import { createApp } from "@just-web/app";

createApp({ name: "now-required" }).extend({
name: "plugin-name",
init() {
/* required */
},
start() {
/* optional */
}
});
```

Use the `definePlugin()` method from `@just-web/types` to define the plugin creator function `() => PluginModule`, which will do some sophisticate type checking and inferring for you.

The function can take params (they are typed) so that you can customize the plugin as needed.

```ts
// original
createApp({ /* various plugin options go here */ }).addPlugin(...)

// now
createApp({})
.extend(pluginA(/* options */))
.extend(pluginB(/* options */))
.extend(pluginC(/* options */))
```

Also, the `plugin.init()` is now synchronous. Instead of async as in `activate(): Promise<...>`.

This mean loading of plugins should be handled outside, instead of inside.

As the `createApp()` are slimmed down, so as `@just-web/app`.
It does not re-export `@just-web/log|contributions|commands|states` anymore.
You can add them as direct dependency and import them.

The plugin dependencies are added as `peerDependencies`, so you will need to install them directly.
This generally simplify the dependency management and is easier to spot any duplicate/version mismatch.

May core package are new versioned together, similar to `@storybook/addon-*`.

`@just-web/format` is moved into `@just-web/commands` and `@just-web/contributions`.
i18n should be done at application level,
and will figure out a way to do it.

### Patch Changes

- 564addf: Upgrade type-plus to 4.13.1

Update `init()` and `start()` logs.

Code comments are not kept so it that JSDocs will be available

- Updated dependencies [564addf]
- Updated dependencies [c228a89]
- Updated dependencies [8c3183e]
- @just-web/log@1.0.0
- @just-web/types@1.0.0

## 0.2.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion frameworks/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@just-web/app",
"version": "0.2.7",
"version": "1.0.0",
"description": "Just a web application framework",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
14 changes: 14 additions & 0 deletions frameworks/log/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @just-web/log

## 1.0.0

### Patch Changes

- 564addf: Upgrade type-plus to 4.13.1

Update `init()` and `start()` logs.

Code comments are not kept so it that JSDocs will be available

- c228a89: Upgrade `standard-log` to 10.0.0
- Updated dependencies [8c3183e]
- @just-web/types@1.0.0

## 0.2.2

### Patch Changes
Expand Down
Loading

0 comments on commit 7e201bd

Please sign in to comment.