@raclettejs/types 0.0.2 → 0.1.11

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/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.11] - 19.09.2025 <a href="https://gitlab.com/raclettejs/core/-/compare/v0.1.0...v0.1.11" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
11
+
12
+ ### Security
13
+
14
+ - Updated all Node.js dependencies to latest versions
15
+ - Removed caret (^) version ranges from package.json to prevent automatic minor/patch updates
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2025 Pacifico Digital Explorations GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ [![NPM Version](https://img.shields.io/npm/v/%40raclettejs%2Ftypes)](https://www.npmjs.com/package/@raclettejs/types)
2
+ [![NPM License](https://img.shields.io/npm/l/%40raclettejs%2Ftypes)](LICENSE)
3
+
4
+ > [!important] Beta Phase!
5
+ > raclette is still in the Beta phase. There might be breaking changes over the next couple of month so be aware of migration needs. Visit our [Milestone Overview](https://gitlab.com/groups/raclettejs/-/milestones) for more insights and estimates
6
+
7
+ ## What is this?
8
+
9
+ This is only the types repository for **raclette**
10
+
11
+ ## What is **raclette**?
12
+
13
+ **raclette** is a full-stack TypeScript meta-framework designed for building **platforms and portals** with minimal setup. It comes with bootstrapped features like authentication, WebSockets, database handling, containerization, and provides an easy-to-use, opinionated environment.
14
+
15
+ **Perfect for:**
16
+
17
+ - 🚀 **SaaS platforms** - Get to market faster with built-in auth and user management
18
+ - 🏢 **Customer/Supplier portals** - Enterprise-ready from day one
19
+ - 🛠️ **Internal business tools** - Focus on business logic, not infrastructure
20
+ - ⚡ **MVPs that can scale** - Start fast, grow clean with the plugin architecture
21
+
22
+ **Key Features:**
23
+
24
+ - **Widget-based frontend** (Vue.js + Vite, React support coming)
25
+ - **Plugin architecture** for reusable business logic
26
+ - **Built-in workbench** - Admin interface out of the box
27
+ - **Full-stack development** with Fastify backend + MongoDB
28
+ - **Docker containerization** for easy deployment
29
+
30
+ ## What You Get
31
+
32
+ - ✅ **raclette core & workbench** dependencies with dev dependencies
33
+ - ✅ **raclette.config.js** - Main configuration file
34
+ - ✅ **Development scripts** ready to go
35
+ - ✅ **ESLint + Prettier** configuration
36
+ - ✅ **TypeScript** setup
37
+ - ✅ **Docker-ready** development environment
38
+
39
+ ## [Getting Started](https://docs.raclettejs.com/docs/introduction/getting-started)
40
+
41
+ Visit the [Getting Started Guide](https://docs.raclettejs.com/docs/introduction/getting-started) in our [online Documentation](https://docs.raclettejs.com)
42
+
43
+ ## Links
44
+
45
+ - 🌐 [Website](https://raclettejs.com/)
46
+ - 📚 [Documentation](https://docs.raclettejs.com/)
47
+ - 🚀 [GitLab](https://gitlab.com/raclettejs) (source code)
48
+ - 📦 [npm](https://www.npmjs.com/org/raclettejs) (packages)
49
+
50
+ ## License
51
+
52
+ [MIT](https://gitlab.com/raclettejs/types/-/blob/main/LICENSE?ref_type=heads)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raclettejs/types",
3
- "version": "0.0.2",
3
+ "version": "0.1.11",
4
4
  "description": "Type definitions for the raclette framework",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": "https://gitlab.com/raclettejs/types",
@@ -14,16 +14,16 @@
14
14
  "dist"
15
15
  ],
16
16
  "dependencies": {
17
- "@types/node": "*",
18
- "fastify": "^5.4",
19
- "mongoose": "^8.16.3",
20
- "socket.io": "^4.7.5",
21
- "typescript": "^5.8.3"
17
+ "@types/node": "24.5.2",
18
+ "fastify": "5.6.0",
19
+ "mongoose": "8.18.1",
20
+ "socket.io": "4.8.1",
21
+ "typescript": "5.9.2"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@raclettejs/core": "*"
25
25
  },
26
26
  "devDependencies": {
27
- "@raclettejs/core": "^0.0.1"
27
+ "@raclettejs/core": "latest"
28
28
  }
29
29
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import { Connection } from "mongoose";
2
- import { DefaultEventsMap, Socket } from "socket.io";
3
- export type MongooseConnection = Connection;
4
- export type SocketIO = Socket<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>;
package/dist/fastify.js DELETED
@@ -1 +0,0 @@
1
- import "fastify";
package/dist/fastify.ts DELETED
@@ -1,28 +0,0 @@
1
- import "fastify";
2
- import { MongooseConnection, SocketIO } from "./dependencies";
3
- import type { RedisService, HttpService, TaskManager, ClientPayloadRequestData, User } from "@raclettejs/raclette-core";
4
- import { FastifyReply } from "fastify";
5
- declare module "fastify" {
6
- interface FastifyInstance {
7
- db: MongooseConnection;
8
- authenticate: (req: FastifyRequest, res: FastifyReply) => Promise<void>;
9
- wss: SocketIO;
10
- eventbus: any;
11
- redis: RedisService;
12
- http: HttpService;
13
- taskManager: TaskManager;
14
- }
15
- interface FastifyRequest {
16
- db: MongooseConnection;
17
- user: User;
18
- requestParams: ClientPayloadRequestData;
19
- }
20
- interface RouteOptions {
21
- skipHeaderValidation?: boolean;
22
- }
23
- interface FastifyContextConfig {
24
- type?: string;
25
- broadcast?: string[] | boolean;
26
- }
27
- }
28
- export {};
package/dist/index.js DELETED
@@ -1,4 +0,0 @@
1
- // Import all extensions
2
- import "./fastify";
3
- // Re-export your core types
4
- export * from "@raclettejs/raclette-core";
package/dist/index.ts DELETED
@@ -1,2 +0,0 @@
1
- import "./fastify";
2
- export * from "@raclettejs/raclette-core";