@pixotope/query 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +20 -0
- package/.turbo/turbo-check-types.log +4 -0
- package/.turbo/turbo-test.log +15 -0
- package/dist/index.cjs +693 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +179 -0
- package/dist/index.d.ts +179 -0
- package/dist/index.js +674 -0
- package/dist/index.js.map +1 -0
- package/package.json +34 -0
- package/src/factories.ts +166 -0
- package/src/index.ts +3 -0
- package/src/mock/useQuery.ts +48 -0
- package/src/useMutation.ts +228 -0
- package/src/useQuery.test.ts +282 -0
- package/src/useQuery.ts +302 -0
- package/src/useSubscription.ts +87 -0
- package/src/useSubscriptionCore.test.ts +360 -0
- package/src/useSubscriptionCore.ts +223 -0
- package/src/vitest-setup.ts +1 -0
- package/tsconfig.json +27 -0
- package/vitest.config.mts +21 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
> @pixotope/query@0.0.1 build /home/circleci/project/packages/query
|
|
3
|
+
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
|
+
|
|
5
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
+
[34mCLI[39m tsup v8.5.0
|
|
8
|
+
[34mCLI[39m Target: es6
|
|
9
|
+
[34mCJS[39m Build start
|
|
10
|
+
[34mESM[39m Build start
|
|
11
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m22.16 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m41.69 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 27ms
|
|
14
|
+
[32mESM[39m [1mdist/index.js [22m[32m20.95 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m41.69 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 27ms
|
|
17
|
+
[34mDTS[39m Build start
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 1465ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m9.23 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m9.23 KB[39m
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
> @pixotope/query@0.0.1 test /home/circleci/project/packages/query
|
|
3
|
+
> vitest
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[1m[46m RUN [49m[22m [36mv3.2.4 [39m[90m/home/circleci/project/packages/query[39m
|
|
7
|
+
|
|
8
|
+
[32m✓[39m src/useSubscriptionCore.test.ts [2m([22m[2m21 tests[22m[2m)[22m[32m 62[2mms[22m[39m
|
|
9
|
+
[32m✓[39m src/useQuery.test.ts [2m([22m[2m17 tests[22m[2m)[22m[33m 327[2mms[22m[39m
|
|
10
|
+
|
|
11
|
+
[2m Test Files [22m [1m[32m2 passed[39m[22m[90m (2)[39m
|
|
12
|
+
[2m Tests [22m [1m[32m38 passed[39m[22m[90m (38)[39m
|
|
13
|
+
[2m Start at [22m 08:21:39
|
|
14
|
+
[2m Duration [22m 2.96s[2m (transform 236ms, setup 245ms, collect 480ms, tests 390ms, environment 1.12s, prepare 1.22s)[22m
|
|
15
|
+
|