@tailor-platform/app-shell 0.27.1 → 0.27.2

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 +26 -0
  2. package/package.json +20 -10
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @tailor-platform/app-shell
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@tailor-platform/app-shell)](https://www.npmjs.com/package/@tailor-platform/app-shell)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@tailor-platform/app-shell)](https://www.npmjs.com/package/@tailor-platform/app-shell)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/tailor-platform/app-shell/blob/main/LICENSE.md)
6
+
7
+ An opinionated React application framework for creating applications on Tailor Platform.
8
+
9
+ ## Why AppShell?
10
+
11
+ We've made sensible default choices so you can focus on what matters most — building business-level screens. The alternative is implementing authentication, routing, navigation, layouts, and theming all by yourself. AppShell handles all of that out of the box, designed primarily for Vite-based React applications that can be deployed to Tailor Platform's static hosting.
12
+
13
+ - **Routing** — Declarative module/resource definitions or [file-based routing](https://www.npmjs.com/package/@tailor-platform/app-shell-vite-plugin) with automatic sidebar navigation and breadcrumbs
14
+ - **Authentication** — Built-in OAuth2/OIDC integration with Tailor Platform
15
+ - **Responsive layouts** — Sidebar, column layouts (1/2/3), and mobile support out of the box
16
+ - **Command Palette** — Keyboard-driven quick navigation (`Cmd+K`)
17
+ - **Route Guards** — Access control with `pass()`, `hidden()`, `redirectTo()`
18
+ - **ERP components** — Badge, DescriptionCard, and more for common business UI patterns
19
+ - **i18n** — Built-in internationalization with auto locale detection
20
+ - **Theming** — Light/dark mode with Tailwind CSS
21
+ - **Portable** — Built on react-router for full portability across React frameworks
22
+
23
+ ## Documentation
24
+
25
+ - [Quick Start](https://github.com/tailor-platform/app-shell/blob/main/docs/quickstart.md) — Installation, setup, and first steps
26
+ - [API Reference](https://github.com/tailor-platform/app-shell/blob/main/docs/api.md) — Complete reference for all components, hooks, and functions
package/package.json CHANGED
@@ -1,6 +1,21 @@
1
1
  {
2
2
  "name": "@tailor-platform/app-shell",
3
- "version": "0.27.1",
3
+ "version": "0.27.2",
4
+ "description": "An opinionated React application framework for building ERP applications on Tailor Platform",
5
+ "keywords": [
6
+ "react",
7
+ "app-shell",
8
+ "tailor-platform",
9
+ "erp",
10
+ "vite",
11
+ "sidebar",
12
+ "routing"
13
+ ],
14
+ "license": "MIT",
15
+ "homepage": "https://github.com/tailor-platform/app-shell/tree/main/packages/core#readme",
16
+ "bugs": {
17
+ "url": "https://github.com/tailor-platform"
18
+ },
4
19
  "type": "module",
5
20
  "repository": {
6
21
  "type": "git",
@@ -14,7 +29,7 @@
14
29
  "./styles": "./dist/app-shell.css",
15
30
  "./theme.css": "./dist/theme.css",
16
31
  ".": {
17
- "types": "./dist/index.d.ts",
32
+ "types": "./dist/app-shell.d.ts",
18
33
  "default": "./dist/app-shell.js"
19
34
  },
20
35
  "./vite-plugin": {
@@ -37,7 +52,7 @@
37
52
  "class-variance-authority": "^0.7.1",
38
53
  "clsx": "^2.1.1",
39
54
  "es-toolkit": "^1.44.0",
40
- "graphql": "^16.12.0",
55
+ "graphql": "^16.13.0",
41
56
  "lucide-react": "^0.562.0",
42
57
  "next-themes": "^0.4.6",
43
58
  "oauth4webapi": "^3.8.5",
@@ -50,7 +65,6 @@
50
65
  "@tailor-platform/app-shell-vite-plugin": "0.1.0"
51
66
  },
52
67
  "devDependencies": {
53
- "@eslint/js": "^10.0.1",
54
68
  "@tailwindcss/postcss": "^4.2.0",
55
69
  "@testing-library/react": "^16.3.2",
56
70
  "@testing-library/user-event": "^14.6.1",
@@ -58,15 +72,11 @@
58
72
  "@types/react": "^19",
59
73
  "@types/react-dom": "^19",
60
74
  "@vitejs/plugin-react": "^5.1.2",
61
- "eslint": "^9.0.0",
62
- "eslint-plugin-react-hooks": "^7.0.1",
63
75
  "happy-dom": "^20.6.2",
64
76
  "postcss": "^8",
65
- "prettier": "^3.8.1",
66
- "tailwindcss": "^4.1.18",
77
+ "tailwindcss": "^4.2.1",
67
78
  "tw-animate-css": "^1.4.0",
68
79
  "typescript": "^5",
69
- "typescript-eslint": "^8.55.0",
70
80
  "vite": "^7.3.1",
71
81
  "vite-plugin-dts": "^4.5.0",
72
82
  "vite-plugin-externalize-deps": "^0.10.0",
@@ -76,7 +86,7 @@
76
86
  "scripts": {
77
87
  "dev": "vite build --watch --mode development",
78
88
  "build": "vite build",
79
- "lint": "eslint .",
89
+ "lint": "oxlint -c .oxlintrc.jsonc",
80
90
  "test": "vitest run",
81
91
  "type-check": "tsc --incremental"
82
92
  }