Skip to content

Commit

Permalink
0.3.1 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Jul 18, 2024
1 parent a383750 commit 6a58ab8
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 35 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: |
pnpm run build
- name: Upload artifact
if: ${{ github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v3
with:
name: dist
Expand Down Expand Up @@ -78,6 +78,7 @@ jobs:
run: |
pnpm run test
- name: Release
if: ${{ github.ref == 'refs/heads/master' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libreservice/my-opencc",
"version": "0.3.0",
"version": "0.3.1",
"files": [
"dist"
],
Expand All @@ -26,39 +26,39 @@
"preview": "vite preview --host"
},
"devDependencies": {
"@libreservice/lazy-cache": "^0.1.0",
"@libreservice/lazy-cache": "^0.1.2",
"@libreservice/my-widget": "^0.1.4",
"@libreservice/my-worker": "^0.4.0",
"@playwright/test": "^1.35.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@types/lodash": "^4.14.195",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@libreservice/my-worker": "^0.4.2",
"@playwright/test": "^1.45.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@types/lodash": "^4.17.7",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vicons/fa": "^0.12.0",
"@vicons/material": "^0.12.0",
"@vitejs/plugin-vue": "^4.2.3",
"client-zip": "^2.4.4",
"esbuild": "^0.18.1",
"eslint": "^8.42.0",
"@vitejs/plugin-vue": "^5.0.5",
"client-zip": "^2.4.5",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.14.1",
"idb": "^7.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-promise": "^6.4.0",
"eslint-plugin-vue": "^9.27.0",
"idb": "^8.0.0",
"lodash": "^4.17.21",
"naive-ui": "^2.34.4",
"rollup": "^3.25.1",
"rollup-plugin-esbuild": "^5.0.0",
"tslib": "^2.5.3",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-pwa": "^0.16.4",
"vite-plugin-run": "^0.4.1",
"vue": "^3.3.4",
"vue-router": "^4.2.2",
"vue-tsc": "^1.6.5"
"naive-ui": "^2.39.0",
"rollup": "^4.18.1",
"rollup-plugin-esbuild": "^6.1.1",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
"vite": "^5.3.4",
"vite-plugin-pwa": "^0.20.0",
"vite-plugin-run": "0.4.1",
"vue": "^3.4.32",
"vue-router": "^4.4.0",
"vue-tsc": "^2.0.26"
}
}
19 changes: 16 additions & 3 deletions patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b3b15d..a939f2b 100644
index d7c3edc..a855025 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -132,7 +132,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
@@ -157,7 +157,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
-std=c++14
-Wall
)
Expand All @@ -13,7 +13,7 @@ index 9b3b15d..a939f2b 100644
if (CMAKE_BUILD_TYPE MATCHES Debug)
add_definitions(-O0 -g3)
endif ()
@@ -196,9 +198,11 @@ endif()
@@ -221,9 +223,11 @@ endif()
######## Subdirectories

add_subdirectory(src)
Expand Down Expand Up @@ -48,3 +48,16 @@ index ffcdc5b..0de4c63 100644

//#define MARISA_WORD_SIZE (sizeof(void *) * 8)

diff --git a/deps/rapidjson-1.1.0/rapidjson/document.h b/deps/rapidjson-1.1.0/rapidjson/document.h
index e3e20df..ad362a6 100644
--- a/deps/rapidjson-1.1.0/rapidjson/document.h
+++ b/deps/rapidjson-1.1.0/rapidjson/document.h
@@ -322,7 +322,7 @@ struct GenericStringRef {
operator const Ch *() const { return s; }

const Ch* const s; //!< plain CharType pointer
- const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
+ SizeType length; //!< length of the string (excluding the trailing NULL terminator)

private:
//! Disallow construction from non-const array

0 comments on commit 6a58ab8

Please sign in to comment.