From 726dd00f0149ff0093a4cb0ef5758c738fa2937f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 4 Oct 2022 03:08:17 +0000 Subject: [PATCH] chore: version packages --- .changeset/angry-mugs-walk.md | 13 ---- .changeset/gold-doors-teach.md | 26 ------- .changeset/great-jobs-poke.md | 5 -- .changeset/orange-eels-pump.md | 12 ---- .changeset/polite-balloons-fly.md | 65 ----------------- .changeset/red-phones-exist.md | 12 ---- .changeset/sour-bears-clean.md | 17 ----- .changeset/thin-mugs-develop.md | 5 -- .changeset/wise-clouds-explain.md | 5 -- .changeset/witty-weeks-itch.md | 5 -- .changeset/yellow-cars-warn.md | 12 ---- apps/just-func/play-react/CHANGELOG.md | 24 +++++++ apps/just-func/play-react/package.json | 2 +- components/react-commands/CHANGELOG.md | 36 ++++++++++ components/react-commands/package.json | 2 +- frameworks/app/CHANGELOG.md | 84 ++++++++++++++++++++++ frameworks/app/package.json | 2 +- frameworks/log/CHANGELOG.md | 14 ++++ frameworks/log/package.json | 2 +- frameworks/types/CHANGELOG.md | 14 ++++ frameworks/types/package.json | 2 +- libraries/react/CHANGELOG.md | 19 +++++ libraries/react/package.json | 2 +- libraries/states/CHANGELOG.md | 14 ++++ libraries/states/package.json | 2 +- plugins/browser-contributions/CHANGELOG.md | 16 +++++ plugins/browser-contributions/package.json | 2 +- plugins/browser-preferences/CHANGELOG.md | 25 +++++++ plugins/browser-preferences/package.json | 2 +- plugins/browser/CHANGELOG.md | 13 ++++ plugins/browser/package.json | 2 +- plugins/commands/CHANGELOG.md | 40 +++++++++++ plugins/commands/package.json | 2 +- plugins/contributions/CHANGELOG.md | 19 +++++ plugins/contributions/package.json | 2 +- plugins/events/CHANGELOG.md | 10 +++ plugins/events/package.json | 2 +- plugins/os/CHANGELOG.md | 23 ++++++ plugins/os/package.json | 2 +- plugins/preferences/CHANGELOG.md | 24 +++++++ plugins/preferences/package.json | 2 +- plugins/routes/CHANGELOG.md | 19 +++++ plugins/routes/package.json | 2 +- tools/testing/CHANGELOG.md | 15 ++++ tools/testing/package.json | 2 +- 45 files changed, 426 insertions(+), 194 deletions(-) delete mode 100644 .changeset/angry-mugs-walk.md delete mode 100644 .changeset/gold-doors-teach.md delete mode 100644 .changeset/great-jobs-poke.md delete mode 100644 .changeset/orange-eels-pump.md delete mode 100644 .changeset/polite-balloons-fly.md delete mode 100644 .changeset/red-phones-exist.md delete mode 100644 .changeset/sour-bears-clean.md delete mode 100644 .changeset/thin-mugs-develop.md delete mode 100644 .changeset/wise-clouds-explain.md delete mode 100644 .changeset/witty-weeks-itch.md delete mode 100644 .changeset/yellow-cars-warn.md create mode 100644 frameworks/types/CHANGELOG.md create mode 100644 plugins/browser-contributions/CHANGELOG.md create mode 100644 plugins/browser-preferences/CHANGELOG.md create mode 100644 plugins/browser/CHANGELOG.md create mode 100644 plugins/os/CHANGELOG.md create mode 100644 plugins/preferences/CHANGELOG.md diff --git a/.changeset/angry-mugs-walk.md b/.changeset/angry-mugs-walk.md deleted file mode 100644 index 4e2ee5001..000000000 --- a/.changeset/angry-mugs-walk.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@just-web/os": major ---- - -Add `@just-web/os` for OS specific capabilities. - -It is extracted from `@just-web/platform` (removed). - -Note that it is a plugin and add the feature to the app itself, -along with exposing the functionalities as named exports. - -This is because the having and use them through app allows mocks to be injected deep in the system, -very useful when rendering OS dependent UI in storybook. diff --git a/.changeset/gold-doors-teach.md b/.changeset/gold-doors-teach.md deleted file mode 100644 index aec72460f..000000000 --- a/.changeset/gold-doors-teach.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -"@just-web/commands": patch ---- - -Commands can be added irrespective of contributions. - -This means contributions are now public contributions, -and we can register commands that are internal to the application. - -This is the same model as VS Code. - -Originally I want all commands to be public, -so that we can access every command everywhere. - -But there are use cases that commands can be used within a subsection of an application. -For example, some UI internal commands for interactions. - -In those cases, it doesn't make sense to make those command public. - - -`invoke()` now returns the value returned from the handler. -It is not typed at the moment. - -Will need to revisit it to figure out how to type the command's return type. - -May need to create a replacement of the `JustEvent` from `@unional/events-plus`. diff --git a/.changeset/great-jobs-poke.md b/.changeset/great-jobs-poke.md deleted file mode 100644 index 9d1745436..000000000 --- a/.changeset/great-jobs-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@just-web/react-commands": patch ---- - -Use `useCallback()` for the callbacks. diff --git a/.changeset/orange-eels-pump.md b/.changeset/orange-eels-pump.md deleted file mode 100644 index c3e331798..000000000 --- a/.changeset/orange-eels-pump.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@just-web/react-commands": patch ---- - -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. diff --git a/.changeset/polite-balloons-fly.md b/.changeset/polite-balloons-fly.md deleted file mode 100644 index 7d1f7b60b..000000000 --- a/.changeset/polite-balloons-fly.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -"@just-web/app": major ---- - -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. diff --git a/.changeset/red-phones-exist.md b/.changeset/red-phones-exist.md deleted file mode 100644 index 155d5a682..000000000 --- a/.changeset/red-phones-exist.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@just-web/preferences": major -"@just-web/browser-preferences": major ---- - -Add `@just-web/preferences` and `@just-web/browser-preferences` for managing user preference. - -`@just-web/browser-preferences` use `localStorage` for the job. -Meaning the preference will be preserved through tabs and sessions. - -The key are prefixed with app name so that it works correctly in micro app/micro frontend scenarios. -The same for `clearAll()`. It only clears those belong to the application. diff --git a/.changeset/sour-bears-clean.md b/.changeset/sour-bears-clean.md deleted file mode 100644 index f2b8b24fe..000000000 --- a/.changeset/sour-bears-clean.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@just-web/react-commands": patch -"@just-web/app": patch -"@just-web/commands": patch -"@just-web/contributions": patch -"@just-web/log": patch -"@just-web/states": patch -"@just-web/react": patch -"@just-web/routes": patch -"@just-web/testing": patch ---- - -Upgrade type-plus to 4.13.1 - -Update `init()` and `start()` logs. - -Code comments are not kept so it that JSDocs will be available diff --git a/.changeset/thin-mugs-develop.md b/.changeset/thin-mugs-develop.md deleted file mode 100644 index 5d80a6f70..000000000 --- a/.changeset/thin-mugs-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@just-web/testing": patch ---- - -Upgrade `assertron` to 10.0.0 diff --git a/.changeset/wise-clouds-explain.md b/.changeset/wise-clouds-explain.md deleted file mode 100644 index 726496e60..000000000 --- a/.changeset/wise-clouds-explain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@just-web/log": patch ---- - -Upgrade `standard-log` to 10.0.0 diff --git a/.changeset/witty-weeks-itch.md b/.changeset/witty-weeks-itch.md deleted file mode 100644 index 5027ab11e..000000000 --- a/.changeset/witty-weeks-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@just-web/browser": patch ---- - -Upgrade `iso-error` to 4.3.8 diff --git a/.changeset/yellow-cars-warn.md b/.changeset/yellow-cars-warn.md deleted file mode 100644 index 293a0c4d4..000000000 --- a/.changeset/yellow-cars-warn.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@just-web/types": major ---- - -Add `@just-web/types` for defining plugin modules. - -It contains `definePlugin()` and `PluginModule` type, -as well as other functions and types to help writing plugins. - -Currently, `JustWebApp` and `JustWebTestApp` still resides within `@just-web/app`. - -We may move them here in the future. diff --git a/apps/just-func/play-react/CHANGELOG.md b/apps/just-func/play-react/CHANGELOG.md index 539b83f00..46c4a232c 100644 --- a/apps/just-func/play-react/CHANGELOG.md +++ b/apps/just-func/play-react/CHANGELOG.md @@ -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 diff --git a/apps/just-func/play-react/package.json b/apps/just-func/play-react/package.json index a379dadfd..057b3b056 100644 --- a/apps/just-func/play-react/package.json +++ b/apps/just-func/play-react/package.json @@ -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", diff --git a/components/react-commands/CHANGELOG.md b/components/react-commands/CHANGELOG.md index fed848678..260e8b694 100644 --- a/components/react-commands/CHANGELOG.md +++ b/components/react-commands/CHANGELOG.md @@ -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 diff --git a/components/react-commands/package.json b/components/react-commands/package.json index 32b57720e..54602fa0f 100644 --- a/components/react-commands/package.json +++ b/components/react-commands/package.json @@ -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", diff --git a/frameworks/app/CHANGELOG.md b/frameworks/app/CHANGELOG.md index 5db832d18..c04fd3c1d 100644 --- a/frameworks/app/CHANGELOG.md +++ b/frameworks/app/CHANGELOG.md @@ -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 diff --git a/frameworks/app/package.json b/frameworks/app/package.json index 40f2bd556..cd4a80edf 100644 --- a/frameworks/app/package.json +++ b/frameworks/app/package.json @@ -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", diff --git a/frameworks/log/CHANGELOG.md b/frameworks/log/CHANGELOG.md index 9652804e2..33ab4b26b 100644 --- a/frameworks/log/CHANGELOG.md +++ b/frameworks/log/CHANGELOG.md @@ -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 diff --git a/frameworks/log/package.json b/frameworks/log/package.json index 863f7dbde..b7fe295cf 100644 --- a/frameworks/log/package.json +++ b/frameworks/log/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/log", - "version": "0.2.2", + "version": "1.0.0", "description": "@just-web log module", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/frameworks/types/CHANGELOG.md b/frameworks/types/CHANGELOG.md new file mode 100644 index 000000000..dfe3e5fcf --- /dev/null +++ b/frameworks/types/CHANGELOG.md @@ -0,0 +1,14 @@ +# @just-web/types + +## 1.0.0 + +### Major Changes + +- 8c3183e: Add `@just-web/types` for defining plugin modules. + + It contains `definePlugin()` and `PluginModule` type, + as well as other functions and types to help writing plugins. + + Currently, `JustWebApp` and `JustWebTestApp` still resides within `@just-web/app`. + + We may move them here in the future. diff --git a/frameworks/types/package.json b/frameworks/types/package.json index 359f2602a..31de8797a 100644 --- a/frameworks/types/package.json +++ b/frameworks/types/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/types", - "version": "0.2.2", + "version": "1.0.0", "description": "Type definitions for `@just-web` modules", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/libraries/react/CHANGELOG.md b/libraries/react/CHANGELOG.md index 1ccf235cd..10fa9de03 100644 --- a/libraries/react/CHANGELOG.md +++ b/libraries/react/CHANGELOG.md @@ -1,5 +1,24 @@ # @just-web/react +## 2.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 + +- Updated dependencies [8c3183e] +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/app@1.0.0 + - @just-web/log@1.0.0 + - @just-web/states@1.0.0 + - @just-web/types@1.0.0 + ## 1.0.7 ### Patch Changes diff --git a/libraries/react/package.json b/libraries/react/package.json index d721eb892..43f809e17 100644 --- a/libraries/react/package.json +++ b/libraries/react/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/react", - "version": "1.0.7", + "version": "2.0.0", "description": "Supporting library for using @just-web with React", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/libraries/states/CHANGELOG.md b/libraries/states/CHANGELOG.md index 7d3115b94..d1080114d 100644 --- a/libraries/states/CHANGELOG.md +++ b/libraries/states/CHANGELOG.md @@ -1,5 +1,19 @@ # @just-web/states +## 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 + +- Updated dependencies [564addf] +- Updated dependencies [c228a89] + - @just-web/log@1.0.0 + ## 0.2.3 ### Patch Changes diff --git a/libraries/states/package.json b/libraries/states/package.json index 1c56bc033..207258a32 100644 --- a/libraries/states/package.json +++ b/libraries/states/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/states", - "version": "0.2.3", + "version": "1.0.0", "description": "State management for just-web application", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/browser-contributions/CHANGELOG.md b/plugins/browser-contributions/CHANGELOG.md new file mode 100644 index 000000000..93a454be7 --- /dev/null +++ b/plugins/browser-contributions/CHANGELOG.md @@ -0,0 +1,16 @@ +# @just-web/browser-contributions + +## 1.0.0 + +### Patch Changes + +- Updated dependencies [8c3183e] +- Updated dependencies [b262ab5] +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/os@1.0.0 + - @just-web/commands@1.0.0 + - @just-web/contributions@1.0.0 + - @just-web/log@1.0.0 + - @just-web/types@1.0.0 diff --git a/plugins/browser-contributions/package.json b/plugins/browser-contributions/package.json index a2fc45643..6f1afbc68 100644 --- a/plugins/browser-contributions/package.json +++ b/plugins/browser-contributions/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/browser-contributions", - "version": "0.2.7", + "version": "1.0.0", "description": "browser implementation for @just-web/contributions", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/browser-preferences/CHANGELOG.md b/plugins/browser-preferences/CHANGELOG.md new file mode 100644 index 000000000..91e4b5a8f --- /dev/null +++ b/plugins/browser-preferences/CHANGELOG.md @@ -0,0 +1,25 @@ +# @just-web/browser-preferences + +## 1.0.0 + +### Major Changes + +- 8c3183e: Add `@just-web/preferences` and `@just-web/browser-preferences` for managing user preference. + + `@just-web/browser-preferences` use `localStorage` for the job. + Meaning the preference will be preserved through tabs and sessions. + + The key are prefixed with app name so that it works correctly in micro app/micro frontend scenarios. + The same for `clearAll()`. It only clears those belong to the application. + +### Patch Changes + +- Updated dependencies [b262ab5] +- Updated dependencies [8c3183e] +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/commands@1.0.0 + - @just-web/preferences@1.0.0 + - @just-web/log@1.0.0 + - @just-web/types@1.0.0 diff --git a/plugins/browser-preferences/package.json b/plugins/browser-preferences/package.json index 996e0f4b4..4ca0735ca 100644 --- a/plugins/browser-preferences/package.json +++ b/plugins/browser-preferences/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/browser-preferences", - "version": "0.2.7", + "version": "1.0.0", "description": "browser implementation for @just-web/preferences", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/plugins/browser/CHANGELOG.md b/plugins/browser/CHANGELOG.md new file mode 100644 index 000000000..980e90d73 --- /dev/null +++ b/plugins/browser/CHANGELOG.md @@ -0,0 +1,13 @@ +# @just-web/browser + +## 1.0.0 + +### Patch Changes + +- cad72d1: Upgrade `iso-error` to 4.3.8 +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/log@1.0.0 + - @just-web/states@1.0.0 + - @just-web/types@1.0.0 diff --git a/plugins/browser/package.json b/plugins/browser/package.json index 79988a35b..39f89ec8d 100644 --- a/plugins/browser/package.json +++ b/plugins/browser/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/browser", - "version": "0.2.7", + "version": "1.0.0", "description": "just-web browser plugin module", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/commands/CHANGELOG.md b/plugins/commands/CHANGELOG.md index 1e9eec9a4..318d1d9cc 100644 --- a/plugins/commands/CHANGELOG.md +++ b/plugins/commands/CHANGELOG.md @@ -1,5 +1,45 @@ # @just-web/commands +## 1.0.0 + +### Patch Changes + +- b262ab5: Commands can be added irrespective of contributions. + + This means contributions are now public contributions, + and we can register commands that are internal to the application. + + This is the same model as VS Code. + + Originally I want all commands to be public, + so that we can access every command everywhere. + + But there are use cases that commands can be used within a subsection of an application. + For example, some UI internal commands for interactions. + + In those cases, it doesn't make sense to make those command public. + + `invoke()` now returns the value returned from the handler. + It is not typed at the moment. + + Will need to revisit it to figure out how to type the command's return type. + + May need to create a replacement of the `JustEvent` from `@unional/events-plus`. + +- 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/contributions@1.0.0 + - @just-web/log@1.0.0 + - @just-web/states@1.0.0 + - @just-web/types@1.0.0 + ## 0.2.5 ### Patch Changes diff --git a/plugins/commands/package.json b/plugins/commands/package.json index 6ee46ee0e..ea9588bbc 100644 --- a/plugins/commands/package.json +++ b/plugins/commands/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/commands", - "version": "0.2.5", + "version": "1.0.0", "description": "just-web command system", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/contributions/CHANGELOG.md b/plugins/contributions/CHANGELOG.md index f44ed193f..a1601dabc 100644 --- a/plugins/contributions/CHANGELOG.md +++ b/plugins/contributions/CHANGELOG.md @@ -1,5 +1,24 @@ # @just-web/contributions +## 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 + +- Updated dependencies [8c3183e] +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/os@1.0.0 + - @just-web/log@1.0.0 + - @just-web/states@1.0.0 + - @just-web/types@1.0.0 + ## 0.2.3 ### Patch Changes diff --git a/plugins/contributions/package.json b/plugins/contributions/package.json index fc3d28e3e..41d89c1ba 100644 --- a/plugins/contributions/package.json +++ b/plugins/contributions/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/contributions", - "version": "0.2.3", + "version": "1.0.0", "description": "just-web contributions store", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/events/CHANGELOG.md b/plugins/events/CHANGELOG.md index 0f5a0617b..9f3f6f36c 100644 --- a/plugins/events/CHANGELOG.md +++ b/plugins/events/CHANGELOG.md @@ -1,5 +1,15 @@ # @just-web/events +## 1.0.0 + +### Patch Changes + +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/log@1.0.0 + - @just-web/types@1.0.0 + ## 0.2.4 ### Patch Changes diff --git a/plugins/events/package.json b/plugins/events/package.json index fdb30634b..b882811e3 100644 --- a/plugins/events/package.json +++ b/plugins/events/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/events", - "version": "0.2.4", + "version": "1.0.0", "description": "just-web events module", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/os/CHANGELOG.md b/plugins/os/CHANGELOG.md new file mode 100644 index 000000000..cbbb0ac4b --- /dev/null +++ b/plugins/os/CHANGELOG.md @@ -0,0 +1,23 @@ +# @just-web/os + +## 1.0.0 + +### Major Changes + +- 8c3183e: Add `@just-web/os` for OS specific capabilities. + + It is extracted from `@just-web/platform` (removed). + + Note that it is a plugin and add the feature to the app itself, + along with exposing the functionalities as named exports. + + This is because the having and use them through app allows mocks to be injected deep in the system, + very useful when rendering OS dependent UI in storybook. + +### Patch Changes + +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/log@1.0.0 + - @just-web/types@1.0.0 diff --git a/plugins/os/package.json b/plugins/os/package.json index b519c47e5..d167b99c0 100644 --- a/plugins/os/package.json +++ b/plugins/os/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/os", - "version": "0.2.7", + "version": "1.0.0", "description": "just-web os plugin module", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/preferences/CHANGELOG.md b/plugins/preferences/CHANGELOG.md new file mode 100644 index 000000000..6c6098548 --- /dev/null +++ b/plugins/preferences/CHANGELOG.md @@ -0,0 +1,24 @@ +# @just-web/preferences + +## 1.0.0 + +### Major Changes + +- 8c3183e: Add `@just-web/preferences` and `@just-web/browser-preferences` for managing user preference. + + `@just-web/browser-preferences` use `localStorage` for the job. + Meaning the preference will be preserved through tabs and sessions. + + The key are prefixed with app name so that it works correctly in micro app/micro frontend scenarios. + The same for `clearAll()`. It only clears those belong to the application. + +### Patch Changes + +- Updated dependencies [b262ab5] +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/commands@1.0.0 + - @just-web/contributions@1.0.0 + - @just-web/log@1.0.0 + - @just-web/types@1.0.0 diff --git a/plugins/preferences/package.json b/plugins/preferences/package.json index d38c23ee1..60977ef6c 100644 --- a/plugins/preferences/package.json +++ b/plugins/preferences/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/preferences", - "version": "0.2.7", + "version": "1.0.0", "description": "just-web user preferences plugin module", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/plugins/routes/CHANGELOG.md b/plugins/routes/CHANGELOG.md index 68d87e1e6..97f7a23d2 100644 --- a/plugins/routes/CHANGELOG.md +++ b/plugins/routes/CHANGELOG.md @@ -1,5 +1,24 @@ # @just-web/routes +## 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 + +- Updated dependencies [8c3183e] +- Updated dependencies [564addf] +- Updated dependencies [c228a89] +- Updated dependencies [8c3183e] + - @just-web/app@1.0.0 + - @just-web/log@1.0.0 + - @just-web/states@1.0.0 + - @just-web/types@1.0.0 + ## 0.2.7 ### Patch Changes diff --git a/plugins/routes/package.json b/plugins/routes/package.json index 94a63cfc6..9ef3fcebf 100644 --- a/plugins/routes/package.json +++ b/plugins/routes/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/routes", - "version": "0.2.7", + "version": "1.0.0", "description": "just-web routes library", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/tools/testing/CHANGELOG.md b/tools/testing/CHANGELOG.md index 13862c8a3..9e4a9b003 100644 --- a/tools/testing/CHANGELOG.md +++ b/tools/testing/CHANGELOG.md @@ -1,5 +1,20 @@ # @just-web/testing +## 0.2.3 + +### 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 + +- 0e94b19: Upgrade `assertron` to 10.0.0 +- Updated dependencies [564addf] +- Updated dependencies [c228a89] + - @just-web/log@1.0.0 + ## 0.2.2 ### Patch Changes diff --git a/tools/testing/package.json b/tools/testing/package.json index 148939a96..6b51503a5 100644 --- a/tools/testing/package.json +++ b/tools/testing/package.json @@ -1,6 +1,6 @@ { "name": "@just-web/testing", - "version": "0.2.2", + "version": "0.2.3", "description": "just-web testing library", "main": "lib/index.js", "types": "lib/index.d.ts",