@friggframework/devtools 2.0.0--canary.474.295ae1f.0 → 2.0.0--canary.474.a0b734c.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.
Files changed (57) hide show
  1. package/management-ui/server/utils/cliIntegration.js +1 -1
  2. package/package.json +6 -6
  3. package/frigg-cli/.eslintrc.js +0 -141
  4. package/frigg-cli/README.md +0 -1290
  5. package/frigg-cli/__tests__/unit/commands/build.test.js +0 -279
  6. package/frigg-cli/__tests__/unit/commands/db-setup.test.js +0 -548
  7. package/frigg-cli/__tests__/unit/commands/deploy.test.js +0 -320
  8. package/frigg-cli/__tests__/unit/commands/install.test.js +0 -400
  9. package/frigg-cli/__tests__/unit/commands/ui.test.js +0 -346
  10. package/frigg-cli/__tests__/unit/utils/database-validator.test.js +0 -366
  11. package/frigg-cli/__tests__/unit/utils/error-messages.test.js +0 -304
  12. package/frigg-cli/__tests__/unit/version-detection.test.js +0 -171
  13. package/frigg-cli/__tests__/utils/mock-factory.js +0 -270
  14. package/frigg-cli/__tests__/utils/prisma-mock.js +0 -194
  15. package/frigg-cli/__tests__/utils/test-fixtures.js +0 -463
  16. package/frigg-cli/__tests__/utils/test-setup.js +0 -287
  17. package/frigg-cli/build-command/index.js +0 -66
  18. package/frigg-cli/db-setup-command/index.js +0 -193
  19. package/frigg-cli/deploy-command/index.js +0 -302
  20. package/frigg-cli/doctor-command/index.js +0 -249
  21. package/frigg-cli/generate-command/__tests__/generate-command.test.js +0 -301
  22. package/frigg-cli/generate-command/azure-generator.js +0 -43
  23. package/frigg-cli/generate-command/gcp-generator.js +0 -47
  24. package/frigg-cli/generate-command/index.js +0 -332
  25. package/frigg-cli/generate-command/terraform-generator.js +0 -555
  26. package/frigg-cli/generate-iam-command.js +0 -118
  27. package/frigg-cli/index.js +0 -173
  28. package/frigg-cli/index.test.js +0 -158
  29. package/frigg-cli/init-command/backend-first-handler.js +0 -756
  30. package/frigg-cli/init-command/index.js +0 -93
  31. package/frigg-cli/init-command/template-handler.js +0 -143
  32. package/frigg-cli/install-command/backend-js.js +0 -33
  33. package/frigg-cli/install-command/commit-changes.js +0 -16
  34. package/frigg-cli/install-command/environment-variables.js +0 -127
  35. package/frigg-cli/install-command/environment-variables.test.js +0 -136
  36. package/frigg-cli/install-command/index.js +0 -54
  37. package/frigg-cli/install-command/install-package.js +0 -13
  38. package/frigg-cli/install-command/integration-file.js +0 -30
  39. package/frigg-cli/install-command/logger.js +0 -12
  40. package/frigg-cli/install-command/template.js +0 -90
  41. package/frigg-cli/install-command/validate-package.js +0 -75
  42. package/frigg-cli/jest.config.js +0 -124
  43. package/frigg-cli/package.json +0 -58
  44. package/frigg-cli/repair-command/index.js +0 -341
  45. package/frigg-cli/start-command/index.js +0 -149
  46. package/frigg-cli/start-command/start-command.test.js +0 -297
  47. package/frigg-cli/test/init-command.test.js +0 -180
  48. package/frigg-cli/test/npm-registry.test.js +0 -319
  49. package/frigg-cli/ui-command/index.js +0 -154
  50. package/frigg-cli/utils/app-resolver.js +0 -319
  51. package/frigg-cli/utils/backend-path.js +0 -25
  52. package/frigg-cli/utils/database-validator.js +0 -154
  53. package/frigg-cli/utils/error-messages.js +0 -257
  54. package/frigg-cli/utils/npm-registry.js +0 -167
  55. package/frigg-cli/utils/process-manager.js +0 -199
  56. package/frigg-cli/utils/repo-detection.js +0 -405
  57. /package/infrastructure/{DOCTOR.md → HEALTH.md} +0 -0
