Skip to content

Commit

Permalink
v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout authored May 6, 2023
2 parents 695705a + f221e5e commit 641250b
Show file tree
Hide file tree
Showing 744 changed files with 10,935 additions and 2,435 deletions.
50 changes: 49 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,55 @@
# Changelog (4/22/2023)
# Changelog (5/6/2023)

Changelog was generated by [Generi](https://github.com/betterwrite/generi). Any questions, consult the documentation.

### v1.2.0


### v1.2.0-beta.1

* **🔧 fix(sitemap):** exclude paths - [[708a6fbd](https://github.com/Novout/betterwrite/commit/708a6fbd)]
* **🚧 chore:** update deps - [[66085c9a](https://github.com/Novout/betterwrite/commit/66085c9a)]
* **🎉 feat(liveshare):** collaboration watcher - [[9bb99f0a](https://github.com/Novout/betterwrite/commit/9bb99f0a)]
* **📈 perf(landing):** disable textgeometry render - [[bb6dbac7](https://github.com/Novout/betterwrite/commit/bb6dbac7)]
* **🎉 feat(auth):** google oauth in production - [[0fdcee05](https://github.com/Novout/betterwrite/commit/0fdcee05)]
* **🚧 chore(landing):** logos - [[2766f63f](https://github.com/Novout/betterwrite/commit/2766f63f)]
* **🔧 fix(api):** google fonts request only in necessary case - [[9725379f](https://github.com/Novout/betterwrite/commit/9725379f)]
* **🔧 fix(auth):** reset all user resources in logout and delete - [[fe61cc51](https://github.com/Novout/betterwrite/commit/fe61cc51)]
* **🔧 fix(auth):** delete local content - [[2f189519](https://github.com/Novout/betterwrite/commit/2f189519)]
* **🎉 feat(multiplayer):** owner check and updated color in ctx - [[091c9910](https://github.com/Novout/betterwrite/commit/091c9910)]
* **🎨 style(material):** hovered effect in input boolean - [[07756b9b](https://github.com/Novout/betterwrite/commit/07756b9b)]
* **🔧 fix(editor):** insert raw in delete backspace text block - [[8693ee17](https://github.com/Novout/betterwrite/commit/8693ee17)]
* **🚧 chore(monorepo):** webgl plugin - [[ed731f34](https://github.com/Novout/betterwrite/commit/ed731f34)]
* **🎉 feat(storage):** toast message in limit case - [[edf87898](https://github.com/Novout/betterwrite/commit/edf87898)]
* **🔧 fix(format):** simple define - [[87bc94dd](https://github.com/Novout/betterwrite/commit/87bc94dd)]
* **🚧 chore(utils):** loading title position - [[a2e5305a](https://github.com/Novout/betterwrite/commit/a2e5305a)]
* **🎨 style:** prettier update - [[3beec531](https://github.com/Novout/betterwrite/commit/3beec531)]
* **🚧 chore:** remove powered in about - [[ee5c87d5](https://github.com/Novout/betterwrite/commit/ee5c87d5)]
* **🚩 refactor(utils):** screen loading - [[b8d665ec](https://github.com/Novout/betterwrite/commit/b8d665ec)]
* **🔧 fix(editor):** correct count cursor position with normalize whitespace - [[3f26c5ef](https://github.com/Novout/betterwrite/commit/3f26c5ef)]
* **🎉 feat(entity):** tracking in manual salvageable - [[c9523c6d](https://github.com/Novout/betterwrite/commit/c9523c6d)]
* **🎨 style(header):** login routes - [[4f28550f](https://github.com/Novout/betterwrite/commit/4f28550f)]
* **🎉 feat(entity):** tracking timers - [[2f5e39b0](https://github.com/Novout/betterwrite/commit/2f5e39b0)]
* **🎉 feat(liveshare):** simple url key validation - [[bb4297db](https://github.com/Novout/betterwrite/commit/bb4297db)]
* **🔧 fix(multiplayer):** unsubscribe channel in owner leave - [[66f7993b](https://github.com/Novout/betterwrite/commit/66f7993b)]
* **🔧 fix(multiplayer):** accept only ok tracked presences - [[27e57139](https://github.com/Novout/betterwrite/commit/27e57139)]
* **🎉 feat(multiplayer):** shared link - [[ffa3a7a9](https://github.com/Novout/betterwrite/commit/ffa3a7a9)]
* **🎨 style(header):** outline in delete button - [[6b30c6cb](https://github.com/Novout/betterwrite/commit/6b30c6cb)]
* **🚧 chore:** readme - [[d9ca40fc](https://github.com/Novout/betterwrite/commit/d9ca40fc)]
* **🎉 feat(header):** login email in menu item - [[b3e6d3cf](https://github.com/Novout/betterwrite/commit/b3e6d3cf)]
* **🔧 fix(header):** i18n and position in logged icon - [[3085b11d](https://github.com/Novout/betterwrite/commit/3085b11d)]
* **🚧 chore:** update deps - [[c9b8eff3](https://github.com/Novout/betterwrite/commit/c9b8eff3)]
* **🚧 chore(monorepo):** remove prefix in folders - [[9d5f6f37](https://github.com/Novout/betterwrite/commit/9d5f6f37)]
* **🎉 feat:** oauth monorepo - [[2dc3e47e](https://github.com/Novout/betterwrite/commit/2dc3e47e)]
* **🚧 chore(seo):** default description case - [[5538722f](https://github.com/Novout/betterwrite/commit/5538722f)]
* **🎉 feat(liveshare):** key shadow - [[0bf558a9](https://github.com/Novout/betterwrite/commit/0bf558a9)]
* **🔧 fix(liveshare):** reload theme in force ctx - [[2c96c66f](https://github.com/Novout/betterwrite/commit/2c96c66f)]
* **🚩 refactor(auth):** login and register in wizard - [[38db9c86](https://github.com/Novout/betterwrite/commit/38db9c86)]
* **🎉 feat:** privacy policy - [[1399d718](https://github.com/Novout/betterwrite/commit/1399d718)]
* **🎉 feat(liveshare):** improve icons and ctx - [[e3c9a420](https://github.com/Novout/betterwrite/commit/e3c9a420)]
* **🎉 feat:** liveshare initial implementation - [[0aa174fc](https://github.com/Novout/betterwrite/commit/0aa174fc)]
* **🚧 chore(sitemap):** search only initial route - [[613b5c9d](https://github.com/Novout/betterwrite/commit/613b5c9d)]

### v1.1.15

* **🎨 style:** spinner color - [[a24b9b33](https://github.com/Novout/betterwrite/commit/a24b9b33)]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ betterwrite.io
- ✅ Statistics in Real-Time
- ✅ Graph Control
- ✅ Plugin Friendly
- ✅ Realtime Collaboration
<br>

# An Editor for Creative Writing
Expand Down
22 changes: 1 addition & 21 deletions docs/TOOLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,7 @@ When the project perspective began to expand, the need to bring a robust tooling

This architecture was adopted halfway through the project's development, necessitated by new tools attached directly to the application and the lack of a plugin system for the internal application, limiting large amounts of code to the framework's hook.

To create a satisfactory development and production sequence with [Yarn Workspaces](https://classic.yarnpkg.com/lang/en/docs/workspaces/), [Lerna](https://lerna.js.org/) and [TurboRepo](https://turbo.build/) were chosen. The following is an example of the build sequence of the project as a whole.

### Monorepo Structure

```txt
├── better-write-app # Application
├── better-write-contenteditable-ast # AST of editor inserts (bold, italics, underline...)
├── better-write-extension # Project Extension .bw
├── better-write-google-fonts-api # Google Fonts API requests for PDF Generator.
├── better-write-image-conversor # Convert .svg to .png and other utils
├── better-write-languages # i18n
├── better-write-plugin-annotations # Annotations Plugin
├── better-write-plugin-core # Plugin Core
├── better-write-plugin-exporter-docx # DOCX Generator Plugin
├── better-write-plugin-exporter-html # HTML Generator Plugin
├── better-write-plugin-exporter-pdf # PDF Generator Plugin
├── better-write-plugin-exporter-txt # TXT Generator Plugin
|── better-write-plugin-importer # Importer external files
├── better-write-plugin-theme # Multi-Theme Plugin
├── better-write-types # Typescript All Types
```
To create a satisfactory development and production sequence with [Yarn Workspaces](https://classic.yarnpkg.com/lang/en/docs/workspaces/) and [Lerna](https://lerna.js.org/) were chosen. The following is an example of the build sequence of the project as a whole.

### Monorepo Build Flow

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "1.1.15"
"version": "1.2.0"
}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@
"test": "lerna run test",
"lint": "lerna run lint",
"deploy": "yarn bootstrap && yarn build",
"prepatch": "generi log prepatch",
"patch": "generi log patch",
"preminor": "generi log preminor",
"minor": "generi log minor",
"premajor": "generi log premajor",
"major": "generi log major"
},
"devDependencies": {
"generi": "1.1.0",
"lerna": "6.6.1"
"lerna": "6.6.2"
},
"packageManager": "[email protected]"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#1F2937">
<meta name="msapplication-TileColor" content="#1F2937">
<meta name="theme-color" content="#1F2937">
<title>Better Write</title>
<meta name="keywords" content="Word Processor, Creative Writing">
<meta name="author" content="Giovane S.C">
<meta name="description" content="A word processor for creative writing and writing enthusiasts. Create how you want, for what you want.">
<title>Better Write.</title>
</head>
<body>
<div id="app"></div>
Expand Down
111 changes: 58 additions & 53 deletions packages/better-write-app/package.json → packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "better-write-app",
"version": "1.1.15",
"version": "1.2.0",
"repository": "https://github.com/Novout/betterwrite",
"description": "A Creative Word Processor",
"author": {
Expand All @@ -16,26 +16,26 @@
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src && yarn format"
},
"dependencies": {
"@headlessui/vue": "1.7.12",
"@milkdown/core": "7.1.1",
"@milkdown/ctx": "7.1.1",
"@milkdown/plugin-block": "7.1.1",
"@milkdown/plugin-clipboard": "7.1.1",
"@milkdown/plugin-cursor": "7.1.1",
"@milkdown/plugin-emoji": "7.1.1",
"@milkdown/plugin-history": "7.1.1",
"@milkdown/plugin-indent": "7.1.1",
"@milkdown/plugin-listener": "7.1.1",
"@milkdown/plugin-math": "7.1.1",
"@milkdown/plugin-tooltip": "7.1.1",
"@milkdown/plugin-trailing": "7.1.1",
"@milkdown/plugin-upload": "7.1.1",
"@milkdown/preset-commonmark": "7.1.1",
"@milkdown/prose": "7.1.1",
"@milkdown/transformer": "7.1.1",
"@headlessui/vue": "1.7.13",
"@milkdown/core": "7.2.1",
"@milkdown/ctx": "7.2.1",
"@milkdown/plugin-block": "7.2.1",
"@milkdown/plugin-clipboard": "7.2.1",
"@milkdown/plugin-cursor": "7.2.1",
"@milkdown/plugin-emoji": "7.2.1",
"@milkdown/plugin-history": "7.2.1",
"@milkdown/plugin-indent": "7.2.1",
"@milkdown/plugin-listener": "7.2.1",
"@milkdown/plugin-math": "7.2.1",
"@milkdown/plugin-tooltip": "7.2.1",
"@milkdown/plugin-trailing": "7.2.1",
"@milkdown/plugin-upload": "7.2.1",
"@milkdown/preset-commonmark": "7.2.1",
"@milkdown/prose": "7.2.1",
"@milkdown/transformer": "7.2.1",
"@sentry/tracing": "7.14.2",
"@sentry/vue": "7.14.2",
"@supabase/supabase-js": "2.12.1",
"@supabase/supabase-js": "2.21.0",
"@vuelidate/core": "2.0.1",
"@vuelidate/validators": "2.0.1",
"@vueuse/components": "9.13.0",
Expand All @@ -45,29 +45,33 @@
"@vueuse/motion": "2.0.0-beta.12",
"@vueuse/schema-org-vite": "1.1.0-beta.6",
"@vueuse/shared": "9.13.0",
"@vueuse/sound": "2.0.1",
"@zip.js/zip.js": "2.6.82",
"better-write-color-converter": "^1.1.15",
"better-write-contenteditable-ast": "^1.1.15",
"better-write-extension": "^1.1.15",
"better-write-google-fonts-api": "^1.1.15",
"better-write-image-converter": "^1.1.15",
"better-write-languages": "^1.1.15",
"better-write-plugin-annotations": "^1.1.15",
"better-write-plugin-characters": "^1.1.15",
"better-write-plugin-core": "^1.1.15",
"better-write-plugin-editor-window": "^1.1.15",
"better-write-plugin-entity-history": "^1.1.15",
"better-write-plugin-exporter-docx": "^1.1.15",
"better-write-plugin-exporter-epub": "^1.1.15",
"better-write-plugin-exporter-html": "^1.1.15",
"better-write-plugin-exporter-pdf": "^1.1.15",
"better-write-plugin-exporter-txt": "^1.1.15",
"better-write-plugin-importer": "^1.1.15",
"better-write-plugin-progress-bar": "^1.1.15",
"better-write-plugin-shortcuts": "^1.1.15",
"better-write-plugin-theme": "^1.1.15",
"better-write-plugin-voice-typing": "^1.1.15",
"better-write-types": "^1.1.15",
"better-write-color-converter": "^1.2.0",
"better-write-contenteditable-ast": "^1.2.0",
"better-write-extension": "^1.2.0",
"better-write-google-fonts-api": "^1.2.0",
"better-write-image-converter": "^1.2.0",
"better-write-languages": "^1.2.0",
"better-write-plugin-annotations": "^1.2.0",
"better-write-plugin-auth": "^1.2.0",
"better-write-plugin-characters": "^1.2.0",
"better-write-plugin-core": "^1.2.0",
"better-write-plugin-editor-window": "^1.2.0",
"better-write-plugin-entity-history": "^1.2.0",
"better-write-plugin-exporter-docx": "^1.2.0",
"better-write-plugin-exporter-epub": "^1.2.0",
"better-write-plugin-exporter-html": "^1.2.0",
"better-write-plugin-exporter-pdf": "^1.2.0",
"better-write-plugin-exporter-txt": "^1.2.0",
"better-write-plugin-importer": "^1.2.0",
"better-write-plugin-multiplayer": "^1.2.0",
"better-write-plugin-progress-bar": "^1.2.0",
"better-write-plugin-shortcuts": "^1.2.0",
"better-write-plugin-theme": "^1.2.0",
"better-write-plugin-voice-typing": "^1.2.0",
"better-write-plugin-webgl": "^1.2.0",
"better-write-types": "^1.2.0",
"compressorjs": "1.2.1",
"destr": "1.2.2",
"docx": "7.5.0",
Expand All @@ -76,12 +80,13 @@
"floating-vue": "2.0.0-beta.20",
"hast": "1.0.0",
"hast-util-from-html": "1.0.0",
"lz-string": "1.4.4",
"lz-string": "1.5.0",
"mitt": "3.0.0",
"nanoid": "4.0.2",
"nprogress": "0.2.0",
"ohmyfetch": "0.4.19",
"pinia": "2.0.32",
"three": "0.151.2",
"ohmyfetch": "0.4.21",
"pinia": "2.0.35",
"three": "0.152.2",
"vue": "3.2.47",
"vue-directive-providers": "0.1.0",
"vue-i18n": "9.2.2",
Expand All @@ -98,7 +103,7 @@
"@rollup/plugin-inject": "4.0.4",
"@types/file-saver": "2.0.5",
"@types/jsdom": "16.2.14",
"@types/three": "0.150.0",
"@types/three": "0.151.0",
"@typescript-eslint/eslint-plugin": "5.38.0",
"@typescript-eslint/parser": "5.38.0",
"@vitejs/plugin-vue": "4.1.0",
Expand All @@ -115,20 +120,19 @@
"pathe": "0.3.9",
"prettier": "2.6.2",
"tsup": "6.7.0",
"typescript": "5.0.2",
"unplugin-auto-import": "0.15.2",
"typescript": "5.0.4",
"unplugin-auto-import": "0.15.3",
"unplugin-vue-components": "0.24.1",
"vite": "4.2.1",
"vite-plugin-checker": "0.5.6",
"vite-plugin-minify": "1.5.2",
"vite": "4.3.5",
"vite-plugin-checker": "0.6.0",
"vite-plugin-optimize-persist": "0.1.2",
"vite-plugin-package-config": "0.1.1",
"vite-plugin-package-version": "1.0.2",
"vite-plugin-pwa": "0.14.6",
"vite-plugin-pwa": "0.14.7",
"vite-plugin-sitemap": "0.3.0",
"vite-plugin-windicss": "1.8.10",
"vitest": "0.29.8",
"vue-tsc": "1.2.0"
"vue-tsc": "1.6.4"
},
"vite": {
"optimizeDeps": {
Expand All @@ -146,6 +150,7 @@
"@vueuse/integrations/useNProgress",
"@vueuse/motion",
"@vueuse/components",
"@milkdown/utils",
"docx",
"es5-ext/global",
"file-saver",
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@
import { ShortcutsPlugin } from 'better-write-plugin-shortcuts'
import { VoiceTypingPlugin } from 'better-write-plugin-voice-typing'
import { EntityHistoryPlugin } from 'better-write-plugin-entity-history'
import { CharactersPlugin } from 'better-write-plugin-characters'
import { CharactersPlugin } from 'better-write-plugin-characters'
import { ProgressBarPlugin } from 'better-write-plugin-progress-bar'
import { EditorWindowPlugin } from 'better-write-plugin-editor-window'
import { MultiplayerPlugin } from 'better-write-plugin-multiplayer'
import { AuthPlugin } from 'better-write-plugin-auth'
import { WebGLPlugin } from 'better-write-plugin-webgl'
useStart([
ThemePlugin(),
Expand All @@ -34,6 +37,9 @@
EntityHistoryPlugin(),
CharactersPlugin(),
ProgressBarPlugin(),
EditorWindowPlugin()
EditorWindowPlugin(),
MultiplayerPlugin(),
AuthPlugin(),
WebGLPlugin(),
]).init()
</script>
17 changes: 17 additions & 0 deletions packages/app/src/components/icons/IconBlockquote.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M6 15h15m0 4H6m9-8h6m0-4h-6M9 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2M3 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2"
></path>
</svg>
</template>
13 changes: 13 additions & 0 deletions packages/app/src/components/icons/IconBold.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
d="M6.8 19V5h5.525q1.625 0 3 1T16.7 8.775q0 1.275-.575 1.963t-1.075.987q.625.275 1.388 1.025T17.2 15q0 2.225-1.625 3.113t-3.05.887H6.8Zm3.025-2.8h2.6q1.2 0 1.463-.613t.262-.887q0-.275-.263-.887T12.35 13.2H9.825v3Zm0-5.7h2.325q.825 0 1.2-.425t.375-.95q0-.6-.425-.975t-1.1-.375H9.825V10.5Z"
></path>
</svg>
</template>
13 changes: 13 additions & 0 deletions packages/app/src/components/icons/IconBulletList.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
d="M9 19v-2h12v2H9Zm0-6v-2h12v2H9Zm0-6V5h12v2H9ZM5 20q-.825 0-1.413-.588T3 18q0-.825.588-1.413T5 16q.825 0 1.413.588T7 18q0 .825-.588 1.413T5 20Zm0-6q-.825 0-1.413-.588T3 12q0-.825.588-1.413T5 10q.825 0 1.413.588T7 12q0 .825-.588 1.413T5 14Zm0-6q-.825 0-1.413-.588T3 6q0-.825.588-1.413T5 4q.825 0 1.413.588T7 6q0 .825-.588 1.413T5 8Z"
></path>
</svg>
</template>
13 changes: 13 additions & 0 deletions packages/app/src/components/icons/IconCopyLink.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"
></path>
</svg>
</template>
Loading

1 comment on commit 641250b

@vercel
Copy link

@vercel vercel bot commented on 641250b May 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.