From 5f88c9e6d9cd1ca31dfcbc6b9c4972be94e4f03a Mon Sep 17 00:00:00 2001 From: stagas Date: Wed, 2 Oct 2024 14:35:55 +0300 Subject: [PATCH] save --- .github/workflows/deploy.yml | 11 ++-- api/deno.lock | 97 +++++++++++++++++++++++++++++++++- api/import-map.production.json | 7 +++ 3 files changed, 106 insertions(+), 9 deletions(-) create mode 100644 api/import-map.production.json diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e872e3d..ed6b14d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,16 +34,11 @@ jobs: - name: Build step run: "npm run build" - - name: List files - run: "ls -la" - - name: Upload to Deno Deploy uses: denoland/deployctl@v1 with: project: "vasi" - entrypoint: "./api/core/server.ts" root: "" - include: | - api - dist - ../node_modules + entrypoint: "./api/core/server.ts" + import-map: "./api/import-map-production.json" + include: api,dist diff --git a/api/deno.lock b/api/deno.lock index 01bf09a..2f8f2ca 100644 --- a/api/deno.lock +++ b/api/deno.lock @@ -162,7 +162,102 @@ "https://deno.land/x/zod@v3.23.8/index.ts": "d27aabd973613985574bc31f39e45cb5d856aa122ef094a9f38a463b8ef1a268", "https://deno.land/x/zod@v3.23.8/locales/en.ts": "a7a25cd23563ccb5e0eed214d9b31846305ddbcdb9c5c8f508b108943366ab4c", "https://deno.land/x/zod@v3.23.8/mod.ts": "ec6e2b1255c1a350b80188f97bd0a6bac45801bb46fc48f50b9763aa66046039", - "https://deno.land/x/zod@v3.23.8/types.ts": "1b172c90782b1eaa837100ebb6abd726d79d6c1ec336350c8e851e0fd706bf5c" + "https://deno.land/x/zod@v3.23.8/types.ts": "1b172c90782b1eaa837100ebb6abd726d79d6c1ec336350c8e851e0fd706bf5c", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/ansi-color-for.ts": "f59dcd273ceed844c78a591e3fa4ac6cfce1d3833bda20ee8620d99423b6db86", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/array-maybe.ts": "44498efa6f8c98b2700dcdcff65b68e43d29b0e45c1facca7ebde3612a42559f", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/array.ts": "75f071bf54c5cb8849298860fa363dd912cadad58f3398368de1e6d1539043b9", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/arrays-equal.ts": "2f4fab5c131e3ec2b968f2118b7fb44d71293731da9aca4ec298d308de877805", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/assert.ts": "1e2d4e28a4df39091fede6d2992b8ecd865e65f76e3638779eadcc2fec716fd6", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/bench.ts": "4413a6ed832f374975b72cc29394389736608ac70a0381979674cb8853a9f7d6", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/callbackify.ts": "5e1632c58edfa9b5266de0caac2b1fbacf00f8bcb407df9f4606d8787dd07364", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/canvas.ts": "742ba8edf702dccb6cb7f4d21d0ec005bcbf20bb916e4e5688094bacbdb7f3e8", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/chain.ts": "3ac8cdc608108e0fbcf4fbc152a6d126e0bd71c7f6c469c18337cb5809884d71", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/checksum.ts": "7ad88baefb325c59d9e27de81f9151e97831bad5d6c2bd75b93c21a5330abb46", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/color-hash.ts": "eaa6bbf4e62a31488a03d8cd340b5f9da2e443707589807c58741682515c09cd", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/color-of.ts": "d5bab4a9480a5762adf458f5d7d74fd6e32d495fc24edd5007316ecc855d0fac", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/colory.ts": "5267d377fbcbcfe59aa0897c9d11f3dcdd3075b74dceef49837fc60868083e20", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/consumify.ts": "5d3ffa736c31ad6e884741255b02895661d524899c913df164d205c565bf8127", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/cookies.ts": "3e271e34dd85abf23e7c2c928834f75ee97a8dbf906068a1aa7f98489424a764", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/create-concurrent-queue.ts": "f02a70ac4699c1bb4aada935bc47a31afa0d835b3a513ce9182bd0fdf03d9a2e", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/debounce.ts": "1341209adb864e24d9157ea7bf64dad2ed7c0db8f5e8427995deeab45d2110fe", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/debounceable-batch.ts": "79fb8b381d7bd40aa84700a70dfb6808b025e2dfdc2b04c9e9925461502b95e9", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/deep-equal.ts": "ec25b3f747cba3c60a3876aef73c3cac4f22053756bfa6c8f1ad6f37e2b999cd", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/deep-merge.ts": "e2aeaae36823ed838eb9cf184d75b2d43667ac4e6020fc5a59a190a5bd970141", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/deferred.ts": "0c60cb7454293f8062abab96ac8a6e14bd12e051f89a0f4ef19dc2f302f834dd", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/dom.ts": "ce3d21edca490159f8da47815fb828654f831009a4b0b1b01c61888517e52dc1", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/error.ts": "2b6447d8e958f15287831316daea897940d8b3053ae1279b00cffdb43486495b", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/event-emitter.ts": "3c2d30643a750293d97c2a5e447e6d3f6262756fd39d33dfadbd4f858100512e", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/fast-json-data.ts": "c0cb0fcee859cd0c17ddd92a555f8de0b54e7ddef2a230bdeb2b7d3a9dae56fd", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/filter-as.ts": "294644f334547630001836c81c7fa6f018b59cce6eab32f62e06f248b0c9ed3a", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/find-or-create.ts": "e0f0aac28d037792dd8d5003f45cf35193b8f8381d7022c94edf23c303262df0", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/fmt.ts": "d9797189ad3f3bf27e948c16851f30a2eb06fc103370d879d5fe5e970e502298", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/gc-free-array.ts": "241110e6e9590af9a29a015e9a08528bf7eae4f3496207b18216d1a81d490de4", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/genify.ts": "8da484b2fa7e9ace483f1ea84d832d587b0d7504019eec0d38d32771a11da334", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/geometry.ts": "a744a559a37c83ccc02f736791601d0d79471c296c66175210e66bdb9bb6f261", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/get-destructured-keys.ts": "c549352574afc857c394c14160b9e51c21a9e5a2f54854a773ae355678da9e78", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/get-file-id.ts": "ce682f1ebc1a12f45fbd766e19c3e39548cc26459b024759f75fcf8913ae65e3", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/glsl.ts": "e29b1f3f71f2e5b3e49173c42430c6bc06395d7f6d1fb5a058833d88560e95c6", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/hurry.ts": "f0d8e128ce0f2a2d102b6bbc9c17020cc3f1491b793d60ed2cc60a5a22025a45", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/index.ts": "1903061016d4ebea8f98ea904e48857a399958f2f8516e18bee1621f77e18ee2", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/is-mobile.ts": "bf9666387f0ce8c6e360ad98dc3d8f1aaf8bfbd4e730badaa822026a301a0c13", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/is.ts": "d6a93fee395fbc839130d05d0131b6674aefe6f163b2c5cc277501a4c34b10da", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/iterify.ts": "a76577498f3cc3395560af088fa29e1dc5732cd4c465290e44ebed912fcf4eb7", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/keyed-cache.ts": "01d9eb1abf62be131af8d976f5563e8e7d22f76ec95e97ff2cebaa4245516afe", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/lazy-pool.ts": "30df804d894a4f63155d4b2a89f77948d7a253191b1162c6b4b3d9805b8eacfc", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/lazy.ts": "fc6f9efb097228b8946ad8a9d160cb2ea2f06ab1ed23ea03cabbc4d14ed5df08", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/logger.ts": "05f38b936f597e328d9aaa1efbb6b625ac084b9bbaef52ea4b9925f515eb0c15", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/lru.ts": "02613166d52a0f0b2c50a4b9896d687b214c5f89574c2492c717d90084b1d170", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/map-set.ts": "83a5f1d68e79da8241b94f6c3d3de985d6b760b8e8c3be712cf8528e8d89edf5", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/match.ts": "0d53cd8bf2273cfc7afeac03555384f341639762a656158919be32641b94b942", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/math.ts": "b4854fe0390565e7e8378743de6d20dc20b0119f72ce0a2e8667efa965fd7e9f", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/memoize.ts": "bbac9c0c60c791d20ead84c2a5e28c1d3299d599cbbc81ca1cbf8be14d075f34", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/memory-view.ts": "1c3bc4a4c5ca98bbbc27845da13caafcb7bfc138a97f7ba02afbf13c82695c25", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/mouse-buttons.ts": "219fda3dd0e8b86d4ad6e66950b5ad70be04111d98c0ccf6023460a05b705a93", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/mutable.ts": "5840fb6e4ed28bcf2c535a9dd1ba7412f2d571d839a8ed1e3aaa615ff6748650", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/noop.ts": "2aad94a421a186213248e704eb80a4279e986c42e69e7d1fafd9cbc40ca8b0df", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/object-diff.ts": "6a38ab04a871edcffedfa98b33bf71c1b8e7772764dac78e0109ebe6b776d1be", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/object.ts": "af54594f49f585c7e1515e5d2c131ae9d8f2c666086f32ecadf2e3e85276d4f9", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/observe.ts": "42bf00c29202fe39907ae8e28ff95f180a0af7afa086c980db1d4888bc08d92c", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/on.ts": "37c95d62277a0e992e7caa1e11430cd27a9972a81ee7e828907def43669a0109", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/once.ts": "bd2a693151bcc15b7c11c4ea798357c4a67135efed5a91d84e623c06e85daf2f", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/partial-includes.ts": "4a9f24abf4034b310eb40b852b9eb7d0b294c14d91cb413f4987ec4fd1575ec4", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/partial-sort.ts": "930116520cd711637ce528e9b2baf0ff0547e9ac62a2724a5cd984bd26137d7b", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/pick-omit.ts": "30a1998a03607bfa07570f1c6bf3dbbc7cc3be22badb050afe80736d043ead4a", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/pool-array-get.ts": "1a8023b395030c72d5e97e95035c19fce93c423c1f9e3b58edc31eff05802e6a", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/prevent-stop.ts": "db468c7fa873c944b8ad98a7dd25912adc98c6eec1d598797d4769367db9878b", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/promisify.ts": "0697b2be96905fc34f327d40fa751f02f1818e4774894847962f818561c2adab", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/proxy-getter.ts": "bd9eb8f25886b21a4310273e87b173078420e3fd06447652bfdc20f498f8e781", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/rafs.ts": "eb8bda4088228dc99de452e1f49d8133ef6dc8502ed21c2b48616ecd208c54d5", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/random-hash.ts": "3c0fbf7917fec34f32fb5743b553333f7e038b374d9ad0f37dd7253785b6eeca", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/random-hex.ts": "545aafbee3779244102bbc3dc1e476c64fac96afbe9017c2aedb007610f9f060", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/random-id.ts": "43331a211ee4156c005a846becdb3f7443a0acbd53bfa1e61a64882042ba04e1", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/required.ts": "b059a9dd856f77234c3a4911424c03640d38ebbdf547f14bc94f380c45f67dfe", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/retry.ts": "3dce0cf8af5c954804a2bd7d79d28dbd31d9f0737628d8073cb752d5fdd6bfe0", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/return-this.ts": "0c36ad33976ae4bdf3010d7512e8eec6b65d307dc265b43e333c8132a0307f2e", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/rgb.ts": "327b514a94fba2e59228191386828941960fbec3c18066c8e1e5597411165c34", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/ring.ts": "660693d3b3e8035a56b62e96d2d1790a0899590f114be492a2ea4748a8dd63e4", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/rpc.ts": "cddaf1791b75dce88c00cf61fc11f5ca2cb1dbb6e556c376e8c6c8796f1e1eb9", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/seed-rand.ts": "46c4391e07236175830db60480054144b3be61fe1acc181518733e0d56cfa9b5", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/sort-object-in-place.ts": "f0372cc3c8ab59adf40e64f40290479636716c7ea632bdea225af84f09e69615", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/split-at.ts": "7f30572b7354be6404e96ae2dde864719d312058c16d5ccd721935e3ae3f00db", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/string.ts": "c66617152bac3be5ea0150532582ac9cdbb3489d185a0f85066e3c8f7555e97e", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/struct.ts": "33e41cb187147101a1d29005c874fae57c777a16b35f83ffa2eeba4ccaef781a", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/ticks.ts": "e2d2a32f37db05d3d59dc659f2f9ea37ee2c65b93401b0d1977f3518383c4459", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/time-ms.ts": "67811f91953981ead459a0a068f400ce31528ceb05b5c7b67bc4dde601005a1b", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/timeout.ts": "3c8a9448f550346aac6ac6f046ce10bb9d5c2ee7f7038a8f5988eb75dd6349d9", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/traverse-collect.ts": "db1a5bfcf6a90eb36686b64c3207920b7776fed0dac03e39287839a05ba97a1b", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/two-key-map.ts": "dec63a503e40929622f587b2fd3ebe5794a89cd8f5147be69bf9407d70eeb284", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/typed-array.ts": "3a049e51442a4466c63032978dc5a1f117f234fa93af9f3a5b0424588616553c", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/types.ts": "41175f1bf429006de581b74aaffc8991426100e995659c12e01bb5ac4ce452fa", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/unholey.ts": "37c2827f9b3083e7c76cf79bd73ef6c55461f6c6c73523358687c5f8f1b6a84c", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/unique.ts": "e9c5e9f3ed957ae03a8e9d201cdefd086ae95ad431e0831e51afbf52ad9f01d1", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/uniterify.ts": "8832052507e1c9cd7424ca6d89b031fd986fb28f7951edc939c2948c1e5fc478", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/validate-type.ts": "6e1e7c062964ec63e3342ab19187457e41474ec64e9bb87fd9f681f9557be255", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/wasm-alloc.ts": "d45bc7ee190cce90e15e58009f0564299dcceb3f621e6e4eaae9ea71ce4f842b", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/wasm-import.ts": "184ebc7bf6861465da1dc7edf04022da3d3c89becb295bf1fe86a89ae26c574a", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/wasm-sourcemap.ts": "42544a42fcb37cf54749a9941934115606c61afdcdba295c553c981914620329", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/when-image-ready.ts": "69b79af453926303d20912ac6a318a22d70cdb4babf4003d32fe18c104cc82a1", + "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/with-options.ts": "331ca3808b70391d47ca1d1cf70c6878f9b9176783eab5a87d2e7d77831e63be" }, "workspace": { "dependencies": [ diff --git a/api/import-map.production.json b/api/import-map.production.json new file mode 100644 index 0000000..e0e47cb --- /dev/null +++ b/api/import-map.production.json @@ -0,0 +1,7 @@ +{ + "kysely": "npm:kysely@^0.27.4", + "pg": "npm:pg", + "pg-pool": "npm:pg-pool", + "utils": "https://raw.githubusercontent.com/stagas/utils/refs/heads/main/src/index.ts", + "zod": "https://deno.land/x/zod@v3.23.8/mod.ts" +}