@akanjs/config 0.9.33 → 0.9.35

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.
@@ -35,10 +35,10 @@ __export(akanConfig_exports, {
35
35
  makeLibConfig: () => makeLibConfig
36
36
  });
37
37
  module.exports = __toCommonJS(akanConfig_exports);
38
- var import_config = require("@akanjs/config");
39
38
  var import_fs = __toESM(require("fs"));
40
39
  var import_path = __toESM(require("path"));
41
40
  var import_nextConfig = require("./nextConfig");
41
+ var import_types = require("./types");
42
42
  const makeAppConfig = (config, props) => {
43
43
  const { name, repoName, serveDomain, env, command = "build" } = props;
44
44
  return {
@@ -123,7 +123,7 @@ const getDockerImageScript = (image, defaultImage) => {
123
123
  if (typeof image === "string")
124
124
  return `FROM ${image}`;
125
125
  else
126
- return import_config.archs.map((arch) => `FROM ${image[arch] ?? defaultImage} AS ${arch}`).join("\n");
126
+ return import_types.archs.map((arch) => `FROM ${image[arch] ?? defaultImage} AS ${arch}`).join("\n");
127
127
  };
128
128
  const makeDockerfile = (type, config, props) => {
129
129
  const { name, repoName, serveDomain, env } = props;
@@ -175,7 +175,7 @@ WORKDIR /workspace
175
175
  COPY ./package.json ./package.json
176
176
  RUN npx pnpm i --prod
177
177
  COPY . .
178
- ENV PORT 4200
178
+ ENV PORT=4200
179
179
  ENV NODE_OPTIONS=--max_old_space_size=8192
180
180
  ENV NEXT_PUBLIC_REPO_NAME=${repoName}
181
181
  ENV NEXT_PUBLIC_SERVE_DOMAIN=${serveDomain}
@@ -1,9 +1,9 @@
1
- import {
2
- archs
3
- } from "@akanjs/config";
4
1
  import fs from "fs";
5
2
  import path from "path";
6
3
  import { withBase } from "./nextConfig";
4
+ import {
5
+ archs
6
+ } from "./types";
7
7
  const makeAppConfig = (config, props) => {
8
8
  const { name, repoName, serveDomain, env, command = "build" } = props;
9
9
  return {
@@ -140,7 +140,7 @@ WORKDIR /workspace
140
140
  COPY ./package.json ./package.json
141
141
  RUN npx pnpm i --prod
142
142
  COPY . .
143
- ENV PORT 4200
143
+ ENV PORT=4200
144
144
  ENV NODE_OPTIONS=--max_old_space_size=8192
145
145
  ENV NEXT_PUBLIC_REPO_NAME=${repoName}
146
146
  ENV NEXT_PUBLIC_SERVE_DOMAIN=${serveDomain}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/config",
3
- "version": "0.9.33",
3
+ "version": "0.9.35",
4
4
  "sourceType": "module",
5
5
  "module": {
6
6
  "access": "public"
@@ -13,9 +13,9 @@
13
13
  "dependencies": {
14
14
  "@capacitor/cli": "^7.0.0",
15
15
  "@next/bundle-analyzer": "^15.1.3",
16
- "@tailwindcss/postcss": "^4.1.7",
16
+ "@tailwindcss/postcss": "^4.1.11",
17
17
  "@types/node": "~22.10.4",
18
- "@types/react": "18.3.1",
18
+ "@types/react": "19.1.1",
19
19
  "@types/webpack-env": "^1.18.8",
20
20
  "daisyui": "^5.0.35",
21
21
  "jest": "^29.7.0",
@@ -27,7 +27,7 @@
27
27
  "tailwindcss-animation-delay": "^2.0.2",
28
28
  "tailwindcss-radix": "^4.0.2",
29
29
  "tsconfig-paths": "^4.2.0",
30
- "vite": "^6.3.4"
30
+ "vite": "^7.0.6"
31
31
  },
32
32
  "main": "./index.js",
33
33
  "engines": {
@@ -1,5 +1,5 @@
1
- import { type AppConfig, type AppConfigResult, type DeepPartial, type DockerConfig, type LibConfigResult, type RunnerProps } from "@akanjs/config";
2
1
  import type { NextConfig } from "next";
2
+ import { type AppConfig, type AppConfigResult, type DeepPartial, type DockerConfig, type LibConfigResult, type RunnerProps } from "./types";
3
3
  export declare const makeAppConfig: (config: DeepPartial<AppConfigResult>, props: RunnerProps) => AppConfigResult;
4
4
  export declare const getAppConfig: (appRoot: string, props: RunnerProps) => Promise<AppConfigResult>;
5
5
  export declare const makeLibConfig: (config: DeepPartial<LibConfigResult>, props: RunnerProps) => LibConfigResult;