@@ -17,7 +17,7 @@ class FriggCLIIntegration {
17
17
  const possiblePaths = [
18
18
  path.resolve(process.cwd(), '../frigg-cli/index.js'),
19
19
  path.resolve(process.cwd(), '../../frigg-cli/index.js'),
20
- path.resolve(process.cwd(), 'packages/devtools/frigg-cli/index.js'),
20
+ path.resolve(process.cwd(), 'packages/frigg-cli/index.js'),
21
21
  'frigg' // Global installation
22
22
  ]
23
23
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@friggframework/devtools",
3
3
  "prettier": "@friggframework/prettier-config",
4
- "version": "2.0.0--canary.474.295ae1f.0",
4
+ "version": "2.0.0--canary.474.a0b734c.0",
5
5
  "dependencies": {
6
6
  "@aws-sdk/client-ec2": "^3.835.0",
7
7
  "@aws-sdk/client-kms": "^3.835.0",
@@ -11,8 +11,8 @@
11
11
  "@babel/eslint-parser": "^7.18.9",
12
12
  "@babel/parser": "^7.25.3",
13
13
  "@babel/traverse": "^7.25.3",
14
- "@friggframework/schemas": "2.0.0--canary.474.295ae1f.0",
15
- "@friggframework/test": "2.0.0--canary.474.295ae1f.0",
14
+ "@friggframework/schemas": "2.0.0--canary.474.a0b734c.0",
15
+ "@friggframework/test": "2.0.0--canary.474.a0b734c.0",
16
16
  "@hapi/boom": "^10.0.1",
17
17
  "@inquirer/prompts": "^5.3.8",
18
18
  "axios": "^1.7.2",
@@ -34,8 +34,8 @@
34
34
  "serverless-http": "^2.7.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@friggframework/eslint-config": "2.0.0--canary.474.295ae1f.0",
38
- "@friggframework/prettier-config": "2.0.0--canary.474.295ae1f.0",
37
+ "@friggframework/eslint-config": "2.0.0--canary.474.a0b734c.0",
38
+ "@friggframework/prettier-config": "2.0.0--canary.474.a0b734c.0",
39
39
  "aws-sdk-client-mock": "^4.1.0",
40
40
  "aws-sdk-client-mock-jest": "^4.1.0",
41
41
  "jest": "^30.1.3",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "295ae1f73f5d880fdb1cc772aceb88eb92880e44"
70
+ "gitHead": "a0b734c3a9bfbfccd2aa90db3380d8044e314e69"
71
71
  }
@@ -1,141 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: false,
4
- es2021: true,
5
- node: true,
6
- jest: true
7
- },
8
- extends: [
9
- 'standard'
10
- ],
11
- parserOptions: {
12
- ecmaVersion: 'latest',
13
- sourceType: 'commonjs'
14
- },
15
- rules: {
16
- // Enforce consistent indentation
17
- 'indent': ['error', 2],
18
-
19
- // Enforce consistent spacing
20
- 'space-before-function-paren': ['error', 'never'],
21
- 'object-curly-spacing': ['error', 'always'],
22
-
23
- // Enforce semicolons for consistency
24
- 'semi': ['error', 'always'],
25
-
26
- // Allow console.log in CLI applications
27
- 'no-console': 'off',
28
-
29
- // Allow process.exit in CLI applications
30
- 'no-process-exit': 'off',
31
-
32
- // Enforce consistent quote usage
33
- 'quotes': ['error', 'single', { avoidEscape: true }],
34
-
35
- // Enforce consistent comma usage
36
- 'comma-dangle': ['error', 'never'],
37
-
38
- // Enforce consistent line endings
39
- 'eol-last': ['error', 'always'],
40
-
41
- // Enforce consistent spacing around operators
42
- 'space-infix-ops': 'error',
43
-
44
- // Enforce consistent spacing in object literals
45
- 'key-spacing': ['error', { beforeColon: false, afterColon: true }],
46
-
47
- // Enforce consistent spacing in arrays
48
- 'array-bracket-spacing': ['error', 'never'],
49
-
50
- // Enforce consistent spacing in function calls
51
- 'func-call-spacing': ['error', 'never'],
52
-
53
- // Enforce consistent spacing around keywords
54
- 'keyword-spacing': ['error', { before: true, after: true }],
55
-
56
- // Enforce consistent line breaks
57
- 'max-len': ['error', {
58
- code: 120,
59
- ignoreUrls: true,
60
- ignoreStrings: true,
61
- ignoreTemplateLiterals: true
62
- }],
63
-
64
- // Enforce consistent naming conventions
65
- 'camelcase': ['error', { properties: 'never' }],
66
-
67
- // Enforce consistent error handling
68
- 'no-unused-vars': ['error', {
69
- vars: 'all',
70
- args: 'after-used',
71
- ignoreRestSiblings: true
72
- }],
73
-
74
- // Allow async without await for command handlers
75
- 'require-await': 'off',
76
-
77
- // Enforce consistent return statements
78
- 'consistent-return': 'error',
79
-
80
- // Enforce proper error handling
81
- 'handle-callback-err': 'error',
82
-
83
- // Disallow modifying variables that are declared using const
84
- 'no-const-assign': 'error',
85
-
86
- // Disallow duplicate imports
87
- 'no-duplicate-imports': 'error',
88
-
89
- // Disallow unnecessary escape characters
90
- 'no-useless-escape': 'error',
91
-
92
- // Enforce consistent use of template literals
93
- 'prefer-template': 'error',
94
-
95
- // Enforce consistent use of destructuring
96
- 'prefer-destructuring': ['error', {
97
- array: true,
98
- object: true
99
- }, {
100
- enforceForRenamedProperties: false
101
- }]
102
- },
103
- overrides: [
104
- {
105
- files: ['**/__tests__/**/*.js', '**/*.test.js', '**/*.spec.js'],
106
- env: {
107
- jest: true
108
- },
109
- rules: {
110
- // Allow longer lines in tests for readability
111
- 'max-len': ['error', { code: 150 }],
112
-
113
- // Allow anonymous functions in tests
114
- 'func-names': 'off',
115
-
116
- // Allow magic numbers in tests
117
- 'no-magic-numbers': 'off',
118
-
119
- // Allow nested describe/it blocks
120
- 'max-nested-callbacks': 'off',
121
-
122
- // Allow multiple expectations in tests
123
- 'jest/prefer-expect-assertions': 'off'
124
- }
125
- },
126
- {
127
- files: ['index.js'],
128
- rules: {
129
- // Allow shebang in main CLI file
130
- 'node/shebang': 'off'
131
- }
132
- }
133
- ],
134
- ignorePatterns: [
135
- 'node_modules/',
136
- 'coverage/',
137
- 'dist/',
138
- 'build/',
139
- '*.min.js'
140
- ]
141
- };