masua 0.11.2 → 0.11.4

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/README.md +1 -1
  2. package/package.json +42 -6
package/README.md CHANGED
@@ -11,7 +11,7 @@ Simple masonry layout library in TypeScript. Initially forked from [minimasonry]
11
11
 
12
12
  ## Installation
13
13
 
14
- ⚠️ This plugin is published as TypeScript and JSX (for the React plugin) see [this post on 𝕏](https://twitter.com/matthiasgiger/status/1766443368567971946) for the reasoning. Make sure to add the necessary types listed below if they are missing in your project and align your [`tsconfig.json`](https://github.com/tobua/masua/blob/main/tsconfig.json) with the reference used for this project. React is only required when the `masua/react` export is used.
14
+ ⚠️ This plugin is published as TypeScript and JSX (for the React plugin) see [this post on 𝕏](https://twitter.com/matthiasgiger/status/1766443368567971946) for the reasoning. Make sure to add the necessary types listed below if they are missing in your project and align your `tsconfig.json` with `{ compilerOptions: { lib: ['DOM', 'ES2020'], module: 'Preserve', jsx: 'react-jsx' }}` as used for this project. React is only required when the `masua/react` export is used.
15
15
 
16
16
  ```sh
17
17
  bun install masua
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.2",
4
+ "version": "0.11.4",
5
5
  "repository": "github:tobua/masua",
6
6
  "homepage": "https://tobua.github.io/masua",
7
7
  "license": "MIT",
@@ -12,13 +12,14 @@
12
12
  "scripts": {
13
13
  "format": "bun biome format . --write",
14
14
  "lint": "bun biome lint .",
15
- "types": "tsc --noEmit"
15
+ "types": "tsc"
16
16
  },
17
17
  "devDependencies": {
18
- "@biomejs/biome": "^1.6.4",
19
- "@types/bun": "^1.0.12",
20
- "@types/react": "^18.2.78",
21
- "typescript": "^5.4.5"
18
+ "@biomejs/biome": "^1.7.1",
19
+ "@types/bun": "^1.1.0",
20
+ "@types/react": "^18.3.1",
21
+ "typescript": "^5.4.5",
22
+ "zero-configuration": "^0.5.5"
22
23
  },
23
24
  "peerDependencies": {
24
25
  "react": ">= 18",
@@ -29,6 +30,12 @@
29
30
  "optional": true
30
31
  }
31
32
  },
33
+ "trustedDependencies": [
34
+ "zero-configuration"
35
+ ],
36
+ "workspaces": [
37
+ "demo"
38
+ ],
32
39
  "type": "module",
33
40
  "sideEffects": false,
34
41
  "main": "./index.ts",
@@ -58,5 +65,34 @@
58
65
  },
59
66
  "engines": {
60
67
  "node": ">= 18"
68
+ },
69
+ "configuration": {
70
+ "gitignore": "bundle",
71
+ "vscode": "biome",
72
+ "typescript": {
73
+ "extends": "plugin",
74
+ "compilerOptions": {
75
+ "jsx": "react-jsx"
76
+ },
77
+ "files": [
78
+ "index.ts",
79
+ "react.tsx"
80
+ ]
81
+ },
82
+ "biome": {
83
+ "extends": "recommended",
84
+ "linter": {
85
+ "rules": {
86
+ "nursery": {
87
+ "all": true
88
+ }
89
+ }
90
+ },
91
+ "files": {
92
+ "ignore": [
93
+ "demo"
94
+ ]
95
+ }
96
+ }
61
97
  }
62
98
  }