@h3ravel/arquebus 0.6.5 → 0.6.7

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 (47) hide show
  1. package/README.md +5 -4
  2. package/package.json +4 -3
  3. package/bin/index.cjs +0 -5964
  4. package/bin/index.d.cts +0 -1
  5. package/bin/index.d.ts +0 -1
  6. package/bin/index.js +0 -5960
  7. package/bin/seeders-8GJzfIIN.js +0 -3
  8. package/bin/seeders-ByeSoCAQ.cjs +0 -131
  9. package/bin/seeders-CltigymO.js +0 -79
  10. package/bin/seeders-_xJ6VGVS.cjs +0 -3
  11. package/dist/browser/index.cjs +0 -1271
  12. package/dist/browser/index.d.cts +0 -4932
  13. package/dist/browser/index.d.ts +0 -4932
  14. package/dist/browser/index.js +0 -1218
  15. package/dist/index.cjs +0 -5750
  16. package/dist/index.d.cts +0 -5129
  17. package/dist/index.d.ts +0 -5129
  18. package/dist/index.js +0 -5679
  19. package/dist/inspector/index.cjs +0 -4961
  20. package/dist/inspector/index.d.cts +0 -83
  21. package/dist/inspector/index.d.ts +0 -83
  22. package/dist/inspector/index.js +0 -4932
  23. package/dist/migrations/chunk-PECeCxCb.js +0 -15
  24. package/dist/migrations/index.cjs +0 -5507
  25. package/dist/migrations/index.d.cts +0 -4965
  26. package/dist/migrations/index.d.ts +0 -4962
  27. package/dist/migrations/index.js +0 -5454
  28. package/dist/migrations/stubs/migration-js.stub +0 -21
  29. package/dist/migrations/stubs/migration-ts.stub +0 -18
  30. package/dist/migrations/stubs/migration.create-js.stub +0 -24
  31. package/dist/migrations/stubs/migration.create-ts.stub +0 -21
  32. package/dist/migrations/stubs/migration.update-js.stub +0 -25
  33. package/dist/migrations/stubs/migration.update-ts.stub +0 -22
  34. package/dist/seeders/index.cjs +0 -141
  35. package/dist/seeders/index.d.cts +0 -4766
  36. package/dist/seeders/index.d.ts +0 -4766
  37. package/dist/seeders/index.js +0 -118
  38. package/dist/seeders/index.ts +0 -3
  39. package/dist/seeders/runner.ts +0 -101
  40. package/dist/seeders/seeder-creator.ts +0 -42
  41. package/dist/seeders/seeder.ts +0 -10
  42. package/dist/stubs/arquebus.config-js.stub +0 -25
  43. package/dist/stubs/arquebus.config-ts.stub +0 -24
  44. package/dist/stubs/model-js.stub +0 -5
  45. package/dist/stubs/model-ts.stub +0 -5
  46. package/dist/stubs/seeder-js.stub +0 -13
  47. package/dist/stubs/seeder-ts.stub +0 -9
package/README.md CHANGED
@@ -101,14 +101,15 @@ await user.load('posts');
101
101
  - Seeder class example (TypeScript):
102
102
 
103
103
  ```ts
104
- import { Seeder } from '@h3ravel/arquebus';
105
- import type QueryBuilder from '@h3ravel/arquebus/types/query-builder';
104
+ import type { QueryBuilder } from '@h3ravel/arquebus'
105
+ import { Seeder } from '@h3ravel/arquebus'
106
106
 
107
- export default class UsersSeeder extends Seeder {
107
+ export default class {{ name }} extends Seeder {
108
108
  async run(connection: QueryBuilder) {
109
- await connection.table('users').insert({ name: 'Alice' });
109
+ await connection.table('users').insert({ name: 'John Doe' })
110
110
  }
111
111
  }
112
+
112
113
  ```
113
114
 
114
115
  Seeders execute with the same connection setup as migrations. The CLI resolves paths from `--basePath` and `--path` and loads seeders from `.ts`/`.js` files exporting a default class with a `run` method.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/arquebus",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Arquebus ORM is a Beautiful, expressive ORM inspired by Laravel's Eloquent, designed for TypeScript applications and for the H3ravel Framework.",
5
5
  "homepage": "https://h3ravel.toneflix.net/arquebus",
6
6
  "bin": {
@@ -134,10 +134,11 @@
134
134
  ]
135
135
  },
136
136
  "dependencies": {
137
- "@h3ravel/shared": "^0.20.13",
138
- "@h3ravel/support": "^0.12.0",
137
+ "@h3ravel/shared": "^0.27.0",
138
+ "@h3ravel/support": "^0.15.0",
139
139
  "barrelize": "^1.6.4",
140
140
  "chalk": "^5.6.2",
141
+ "chokidar": "^4.0.1",
141
142
  "collect.js": "^4.36.1",
142
143
  "commander": "^14.0.1",
143
144
  "cross-env": "^10.0.0",