@noya-app/noya-multiplayer-react 0.1.27 → 0.1.29
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 +19 -9
- package/CHANGELOG.md +15 -0
- package/bundle.config.ts +20 -0
- package/dist/index.bundle.js +51 -0
- package/dist/index.d.mts +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +41 -31
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +40 -30
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -3
- package/src/__tests__/noyaApp.test.ts +107 -0
- package/src/noyaApp.ts +55 -44
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
[0m[2m[35m$[0m [2m[1mbun run build:bundle && bun run build:main[0m
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mtsup src/index.ts --config bundle.config.ts[0m
|
|
3
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
4
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
5
|
+
[34mCLI[39m tsup v8.0.1
|
|
6
|
+
[34mCLI[39m Using tsup config: /Users/devinabbott/Projects/noya-core/packages/noya-multiplayer-react/bundle.config.ts
|
|
7
|
+
[34mCLI[39m Target: es2022
|
|
8
|
+
[34mCJS[39m Build start
|
|
9
|
+
[32mCJS[39m [1mdist/index.bundle.js [22m[32m338.81 KB[39m
|
|
10
|
+
[32mCJS[39m ⚡️ Build success in 83ms
|
|
1
11
|
[0m[2m[35m$[0m [2m[1mtsup src/index.ts --format cjs,esm --dts --sourcemap[0m
|
|
2
12
|
[34mCLI[39m Building entry: src/index.ts
|
|
3
13
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
@@ -5,14 +15,14 @@
|
|
|
5
15
|
[34mCLI[39m Target: esnext
|
|
6
16
|
[34mCJS[39m Build start
|
|
7
17
|
[34mESM[39m Build start
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
18
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m45.02 KB[39m
|
|
19
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m82.40 KB[39m
|
|
20
|
+
[32mESM[39m ⚡️ Build success in 25ms
|
|
21
|
+
[32mCJS[39m [1mdist/index.js [22m[32m50.60 KB[39m
|
|
22
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m82.18 KB[39m
|
|
23
|
+
[32mCJS[39m ⚡️ Build success in 26ms
|
|
14
24
|
[34mDTS[39m Build start
|
|
15
25
|
"ComponentPropsWithoutRef" is imported from external module "react" but never used in "src/inspector/StateInspector.tsx", "src/hooks.ts" and "src/components/UserPointersOverlay.tsx".
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m7.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m7.
|
|
26
|
+
[32mDTS[39m ⚡️ Build success in 2253ms
|
|
27
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m7.41 KB[39m
|
|
28
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m7.41 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @noya-app/state-manager
|
|
2
2
|
|
|
3
|
+
## 0.1.29
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c99efd7: Add bundle to multiplayer package build
|
|
8
|
+
|
|
9
|
+
## 0.1.28
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 8ff67bc: Improve group dnd
|
|
14
|
+
- 9a73bc7: Improve getting default app data
|
|
15
|
+
- Updated dependencies [8ff67bc]
|
|
16
|
+
- @noya-app/state-manager@0.1.26
|
|
17
|
+
|
|
3
18
|
## 0.1.27
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/bundle.config.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineConfig } from "tsup";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
format: ["cjs"],
|
|
5
|
+
entry: ["./src/index.ts"],
|
|
6
|
+
outExtension: () => ({
|
|
7
|
+
js: ".bundle.js",
|
|
8
|
+
}),
|
|
9
|
+
dts: false,
|
|
10
|
+
shims: true,
|
|
11
|
+
skipNodeModulesBundle: true,
|
|
12
|
+
// clean: true,
|
|
13
|
+
target: "es2022",
|
|
14
|
+
platform: "browser",
|
|
15
|
+
minify: true,
|
|
16
|
+
bundle: true,
|
|
17
|
+
// https://github.com/egoist/tsup/issues/619
|
|
18
|
+
noExternal: [/(.*)/],
|
|
19
|
+
splitting: false,
|
|
20
|
+
});
|