@objectql/create 3.0.1 → 4.0.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 (34) hide show
  1. package/dist/bin.js +7 -0
  2. package/package.json +1 -1
  3. package/templates/enterprise/CHANGELOG.md +10 -0
  4. package/templates/enterprise/jest.config.js +8 -0
  5. package/templates/enterprise/package.json +4 -2
  6. package/templates/enterprise/src/core/index.ts +8 -0
  7. package/templates/enterprise/src/extensions/user.ts +8 -0
  8. package/templates/enterprise/src/index.ts +10 -2
  9. package/templates/enterprise/src/modules/crm/index.ts +8 -0
  10. package/templates/enterprise/src/modules/finance/index.ts +8 -0
  11. package/templates/enterprise/src/modules/hr/index.ts +8 -0
  12. package/templates/enterprise/src/modules/project/index.ts +8 -0
  13. package/templates/enterprise/src/plugins/audit/audit.plugin.ts +40 -19
  14. package/templates/enterprise/src/plugins/audit/index.ts +9 -4
  15. package/templates/enterprise/src/shared/constants.ts +8 -0
  16. package/templates/enterprise/src/shared/utils.ts +8 -0
  17. package/templates/enterprise/src/shared/validators.ts +8 -0
  18. package/templates/enterprise/tsconfig.json +5 -0
  19. package/templates/enterprise/tsconfig.tsbuildinfo +1 -1
  20. package/templates/hello-world/CHANGELOG.md +8 -0
  21. package/templates/hello-world/package.json +1 -1
  22. package/templates/hello-world/src/index.ts +8 -0
  23. package/templates/starter/CHANGELOG.md +10 -0
  24. package/templates/starter/jest.config.js +8 -0
  25. package/templates/starter/package.json +3 -2
  26. package/templates/starter/src/modules/projects/projects.action.ts +203 -346
  27. package/templates/starter/src/modules/projects/projects.hook.ts +106 -263
  28. package/templates/starter/src/seed.ts +9 -1
  29. package/templates/starter/tsconfig.tsbuildinfo +1 -1
  30. package/templates/enterprise/__tests__/data-api.test.ts +0 -546
  31. package/templates/enterprise/__tests__/data-api.test.ts.backup +0 -526
  32. package/templates/enterprise/__tests__/metadata-api.test.ts +0 -307
  33. package/templates/enterprise/__tests__/metadata-loading.test.ts +0 -250
  34. package/templates/starter/__tests__/projects-hooks-actions.test.ts +0 -490
@@ -1,5 +1,13 @@
1
1
  # @example/hello-world
2
2
 
3
+ ## 4.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @objectql/core@4.0.1
9
+ - @objectql/driver-sql@4.0.1
10
+
3
11
  ## 3.0.1
4
12
 
5
13
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectql/example-hello-world",
3
- "version": "3.0.1",
3
+ "version": "4.0.1",
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,15 @@
1
1
  # @objectql/starter-basic
2
2
 
3
+ ## 4.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @objectql/core@4.0.1
9
+ - @objectql/driver-sql@4.0.1
10
+ - @objectql/platform-node@4.0.1
11
+ - @objectql/types@4.0.1
12
+
3
13
  ## 3.0.1
4
14
 
5
15
  ### 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
  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.1",
3
+ "version": "4.0.1",
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"