@finema/core 2.24.0 → 2.26.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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.24.0",
3
+ "version": "2.26.0",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
package/dist/module.mjs CHANGED
@@ -1,9 +1,10 @@
1
- import { defineNuxtModule, createResolver, installModule, addPlugin, addComponentsDir, addImportsDir, addImports } from '@nuxt/kit';
1
+ import { defineNuxtModule, createResolver, installModule, addImports, addPlugin, addComponentsDir, addImportsDir } from '@nuxt/kit';
2
2
  import defu from 'defu';
3
+ import * as lodash from 'lodash-es';
3
4
  import * as theme from '../dist/runtime/theme/index.js';
4
5
 
5
6
  const name = "@finema/core";
6
- const version = "2.24.0";
7
+ const version = "2.26.0";
7
8
 
8
9
  const nuxtAppOptions = {
9
10
  head: {
@@ -145,11 +146,44 @@ const module = defineNuxtModule({
145
146
  autoImports: false
146
147
  }
147
148
  );
148
- await installModule("nuxt-lodash", {
149
- prefix: "_",
150
- upperAfterPrefix: false,
151
- exclude: ["get"]
152
- });
149
+ const excludes = [
150
+ "wrapperValue",
151
+ "wrapperToIterator",
152
+ "wrapperReverse",
153
+ "wrapperPlant",
154
+ "wrapperNext",
155
+ "wrapperLodash",
156
+ "wrapperCommit",
157
+ "wrapperChain",
158
+ "wrapperAt",
159
+ "templateSettings",
160
+ "toIterator",
161
+ "VERSION",
162
+ "lodash",
163
+ "value",
164
+ "valueOf",
165
+ "toJSON",
166
+ "thru",
167
+ "plant",
168
+ "next",
169
+ "default",
170
+ "commit",
171
+ "head",
172
+ "get",
173
+ "isEmpty"
174
+ ];
175
+ for (const name2 of Object.keys(lodash)) {
176
+ if (!excludes.includes(name2)) {
177
+ const alias = name2;
178
+ const prefix = "_";
179
+ const as = prefix + alias;
180
+ addImports({
181
+ name: name2,
182
+ as,
183
+ from: resolve("./runtime/lodash")
184
+ });
185
+ }
186
+ }
153
187
  addPlugin(resolve("./runtime/plugin"));
154
188
  void addComponentsDir({
155
189
  path: resolve(runtimeDir, "components"),
@@ -0,0 +1 @@
1
+ export * from 'lodash-es';
@@ -0,0 +1 @@
1
+ export * from "lodash-es";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.24.0",
3
+ "version": "2.26.0",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",
@@ -40,9 +40,13 @@
40
40
  "prepare": "husky"
41
41
  },
42
42
  "dependencies": {
43
+ "@iconify-json/heroicons": "^1.2.2",
44
+ "@iconify-json/ph": "^1.2.2",
45
+ "@iconify-json/svg-spinners": "^1.2.2",
43
46
  "@nuxt/kit": "^3.17.5",
44
47
  "@nuxt/ui": "^3.2.0",
45
48
  "@pinia/nuxt": "^0.11.0",
49
+ "@tailwindcss/typography": "^0.5.0-alpha.3",
46
50
  "@tiptap/extension-image": "^2.23.0",
47
51
  "@tiptap/extension-link": "^2.23.0",
48
52
  "@tiptap/extension-text-align": "^2.23.0",
@@ -62,12 +66,8 @@
62
66
  "date-fns": "^4.1.0",
63
67
  "date-fns-tz": "^3.2.0",
64
68
  "defu": "^6.1.4",
69
+ "lodash-es": "^4.17.21",
65
70
  "maska": "^3.1.1",
66
- "nuxt-lodash": "^2.5.3",
67
- "@iconify-json/heroicons": "^1.2.2",
68
- "@iconify-json/ph": "^1.2.2",
69
- "@iconify-json/svg-spinners": "^1.2.2",
70
- "@tailwindcss/typography": "^0.5.0-alpha.3",
71
71
  "url-join": "^5.0.0"
72
72
  },
73
73
  "devDependencies": {
@@ -93,4 +93,4 @@
93
93
  "lint-staged": {
94
94
  "*": "eslint --fix --quiet"
95
95
  }
96
- }
96
+ }