Skip to content

Commit

Permalink
Merge branch 'master' into feat/tsemach/add_create_app_feature_command
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
Tsemach Lifshitz committed Jan 28, 2024
2 parents 0a0bb46 + a212cfd commit 539381f
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 33 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ npm install -g @mondaycom/apps-cli
$ mapps COMMAND
running command...
$ mapps (--version)
@mondaycom/apps-cli/2.2.4 darwin-arm64 node-v18.12.1
@mondaycom/apps-cli/2.2.6 darwin-arm64 node-v18.12.1
$ mapps --help [COMMAND]
USAGE
$ mapps COMMAND
Expand Down Expand Up @@ -76,7 +76,7 @@ EXAMPLES
$ mapps app-features:build -a APP_ID -i APP_VERSION_ID -d APP_FEATURE_ID -t BUILD_TYPE -u CUSTOM_URL
```

_See code: [src/commands/app-features/build.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/app-features/build.ts)_
_See code: [src/commands/app-features/build.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/app-features/build.ts)_

## `mapps app-features:list`

Expand All @@ -101,7 +101,7 @@ EXAMPLES
$ mapps app-features:list -a APP_ID -i APP_VERSION_ID
```

_See code: [src/commands/app-features/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/app-features/list.ts)_
_See code: [src/commands/app-features/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/app-features/list.ts)_

## `mapps app-version:builds`

Expand All @@ -125,7 +125,7 @@ EXAMPLES
$ mapps app-version:builds -i APP_VERSION_ID
```

_See code: [src/commands/app-version/builds.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/app-version/builds.ts)_
_See code: [src/commands/app-version/builds.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/app-version/builds.ts)_

## `mapps app-version:list`

Expand All @@ -149,7 +149,7 @@ EXAMPLES
$ mapps app-version:list
```

_See code: [src/commands/app-version/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/app-version/list.ts)_
_See code: [src/commands/app-version/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/app-version/list.ts)_

## `mapps app:deploy`

Expand Down Expand Up @@ -177,7 +177,7 @@ EXAMPLES
$ mapps app:deploy
```

_See code: [src/commands/app/deploy.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/app/deploy.ts)_
_See code: [src/commands/app/deploy.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/app/deploy.ts)_

## `mapps app:list`

Expand All @@ -198,7 +198,7 @@ EXAMPLES
$ mapps app:list
```

_See code: [src/commands/app/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/app/list.ts)_
_See code: [src/commands/app/list.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/app/list.ts)_

## `mapps autocomplete [SHELL]`

Expand Down Expand Up @@ -258,7 +258,7 @@ EXAMPLES
$ mapps code:env
```

_See code: [src/commands/code/env.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/code/env.ts)_
_See code: [src/commands/code/env.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/code/env.ts)_

## `mapps code:logs`

Expand Down Expand Up @@ -291,7 +291,7 @@ EXAMPLES
$ mapps code:logs -i APP_VERSION_ID -t LOGS_TYPE
```

_See code: [src/commands/code/logs.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/code/logs.ts)_
_See code: [src/commands/code/logs.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/code/logs.ts)_

## `mapps code:push`

Expand Down Expand Up @@ -323,7 +323,7 @@ EXAMPLES
$ mapps code:push -a APP_ID_TO_PUSH
```

_See code: [src/commands/code/push.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/code/push.ts)_
_See code: [src/commands/code/push.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/code/push.ts)_

## `mapps code:status`

Expand All @@ -347,7 +347,7 @@ EXAMPLES
$ mapps code:status -i APP_VERSION_ID
```

_See code: [src/commands/code/status.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/code/status.ts)_
_See code: [src/commands/code/status.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/code/status.ts)_

## `mapps help [COMMANDS]`

Expand Down Expand Up @@ -392,7 +392,7 @@ EXAMPLES
$ mapps init -t SECRET_TOKEN
```

_See code: [src/commands/init/index.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/init/index.ts)_
_See code: [src/commands/init/index.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/init/index.ts)_

## `mapps storage:export`

Expand All @@ -419,7 +419,7 @@ EXAMPLES
$ mapps storage:export -a APP_ID -c CLIENT_ACCOUNT_ID -d FILE_FULL_PATH -f FILE_FORMAT
```

