@akanjs/config 0.0.149 → 0.0.151

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.
@@ -89,6 +89,7 @@ CMD ["npm", "start"]`,
89
89
  config.libs ?? [],
90
90
  config.frontend?.routes
91
91
  ),
92
+ routes: config.frontend?.routes,
92
93
  explicitDependencies: config.frontend?.explicitDependencies ?? []
93
94
  },
94
95
  mobile: {
@@ -71,7 +71,7 @@ const withBase = (appName, config, libs, routes = []) => {
71
71
  eslint: { ...config.eslint, ignoreDuringBuilds: true },
72
72
  env: {
73
73
  ...config.env,
74
- basePaths: routes.map(({ basePath }) => basePath).join(",")
74
+ basePaths: [...new Set(routes.map(({ basePath }) => basePath))].join(",")
75
75
  },
76
76
  transpilePackages: ["swiper", "ssr-window", "dom7"],
77
77
  reactStrictMode: commandType === "start" ? false : true,
@@ -81,7 +81,8 @@ const withBase = (appName, config, libs, routes = []) => {
81
81
  ...[appName, ...libs].map((lib) => [`@${lib}/ui`, `@${lib}/next`, `@${lib}/common`, `@${lib}/client`]).flat(),
82
82
  "@contract",
83
83
  "@akanjs/next",
84
- "@akanjs/common"
84
+ "@akanjs/common",
85
+ "@akanjs/ui"
85
86
  ]
86
87
  },
87
88
  // modularizeImports: {
@@ -53,6 +53,7 @@ CMD ["npm", "start"]`,
53
53
  config.libs ?? [],
54
54
  config.frontend?.routes
55
55
  ),
56
+ routes: config.frontend?.routes,
56
57
  explicitDependencies: config.frontend?.explicitDependencies ?? []
57
58
  },
58
59
  mobile: {
@@ -37,7 +37,7 @@ const withBase = (appName, config, libs, routes = []) => {
37
37
  eslint: { ...config.eslint, ignoreDuringBuilds: true },
38
38
  env: {
39
39
  ...config.env,
40
- basePaths: routes.map(({ basePath }) => basePath).join(",")
40
+ basePaths: [...new Set(routes.map(({ basePath }) => basePath))].join(",")
41
41
  },
42
42
  transpilePackages: ["swiper", "ssr-window", "dom7"],
43
43
  reactStrictMode: commandType === "start" ? false : true,
@@ -47,7 +47,8 @@ const withBase = (appName, config, libs, routes = []) => {
47
47
  ...[appName, ...libs].map((lib) => [`@${lib}/ui`, `@${lib}/next`, `@${lib}/common`, `@${lib}/client`]).flat(),
48
48
  "@contract",
49
49
  "@akanjs/next",
50
- "@akanjs/common"
50
+ "@akanjs/common",
51
+ "@akanjs/ui"
51
52
  ]
52
53
  },
53
54
  // modularizeImports: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/config",
3
- "version": "0.0.149",
3
+ "version": "0.0.151",
4
4
  "sourceType": "module",
5
5
  "module": {
6
6
  "access": "public"
package/styles.css CHANGED
@@ -549,7 +549,7 @@ a {
549
549
  --animate-flash: flash 1s linear infinite;
550
550
  --animate-spin: spin 1s linear infinite;
551
551
  --animate-backdrop-blur: backdrop-blur-sm 2s ease-in-out forwards;
552
- --animate-pop: pop 0.15s ease-in-out forwards;
552
+ --animate-pop: pop 0.5s ease-in-out forwards;
553
553
  --animate-shrink: shrink 0.15s ease-in-out forwards;
554
554
  --animate-menuOpen: menuOpen 0.3s ease-in-out forwards;
555
555
  --animate-menuClose: menuClose 0.3s ease-in-out forwards;