masua 0.11.8 → 0.12.0

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.
Files changed (2) hide show
  1. package/LICENSE.md +1 -1
  2. package/package.json +31 -15
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Matthias Giger, 2017 Spope
3
+ Copyright (c) 2026 Matthias Giger, 2017 Spope
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "masua",
3
3
  "description": "Simple masonry layout library in TypeScript.",
4
- "version": "0.11.8",
4
+ "version": "0.12.0",
5
5
  "repository": "github:tobua/masua",
6
6
  "homepage": "https://tobua.github.io/masua",
7
7
  "license": "MIT",
@@ -11,10 +11,14 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "check": "biome check --write .",
14
- "types": "tsc"
14
+ "types": "tsc && tsc --project ./test/tsconfig.json"
15
15
  },
16
+ "workspaces": [
17
+ "demo"
18
+ ],
16
19
  "devDependencies": {
17
20
  "@biomejs/biome": "^2.1.4",
21
+ "@happy-dom/global-registrator": "^20.8.9",
18
22
  "@types/bun": "^1.2.19",
19
23
  "@types/react": "^19.1.9",
20
24
  "typescript": "^5.9.2",
@@ -22,7 +26,7 @@
22
26
  },
23
27
  "peerDependencies": {
24
28
  "react": ">= 18",
25
- "typescript": ">= 5"
29
+ "typescript": ">= 6"
26
30
  },
27
31
  "peerDependenciesMeta": {
28
32
  "react": {
@@ -32,9 +36,6 @@
32
36
  "trustedDependencies": [
33
37
  "zero-configuration"
34
38
  ],
35
- "workspaces": [
36
- "demo"
37
- ],
38
39
  "type": "module",
39
40
  "sideEffects": false,
40
41
  "main": "./index.ts",
@@ -77,16 +78,31 @@
77
78
  }
78
79
  ]
79
80
  },
80
- "typescript": {
81
- "extends": "plugin",
82
- "compilerOptions": {
83
- "jsx": "react-jsx"
81
+ "typescript": [
82
+ {
83
+ "extends": "plugin",
84
+ "compilerOptions": {
85
+ "jsx": "react-jsx"
86
+ },
87
+ "files": [
88
+ "index.ts",
89
+ "react.tsx"
90
+ ]
84
91
  },
85
- "files": [
86
- "index.ts",
87
- "react.tsx"
88
- ]
89
- },
92
+ {
93
+ "extends": "web",
94
+ "folder": "test",
95
+ "compilerOptions": {
96
+ "types": [
97
+ "bun",
98
+ "react"
99
+ ]
100
+ },
101
+ "includes": [
102
+ "*.test.tsx"
103
+ ]
104
+ }
105
+ ],
90
106
  "biome": {
91
107
  "extends": "recommended",
92
108
  "files": {