@tremho/mist-lift 1.1.2 → 1.1.3-pre-release.1

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.
Files changed (53) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +65 -65
  3. package/build/lift.js +0 -0
  4. package/package.json +79 -75
  5. package/src/commands/actions/initQuestions.ts +133 -133
  6. package/src/commands/actions/setupPackageJson.ts +32 -32
  7. package/src/commands/build.ts +170 -170
  8. package/src/commands/builtin/ApiDocMaker.ts +102 -102
  9. package/src/commands/builtin/BuiltInHandler.ts +47 -47
  10. package/src/commands/builtin/DeployBuiltInZip.ts +25 -25
  11. package/src/commands/builtin/StageWebrootZip.ts +36 -36
  12. package/src/commands/create.ts +52 -52
  13. package/src/commands/deploy.ts +161 -161
  14. package/src/commands/doctor.ts +106 -106
  15. package/src/commands/help.ts +178 -178
  16. package/src/commands/info.ts +42 -42
  17. package/src/commands/init.ts +61 -61
  18. package/src/commands/package.ts +234 -234
  19. package/src/commands/publish.ts +330 -330
  20. package/src/commands/settings.ts +73 -73
  21. package/src/commands/start.ts +43 -43
  22. package/src/commands/test.ts +37 -37
  23. package/src/commands/user.ts +20 -20
  24. package/src/expressRoutes/all.ts +99 -99
  25. package/src/expressRoutes/api.ts +22 -22
  26. package/src/expressRoutes/functionBinder.ts +155 -155
  27. package/src/integration-tests/quickstart-scenario.test.ts +74 -74
  28. package/src/lib/CaseUtils.ts +63 -63
  29. package/src/lib/DirectoryUtils.ts +34 -34
  30. package/src/lib/LiftConfig.ts +74 -74
  31. package/src/lib/LiftVersion.ts +87 -87
  32. package/src/lib/Tests/fileCompare.test.ts +35 -35
  33. package/src/lib/askQuestion.ts +17 -17
  34. package/src/lib/executeCommand.ts +45 -45
  35. package/src/lib/fileCompare.ts +55 -55
  36. package/src/lib/openAPI/ApiBuildCollector.ts +47 -47
  37. package/src/lib/openAPI/WebrootFileSupport.ts +19 -19
  38. package/src/lib/openAPI/openApiConstruction.ts +196 -196
  39. package/src/lib/pathResolve.ts +26 -26
  40. package/src/lib/utils.ts +43 -43
  41. package/src/lift.ts +87 -87
  42. package/templateData/function-definition-template +20 -20
  43. package/templateData/function-local-ts +16 -16
  44. package/templateData/function-main-ts +16 -16
  45. package/templateData/function-runmain-mjs +6 -6
  46. package/templateData/function-test-template +11 -11
  47. package/templateData/swagger-ui-bundle.js +2 -2
  48. package/templateData/swagger-ui-standalone-preset.js +2 -2
  49. package/templateData/swagger-ui.css +2 -2
  50. package/tsconfig.json +28 -28
  51. /package/build/commands/builtin/{prebuilt-zips → prebult-zips}/API.zip +0 -0
  52. /package/build/commands/builtin/{prebuilt-zips → prebult-zips}/FileServe.zip +0 -0
  53. /package/build/commands/builtin/{prebuilt-zips → prebult-zips}/Webroot.zip +0 -0
package/tsconfig.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "compilerOptions": {
3
- "sourceMap": true,
4
- "outDir": "./build",
5
- "allowJs": true,
6
- "target": "ES2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
7
- "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
8
- "lib": [
9
- "dom",
10
- "es2015",
11
- "scripthost",
12
- "es2015.proxy"
13
- ],
14
- /* Advanced Options */
15
- "strict": true, /* Enable all strict type-checking options. */
16
- "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
17
- "skipLibCheck": true, /* Skip type checking of declaration files. */
18
- "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
19
- },
20
- "exclude": [
21
- "./node_modules/"
22
- ],
23
- "include": [
24
- "**/*.ts",
25
- "src/preload.js"
26
- ]
27
- }
28
-
1
+ {
2
+ "compilerOptions": {
3
+ "sourceMap": true,
4
+ "outDir": "./build",
5
+ "allowJs": true,
6
+ "target": "ES2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
7
+ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
8
+ "lib": [
9
+ "dom",
10
+ "es2015",
11
+ "scripthost",
12
+ "es2015.proxy"
13
+ ],
14
+ /* Advanced Options */
15
+ "strict": true, /* Enable all strict type-checking options. */
16
+ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
17
+ "skipLibCheck": true, /* Skip type checking of declaration files. */
18
+ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
19
+ },
20
+ "exclude": [
21
+ "./node_modules/"
22
+ ],
23
+ "include": [
24
+ "**/*.ts",
25
+ "src/preload.js"
26
+ ]
27
+ }
28
+