Skip to content

Commit

Permalink
add typecheck scripts to layout components
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstyles committed May 11, 2024
1 parent 5575d33 commit d254382
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 93 deletions.
3 changes: 2 additions & 1 deletion packages/layout/flex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"license": "MIT",
"scripts": {
"lint": "biome lint src",
"type:check": "tsc",
"format": "biome format src --write",
"typecheck": "tsc",
"clean": "del dist",
"dev": "arc watch",
"build": "arc build",
Expand Down
186 changes: 94 additions & 92 deletions packages/layout/panel/package.json
Original file line number Diff line number Diff line change
@@ -1,94 +1,96 @@
{
"name": "@urban-ui/panel",
"version": "0.4.0",
"description": "Panels are layout components which hold content",
"type": "module",
"sideEffects": false,
"module": "./dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./build": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./styles": {
"import": "./dist/style.css",
"require": "./dist/style.css"
},
"./anatomy": {
"types": "./dist/anatomy.css.d.ts",
"import": "./dist/anatomy.css.js",
"require": "./dist/anatomy.css.cjs"
}
},
"files": ["dist", "src", "package.json", "readme.md"],
"publishConfig": {
"access": "public"
},
"license": "MIT",
"author": {
"name": "Matt Styles",
"url": "https://github.com/mattstyles"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattstyles/urban-ui.git",
"directory": "packages/layout/panel"
},
"bugs": {
"url": "https://github.com/mattstyles/urban-ui/issues"
},
"keywords": [
"ui",
"react",
"components",
"urban-ui",
"react-aria",
"vanilla-extract"
],
"scripts": {
"lint": "biome lint src",
"clean": "del dist",
"dev": "vite build --watch",
"build": "vite build",
"test": "vitest run src"
},
"dependencies": {
"@react-aria/focus": "^3.13.0",
"@react-aria/interactions": "^3.16.0",
"@react-aria/utils": "^3.18.0",
"@urban-ui/flex": "workspace:*",
"@urban-ui/text": "workspace:*",
"@urban-ui/theme": "workspace:*",
"@urban-ui/utils": "workspace:*",
"@vanilla-extract/css": "^1.11.1",
"@vanilla-extract/css-utils": "^0.1.3",
"clsx": "^2.0.0",
"cva": "npm:class-variance-authority@^0.7.0"
},
"peerDependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/testing-library__jest-dom": "^5.14.5",
"config-ts": "workspace:*",
"config-vite": "workspace:*",
"del-cli": "^5.1.0",
"react": "^18.2.0",
"typescript": "^5.1.3",
"vite": "^5.0.10",
"vitest": "^1.1.1"
}
"name": "@urban-ui/panel",
"version": "0.4.0",
"description": "Panels are layout components which hold content",
"type": "module",
"sideEffects": false,
"module": "./dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./build": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./styles": {
"import": "./dist/style.css",
"require": "./dist/style.css"
},
"./anatomy": {
"types": "./dist/anatomy.css.d.ts",
"import": "./dist/anatomy.css.js",
"require": "./dist/anatomy.css.cjs"
}
},
"files": ["dist", "src", "package.json", "readme.md"],
"publishConfig": {
"access": "public"
},
"license": "MIT",
"author": {
"name": "Matt Styles",
"url": "https://github.com/mattstyles"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattstyles/urban-ui.git",
"directory": "packages/layout/panel"
},
"bugs": {
"url": "https://github.com/mattstyles/urban-ui/issues"
},
"keywords": [
"ui",
"react",
"components",
"urban-ui",
"react-aria",
"vanilla-extract"
],
"scripts": {
"lint": "biome lint src",
"format": "biome format src --write",
"typecheck": "tsc",
"clean": "del dist",
"dev": "vite build --watch",
"build": "vite build",
"test": "vitest run src"
},
"dependencies": {
"@react-aria/focus": "^3.13.0",
"@react-aria/interactions": "^3.16.0",
"@react-aria/utils": "^3.18.0",
"@urban-ui/flex": "workspace:*",
"@urban-ui/text": "workspace:*",
"@urban-ui/theme": "workspace:*",
"@urban-ui/utils": "workspace:*",
"@vanilla-extract/css": "^1.11.1",
"@vanilla-extract/css-utils": "^0.1.3",
"clsx": "^2.0.0",
"cva": "npm:class-variance-authority@^0.7.0"
},
"peerDependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/testing-library__jest-dom": "^5.14.5",
"config-ts": "workspace:*",
"config-vite": "workspace:*",
"del-cli": "^5.1.0",
"react": "^18.2.0",
"typescript": "^5.1.3",
"vite": "^5.0.10",
"vitest": "^1.1.1"
}
}

0 comments on commit d254382

Please sign in to comment.