Skip to content

Commit 35afccd

Browse files
committed
fix: missing lua assets in lib
1 parent f8478c7 commit 35afccd

File tree

2 files changed

+47
-5
lines changed

2 files changed

+47
-5
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test-unit": "mocha --extensions ts test/unit.ts",
99
"test-integration": "mdep test run -t ./test/integration.ts",
1010
"lint": "eslint ./src",
11-
"compile": "rimraf ./lib *.tsbuildinfo; tsc --build tsconfig.build.json",
11+
"compile": "rimraf ./lib *.tsbuildinfo; tsc --build tsconfig.build.json && copyfiles -u 1 ./src/backends/**/*.lua ./lib",
1212
"prepublishOnly": "yarn compile",
1313
"semantic-release": "semantic-release"
1414
},
@@ -50,6 +50,7 @@
5050
"@typescript-eslint/eslint-plugin": "^4.6.1",
5151
"@typescript-eslint/parser": "^4.6.1",
5252
"codecov": "^3.8.1",
53+
"copyfiles": "^2.4.0",
5354
"cross-env": "^7.0.2",
5455
"eslint": "^7.12.1",
5556
"eslint-config-makeomatic": "^5.0.3",

yarn.lock

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,6 +1746,19 @@ copy-concurrently@^1.0.0:
17461746
rimraf "^2.5.4"
17471747
run-queue "^1.0.0"
17481748

1749+
copyfiles@^2.4.0:
1750+
version "2.4.0"
1751+
resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.4.0.tgz#fcac72a4f2b882f021dd156b4bcf6d71315487bd"
1752+
integrity sha512-yGjpR3yjQdxccW8EcJ4a7ZCA6wGER6/Q2Y+b7bXbVxGeSHBf93i9d7MzTsx+VV1CpMKQa3v4ThZfXBcltMzl0w==
1753+
dependencies:
1754+
glob "^7.0.5"
1755+
minimatch "^3.0.3"
1756+
mkdirp "^1.0.4"
1757+
noms "0.0.0"
1758+
through2 "^2.0.1"
1759+
untildify "^4.0.0"
1760+
yargs "^15.3.1"
1761+
17491762
core-js@^3.6.1:
17501763
version "3.6.5"
17511764
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.5.tgz#7395dc273af37fb2e50e9bd3d9fe841285231d1a"
@@ -2942,7 +2955,7 @@ glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.0:
29422955
dependencies:
29432956
is-glob "^4.0.1"
29442957

2945-
[email protected], glob@^7.0.0, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
2958+
[email protected], glob@^7.0.0, glob@^7.0.5, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
29462959
version "7.1.6"
29472960
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
29482961
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
@@ -4323,7 +4336,7 @@ min-indent@^1.0.0:
43234336
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
43244337
integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==
43254338

4326-
[email protected], minimatch@^3.0.4:
4339+
[email protected], minimatch@^3.0.3, minimatch@^3.0.4:
43274340
version "3.0.4"
43284341
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
43294342
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
@@ -4382,6 +4395,11 @@ mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5, mkdirp@~0.5.0:
43824395
dependencies:
43834396
minimist "^1.2.5"
43844397

4398+
mkdirp@^1.0.4:
4399+
version "1.0.4"
4400+
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
4401+
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
4402+
43854403
mocha@^8.2.1:
43864404
version "8.2.1"
43874405
resolved "https://registry.yarnpkg.com/mocha/-/mocha-8.2.1.tgz#f2fa68817ed0e53343d989df65ccd358bc3a4b39"
@@ -4546,6 +4564,14 @@ node-preload@^0.2.1:
45464564
dependencies:
45474565
process-on-spawn "^1.0.0"
45484566

4567+
4568+
version "0.0.0"
4569+
resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859"
4570+
integrity sha1-2o69nzr51nYJGbJ9nNyAkqczKFk=
4571+
dependencies:
4572+
inherits "^2.0.1"
4573+
readable-stream "~1.0.31"
4574+
45494575
nopt@^4.0.1, nopt@^4.0.3:
45504576
version "4.0.3"
45514577
resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48"
@@ -5596,6 +5622,16 @@ read@1, read@~1.0.1, read@~1.0.7:
55965622
string_decoder "^1.1.1"
55975623
util-deprecate "^1.0.1"
55985624

5625+
readable-stream@~1.0.31:
5626+
version "1.0.34"
5627+
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
5628+
integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=
5629+
dependencies:
5630+
core-util-is "~1.0.0"
5631+
inherits "~2.0.1"
5632+
isarray "0.0.1"
5633+
string_decoder "~0.10.x"
5634+
55995635
readable-stream@~1.1.10:
56005636
version "1.1.14"
56015637
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9"
@@ -6454,7 +6490,7 @@ text-table@^0.2.0, text-table@~0.2.0:
64546490
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
64556491
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=
64566492

6457-
through2@^2.0.0, through2@^2.0.2, through2@~2.0.0:
6493+
through2@^2.0.0, through2@^2.0.1, through2@^2.0.2, through2@~2.0.0:
64586494
version "2.0.5"
64596495
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
64606496
integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==
@@ -6679,6 +6715,11 @@ unpipe@~1.0.0:
66796715
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
66806716
integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=
66816717

6718+
untildify@^4.0.0:
6719+
version "4.0.0"
6720+
resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b"
6721+
integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==
6722+
66826723
unzip-response@^2.0.1:
66836724
version "2.0.1"
66846725
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97"
@@ -7072,7 +7113,7 @@ yargs@^14.2.3:
70727113
y18n "^4.0.0"
70737114
yargs-parser "^15.0.1"
70747115

7075-
yargs@^15.0.1, yargs@^15.0.2, yargs@^15.1.0:
7116+
yargs@^15.0.1, yargs@^15.0.2, yargs@^15.1.0, yargs@^15.3.1:
70767117
version "15.4.1"
70777118
resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8"
70787119
integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==

0 commit comments

Comments
 (0)