Skip to content

Commit

Permalink
config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidarain1 committed Nov 26, 2024
1 parent ace4e12 commit c0b21c8
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 191 deletions.
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ disallow-workspace-cycles=true
workspace-concurrency=0
public-hoist-pattern[]=@imtbl/*
public-hoist-pattern[]=*openzeppelin*
public-hoist-pattern[]=*solidity*
public-hoist-pattern[]=*solidity*
public-hoist-pattern[]=eslint-plugin-*
5 changes: 3 additions & 2 deletions packages/checkout/sdk/tsup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ export default defineConfig((options) => ({
target: 'es2022',
bundle: true,
clean: !options.watch,
splitting: false,
minify: !options.watch,
splitting: false,
//only minify identifiers, other settings cause: Critical dependency: the request of a dependency is an expression
minifyIdentifiers: !options.watch,
skipNodeModulesBundle: true,
esbuildPlugins: [
replace({
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/dex/sdk-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"private": true,
"scripts": {
"dev": "concurrently 'next dev' 'pnpm run -w dev @imtbl/dex-sdk'",
"dev": "concurrently 'next dev' 'pnpm run -w dev'",
"lint": "eslint ./src --ext .ts --max-warnings=0 --no-error-on-unmatched-pattern",
"start": "next start"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
module.exports = {
"extends": ["../.eslintrc"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "."
"tsconfigRootDir": __dirname
},
"rules": {
"@typescript-eslint/naming-convention": [
Expand Down
234 changes: 51 additions & 183 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/func-tests/imx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"devDependencies": {
"@swc/jest": "^0.2.29",
"@types/jest": "^29.4.3",
"@types/node": "^20.10.1",
"jest": "^29.7.0",
"jest-cucumber": "^3.0.1",
Expand Down
1 change: 1 addition & 0 deletions tests/func-tests/zkevm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"devDependencies": {
"@swc/jest": "^0.2.29",
"@types/jest": "^29.4.3",
"@types/node": "^20.10.1",
"jest": "^29.7.0",
"jest-cucumber": "^3.0.1",
Expand Down
4 changes: 2 additions & 2 deletions tests/func-tests/zkevm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"rootDirs": ["utils", "step-definitions"],
"rootDirs": ["utils", "step-definitions", "specs", "hardhat.config.ts"],
},
"include": ["utils", "step-definitions"],
"include": ["utils", "step-definitions", "specs", "hardhat.config.ts"],
"exclude": [
"node_modules",
"dist"
Expand Down

0 comments on commit c0b21c8

Please sign in to comment.