Skip to content

Commit

Permalink
Merge branch 'feat/v0.2.0' into docs/README
Browse files Browse the repository at this point in the history
  • Loading branch information
allemanfredi committed Sep 27, 2024
2 parents 392880b + 83da4d2 commit 96a1779
Show file tree
Hide file tree
Showing 34 changed files with 1,725 additions and 1,645 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v22
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"name": "gnosis",
"url": "https://github.com/gnosis"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
Expand All @@ -21,6 +20,7 @@
"winston": "^3.11.0"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.0",
"@types/node": "^20.8.9",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
Expand Down
31 changes: 4 additions & 27 deletions packages/common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
{
"extends": "@tsconfig/node22/tsconfig.json",
"compilerOptions": {
"allowJs": false,
"allowSyntheticDefaultImports": true,
"checkJs": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": false,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"incremental": true,
"lib": ["ES2022"],
"module": "ES2022",
"moduleResolution": "Bundler",
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "./dist",
"rootDir": "./src",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ES2022"
},
"include": ["./src/**/*"]
}
"outDir": "./dist"
}
}
5 changes: 2 additions & 3 deletions packages/executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:22-alpine

WORKDIR /usr/src/app

Expand All @@ -9,7 +9,6 @@ COPY ../../package.json ../../yarn.lock ./
COPY ./packages/common ./packages/common
COPY ./packages/executor ./packages/executor


# Install dependencies at root level
RUN yarn install

Expand All @@ -20,4 +19,4 @@ RUN yarn compile
WORKDIR /usr/src/app/packages/executor
RUN yarn compile

CMD ["yarn", "start"]
CMD ["yarn", "start:prod"]
2 changes: 1 addition & 1 deletion packages/executor/nodemon.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"watch": ["src"],
"ext": "ts,json",
"exec": "ts-node --esm ./src/index.ts"
"exec": "ts-node ./src/index.ts"
}
3 changes: 2 additions & 1 deletion packages/executor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@gnosis/hashi-executor",
"private": true,
"version": "0.1.0",
"type": "module",
"author": {
"name": "gnosis",
"url": "https://github.com/gnosis"
Expand All @@ -13,6 +12,7 @@
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"",
"prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
"start": "node --loader ts-node/esm ./src/index.ts",
"start:prod": "node ./dist/index.js",
"start:dev": "nodemon"
},
"dependencies": {
Expand All @@ -23,6 +23,7 @@
"winston": "^3.11.0"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.0",
"@types/node": "^20.8.9",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
Expand Down
Loading

0 comments on commit 96a1779

Please sign in to comment.