mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 06:28:54 +00:00
refactor: utilise new exports and deprecate old ones
Exports now utilise more accurate names to reflect their behaviour, with less confusion for JS users (await executeSync is no more). Exports return promises or callback results directly to reduce promise chaining. Promise exports now fully utilise JS, with Lua being removed from the resource - version checking runs through JS instead. Various improvements to lib/MySQL as well as introduction of a prepare wrapper.
This commit is contained in:
1 parent
e5c5fc3b1b
commit
36dd8ddd14
11 files changed
+401
-420
No files matched your search
@@ -31,8 +31,9 @@ jobs:
|
||||
- name: Bundle files
|
||||
run: |
|
||||
mkdir -p ./temp/oxmysql
|
||||
cp ./{LICENSE.md,README.md,fxmanifest.lua,lib} ./temp/oxmysql
|
||||
zip -r oxmysql-${{ github.event.inputs.tag }}.zip ./temp/oxmysql
|
||||
cp ./{LICENSE.md,README.md,fxmanifest.lua} ./temp/oxmysql
|
||||
cp -r ./{lib,dist} ./temp/oxmysql
|
||||
cd ./temp && zip -r ../oxmysql-${{ github.event.inputs.tag }}.zip ./oxmysql
|
||||
|
||||
- name: Create Release
|
||||
uses: "marvinpinto/[email protected]"
|
||||
|
||||
@@ -32,8 +32,9 @@ jobs:
|
||||
- name: Bundle files
|
||||
run: |
|
||||
mkdir -p ./temp/oxmysql
|
||||
cp ./{LICENSE.md,README.md,fxmanifest.lua,lib} ./temp/oxmysql
|
||||
zip -r oxmysql-${{ github.event.inputs.tag }}.zip ./temp/oxmysql
|
||||
cp ./{LICENSE.md,README.md,fxmanifest.lua} ./temp/oxmysql
|
||||
cp -r ./{lib,dist} ./temp/oxmysql
|
||||
cd ./temp && zip -r ../oxmysql-${{ github.event.inputs.tag }}.zip ./oxmysql
|
||||
|
||||
- name: Create Release
|
||||
uses: "marvinpinto/[email protected]"
|
||||
|
||||
Reference in new issue
Block a user