create-astratra-app 1.12.1 → 1.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astratra-app",
3
- "version": "1.12.1",
3
+ "version": "1.13.0",
4
4
  "description": "CLI generator for new Astratra SaaS applications.",
5
5
  "engines": {
6
6
  "node": ">=22"
@@ -14,9 +14,6 @@
14
14
  "src",
15
15
  "templates"
16
16
  ],
17
- "scripts": {
18
- "test": "node --test __tests__/*.test.js"
19
- },
20
17
  "keywords": [
21
18
  "astratra",
22
19
  "create",
@@ -26,5 +23,8 @@
26
23
  "license": "MIT",
27
24
  "publishConfig": {
28
25
  "access": "public"
26
+ },
27
+ "scripts": {
28
+ "test": "node --test __tests__/*.test.js"
29
29
  }
30
- }
30
+ }
package/src/bricks.js CHANGED
@@ -22,7 +22,7 @@ const FULLSTACK_ONLY = new Set(['client', 'prerender']);
22
22
  const BRICKS = {
23
23
  credentials: {
24
24
  package: '@astratra/credentials',
25
- version: '^1.2.0',
25
+ version: '^1.2.1',
26
26
  summary: 'clés de service chiffrées en base, modifiables sans redémarrage',
27
27
  file: 'api/bricks/credentials.js',
28
28
  contents: () => `import { createFieldCipher } from '@astratra/security';
@@ -104,7 +104,7 @@ export const tenants = createTenantScope({
104
104
 
105
105
  notify: {
106
106
  package: '@astratra/notify',
107
- version: '^1.2.0',
107
+ version: '^1.3.0',
108
108
  summary: 'e-mail, SMS et notifications poussées, transport injecté',
109
109
  file: 'api/bricks/notify.js',
110
110
  contents: () => `import { createCaptureChannel, createMailer, renderEmail, renderText } from '@astratra/notify';
@@ -68,10 +68,10 @@ function assertCanCreate(targetDir, force) {
68
68
 
69
69
  function packageJson(projectName, template, bricks = []) {
70
70
  const dependencies = {
71
- '@astratra/ai': '^2.0.0',
72
- '@astratra/core': '^1.2.0',
73
- '@astratra/saas-kit': '^2.1.0',
74
- '@astratra/security': '^1.15.0'
71
+ '@astratra/ai': '^2.0.1',
72
+ '@astratra/core': '^1.3.0',
73
+ '@astratra/saas-kit': '^3.0.0',
74
+ '@astratra/security': '^1.18.0'
75
75
  };
76
76
  // Scaffolded (api/stores/mongo.js, api/db/mongo.js) but not wired into
77
77
  // api/server.js by default — the project starts on the in-memory store.