forgepress 0.0.1 → 0.0.2

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 (56) hide show
  1. package/dist/THIRD-PARTY-LICENSES.md +28 -83
  2. package/dist/_chunks/client.d.mts +1 -1
  3. package/dist/_chunks/config.mjs +61 -19
  4. package/dist/_chunks/{validate.mjs → content.mjs} +350 -217
  5. package/dist/_chunks/fetch.mjs +2 -2
  6. package/dist/_chunks/files.mjs +32 -0
  7. package/dist/_chunks/libs/diff.mjs +485 -0
  8. package/dist/_chunks/media.mjs +282 -0
  9. package/dist/_chunks/once.mjs +16 -0
  10. package/dist/_chunks/output.mjs +98 -252
  11. package/dist/_chunks/plugin.mjs +87 -0
  12. package/dist/_chunks/preview.mjs +248 -0
  13. package/dist/_chunks/project.d.mts +7 -0
  14. package/dist/_chunks/reader.mjs +5 -9
  15. package/dist/_chunks/reader2.mjs +150 -202
  16. package/dist/_chunks/references.mjs +8 -5
  17. package/dist/_chunks/resolve.d.mts +2 -0
  18. package/dist/_chunks/response.mjs +5 -0
  19. package/dist/_chunks/routes.mjs +9 -0
  20. package/dist/_chunks/serialize.mjs +82 -0
  21. package/dist/_chunks/settings.mjs +328 -0
  22. package/dist/_chunks/settings2.mjs +2 -0
  23. package/dist/_chunks/types.d.mts +229 -24
  24. package/dist/_chunks/types2.d.mts +25 -0
  25. package/dist/_chunks/value.mjs +123 -1
  26. package/dist/cli/bin.mjs +50 -37
  27. package/dist/editor/index.mjs +9961 -8653
  28. package/dist/index.d.mts +2 -3
  29. package/dist/index.mjs +14 -24
  30. package/dist/next/preview.d.mts +1 -0
  31. package/dist/next/preview.mjs +3 -0
  32. package/dist/next/reload.d.mts +1 -0
  33. package/dist/next/reload.mjs +20 -0
  34. package/dist/next/settings.d.mts +12 -0
  35. package/dist/next/settings.mjs +2 -0
  36. package/dist/plugin/next.d.mts +11 -0
  37. package/dist/plugin/next.mjs +213 -0
  38. package/dist/plugin/nuxt.d.mts +7 -0
  39. package/dist/plugin/nuxt.mjs +52 -0
  40. package/dist/plugin/watcher.d.mts +1 -0
  41. package/dist/plugin/watcher.mjs +23 -0
  42. package/dist/preview/index.d.mts +1 -2
  43. package/dist/preview/index.mjs +1 -243
  44. package/dist/preview/react.d.mts +1 -0
  45. package/dist/preview/react.mjs +34 -0
  46. package/dist/unplugin.d.mts +12 -17
  47. package/dist/unplugin.mjs +1 -500
  48. package/package.json +72 -8
  49. package/dist/_chunks/config.d.mts +0 -35
  50. package/dist/_chunks/entry.d.mts +0 -194
  51. package/dist/_chunks/libs/@oxc-project/types.d.mts +0 -1297
  52. package/dist/_chunks/libs/@rolldown/pluginutils.d.mts +0 -62
  53. package/dist/_chunks/libs/rolldown.d.mts +0 -4711
  54. package/dist/_chunks/output2.mjs +0 -333
  55. package/dist/_chunks/parse.mjs +0 -22
  56. package/dist/_chunks/types.mjs +0 -2
@@ -1,62 +0,0 @@
1
- //#region src/filter/composable-filters.d.ts
2
- type StringOrRegExp = string | RegExp;
3
- type PluginModuleType = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'text' | 'base64' | 'dataurl' | 'binary' | 'empty' | (string & {});
4
- type FilterExpression = And | Or | Not | Id | ImporterId | ModuleType | Code | Query;
5
- type TopLevelFilterExpression = Include | Exclude;
6
- declare class And {
7
- kind: 'and';
8
- args: FilterExpression[];
9
- constructor(...args: FilterExpression[]);
10
- }
11
- declare class Or {
12
- kind: 'or';
13
- args: FilterExpression[];
14
- constructor(...args: FilterExpression[]);
15
- }
16
- declare class Not {
17
- kind: 'not';
18
- expr: FilterExpression;
19
- constructor(expr: FilterExpression);
20
- }
21
- interface IdParams {
22
- cleanUrl?: boolean;
23
- }
24
- declare class Id {
25
- kind: 'id';
26
- pattern: StringOrRegExp;
27
- params: IdParams;
28
- constructor(pattern: StringOrRegExp, params?: IdParams);
29
- }
30
- declare class ImporterId {
31
- kind: 'importerId';
32
- pattern: StringOrRegExp;
33
- params: IdParams;
34
- constructor(pattern: StringOrRegExp, params?: IdParams);
35
- }
36
- declare class ModuleType {
37
- kind: 'moduleType';
38
- pattern: PluginModuleType;
39
- constructor(pattern: PluginModuleType);
40
- }
41
- declare class Code {
42
- kind: 'code';
43
- pattern: StringOrRegExp;
44
- constructor(expr: StringOrRegExp);
45
- }
46
- declare class Query {
47
- kind: 'query';
48
- key: string;
49
- pattern: StringOrRegExp | boolean;
50
- constructor(key: string, pattern: StringOrRegExp | boolean);
51
- }
52
- declare class Include {
53
- kind: 'include';
54
- expr: FilterExpression;
55
- constructor(expr: FilterExpression);
56
- }
57
- declare class Exclude {
58
- kind: 'exclude';
59
- expr: FilterExpression;
60
- constructor(expr: FilterExpression);
61
- }
62
- export { TopLevelFilterExpression };