Skip to content

Commit fc98c2e

Browse files
committed
chore: change next configs to standalone
1 parent 030f4e1 commit fc98c2e

File tree

16 files changed

+22
-17
lines changed

16 files changed

+22
-17
lines changed

infrastructure/web3-adapter/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"format": "npx @biomejs/biome format --write ./src",
1212
"lint": "npx @biomejs/biome lint --write ./src",
1313
"check": "npx @biomejs/biome check --write ./src",
14+
"postinstall": "npm run build",
1415
"check-types": "tsc --noEmit"
1516
},
1617
"dependencies": {

platforms/blabsy-w3ds-auth-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": "ts-node src/index.ts",
88
"dev": "nodemon --exec ts-node src/index.ts",
9-
"build": "tsc",
9+
"build": "tsc && cp -r src/web3adapter/mappings dist/web3adapter/",
1010
"typeorm": "typeorm-ts-node-commonjs",
1111
"migration:generate": "npm run typeorm migration:generate -- -d src/database/data-source.ts",
1212
"migration:run": "npm run typeorm migration:run -- -d src/database/data-source.ts",

platforms/blabsy-w3ds-auth-api/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"./node_modules/@types"
2121
]
2222
},
23-
"include": ["src/**/*"],
23+
"include": ["src/**/*", "src/**/*.json"],
2424
"exclude": ["node_modules", "dist"]
2525
}

platforms/blabsy/next.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const nextConfig = {
77
},
88
eslint: {
99
ignoreDuringBuilds: true
10-
}
10+
},
11+
output: 'standalone',
1112
};
1213

1314
module.exports = nextConfig;

platforms/cerberus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": "ts-node src/index.ts",
77
"dev": "nodemon --exec ts-node src/index.ts",
8-
"build": "tsc",
8+
"build": "tsc && cp -r src/web3adapter/mappings dist/web3adapter/",
99
"typeorm": "typeorm-ts-node-commonjs",
1010
"migration:generate": "npm run typeorm migration:generate -- -d src/database/data-source.ts",
1111
"migration:run": "npm run typeorm migration:run -- -d src/database/data-source.ts",

platforms/cerberus/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"sourceMap": true
2020
},
2121
"include": [
22-
"src/**/*"
22+
"src/**/*",
23+
"src/**/*.json"
2324
],
2425
"exclude": [
2526
"node_modules",

platforms/eVoting/next.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { NextConfig } from "next";
22

3-
const nextConfig: NextConfig = {};
3+
const nextConfig: NextConfig = {
4+
output: 'standalone',
5+
};
46

57
export default nextConfig;

platforms/evoting-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": "ts-node --project tsconfig.json src/index.ts",
88
"dev": "nodemon --exec \"npx ts-node\" src/index.ts",
9-
"build": "tsc",
9+
"build": "tsc && cp -r src/web3adapter/mappings dist/web3adapter/",
1010
"typeorm": "typeorm-ts-node-commonjs",
1111
"migration:generate": "typeorm-ts-node-commonjs migration:generate src/database/migrations/migration -d src/database/data-source.ts",
1212
"migration:run": "typeorm-ts-node-commonjs migration:run -d src/database/data-source.ts",

platforms/evoting-api/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"typeRoots": ["./src/types", "./node_modules/@types"],
1919
"strictPropertyInitialization": false
2020
},
21-
"include": ["src/**/*"],
21+
"include": ["src/**/*", "src/**/*.json"],
2222
"exclude": ["node_modules", "dist"]
2323
}

platforms/group-charter-manager-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"start": "ts-node src/index.ts",
88
"dev": "nodemon --exec ts-node src/index.ts",
9-
"build": "tsc",
9+
"build": "tsc && cp -r src/web3adapter/mappings dist/web3adapter/",
1010
"typeorm": "typeorm-ts-node-commonjs",
1111
"migration:generate": "npm run typeorm migration:generate -- -d src/database/data-source.ts",
1212
"migration:run": "npm run typeorm migration:run -- -d src/database/data-source.ts",

0 commit comments

Comments
 (0)