zerotal 1.7.5 → 1.8.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 (2) hide show
  1. package/api-surface.md +29 -0
  2. package/package.json +12 -12
package/api-surface.md CHANGED
@@ -3911,6 +3911,34 @@ class TestCommand = {
3911
3911
  write: (msg: string) => void
3912
3912
  }
3913
3913
 
3914
+ class UpgradeCommand = {
3915
+ new (): UpgradeCommand
3916
+ static args: ArgDef[]
3917
+ static commandName: string
3918
+ static description: string
3919
+ static flags: ({ name: string; type: 'string'; description: string; default: string; short?: never;} | { name: string; short: string; type: 'boolean'; description: string; default: boolean;} | { name: string; short: string; type: 'string'; description: string; default: string;})[]
3920
+ static needsApp: boolean
3921
+ _readLine: () => Promise<string>
3922
+ _writer: OutputWriter
3923
+ app: unknown
3924
+ args: Record<string, string>
3925
+ ask: (question: string, defaultValue?: string) => Promise<string>
3926
+ choice: (question: string, options: string[]) => Promise<string>
3927
+ confirm: (question: string, defaultValue?: boolean) => Promise<boolean>
3928
+ dim: (msg: string) => void
3929
+ error: (msg: string) => void
3930
+ flags: Record<string, string | number | boolean>
3931
+ info: (msg: string) => void
3932
+ line: (msg: string) => void
3933
+ newLine: () => void
3934
+ run: () => Promise<void>
3935
+ secret: (question: string) => Promise<string>
3936
+ section: (title: string) => void
3937
+ table: (rows: [string, string][], indent?: number) => void
3938
+ warn: (msg: string) => void
3939
+ write: (msg: string) => void
3940
+ }
3941
+
3914
3942
  class WorkerCommand = {
3915
3943
  new (): WorkerCommand
3916
3944
  static aliases: string[]
@@ -4150,6 +4178,7 @@ function registerDevHtmlSnippet = (name: string, fn: DevHtmlSnippet) => void
4150
4178
  function startDevMode = (options: StartDevModeOptions) => Promise<void>
4151
4179
 
4152
4180
  interface AssetBuildConfig = {
4181
+ clean?: boolean
4153
4182
  entrypoint: string | string[]
4154
4183
  loader?: Record<string, string>
4155
4184
  minify: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zerotal",
3
- "version": "1.7.5",
3
+ "version": "1.8.0",
4
4
  "license": "MIT",
5
5
  "maturity": "stable",
6
6
  "private": false,
@@ -61,17 +61,17 @@
61
61
  "typecheck": "tsc --noEmit"
62
62
  },
63
63
  "dependencies": {
64
- "@zerotal/auth": "1.7.5",
65
- "@zerotal/cache": "1.7.5",
66
- "@zerotal/client": "1.7.5",
67
- "@zerotal/core": "1.7.5",
68
- "@zerotal/media": "1.7.5",
69
- "@zerotal/orm": "1.7.5",
70
- "@zerotal/queue": "1.7.5",
71
- "@zerotal/scheduler": "1.7.5",
72
- "@zerotal/session": "1.7.5",
73
- "@zerotal/testing": "1.7.5",
74
- "@zerotal/validator": "1.7.5"
64
+ "@zerotal/auth": "1.8.0",
65
+ "@zerotal/cache": "1.8.0",
66
+ "@zerotal/client": "1.8.0",
67
+ "@zerotal/core": "1.8.0",
68
+ "@zerotal/media": "1.8.0",
69
+ "@zerotal/orm": "1.8.0",
70
+ "@zerotal/queue": "1.8.0",
71
+ "@zerotal/scheduler": "1.8.0",
72
+ "@zerotal/session": "1.8.0",
73
+ "@zerotal/testing": "1.8.0",
74
+ "@zerotal/validator": "1.8.0"
75
75
  },
76
76
  "devDependencies": {
77
77
  "typescript": "^5.8.0"