@giteeteam/apps-manifest 0.1.3 → 0.2.0

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/README.md CHANGED
@@ -1 +1 @@
1
- # Apps Manifest
1
+ # Apps Manifest
package/lib/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare type TriggerEvent = string;
1
+ export type TriggerEvent = string;
2
2
  export interface IManifestResource {
3
3
  key: string;
4
4
  path: string;
@@ -7,9 +7,10 @@ export interface IManifestApp {
7
7
  id?: string;
8
8
  name?: string;
9
9
  key?: string;
10
+ description?: string;
10
11
  version?: string;
11
12
  }
12
- export declare type LoadType = 'micro' | 'iframe' | 'remoteJs' | 'redirect' | 'uikit';
13
+ export type LoadType = 'micro' | 'iframe' | 'remoteJs' | 'redirect' | 'uikit';
13
14
  export interface IManifestModule {
14
15
  key: string;
15
16
  loadType?: LoadType;
@@ -53,7 +54,7 @@ export interface IManifestCustomFieldType {
53
54
  resource: string;
54
55
  description?: string;
55
56
  }
56
- export declare type TManifestModules = {
57
+ export type TManifestModules = {
57
58
  [k in string]?: IManifestModule[];
58
59
  } & {
59
60
  function?: IManifestFunction[];
@@ -63,10 +64,10 @@ export declare type TManifestModules = {
63
64
  customFieldType?: IManifestCustomFieldType[];
64
65
  customItemType?: any[];
65
66
  };
66
- export declare type TManifestLanguage = 'en-US' | 'zh-CN';
67
- export declare type TManifestLocalesItem = Record<string, string>;
68
- export declare type TManifestLocalesItems = Record<string, TManifestLocalesItem>;
69
- export declare type TManifestLocales = Record<TManifestLanguage, TManifestLocalesItems>;
67
+ export type TManifestLanguage = 'en-US' | 'zh-CN';
68
+ export type TManifestLocalesItem = Record<string, string>;
69
+ export type TManifestLocalesItems = Record<string, TManifestLocalesItem>;
70
+ export type TManifestLocales = Record<TManifestLanguage, TManifestLocalesItems>;
70
71
  export interface IManifest {
71
72
  app: IManifestApp;
72
73
  modules: TManifestModules;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-manifest",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "description": "Giteeteam Apps Manifest",
5
5
  "keywords": [
6
6
  "typescript",
@@ -13,20 +13,19 @@
13
13
  "lib"
14
14
  ],
15
15
  "bugs": {
16
- "url": "https://github.com/moriahq/giteeteam-apps/issues"
16
+ "url": "https://github.com/moriahq/proxima/issues"
17
17
  },
18
- "homepage": "https://github.com/moriahq/giteeteam-apps/tree/master/packages/manifest",
18
+ "homepage": "https://github.com/moriahq/proxima/tree/develop/giteeteam/packages/giteeteam/packages/apps-manifest",
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/moriahq/giteeteam-apps.git"
21
+ "url": "git+https://github.com/moriahq/proxima.git"
22
22
  },
23
23
  "scripts": {
24
24
  "dev": "tsc -w",
25
25
  "build": "rimraf lib && tsc",
26
- "prepare": "npm run build"
26
+ "prepublish": "pnpm run build"
27
27
  },
28
28
  "publishConfig": {
29
- "allowBranch": "master",
30
29
  "conventionalCommits": true,
31
30
  "access": "public",
32
31
  "registry": "https://registry.npmjs.org/"
@@ -34,5 +33,5 @@
34
33
  "dependencies": {
35
34
  "yaml": "^2.1.1"
36
35
  },
37
- "gitHead": "3e9f677e26089a40b9c239e8435187f92f61e65a"
36
+ "gitHead": "7a25af980b42c6d96e5f2bdb8345ec817a45d9b4"
38
37
  }