@krampa/common 0.1.0 → 0.1.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 dabbe
3
+ Copyright (c) 2025 krampa
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,11 +1,15 @@
1
- # @dabbe/krampa-common
1
+ # @krampa/common
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@krampa/common.svg)](https://www.npmjs.com/package/@krampa/common)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@krampa/common.svg)](https://www.npmjs.com/package/@krampa/common)
5
+ [![license](https://img.shields.io/npm/l/@krampa/common.svg)](https://github.com/dabbe/krampa-common/blob/main/LICENSE)
2
6
 
3
7
  Shared types and constants for the Krampa fitness challenge app.
4
8
 
5
9
  ## Installation
6
10
 
7
11
  ```bash
8
- npm install @dabbe/krampa-common
12
+ npm install @krampa/common
9
13
  ```
10
14
 
11
15
  ## Usage
@@ -13,7 +17,7 @@ npm install @dabbe/krampa-common
13
17
  ### Goal Types
14
18
 
15
19
  ```typescript
16
- import { GOAL_TYPES, GOAL_TYPE_VALUES, GoalType } from "@dabbe/krampa-common";
20
+ import { GOAL_TYPES, GOAL_TYPE_VALUES, GoalType } from "@krampa/common";
17
21
 
18
22
  // Use constants
19
23
  const goalType = GOAL_TYPES.FREQUENCY_CARDIO; // "frequency/cardio"
@@ -25,7 +29,7 @@ const myGoal: GoalType = "weight/loss";
25
29
  const dbEnum = GOAL_TYPE_VALUES; // Array of all valid goal types
26
30
 
27
31
  // Type guards
28
- import { isCardioGoal, isWeightGoal } from "@dabbe/krampa-common";
32
+ import { isCardioGoal, isWeightGoal } from "@krampa/common";
29
33
 
30
34
  if (isCardioGoal(goal.type)) {
31
35
  // Handle cardio-specific logic
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @dabbe/krampa-common
2
+ * @krampa/common
3
3
  * Shared types and constants for Krampa fitness challenge app
4
4
  */
5
5
  export * from "./goal-types";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * @dabbe/krampa-common
3
+ * @krampa/common
4
4
  * Shared types and constants for Krampa fitness challenge app
5
5
  */
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krampa/common",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Shared types and constants for Krampa fitness challenge app",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",