@common-stack/generate-plugin 8.0.2-alpha.1 → 8.2.1-alpha.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 (46) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/LICENSE +34 -21
  3. package/lib/generators/add-backend/files/package.json +2 -2
  4. package/lib/generators/add-backend/files/src/modules/index.ts.template +2 -0
  5. package/lib/generators/add-backend/files/src/service.ts.template +2 -2
  6. package/lib/generators/add-frontend/frameworks/antui/src/root.tsx.template +37 -2
  7. package/lib/generators/add-frontend/frameworks/chakraui/src/root.tsx.template +38 -7
  8. package/lib/generators/add-frontend/frameworks/tailwindui/src/root.tsx.template +37 -8
  9. package/lib/generators/add-frontend/templates/package.json +3 -3
  10. package/lib/generators/add-fullstack/files/Jenkinsfile +1 -1
  11. package/lib/generators/add-fullstack/files/_prettierignore +7 -0
  12. package/lib/generators/add-fullstack/files/cdecode-config.json +6 -2
  13. package/lib/generators/add-fullstack/files/package.json +9 -13
  14. package/lib/generators/add-fullstack/files/scripts/fix-enum-references.js +58 -0
  15. package/lib/generators/add-fullstack/files/tsconfig.json +20 -24
  16. package/lib/generators/add-fullstack/updates/htmlPluginUpdate.cjs +1 -0
  17. package/lib/generators/add-fullstack/updates/htmlPluginUpdate.cjs.map +1 -1
  18. package/lib/generators/add-fullstack/updates/htmlPluginUpdate.mjs +1 -0
  19. package/lib/generators/add-fullstack/updates/htmlPluginUpdate.mjs.map +1 -1
  20. package/lib/generators/add-moleculer/files/package.json +6 -6
  21. package/lib/generators/add-package/files/browser/package.json +2 -2
  22. package/lib/generators/add-package/files/client/package.json +1 -1
  23. package/lib/generators/add-package/files/core/package.json +1 -1
  24. package/lib/generators/add-package/files/server/package.json +4 -4
  25. package/package.json +3 -3
  26. package/src/generators/add-backend/files/package.json +2 -2
  27. package/src/generators/add-backend/files/src/modules/index.ts.template +2 -0
  28. package/src/generators/add-backend/files/src/service.ts.template +2 -2
  29. package/src/generators/add-frontend/frameworks/antui/src/root.tsx.template +37 -2
  30. package/src/generators/add-frontend/frameworks/chakraui/src/root.tsx.template +38 -7
  31. package/src/generators/add-frontend/frameworks/tailwindui/src/root.tsx.template +37 -8
  32. package/src/generators/add-frontend/templates/package.json +3 -3
  33. package/src/generators/add-fullstack/files/Jenkinsfile +1 -1
  34. package/src/generators/add-fullstack/files/_prettierignore +7 -0
  35. package/src/generators/add-fullstack/files/cdecode-config.json +6 -2
  36. package/src/generators/add-fullstack/files/package.json +9 -13
  37. package/src/generators/add-fullstack/files/scripts/fix-enum-references.js +58 -0
  38. package/src/generators/add-fullstack/files/tsconfig.json +20 -24
  39. package/src/generators/add-fullstack/updates/htmlPluginUpdate.ts +2 -1
  40. package/src/generators/add-moleculer/files/package.json +6 -6
  41. package/src/generators/add-package/files/browser/package.json +2 -2
  42. package/src/generators/add-package/files/client/package.json +1 -1
  43. package/src/generators/add-package/files/core/package.json +1 -1
  44. package/src/generators/add-package/files/server/package.json +4 -4
  45. package/lib/generators/add-backend/files/src/api/root-schema.graphqls +0 -109
  46. package/src/generators/add-backend/files/src/api/root-schema.graphqls +0 -109
@@ -3,7 +3,7 @@
3
3
  "version": "0.0.1",
4
4
  "private": true,
5
5
  "description": "",
6
- "license": "ISC",
6
+ "license": "UNLICENSED",
7
7
  "author": "CDMBase LLC",
8
8
  "main": "index.js",
9
9
  "scripts": {
@@ -29,11 +29,11 @@
29
29
  "common": "link:./common"
30
30
  },
