@ldsg/constants 0.3.35 → 0.3.37

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.
@@ -1,5 +1,31 @@
1
1
  {
2
2
  "resourceRecords": [
3
+ {
4
+ "id": "ali-oss-resource-definition",
5
+ "kind": "resource_definition",
6
+ "parentId": "root",
7
+ "settings": {
8
+ "handlerResourceId": "ali-oss-resource-definition-handler",
9
+ "title": "阿里云 OSS 资源定义",
10
+ "description": "",
11
+ "kind": "ali_oss"
12
+ }
13
+ },
14
+ {
15
+ "id": "ali-oss-resource-definition-handler",
16
+ "kind": "handler",
17
+ "parentId": "root",
18
+ "settings": {
19
+ "title": "阿里云 OSS 实例化资源处理程序",
20
+ "description": "",
21
+ "code": "export * from \"@ldsg/ali-oss\";",
22
+ "dependencies": [
23
+ {
24
+ "name": "@ldsg/ali-oss"
25
+ }
26
+ ]
27
+ }
28
+ },
3
29
  {
4
30
  "id": "application-resource-definition",
5
31
  "kind": "resource_definition",
@@ -1,7 +1,7 @@
1
1
  [
2
2
  {
3
3
  "path": "index.ts",
4
- "data": "import { createApp } from '@ldsg/create-app';\nimport MANIFEST_JSON from './manifest.json' with { type: 'json' };\n\nconst { resourceRecords } = MANIFEST_JSON as any;\n\nconst start = async () => {\n const app = await createApp({\n resourceRecords\n });\n\n const port = process.env.PORT || '3253';\n\n app.listen(port, () => {\n console.log(`App listening on http://localhost:${port}`);\n console.log(`GraphQL listening on http://localhost:${port}/graphql`);\n });\n};\n\nstart();\n"
4
+ "data": "import { createApp } from \"@ldsg/create-app\";\nimport MANIFEST_JSON from \"./manifest.json\" with { type: \"json\" };\n\nconst { resourceRecords } = MANIFEST_JSON as any;\n\nconst start = async () => {\n const app = await createApp({\n resourceRecords,\n });\n\n const port = process.env.PORT || \"3253\";\n\n app.listen(port, () => {\n console.log(`App listening on http://localhost:${port}`);\n\n console.log(`GraphQL listening on http://localhost:${port}/graphql`);\n });\n};\n\nstart();\n"
5
5
  },
6
6
  {
7
7
  "path": "manifest.json",
@@ -130,6 +130,10 @@
130
130
  }
131
131
  }
132
132
  },
133
+ {
134
+ "path": "pnpm-workspace.yaml",
135
+ "data": "packages:\n - \"handlers/*\"\n"
136
+ },
133
137
  {
134
138
  "path": "tsconfig.json",
135
139
  "data": {
@@ -154,7 +158,7 @@
154
158
  "resolveJsonModule": true,
155
159
  "esModuleInterop": true
156
160
  },
157
- "include": ["./*.ts", "./service-records.json"]
161
+ "include": ["./*.ts"]
158
162
  }
159
163
  }
160
164
  ]
@@ -11,9 +11,9 @@
11
11
  "private": true,
12
12
  "description": "",
13
13
  "license": "UNLICENSED",
14
+ "files": ["dist/"],
14
15
  "main": "dist/index.js",
15
16
  "types": "dist",
16
- "files": ["dist/"],
17
17
  "scripts": {
18
18
  "build": "tsc"
19
19
  },
package/dist/index.d.ts CHANGED
@@ -211,9 +211,9 @@ export declare const FILES_IN_HANDLER_TEMPLATE_MODULE: ({
211
211
  private: boolean;
212
212
  description: string;
213
213
  license: string;
214
+ files: string[];
214
215
  main: string;
215
216
  types: string;
216
- files: string[];
217
217
  scripts: {
218
218
  build: string;
219
219
  };
@@ -258,9 +258,9 @@ export declare const FILES_IN_HANDLER_TEMPLATE_MODULE: ({
258
258
  private?: undefined;
259
259
  description?: undefined;
260
260
  license?: undefined;
261
+ files?: undefined;
261
262
  main?: undefined;
262
263
  types?: undefined;
263
- files?: undefined;
264
264
  scripts?: undefined;
265
265
  dependencies?: undefined;
266
266
  devDependencies?: undefined;
@@ -1,4 +1,30 @@
1
1
  [
2
+ {
3
+ "id": "ali-oss-resource-definition",
4
+ "kind": "resource_definition",
5
+ "parentId": "root",
6
+ "settings": {
7
+ "handlerResourceId": "ali-oss-resource-definition-handler",
8
+ "title": "阿里云 OSS 资源定义",
9
+ "description": "",
10
+ "kind": "ali_oss"
11
+ }
12
+ },
13
+ {
14
+ "id": "ali-oss-resource-definition-handler",
15
+ "kind": "handler",
16
+ "parentId": "root",
17
+ "settings": {
18
+ "title": "阿里云 OSS 实例化资源处理程序",
19
+ "description": "",
20
+ "code": "export * from \"@ldsg/ali-oss\";",
21
+ "dependencies": [
22
+ {
23
+ "name": "@ldsg/ali-oss"
24
+ }
25
+ ]
26
+ }
27
+ },
2
28
  {
3
29
  "id": "application-resource-definition",
4
30
  "kind": "resource_definition",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/constants",
3
- "version": "0.3.35",
3
+ "version": "0.3.37",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",