@vini-wine/core-enums 1.0.0

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/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # @vini-wine/core-enums
2
+
3
+ This package provides core enums for the Vini frontend, designed to support TypeScript. It includes various enums essential for the Vini frontend.
4
+
5
+ ## Installation
6
+
7
+ To install the package in your project, you can use npm or yarn. In your project directory, run one of the following commands:
8
+
9
+ ```bash
10
+ # Using npm
11
+ npm install @vini-wine/core-enums
12
+ ```
13
+ ```bash
14
+ # Using yarn
15
+ yarn add @vini-wine/core-enums
16
+ ```
17
+
18
+ ## Usage
19
+ ### Importing Enums in TypeScript
20
+ In your TypeScript files, you can import the enums from the package as needed. Here's an example:
21
+
22
+ ```typescript
23
+ import {
24
+ FirstEnum,
25
+ SecondEnum,
26
+ ThirdEnum,
27
+ // ... other enums
28
+ } from "@vini-wine/core-enums";
29
+ ```
30
+
31
+ ### Usage in Your Application
32
+ Once you have imported the enums into your project, you can use them as needed. Here's an example of how to use the enums in your application:
33
+
34
+ ```typescript
35
+ import {
36
+ FirstEnum,
37
+ SecondEnum,
38
+ ThirdEnum,
39
+ // ... other enums
40
+ } from "@vini-wine/core-enums";
41
+
42
+ // Use the enums in your application logic
43
+ const myValue = FirstEnum.VALUE_ONE;
44
+
45
+ // ... more examples based on your specific enums
46
+ ```
47
+
48
+ ### Scripts
49
+ The package includes the following npm scripts:
50
+
51
+ - build: Run tsup to build the project.
52
+ - test: Placeholder for running tests (not specified).
53
+ - lint: Run ESLint for linting with TypeScript support.
54
+ - format: Use Prettier to format code.