@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.
@@ -1,3 +1,13 @@
1
+ $ bun run build:bundle && bun run build:main
2
+ $ tsup src/index.ts --config bundle.config.ts
3
+ CLI Building entry: src/index.ts
4
+ CLI Using tsconfig: tsconfig.json
5
+ CLI tsup v8.0.1
6
+ CLI Using tsup config: /Users/devinabbott/Projects/noya-core/packages/noya-multiplayer-react/bundle.config.ts
7
+ CLI Target: es2022
8
+ CJS Build start
9
+ CJS dist/index.bundle.js 338.81 KB
10
+ CJS ⚡️ Build success in 83ms
1
11
  $ tsup src/index.ts --format cjs,esm --dts --sourcemap
2
12
  CLI Building entry: src/index.ts
3
13
  CLI Using tsconfig: tsconfig.json
@@ -5,14 +15,14 @@
5
15
  CLI Target: esnext
6
16
  CJS Build start
7
17
  ESM Build start
8
- CJS dist/index.js 50.29 KB
9
- CJS dist/index.js.map 81.83 KB
10
- CJS ⚡️ Build success in 43ms
11
- ESM dist/index.mjs 44.76 KB
12
- ESM dist/index.mjs.map 82.05 KB
13
- ESM ⚡️ Build success in 44ms
18
+ ESM dist/index.mjs 45.02 KB
19
+ ESM dist/index.mjs.map 82.40 KB
20
+ ESM ⚡️ Build success in 25ms
21
+ CJS dist/index.js 50.60 KB
22
+ CJS dist/index.js.map 82.18 KB
23
+ CJS ⚡️ Build success in 26ms
14
24
  DTS 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
- DTS ⚡️ Build success in 2585ms
17
- DTS dist/index.d.ts 7.30 KB
18
- DTS dist/index.d.mts 7.30 KB
26
+ DTS ⚡️ Build success in 2253ms
27
+ DTS dist/index.d.ts 7.41 KB
28
+ DTS dist/index.d.mts 7.41 KB
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
@@ -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
+ });