_See code: [src/commands/storage/export.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/storage/export.ts)_
_See code: [src/commands/storage/export.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/storage/export.ts)_

## `mapps storage:search`

Expand All @@ -445,7 +445,7 @@ EXAMPLES
$ mapps storage:search -a APP_ID -c CLIENT_ACCOUNT_ID -t TERM
```

_See code: [src/commands/storage/search.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/storage/search.ts)_
_See code: [src/commands/storage/search.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/storage/search.ts)_

## `mapps tunnel:create`

Expand Down Expand Up @@ -476,5 +476,5 @@ EXAMPLES
$ mapps tunnel:create -p PORT_FOR_TUNNEL -a APP_ID_FOR_TUNNEL
```

_See code: [src/commands/tunnel/create.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.4/src/commands/tunnel/create.ts)_
_See code: [src/commands/tunnel/create.ts](https://github.com/mondaycom/monday-code-cli/blob/v2.2.6/src/commands/tunnel/create.ts)_
<!-- commandsstop -->
1 change: 1 addition & 0 deletions bin/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ process.env.NODE_ENV = 'development';

// In dev mode, always show stack traces
oclif.settings.debug = true;
oclif.settings.tsnodeEnabled = true;

// Start the CLI
oclif
Expand Down
2 changes: 1 addition & 1 deletion bin/minimal-package.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default { name: "@mondaycom/apps-cli", version: "2.2.4" };
export default { name: "@mondaycom/apps-cli", version: "2.2.6" };
24 changes: 15 additions & 9 deletions test/jest.tsconfig.json → build.tsconfig.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{
"extends": "../tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"types": ["node", "jest"],
"sourceMap": true,
"noEmit": true,
"rootDirs": ["src", "test"],
"rootDir": "src",
"baseUrl": ".",
"sourceMap": false,
"inlineSourceMap": false,
"noEmit": false,
"strict": true,
"paths": {
"src/*": [
"./src/*"
],
"test/*": [
"./test/*"
],
"consts/*": [
"./src/consts/*"
],
Expand All @@ -34,5 +33,12 @@
"./src/commands-base/*"
]
}
}
},
"exclude": [
"test",
"node_modules",
"bin",
"dist",
"./**/*/__tests__"
]
}
2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function makeModuleNameMapper(srcPath, tsconfigPath) {
return aliases;
}

const TS_CONFIG_PATH = './test/jest.tsconfig.json';
const TS_CONFIG_PATH = './tsconfig.json';
const SRC_PATH_MAPPING = {
src: {jestPath: '<rootDir>/src', basePath: './src/'},
test: {jestPath: '<rootDir>/test', basePath: './test/'},
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
],
"scripts": {
"start": "./bin/run.js",
"dev": "./bin/dev.js",
"build": "shx rm -rf dist && tsc -b && tsc-alias -f -p tsconfig.json",
"dev": "yarn postpack && ./bin/dev.js",
"build": "shx rm -rf dist && tsc -b build.tsconfig.json && tsc-alias -f -p build.tsconfig.json",
"lint": "eslint . --ext .ts --config .eslintrc",
"lint:fix": "npm run lint -- --fix",
"postpack": "shx rm -f oclif.manifest.json",
Expand Down Expand Up @@ -107,6 +107,7 @@
"prettier": "^3.0.0",
"shx": "^0.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.6",
"tslib": "^2.4.1",
"tsx": "^3.12.7",
Expand Down
11 changes: 8 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"compilerOptions": {
"types": ["node", "jest"],
"sourceMap": true,
"noEmit": true,
"skipLibCheck": true,
"module": "esnext",
"moduleResolution": "node",
Expand All @@ -8,7 +11,7 @@
"esModuleInterop": true,
"importHelpers": true,
"outDir": "dist",
"rootDir": "src",
"rootDirs": ["src", "test"],
"baseUrl": ".",
"strict": true,
"target": "ES2022",
Expand All @@ -20,6 +23,9 @@
"src/*": [
"./src/*"
],
"test/*": [
"./test/*"
],
"consts/*": [
"./src/consts/*"
],
Expand Down Expand Up @@ -50,7 +56,6 @@
"test",
"node_modules",
"bin",
"dist",
"./**/*/__tests__"
"dist"
]
}
Loading

0 comments on commit 539381f

Please sign in to comment.