Skip to content

Commit

Permalink
refactor: code base
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Dec 14, 2023
1 parent 6b86a2f commit a97306e
Show file tree
Hide file tree
Showing 10 changed files with 280 additions and 268 deletions.
508 changes: 256 additions & 252 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
"packages/*"
],
"devDependencies": {
"@nice-move/cli": "^0.10.14",
"@nice-move/eslint-config-base": "^0.9.23",
"@nice-move/prettier-config": "^0.9.8",
"@nice-move/cli": "^0.11.1",
"@nice-move/eslint-config-base": "^0.9.25",
"@nice-move/prettier-config": "^0.9.9",
"best-shot": "^0.4.6",
"eslint": "^8.52.0",
"garou": "^0.6.17",
"prettier": "^3.0.3"
"eslint": "^8.55.0",
"garou": "^0.6.20",
"prettier": "^3.1.1"
},
"engines": {
"node": "^18.0.0 || ^20.0.0",
"npm": ">=9.4.0"
},
"packageManager": "npm@10.2.0",
"packageManager": "npm@10.2.4",
"eslintConfig": {
"extends": "@nice-move/eslint-config-base"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/.best-shot/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const config = {
},
externals: {
yargs: 'yargs',
globby: 'globby',
},
optimization: {
// splitChunks: {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"globby": "^14.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@bring-it/utils": "*",
"cheetor": "^0.13.0",
"globby": "^13.1.3"
"cheetor": "^0.13.0"
},
"engines": {
"node": "^18.0.0 || ^20.0.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/sample/.best-shot/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ export const config = {
entry: {
sub: './lib/cmd.mjs',
},
externals: {
globby: 'globby',
},
};
5 changes: 2 additions & 3 deletions packages/sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"yargs": "^17.7.2"
"globby": "^14.0.0"
},
"devDependencies": {
"@bring-it/utils": "*",
"globby": "^13.2.2"
"@bring-it/utils": "*"
},
"engines": {
"node": "^18.0.0 || ^20.0.0"
Expand Down
3 changes: 3 additions & 0 deletions packages/sentry/.best-shot/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export const config = {
entry: {
sub: './lib/cmd.mjs',
},
externals: {
globby: 'globby',
},
optimization: {
// splitChunks: {
// cacheGroups: {
Expand Down
5 changes: 2 additions & 3 deletions packages/sentry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"yargs": "^17.7.2"
"globby": "^14.0.0"
},
"devDependencies": {
"@bring-it/utils": "*",
"@npmcli/promise-spawn": "^7.0.0",
"globby": "^13.2.2"
"@npmcli/promise-spawn": "^7.0.0"
},
"engines": {
"node": "^18.0.0 || ^20.0.0"
Expand Down
1 change: 1 addition & 0 deletions packages/sftp/.best-shot/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const config = {
__filename: 'mock',
},
externals: {
globby: 'globby',
'cpu-features': 'node-commonjs cpu-features',
'./crypto/build/Release/sshcrypto.node':
'node-commonjs ./crypto/build/Release/sshcrypto.node',
Expand Down
4 changes: 3 additions & 1 deletion packages/sftp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
"build": "best-shot prod",
"prepublishOnly": "npm run build"
},
"dependencies": {
"globby": "^14.0.0"
},
"devDependencies": {
"globby": "^13.2.2",
"lodash": "^4.17.21",
"node-ssh": "^13.1.0",
"p-all": "^5.0.0",
Expand Down

0 comments on commit a97306e

Please sign in to comment.