@appsemble/cli 0.27.9 → 0.27.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/cli",
3
- "version": "0.27.9",
3
+ "version": "0.27.11",
4
4
  "description": "The CLI for developing with Appsemble apps and blocks",
5
5
  "keywords": [
6
6
  "app",
@@ -42,9 +42,9 @@
42
42
  "test": "vitest"
43
43
  },
44
44
  "dependencies": {
45
- "@appsemble/node-utils": "0.27.9",
46
- "@appsemble/types": "0.27.9",
47
- "@appsemble/utils": "0.27.9",
45
+ "@appsemble/node-utils": "0.27.11",
46
+ "@appsemble/types": "0.27.11",
47
+ "@appsemble/utils": "0.27.11",
48
48
  "@fortawesome/fontawesome-common-types": "^6.0.0",
49
49
  "@koa/cors": "^4.0.0",
50
50
  "@odata/parser": "^0.2.0",
@@ -87,7 +87,10 @@
87
87
  "yargs": "^17.0.0"
88
88
  },
89
89
  "devDependencies": {
90
- "@appsemble/types": "0.27.9",
90
+ "@appsemble/types": "0.27.11",
91
+ "@appsemble/server": "0.27.11",
92
+ "bcrypt": "^5.0.0",
93
+ "axios-test-instance": "^7.0.0",
91
94
  "@types/concat-stream": "^2.0.0",
92
95
  "@types/inquirer": "^9.0.0",
93
96
  "@types/normalize-path": "^3.0.0",
@@ -0,0 +1,2 @@
1
+ import { type AppReadme as AppReadmeInterface, type GetAppSubEntityParams } from '@appsemble/node-utils';
2
+ export declare function getAppReadmes({ app }: GetAppSubEntityParams): Promise<AppReadmeInterface[]>;
@@ -0,0 +1,11 @@
1
+ import { readFile } from 'node:fs/promises';
2
+ export async function getAppReadmes({ app }) {
3
+ const readme = await readFile(`${app.path}/readmes/${app.readmeUrl}`);
4
+ return [
5
+ {
6
+ id: 0,
7
+ file: readme,
8
+ },
9
+ ];
10
+ }
11
+ //# sourceMappingURL=getAppReadmes.js.map
@@ -33,3 +33,4 @@ export * from './applyAppServiceSecrets.js';
33
33
  export * from './getAppMembers.js';
34
34
  export * from './getAppTeams.js';
35
35
  export * from './getAppUserInfo.js';
36
+ export * from './getAppReadmes.js';
@@ -33,4 +33,5 @@ export * from './applyAppServiceSecrets.js';
33
33
  export * from './getAppMembers.js';
34
34
  export * from './getAppTeams.js';
35
35
  export * from './getAppUserInfo.js';
36
+ export * from './getAppReadmes.js';
36
37
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { applyAppServiceSecrets, checkRole, createAppAsset, createAppResourcesWithAssets, createSettings, createTheme, deleteAppAsset, deleteAppResource, email, getApp, getAppAssets, getAppBlockStyles, getAppDetails, getAppIcon, getAppMembers, getAppMessages, getAppResource, getAppResources, getAppScreenshots, getAppStyles, getAppTeams, getAppUrl, getAppUserInfo, getBlockAsset, getBlockMessages, getBlocksAssetsPaths, getCsp, getDbUpdated, getHost, getTheme, parseQuery, reloadUser, sendNotifications, updateAppResource, verifyResourceActionPermission, } from './index.js';
1
+ import { applyAppServiceSecrets, checkRole, createAppAsset, createAppResourcesWithAssets, createSettings, createTheme, deleteAppAsset, deleteAppResource, email, getApp, getAppAssets, getAppBlockStyles, getAppDetails, getAppIcon, getAppMembers, getAppMessages, getAppReadmes, getAppResource, getAppResources, getAppScreenshots, getAppStyles, getAppTeams, getAppUrl, getAppUserInfo, getBlockAsset, getBlockMessages, getBlocksAssetsPaths, getCsp, getDbUpdated, getHost, getTheme, parseQuery, reloadUser, sendNotifications, updateAppResource, verifyResourceActionPermission, } from './index.js';
2
2
  export const options = {
3
3
  applyAppServiceSecrets,
4
4
  checkRole,
@@ -16,6 +16,7 @@ export const options = {
16
16
  getAppIcon,
17
17
  getAppMembers,
18
18
  getAppMessages,
19
+ getAppReadmes,
19
20
  getAppResource,
20
21
  getAppResources,
21
22
  getAppScreenshots,
@@ -6,7 +6,7 @@ pages:
6
6
  - name: Example Page A
7
7
  blocks:
8
8
  - type: action-button
9
- version: 0.27.9
9
+ version: 0.27.11
10
10
  parameters:
11
11
  icon: arrow-right
12
12
  actions:
@@ -17,7 +17,7 @@ pages:
17
17
  - name: Example Page B
18
18
  blocks:
19
19
  - type: action-button
20
- version: 0.27.9
20
+ version: 0.27.11
21
21
  parameters:
22
22
  icon: arrow-left
23
23
  actions:
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@appsemble/sdk": "0.27.9",
5
+ "@appsemble/sdk": "0.27.11",
6
6
  "mini-jsx": "^4.0.0"
7
7
  }
8
8
  }
@@ -2,8 +2,8 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@appsemble/preact": "0.27.9",
6
- "@appsemble/sdk": "0.27.9",
5
+ "@appsemble/preact": "0.27.11",
6
+ "@appsemble/sdk": "0.27.11",
7
7
  "preact": "^10.0.0"
8
8
  }
9
9
  }
@@ -2,6 +2,6 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@appsemble/sdk": "0.27.9"
5
+ "@appsemble/sdk": "0.27.11"
6
6
  }
7
7
  }