@tolki/enum 0.0.0 → 0.0.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/README.md +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -6
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ To use the Vite plugin, you need to add it to your Vite configuration file. Belo
|
|
|
107
107
|
|
|
108
108
|
```javascript
|
|
109
109
|
import { defineConfig } from "vite";
|
|
110
|
-
import { laravelTsPublish } from "@tolki/enum";
|
|
110
|
+
import { laravelTsPublish } from "@tolki/enum/vite";
|
|
111
111
|
|
|
112
112
|
export default defineConfig({
|
|
113
113
|
plugins: [laravelTsPublish()],
|
|
@@ -132,7 +132,7 @@ Below are the available options with a description and default values:
|
|
|
132
132
|
|
|
133
133
|
```javascript
|
|
134
134
|
import { defineConfig } from "vite";
|
|
135
|
-
import { laravelTsPublish } from "@tolki/enum";
|
|
135
|
+
import { laravelTsPublish } from "@tolki/enum/vite";
|
|
136
136
|
|
|
137
137
|
export default defineConfig({
|
|
138
138
|
plugins: [
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { cases as
|
|
2
|
-
import { laravelTsPublish as l } from "./vite-plugin.js";
|
|
1
|
+
import { cases as m, defineEnum as o, from as f, tryFrom as n } from "./enums.js";
|
|
3
2
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
m as cases,
|
|
4
|
+
o as defineEnum,
|
|
6
5
|
f as from,
|
|
7
|
-
|
|
8
|
-
s as tryFrom
|
|
6
|
+
n as tryFrom
|
|
9
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tolki/enum",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "A set of enum utilities for the @tolki packages.",
|
|
5
5
|
"author": "Abraham Arango <https://github.com/abetwothree>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,6 +32,21 @@
|
|
|
32
32
|
"files": [
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"import": "./dist/index.js",
|
|
39
|
+
"require": "./dist/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./enums": {
|
|
42
|
+
"types": "./dist/enums/index.d.ts",
|
|
43
|
+
"import": "./dist/enums/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./vite": {
|
|
46
|
+
"types": "./dist/vite-plugin/index.d.ts",
|
|
47
|
+
"import": "./dist/vite-plugin/index.js"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
35
50
|
"tolki": {
|
|
36
51
|
"docs": [
|
|
37
52
|
"enums/index.md",
|
|
@@ -43,20 +58,5 @@
|
|
|
43
58
|
"build": "vite build",
|
|
44
59
|
"readme:build": "ts-node ../../scripts/readme-build.ts --filter @tolki/enum"
|
|
45
60
|
},
|
|
46
|
-
"types": "dist/index.d.ts"
|
|
47
|
-
"exports": {
|
|
48
|
-
".": {
|
|
49
|
-
"import": "./dist/index.js",
|
|
50
|
-
"require": "./dist/index.js",
|
|
51
|
-
"types": "./dist/index.d.ts"
|
|
52
|
-
},
|
|
53
|
-
"./enums": {
|
|
54
|
-
"import": "./dist/enums/index.js",
|
|
55
|
-
"types": "./dist/enums/index.d.ts"
|
|
56
|
-
},
|
|
57
|
-
"./vite": {
|
|
58
|
-
"import": "./dist/vite-plugin/index.js",
|
|
59
|
-
"types": "./dist/vite-plugin/index.d.ts"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
61
|
+
"types": "dist/index.d.ts"
|
|
62
62
|
}
|