@northslopetech/altitude-ui 3.0.0-alpha.2 → 3.0.0-alpha.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@northslopetech/altitude-ui",
3
- "version": "3.0.0-alpha.2",
3
+ "version": "3.0.0-alpha.3",
4
4
  "private": false,
5
5
  "description": "React UI components for the Altitude design system",
6
6
  "author": "Northslope",
@@ -45,17 +45,22 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@phosphor-icons/react": "^2.1.10",
48
+ "@testing-library/jest-dom": "^6.6.3",
49
+ "@testing-library/react": "^16.3.0",
48
50
  "@types/node": "^22.15.3",
49
51
  "@types/prop-types": "^15.7.15",
50
52
  "@types/react": "19.1.0",
51
53
  "@types/react-dom": "19.1.1",
52
54
  "@types/react-pdf": "^7.0.0",
55
+ "@vitest/coverage-v8": "^3.2.4",
53
56
  "eslint": "^9.31.0",
57
+ "jsdom": "^26.0.0",
54
58
  "tailwindcss": "^4.1.11",
55
59
  "tsup": "^8.0.0",
56
60
  "typescript": "5.8.2",
61
+ "vitest": "^3.2.4",
62
+ "@northslopetech/altitude-tokens": "3.0.0-alpha.3",
57
63
  "@repo/eslint-config": "0.0.0",
58
- "@northslopetech/altitude-tokens": "3.0.0-alpha.2",
59
64
  "@repo/typescript-config": "0.0.0"
60
65
  },
61
66
  "dependencies": {
@@ -80,12 +85,15 @@
80
85
  "react-dom": "^18.0.0 || ^19.0.0"
81
86
  },
82
87
  "scripts": {
83
- "prebuild": "cd ../altitude-tokens && npm run build",
88
+ "prebuild": "pnpm --filter @northslopetech/altitude-tokens build",
84
89
  "build": "tsup src/index.ts --format cjs,esm --dts --external react --external react-dom --external @phosphor-icons/react && cp src/tokens.css src/styles.css dist/ && cp ../../node_modules/.pnpm/pdfjs-dist@*/node_modules/pdfjs-dist/build/pdf.worker.min.mjs dist/",
85
90
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch --external react --external react-dom --external altitude-tokens --external @phosphor-icons/react",
86
91
  "clean": "rm -rf dist",
87
92
  "lint": "eslint . --max-warnings 0",
88
93
  "generate:component": "turbo gen react-component",
89
- "check-types": "tsc --noEmit"
94
+ "check-types": "tsc --noEmit",
95
+ "test": "vitest run",
96
+ "test:watch": "vitest",
97
+ "test:coverage": "vitest run --coverage"
90
98
  }
91
99
  }