@pittorica/stack-react 0.8.2 → 0.22.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.
package/package.json CHANGED
@@ -1,44 +1,41 @@
1
1
  {
2
2
  "name": "@pittorica/stack-react",
3
- "version": "0.8.2",
4
- "private": false,
5
- "author": {
6
- "name": "Davide Di Criscito"
7
- },
3
+ "version": "0.22.0",
8
4
  "type": "module",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
14
- }
15
- },
16
5
  "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
17
11
  "dependencies": {
18
- "@vanilla-extract/recipes": "^0.5.7",
19
- "clsx": "^2.1.1",
20
- "react": "^19.2.3",
21
- "react-dom": "^19.2.3",
22
- "@pittorica/box-react": "0.8.2",
23
- "@pittorica/styles": "0.8.2"
12
+ "@pittorica/flex-react": "0.22.0"
24
13
  },
25
14
  "devDependencies": {
26
- "@types/node": "^25.0.10",
27
- "@types/react": "^19.2.9",
15
+ "@testing-library/jest-dom": "^6.9.1",
16
+ "@testing-library/react": "^14.0.0",
17
+ "@types/react": "^19.2.3",
28
18
  "@types/react-dom": "^19.2.3",
29
- "@vitejs/plugin-react": "^5.1.2",
30
- "babel-plugin-react-compiler": "^1.0.0",
31
- "typescript": "~5.9.3",
32
- "vite": "npm:rolldown-vite@7.3.1",
33
- "vite-plugin-dts": "^4.5.4"
19
+ "@vitejs/plugin-react": "^4.0.0",
20
+ "jsdom": "^22.0.0",
21
+ "typescript": "^5.0.0",
22
+ "vite": "^5.0.0",
23
+ "vitest": "^2.1.9",
24
+ "@pittorica/theme-react": "0.22.0",
25
+ "pittorica": "0.22.0",
26
+ "@pittorica/box-react": "0.22.0"
34
27
  },
35
- "publishConfig": {
36
- "access": "public"
28
+ "peerDependencies": {
29
+ "react": ">=19",
30
+ "react-dom": ">=19"
37
31
  },
38
32
  "scripts": {
39
- "build": "tsc -b && vite build",
33
+ "build": "npm run clean && npm run build:js && npm run build:types",
34
+ "build:js": "vite build",
35
+ "build:types": "tsc -p tsconfig.json",
36
+ "clean": "rm -rf dist",
40
37
  "dev": "vite",
41
- "lint": "eslint .",
42
- "preview": "vite preview"
38
+ "test": "vitest run",
39
+ "test:watch": "vitest"
43
40
  }
44
41
  }
@@ -1,18 +0,0 @@
1
-
2
- > @pittorica/stack-react@0.8.2 build /home/runner/work/ui/ui/packages/stack-react
3
- > tsc -b && vite build
4
-
5
- rolldown-vite v7.3.1 building client environment for production...
6
- 
7
- rendering chunks...
8
- 
9
- [vite:dts] Start generate declaration files...
10
- [vite:dts] Declaration files built in 14143ms.
11
- 
12
- computing gzip size...
13
- dist/index.js 685.17 kB │ gzip: 159.28 kB │ map: 1,419.66 kB
14
- 
15
- rendering chunks...
16
- computing gzip size...
17
- dist/index.cjs 686.04 kB │ gzip: 159.48 kB │ map: 1,419.98 kB
18
- ✓ built in 41.13s