mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 06:35:02 +00:00
ci: upgrade typos to 1.16.8
This commit is contained in:
committed by
Gabriel Horner
parent
73b92a8ccd
commit
4cb23ab193
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
- name: Checkout Actions Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Check spelling with custom config file
|
||||
uses: crate-ci/typos@v1.13.10
|
||||
uses: crate-ci/typos@v1.16.8
|
||||
with:
|
||||
config: ./typos.toml
|
||||
|
||||
|
||||
2
deps/shui/src/logseq/shui/context.cljs
vendored
2
deps/shui/src/logseq/shui/context.cljs
vendored
@@ -16,7 +16,7 @@
|
||||
;; Wrap the old inline function to allow for interception, but fallback to the old inline function
|
||||
:inline-block (inline->inline-block inline block-config)
|
||||
:map-inline-block (inline->map-inline-block inline block-config)
|
||||
;; Currently frontend component are provided an object map containin at least the following keys:
|
||||
;; Currently frontend component are provided an object map containing at least the following keys:
|
||||
;; These will be passed through in a whitelisted fashion so as to be able to track the dependencies
|
||||
;; back to the core application
|
||||
;; TODO: document the following
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
```
|
||||
- Working directory: Logseq root directory
|
||||
- Run `yarn && yarn app-watch` from the logseq project root directory in terminal.
|
||||
- Run `npx cap sync ios` in another termimal to copy web assets from public to *ios/App/App/public*, and create *capacitor.config.json* in *ios/App/App*, and update iOS plugins.
|
||||
- Run `npx cap sync ios` in another terminal to copy web assets from public to *ios/App/App/public*, and create *capacitor.config.json* in *ios/App/App*, and update iOS plugins.
|
||||
- Connect your iOS device to MacBook.
|
||||
- Run `npx cap open ios` to open Logseq project in Xcode, and build the app there.
|
||||
|
||||
@@ -70,13 +70,13 @@ or, you can run `bb release:ios-app` to do those steps with one command.
|
||||
}
|
||||
```
|
||||
- Run `yarn && yarn app-watch` from the logseq project root directory in terminal.
|
||||
- Run `npx cap sync android` in another termimal.
|
||||
- Run `npx cap sync android` in another terminal.
|
||||
- Run `npx cap run android` to install app into your device.
|
||||
|
||||
or, you can run `bb dev:android-app` to do those steps with one command if you are on macOS.
|
||||
|
||||
Then,
|
||||
- In Android Studio, open **Tools** -> **AVD Manager** to create Android Virtual Device (AVD), and lanuch it in the emulator.
|
||||
- In Android Studio, open **Tools** -> **AVD Manager** to create Android Virtual Device (AVD), and launch it in the emulator.
|
||||
- In Android Studio, open **Run** -> **Run** to run Logseq.
|
||||
- After logseq startup in Android virtual device, repl should be able to connect
|
||||
- For browser console print and devtool remote debug, open chrome, type url chrome://inspect/#devices, you should see your device there, click inspect
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
(into {})))
|
||||
|
||||
(defn list-langs
|
||||
"List translated langagues with their number of translations"
|
||||
"List translated languages with their number of translations"
|
||||
[]
|
||||
(let [dicts (get-dicts)
|
||||
en-count (count (dicts :en))
|
||||
@@ -176,8 +176,7 @@
|
||||
:search-item/whiteboard :settings-page/enable-flashcards :settings-page/enable-whiteboards
|
||||
:settings-page/tab-editor :shortcut.category/whiteboard :whiteboard/medium
|
||||
:whiteboard/twitter-url :whiteboard/youtube-url :right-side-bar/history-global}
|
||||
:tr #{:help/awesome-logseq}
|
||||
})
|
||||
:tr #{:help/awesome-logseq}})
|
||||
|
||||
(defn- validate-languages-dont-have-duplicates
|
||||
"Looks up duplicates for all languages"
|
||||
|
||||
@@ -111,7 +111,7 @@ html[data-theme='dark'] {
|
||||
--color-level-6: #3a7e8e;
|
||||
}
|
||||
|
||||
/* You should always use .light-theme for light mode, the .white-theme is just for backword compatibility.
|
||||
/* You should always use .light-theme for light mode, the .white-theme is just for backward compatibility.
|
||||
|
||||
See: https://github.com/logseq/logseq/pull/4652. */
|
||||
.white-theme,
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
[:tr {:key (:block/name page)}
|
||||
[:td [:div [:p "📄 " old-title]]
|
||||
(case status
|
||||
:breaking ;; if properety title override the title, it't not breaking change
|
||||
:breaking ;; if property title override the title, it't not breaking change
|
||||
[:div [:p "🟡 " (t :file-rn/suggest-rename) rename-but]
|
||||
[:p (t :file-rn/otherwise-breaking) " \"" changed-title \"]]
|
||||
:unreachable
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
(if (mobile-util/native-ios?)
|
||||
(cond
|
||||
(or (string/includes? path "///private/")
|
||||
;; virtual matchine
|
||||
;; virtual machine
|
||||
(string/starts-with? path "file:///Users/"))
|
||||
path
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
(gp-util/safe-subs s 0 200)))
|
||||
|
||||
(defn- build-title [page]
|
||||
;; Don't wrap `\"` anymore, as tiitle property is not effected by `,` now
|
||||
;; Don't wrap `\"` anymore, as title property is not effected by `,` now
|
||||
;; The previous extract behavior isn't unwrapping the `'"` either. So no need
|
||||
;; to maintain the compatibility.
|
||||
(:block/original-name page))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
(ns frontend.util.keycode
|
||||
"Provides names for common keycodes")
|
||||
|
||||
;; code / keycode should all be deprecated for non funcional keys
|
||||
;; code / keycode should all be deprecated for non functional keys
|
||||
;; (def left-square-bracket 219) ;; deprecated
|
||||
;; (def left-paren 57) ;; deprecated
|
||||
(def enter 13)
|
||||
|
||||
@@ -12,5 +12,8 @@ BA = "BA"
|
||||
fo = "fo"
|
||||
aks = "aks"
|
||||
Mannor = "Mannor"
|
||||
deleteable = "deleteable"
|
||||
fom = "fom"
|
||||
tne = "tne"
|
||||
[files]
|
||||
extend-exclude = ["resources/*", "src/resources/*"]
|
||||
|
||||
Reference in New Issue
Block a user