31
31
  "dependencies": {
32
- "@common-stack/client-core": "8.0.2-alpha.0",
33
- "@common-stack/core": "8.0.2-alpha.0",
34
- "@common-stack/server-core": "8.0.2-alpha.0",
35
- "@common-stack/server-stack": "8.0.2-alpha.0",
36
- "@common-stack/store-mongo": "8.0.2-alpha.0",
32
+ "@common-stack/client-core": "8.2.1-alpha.0",
33
+ "@common-stack/core": "8.2.1-alpha.0",
34
+ "@common-stack/server-core": "8.2.1-alpha.0",
35
+ "@common-stack/server-stack": "8.2.1-alpha.0",
36
+ "@common-stack/store-mongo": "8.2.1-alpha.0",
37
37
  "@container-stack/mailing-api": "5.2.1-alpha.1",
38
38
  "helmet": "^3.21.2",
39
39
  "react": "18.2.0",
@@ -2,7 +2,7 @@
2
2
  "name": "browser-package",
3
3
  "version": "3.1.1-alpha.6",
4
4
  "description": "Sample core for higher packages to depend on",
5
- "license": "ISC",
5
+ "license": "UNLICENSED",
6
6
  "author": "CDMBase LLC",
7
7
  "type": "module",
8
8
  "main": "lib/index.js",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@cdm-logger/client": "*",
32
- "@common-stack/client-react": "8.0.2-alpha.0",
32
+ "@common-stack/client-react": "8.2.1-alpha.0",
33
33
  "@remix-run/react": "*",
34
34
  "antd": ">=5.1.6",
35
35
  "lodash": "*",
@@ -2,7 +2,7 @@
2
2
  "name": "client-package",
3
3
  "version": "3.1.1-alpha.4",
4
4
  "description": "Sample core for higher packages to depend on",
5
- "license": "ISC",
5
+ "license": "UNLICENSED",
6
6
  "author": "CDMBase LLC",
7
7
  "type": "module",
8
8
  "main": "lib/index.js",
@@ -2,7 +2,7 @@
2
2
  "name": "core-package",
3
3
  "version": "3.1.1-alpha.4",
4
4
  "description": "Workbench core for higher packages to depend on",
5
- "license": "ISC",
5
+ "license": "UNLICENSED",
6
6
  "author": "CDMBase LLC",
7
7
  "type": "module",
8
8
  "main": "lib/index.js",
@@ -2,7 +2,7 @@
2
2
  "name": "server-package",
3
3
  "version": "3.1.1-alpha.5",
4
4
  "description": "Sample core for higher packages to depend on",
5
- "license": "ISC",
5
+ "license": "UNLICENSED",
6
6
  "author": "CDMBase LLC",
7
7
  "type": "module",
8
8
  "main": "lib/index.js",
@@ -62,9 +62,9 @@
62
62
  "peerDependencies": {
63
63
  "@apollo/client": ">=3.0.0",
64
64
  "@cdm-logger/server": ">=9.0.3",
65
- "@common-stack/core": "8.0.2-alpha.0",
66
- "@common-stack/server-core": "8.0.2-alpha.0",
67
- "@common-stack/store-mongo": "8.0.2-alpha.0",
65
+ "@common-stack/core": "8.2.1-alpha.0",
66
+ "@common-stack/server-core": "8.2.1-alpha.0",
67
+ "@common-stack/store-mongo": "8.2.1-alpha.0",
68
68
  "@container-stack/mailing-api": ">=0.0.35-alpha.1",
69
69
  "@vscode-alt/monaco-editor": "^0.21.4",
70
70
  "inversify": "^5.0.1",
@@ -1,109 +0,0 @@
1
- scalar AnyObject
2
- scalar Date
3
- scalar Time
4
- scalar DateTime
5
- scalar Timestamp
6
- scalar URI
7
- scalar URIInput
8
- scalar Observable
9
-
10
- scalar JSON
11
- scalar JSONObject
12
-
13
- """
14
- An object with an ID.
15
- """
16
- interface Node {
17
- """
18
- The ID of the node.
19
- """
20
- id: ID!
21
- }
22
-
23
- # Pagination information. See https://facebook.github.io/relay/graphql/connections.htm#sec-undefined.PageInfo.
24
- type PageInfo {
25
- # Whether there is a next page of nodes in the connection.
26
- hasNextPage: Boolean!
27
- }
28
-
29
- """
30
- Represents a null return value.
31
- """
32
- type EmptyResponse {
33
- # A dummy null value.
34
- alwaysNil: String
35
- }
36
-
37
- type FieldError {
38
- field: String!
39
- message: String!
40
- }
41
-
42
- input Sort{
43
- key: String!,
44
- value: SortEnum!,
45
- }
46
-
47
- enum SortEnum{
48
- ASC,
49
- DESC
50
- }
51
-
52
- type Query {
53
- """
54
- Looks up a node by ID.
55
- """
56
- node(id: ID!): Node
57
- }
58
-
59
- type Mutation {
60
- dummy: Int
61
- }
62
-
63
- type Subscription {
64
- dummy: Int
65
- }
66
-
67
- type AdminIdeSettings {
68
- dummy: Int
69
- }
70
-
71
- """ All Moleculer Topic names are extended from this."""
72
- enum MoleculerServiceName {
73
- dummy
74
- }
75
-
76
- interface IResourceUtilizationSettings {
77
- subTopic: String
78
- adminApiNamespace: String
79
- }
80
-
81
- """
82
- Input geometry of the location.
83
- List the `longitude` first and then `latitude`
84
- - Validate longitude values are between `-180` and `180`
85
- - Validate latitude values are between `-90` and `90`
86
- """
87
- input GeoLocation_Input {
88
- type: String = "Point"
89
- coordinates: [Float]
90
- }
91
-
92
- type GeoLocation {
93
- coordinates: [Float]
94
- }
95
-
96
- enum MailTemplateId {
97
- dummy
98
- }
99
-
100
- enum MoleculerCronServiceName {
101
- dummy
102
- }
103
-
104
- schema {
105
- query: Query
106
- mutation: Mutation
107
- subscription: Subscription
108
- }
109
-
@@ -1,109 +0,0 @@
1
- scalar AnyObject
2
- scalar Date
3
- scalar Time
4
- scalar DateTime
5
- scalar Timestamp
6
- scalar URI
7
- scalar URIInput
8
- scalar Observable
9
-
10
- scalar JSON
11
- scalar JSONObject
12
-
13
- """
14
- An object with an ID.
15
- """
16
- interface Node {
17
- """
18
- The ID of the node.
19
- """
20
- id: ID!
21
- }
22
-
23
- # Pagination information. See https://facebook.github.io/relay/graphql/connections.htm#sec-undefined.PageInfo.
24
- type PageInfo {
25
- # Whether there is a next page of nodes in the connection.
26
- hasNextPage: Boolean!
27
- }
28
-
29
- """
30
- Represents a null return value.
31
- """
32
- type EmptyResponse {
33
- # A dummy null value.
34
- alwaysNil: String
35
- }
36
-
37
- type FieldError {
38
- field: String!
39
- message: String!
40
- }
41
-
42
- input Sort{
43
- key: String!,
44
- value: SortEnum!,
45
- }
46
-
47
- enum SortEnum{
48
- ASC,
49
- DESC
50
- }
51
-
52
- type Query {
53
- """
54
- Looks up a node by ID.
55
- """
56
- node(id: ID!): Node
57
- }
58
-
59
- type Mutation {
60
- dummy: Int
61
- }
62
-
63
- type Subscription {
64
- dummy: Int
65
- }
66
-
67
- type AdminIdeSettings {
68
- dummy: Int
69
- }
70
-
71
- """ All Moleculer Topic names are extended from this."""
72
- enum MoleculerServiceName {
73
- dummy
74
- }
75
-
76
- interface IResourceUtilizationSettings {
77
- subTopic: String
78
- adminApiNamespace: String
79
- }
80
-
81
- """
82
- Input geometry of the location.
83
- List the `longitude` first and then `latitude`
84
- - Validate longitude values are between `-180` and `180`
85
- - Validate latitude values are between `-90` and `90`
86
- """
87
- input GeoLocation_Input {
88
- type: String = "Point"
89
- coordinates: [Float]
90
- }
91
-
92
- type GeoLocation {
93
- coordinates: [Float]
94
- }
95
-
96
- enum MailTemplateId {
97
- dummy
98
- }
99
-
100
- enum MoleculerCronServiceName {
101
- dummy
102
- }
103
-
104
- schema {
105
- query: Query
106
- mutation: Mutation
107
- subscription: Subscription
108
- }
109
-