Skip to content

build: v4.5.0, v1.5.0 #670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 72 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
a391acf
refactor(native): create shared `Preferences.swift` file
ACTCD Oct 1, 2023
57b2250
refactor: disable logger by default via preference
ACTCD Oct 1, 2023
44ba557
feat(macos): add debug logger switch and help menus
ACTCD Oct 1, 2023
052574c
feat(ios): add debug logger switch in settings app
ACTCD Oct 1, 2023
78f43f4
refactor: migrate scripts dir reference to preferences
ACTCD Oct 1, 2023
ffe39b4
feat(ios): show document directory in files app
ACTCD Oct 1, 2023
3401316
refactor(macos): remove redundant entitlement
ACTCD Oct 1, 2023
7d5dbd9
feat(ios): set default scripts directory for first use
ACTCD Oct 1, 2023
beb9023
refactor(ios): adjust related text due to default directory
ACTCD Oct 1, 2023
9bbd3b9
refactor: adjust xcconfig files
ACTCD Oct 1, 2023
92a003c
Merge pull request #546 from quoid/refactor/native_preferences
ACTCD Oct 4, 2023
9c5c95e
build: v4.5.0(81), v1.5.0(54)
ACTCD Oct 4, 2023
2e641f4
fix(ios): improve initialization process make sure display document f…
ACTCD Oct 6, 2023
58356ff
build: v4.5.0(81), v1.5.0(55)
ACTCD Oct 6, 2023
bdfdf08
refactor(dev): adjust xcode structure
ACTCD Oct 12, 2023
fd7b575
refactor(dev): adjust src structure
ACTCD Oct 12, 2023
e4f4d5c
refactor(dev): update build process and references
ACTCD Oct 12, 2023
3ed1bdc
refactor(app): import ios app webview src
ACTCD Oct 12, 2023
b3295e2
refactor: migrate ios webview to app-shared group
ACTCD Oct 13, 2023
3470b84
refactor(preferences): centralize common functions to simplify calls
ACTCD Oct 15, 2023
ba8d8b6
fix: correctly returns xhr errors when type is blob
ACTCD Oct 15, 2023
69bb257
refactor(app): update loading of ios app webview
ACTCD Oct 17, 2023
61f82b9
refactor: update dev and build of ios app webview
ACTCD Oct 17, 2023
5f99654
refactor(dev): improve produce of ext manifest.json
ACTCD Oct 18, 2023
44a58ea
refactor: update webview action policy and fail handler
ACTCD Oct 19, 2023
243f27a
feat(app): click on the directory to open the folder
ACTCD Oct 19, 2023
69fb292
refactor: improve package and types import
ACTCD Oct 21, 2023
a64f3e0
refactor: improve content scripts
ACTCD Oct 22, 2023
8f34098
chore: update ci commands
ACTCD Oct 22, 2023
87dd005
chore: update styles and dev dependencies
ACTCD Oct 23, 2023
0ee9a39
docs: update iOS usage instructions in README (#561)
lukereichold Oct 24, 2023
346e3c8
chore: update docs and some minor tweaks
ACTCD Oct 26, 2023
48c6962
Merge pull request #560 from quoid/dev/update-dev-and-build-process
ACTCD Oct 27, 2023
91920e6
build: v4.5.0(83), v1.5.0(57)
ACTCD Oct 27, 2023
752694a
refactor(dev): introduce prettier as code formatter
ACTCD Oct 30, 2023
5c6c356
refactor(dev): use new eslint flat config file
ACTCD Oct 30, 2023
8fea749
refactor(dev): update stylelint configuration
ACTCD Oct 30, 2023
acc35fb
chore: apply prettier formatting
ACTCD Oct 31, 2023
0ee5a06
chore: create `.git-blame-ignore-revs`
ACTCD Oct 31, 2023
6e392b5
chore: ignore lint errors for inline svg raw
ACTCD Oct 31, 2023
9c3cfe0
chore: add vscode tasks for lint and prettier
ACTCD Oct 31, 2023
a1a3164
docs: add suggestions and notes and some adjust
ACTCD Oct 31, 2023
76e294b
Merge pull request #564 from quoid/update-linters-and-adopt-prettier
ACTCD Nov 1, 2023
9e8a6d0
refactor(dev): setup jsconfig and type checking
ACTCD Nov 5, 2023
a9accc9
chore: correct file name and associations
ACTCD Nov 7, 2023
58fff01
refactor: fix new errors generated by type checking
ACTCD Nov 9, 2023
378dca5
refactor: few minor tweaks
ACTCD Nov 10, 2023
a4559fc
refactor: detailed type definitions instead of any
ACTCD Nov 10, 2023
d2d75c2
refactor: correct error message text typo
ACTCD Nov 10, 2023
a909ed3
Merge pull request #570 from quoid/dev/jsconfig
ACTCD Nov 11, 2023
fa9ca35
refactor(dev): improve eslint and jsconfig
ACTCD Nov 15, 2023
99c5f00
refactor(dev): adjust directory structure
ACTCD Nov 27, 2023
6a3fade
refactor(dev): create remote real-time dev build and server
ACTCD Nov 27, 2023
6e80a84
refactor(dev): add xcode config and organize schemes
ACTCD Nov 27, 2023
c963dc1
refactor(docs): update docs and tasks
ACTCD Nov 29, 2023
97da992
chore: add `sideEffects` key to help tree-shaking
ACTCD Nov 29, 2023
debe1a2
chore: improve and correct document content
ACTCD Nov 29, 2023
1b82133
fix: correctly handle url containing hash but without search
ACTCD Nov 30, 2023
d4e74e3
refactor(dev): improve xcode unit tests
ACTCD Dec 1, 2023
a992ef3
refactor(dev): improve tests and error logging
ACTCD Dec 1, 2023
962c4d8
chore: xcode swift indent replace spaces to tabs
ACTCD Dec 2, 2023
2f950e0
chore: add ignore to `.git-blame-ignore-revs`
ACTCD Dec 2, 2023
4e6fa13
Merge pull request #591 from quoid/dev/new-remote-real-time-dev
ACTCD Jan 27, 2024
771e92b
Merge pull request #593 from quoid/issue/583
ACTCD Jan 27, 2024
d5f95bc
Merge pull request #594 from quoid/dev/xcode-swift-spaces-to-tabs
ACTCD Jan 27, 2024
3a2c5e1
fix: make the `Open Extension Page` button work stably (#616)
ACTCD Jul 11, 2024
c2a87ce
fix: improve platform recognition then fix icon display in visionos
ACTCD Feb 9, 2024
1500e1b
refactor: solve the unpleasant bounce of loader icon
ACTCD Feb 9, 2024
443de87
refactor: improve basic popup view structure and fix issues (#624)
ACTCD Feb 10, 2024
5c2618c
fix: avoid potentially infinite hangs on async messages (#669)
ACTCD Jul 9, 2024
e7b24fd
chore: fix code style issues
ACTCD Jul 11, 2024
7e0d500
chore: verifiable automated builds and deployments (#665)
ACTCD Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# https://editorconfig.org/
# https://prettier.io/docs/en/configuration#editorconfig

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
indent_style = tab
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
92 changes: 0 additions & 92 deletions .eslintrc.json

This file was deleted.

9 changes: 9 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# https://git-scm.com/docs/git-blame
# https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/
# https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view

# Prettier 3.0.3
acc35fbec38d72968b735826c6807793a2054aed

# Xcode swift indent replace spaces to tabs
962c4d81879e85362a5f878889d3aa869f4e6961
10 changes: 7 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
pnpm-lock.yaml linguist-generated
public linguist-generated
xcode/iOS-App/Base.lproj/Main.html linguist-generated
# https://git-scm.com/docs/gitattributes
# https://git-scm.com/book/en/Customizing-Git-Git-Attributes
* text=auto

# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
# https://github.com/github-linguist/linguist/blob/master/docs/overrides.md
public linguist-generated
14 changes: 7 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: npm install
- name: Run ESLint
run: npm run lint-js
- name: Run Stylelint
run: npm run lint-css
- uses: actions/checkout@v2
- name: Install modules
run: npm install
- name: Run ESLint
run: npm run lint:js
- name: Run Stylelint
run: npm run lint:css
46 changes: 30 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Temp/Dist/Built
temp
dist
dist-ssr
build
built

# Logs
logs
*.log
Expand All @@ -7,11 +23,11 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# npm
node_modules
temp
dist
dist-ssr
*.local
#package-lock.json
yarn.lock
pnpm-lock.yaml

# Editor directories and files
.vscode/*
Expand All @@ -25,20 +41,18 @@ dist-ssr
*.sln
*.sw?

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# xcode
xcuserdata/
*.xcuserstate
*.dev.xcconfig
XCBuildData
xcode/**/build/
xcode/**/dist/
# xcode/Userscripts-iOS/Base.lproj/Main.html
xcode/Ext-Safari/Resources/

# directories and files
local
*.local
/scripts/*.local.js

# fastlane
/fastlane/report.xml
/fastlane/**/*.local.rb
8 changes: 4 additions & 4 deletions .postcssrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": {
"autoprefixer": {"overrideBrowserslist": ["safari >= 13"]}
}
}
"plugins": {
"autoprefixer": { "overrideBrowserslist": ["safari >= 13"] }
}
}
26 changes: 26 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# env
.env
.env.*
!.env.example
.DS_Store

# root
/package
/public/**/vendor
/etc

# dir
node_modules
xcode
build
built
dist
temp

# files
*.svg

# Ignore files for PNPM, NPM and YARN
package-lock.json
pnpm-lock.yaml
yarn.lock
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"plugins": ["prettier-plugin-svelte"],
"useTabs": true
}
56 changes: 29 additions & 27 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-standard",
"stylelint-config-html/svelte"
],
"ignoreFiles": [
"**/build/**",
"**/dist/**",
"**/etc/**",
"**/node_modules/**",
"**/reset.css"
],
"rules": {
"alpha-value-notation": "number",
"comment-empty-line-before": ["always",{
"ignore": ["after-comment", "stylelint-commands"]
}],
"custom-property-empty-line-before": null,
"indentation": 4,
"max-empty-lines": 1,
"no-descending-specificity": null,
"property-no-vendor-prefix": null,
"selector-class-pattern": null,
"selector-pseudo-class-no-unknown": [true, {
"ignorePseudoClasses": ["global"]
}]
}
"extends": ["stylelint-config-standard", "stylelint-config-html"],
"ignoreFiles": [
"**/etc/**",
"**/dist/**",
"**/build/**",
"**/node_modules/**",
"**/reset.css",
"public/**",
"xcode/**"
],
"rules": {
"alpha-value-notation": "number",
"comment-empty-line-before": [
"always",
{
"ignore": ["after-comment", "stylelint-commands"]
}
],
"custom-property-empty-line-before": null,
"no-descending-specificity": null,
"property-no-vendor-prefix": null,
"selector-class-pattern": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
]
}
}
16 changes: 8 additions & 8 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// https://code.visualstudio.com/docs/editor/extension-gallery#_workspace-recommended-extensions
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"svelte.svelte-vscode",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint"
]
}
"recommendations": [
"svelte.svelte-vscode",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint"
]
}
33 changes: 11 additions & 22 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
// https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings
{
"editor.formatOnSave": false,
"files.associations": {
".htmlhintrc": "json"
},
"eslint.validate": [
"svelte"
],
"stylelint.validate": [
"css",
"postcss",
"svelte"
],
"svelte.plugin.svelte.compilerWarnings": {
"a11y-missing-attribute": "error"
},
"svelte.plugin.svelte.rename.enable": false,
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"[css]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint"
}
"files.associations": {
".git-blame-ignore-revs": "ignore"
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// https://github.com/microsoft/vscode-eslint#settings-options
"eslint.validate": ["javascript", "svelte"],
"eslint.experimental.useFlatConfig": true,
// https://github.com/stylelint/vscode-stylelint#stylelintvalidate
"stylelint.validate": ["css", "postcss", "svelte"]
}
Loading
Loading