@ldsg/constants 0.3.30 → 0.3.32

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,11 +1,7 @@
1
1
  [
2
- {
3
- "path": "app.ts",
4
- "data": "import { createApp } from '@ldsg/create-app';\nimport { Express } from 'express';\nimport MANIFEST_JSON from './manifest.json' with { type: 'json' };\n\nconst { resourceRecords } = MANIFEST_JSON as any;\n\nexport const app: Express = createApp({\n resourceRecords\n});\n"
5
- },
6
2
  {
7
3
  "path": "index.ts",
8
- "data": "import { app } from './app.js';\n\nconst port = process.env.PORT || '3253';\n\napp.listen(port, () => {\n console.log(`App listening on http://localhost:${port}`);\n\n console.log(`GraphQL listening on http://localhost:${port}/graphql`);\n});\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 console.log(`GraphQL listening on http://localhost:${port}/graphql`);\n });\n};\n\nstart();\n"
9
5
  },
10
6
  {
11
7
  "path": "manifest.json",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,UAA2B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,QAAwB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,QAA0B,CAAC;AAE1D,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoD,CAAC;AAE9G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAC;AAE9C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,UAA2B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,QAAwB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,QAA0B,CAAC;AAE1D,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;IACN,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAC;AAE9C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAwC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/constants",
3
- "version": "0.3.30",
3
+ "version": "0.3.32",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -13,6 +13,8 @@
13
13
  "devDependencies": {
14
14
  "@types/jest": "^29.5.2",
15
15
  "jest": "^29.5.0",
16
+ "oxfmt": "latest",
17
+ "oxlint": "latest",
16
18
  "supertest": "^6.3.4",
17
19
  "ts-jest": "^29.1.5",
18
20
  "ts-node": "^10.9.2",
@@ -23,6 +25,8 @@
23
25
  },
24
26
  "scripts": {
25
27
  "build": "npm run clean && tsc --project tsconfig.build.json",
26
- "clean": "rm -rf dist"
28
+ "clean": "rm -rf dist",
29
+ "format": "oxfmt --write src/",
30
+ "lint": "oxlint src/"
27
31
  }
28
32
  }