@objectql/create 3.0.0 → 4.0.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 (33) hide show
  1. package/dist/bin.js +7 -0
  2. package/package.json +1 -1
  3. package/templates/enterprise/CHANGELOG.md +11 -0
  4. package/templates/enterprise/__tests__/data-api.test.ts +8 -0
  5. package/templates/enterprise/__tests__/metadata-api.test.ts +8 -0
  6. package/templates/enterprise/__tests__/metadata-loading.test.ts +8 -0
  7. package/templates/enterprise/jest.config.js +8 -0
  8. package/templates/enterprise/package.json +4 -2
  9. package/templates/enterprise/src/core/index.ts +8 -0
  10. package/templates/enterprise/src/extensions/user.ts +8 -0
  11. package/templates/enterprise/src/index.ts +10 -2
  12. package/templates/enterprise/src/modules/crm/index.ts +8 -0
  13. package/templates/enterprise/src/modules/finance/index.ts +8 -0
  14. package/templates/enterprise/src/modules/hr/index.ts +8 -0
  15. package/templates/enterprise/src/modules/project/index.ts +8 -0
  16. package/templates/enterprise/src/plugins/audit/audit.plugin.ts +40 -19
  17. package/templates/enterprise/src/plugins/audit/index.ts +9 -4
  18. package/templates/enterprise/src/shared/constants.ts +8 -0
  19. package/templates/enterprise/src/shared/utils.ts +8 -0
  20. package/templates/enterprise/src/shared/validators.ts +8 -0
  21. package/templates/enterprise/tsconfig.json +5 -0
  22. package/templates/enterprise/tsconfig.tsbuildinfo +1 -1
  23. package/templates/hello-world/CHANGELOG.md +9 -0
  24. package/templates/hello-world/package.json +1 -1
  25. package/templates/hello-world/src/index.ts +8 -0
  26. package/templates/starter/CHANGELOG.md +11 -0
  27. package/templates/starter/__tests__/projects-hooks-actions.test.ts +8 -0
  28. package/templates/starter/jest.config.js +8 -0
  29. package/templates/starter/package.json +3 -2
  30. package/templates/starter/src/modules/projects/projects.action.ts +8 -0
  31. package/templates/starter/src/modules/projects/projects.hook.ts +8 -0
  32. package/templates/starter/src/seed.ts +8 -0
  33. package/templates/starter/tsconfig.tsbuildinfo +1 -1
@@ -1,5 +1,14 @@
1
1
  # @example/hello-world
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [79d04e1]
8
+ - Updated dependencies [faeef39]
9
+ - @objectql/core@3.0.1
10
+ - @objectql/driver-sql@3.0.1
11
+
3
12
  ## 1.0.7
4
13
 
5
14
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectql/example-hello-world",
3
- "version": "1.0.7",
3
+ "version": "4.0.0",
4
4
  "private": true,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectQL
3
+ * Copyright (c) 2026-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import { ObjectQL } from '@objectql/core';
2
10
  import { SqlDriver } from '@objectql/driver-sql';
3
11
 
@@ -1,5 +1,16 @@
1
1
  # @objectql/starter-basic
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [79d04e1]
8
+ - Updated dependencies [faeef39]
9
+ - @objectql/core@3.0.1
10
+ - @objectql/driver-sql@3.0.1
11
+ - @objectql/platform-node@3.0.1
12
+ - @objectql/types@3.0.1
13
+
3
14
  ## 3.0.0
4
15
 
5
16
  ### Patch Changes
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectQL
3
+ * Copyright (c) 2026-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  /**
2
10
  * Comprehensive Test Suite for Project Hooks and Actions
3
11
  *
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectQL
3
+ * Copyright (c) 2026-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  module.exports = {
2
10
  preset: 'ts-jest',
3
11
  testEnvironment: 'node',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectql/example-project-tracker",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "ObjectQL Basic Example Project",
5
5
  "private": true,
6
6
  "keywords": [
@@ -28,7 +28,7 @@
28
28
  "start": "objectql start --dir src",
29
29
  "seed": "ts-node src/seed.ts",
30
30
  "codegen": "objectql types -s src -o src/types",
31
- "build": "npm run codegen && tsc && rsync -a --include '*/' --include '*.yml' --exclude '*' src/ dist/",
31
+ "build": "tsc && rsync -a --include '*/' --include '*.yml' --exclude '*' src/ dist/",
32
32
  "repl": "objectql repl",
33
33
  "test": "jest"
34
34
  },
@@ -46,6 +46,7 @@
46
46
  "@objectql/platform-node": "workspace:*",
47
47
  "@objectql/types": "workspace:*",
48
48
  "@types/jest": "^30.0.0",
49
+ "@types/node": "^20.0.0",
49
50
  "jest": "^30.2.0",
50
51
  "ts-jest": "^29.4.6",
51
52
  "typescript": "^5.3.0"
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectQL
3
+ * Copyright (c) 2026-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import { ActionDefinition } from '@objectql/types';
2
10
  import { Projects } from '../../types';
3
11
 
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectQL
3
+ * Copyright (c) 2026-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import { ObjectHookDefinition } from '@objectql/types';
2
10
  import { Projects } from '../../types';
3
11
 
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectQL
3
+ * Copyright (c) 2026-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import { ObjectQL } from '@objectql/core';
2
10
  import { SqlDriver } from '@objectql/driver-sql';
3
11
  import { ObjectLoader } from '@objectql/platform-node';