@schafevormfenster/rest-commons 0.1.3 → 0.1.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.
- package/.turbo/turbo-build.log +5 -0
- package/README.md +13 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -182,6 +182,19 @@ Don't use this package if you:
|
|
|
182
182
|
pnpm add @schafevormfenster/rest-commons
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
+
### TypeScript Sources (Optional)
|
|
186
|
+
|
|
187
|
+
For faster development with Vite, use TypeScript sources directly:
|
|
188
|
+
|
|
189
|
+
```typescript
|
|
190
|
+
// vite.config.ts - Requires tsconfig "target": "ES2022"+
|
|
191
|
+
export default defineConfig({
|
|
192
|
+
resolve: { conditions: ['source', 'import', 'default'] }
|
|
193
|
+
});
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Benefits: Faster HMR, direct debugging, better tree-shaking.
|
|
197
|
+
|
|
185
198
|
## Quick Start
|
|
186
199
|
|
|
187
200
|
```typescript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schafevormfenster/rest-commons",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Centralized authority for REST standards and schemas - XSD schemas, parsing functions, and coding instructions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"dayjs": "^1.11.19",
|
|
33
33
|
"slugify": "^1.6.6",
|
|
34
34
|
"zod": "^3.25.76",
|
|
35
|
-
"@schafevormfenster/
|
|
36
|
-
"@schafevormfenster/
|
|
35
|
+
"@schafevormfenster/logging": "0.1.6",
|
|
36
|
+
"@schafevormfenster/security": "0.1.3"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"typecheck": "tsc --noEmit",
|