@powerhousedao/codegen 5.3.0-staging.1 → 6.0.0-dev.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.html.d.ts","sourceRoot":"","sources":["../../../../src/templates/boilerplate/index.html.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,QA8BzB,CAAC"}
1
+ {"version":3,"file":"index.html.d.ts","sourceRoot":"","sources":["../../../../src/templates/boilerplate/index.html.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,QA4Bf,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { html } from "@tmpl/core";
2
- export const indexHtmlTemplate = html `
3
- <!DOCTYPE html>
2
+ export const indexHtmlTemplate = html `<!DOCTYPE html>
4
3
  <html lang="en">
5
4
  <head>
6
5
  <meta charset="UTF-8" />
@@ -28,6 +27,5 @@ export const indexHtmlTemplate = html `
28
27
  import "@powerhousedao/connect/main.js";
29
28
  </script>
30
29
  </body>
31
- </html>
32
- `.raw;
30
+ </html> `.raw;
33
31
  //# sourceMappingURL=index.html.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.html.js","sourceRoot":"","sources":["../../../../src/templates/boilerplate/index.html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BpC,CAAC,GAAG,CAAC"}
1
+ {"version":3,"file":"index.html.js","sourceRoot":"","sources":["../../../../src/templates/boilerplate/index.html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA4B1B,CAAC,GAAG,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { ts } from "@tmpl/core";
2
- export const indexTsTemplate = ts `
3
- import type { Manifest } from "document-model";
2
+ export const indexTsTemplate = ts `import type { Manifest } from "document-model";
4
3
  import manifestJson from "./powerhouse.manifest.json" with { type: "json" };
5
4
  export { documentModels } from "./document-models/document-models.js";
6
5
  export { editors } from "./editors/editors.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/templates/boilerplate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC;AAEhC,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,CAAA;;;;;;CAMhC,CAAC,GAAG,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/templates/boilerplate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC;AAEhC,MAAM,CAAC,MAAM,eAAe,GAC1B,EAAE,CAAA;;;;;CAKH,CAAC,GAAG,CAAC"}
@@ -52,7 +52,7 @@ const scriptsTemplate = json `
52
52
  `;
53
53
  const dependenciesTemplate = (versionedDependencies) => json `
54
54
  ${versionedDependencies.join(",\n")},
55
- "@powerhousedao/document-engineering": "^1.38.0",
55
+ "@powerhousedao/document-engineering": "1.40.1",
56
56
  "graphql": "^16.10.0",
57
57
  "graphql-tag": "^2.12.6",
58
58
  "zod": "^4.3.5"
@@ -6,7 +6,7 @@ export const packageJsonScriptsTemplate = {
6
6
  "lint:fix": "npm run lint -- --fix",
7
7
  tsc: "tsc",
8
8
  "tsc:watch": "tsc --watch",
9
- tailwind: "npx @tailwindcss/cli -i ./style.css -o ./dist/style.css",
9
+ tailwind: "pnpm exec tailwindcss -i ./style.css -o ./dist/style.css",
10
10
  prepublishOnly: "npm run build",
11
11
  "check-circular-imports": "npx dpdm -T ./index.ts",
12
12
  generate: "ph-cli generate",
@@ -1 +1 @@
1
- {"version":3,"file":"package.json.legacy.js","sourceRoot":"","sources":["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AC"}
1
+ {"version":3,"file":"package.json.legacy.js","sourceRoot":"","sources":["../../../../src/templates/boilerplate/package.json.legacy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,KAAK,EAAE,iCAAiC;IACxC,IAAI,EAAE,YAAY;IAClB,YAAY,EAAE,QAAQ;IACtB,IAAI,EAAE,mEAAmE;IACzE,UAAU,EAAE,uBAAuB;IACnC,GAAG,EAAE,KAAK;IACV,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,0DAA0D;IACpE,cAAc,EAAE,eAAe;IAC/B,wBAAwB,EAAE,wBAAwB;IAClD,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,KAAK,EAAE,cAAc;IACrB,OAAO,EAAE,gBAAgB;IACzB,iBAAiB,EACf,2EAA2E;IAC7E,mBAAmB,EACjB,6EAA6E;CAChF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,GAAG,EAAE;QACH,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,iBAAiB;KAC3B;IACD,mBAAmB,EAAE;QACnB,KAAK,EAAE,mCAAmC;QAC1C,OAAO,EAAE,iCAAiC;KAC3C;IACD,WAAW,EAAE;QACX,KAAK,EAAE,2BAA2B;QAClC,OAAO,EAAE,yBAAyB;KACnC;IACD,qBAAqB,EAAE;QACrB,KAAK,EAAE,qCAAqC;QAC5C,OAAO,EAAE,mCAAmC;KAC7C;IACD,aAAa,EAAE;QACb,KAAK,EAAE,6BAA6B;QACpC,OAAO,EAAE,2BAA2B;KACrC;IACD,aAAa,EAAE;QACb,KAAK,EAAE,6BAA6B;QACpC,OAAO,EAAE,2BAA2B;KACrC;IACD,cAAc,EAAE;QACd,KAAK,EAAE,8BAA8B;QACrC,OAAO,EAAE,4BAA4B;KACtC;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,iCAAiC;KAC3C;IACD,aAAa,EAAE,kBAAkB;CAClC,CAAC"}
@@ -3,7 +3,7 @@ export const documentEditorModuleFileTemplate = (v) => tsx `
3
3
  import type { EditorModule } from "document-model";
4
4
  import { lazy } from "react";
5
5
 
6
- /** Document editor module for the Todo List document type */
6
+ /** Document editor module for the "${v.documentTypes}" document type */
7
7
  export const ${v.pascalCaseEditorName}: EditorModule = {
8
8
  Component: lazy(() => import("./editor.js")),
9
9
  documentTypes: ${v.documentTypes},
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../../../../src/templates/document-editor/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAKhD,EAAE,EAAE,CACH,GAAG,CAAA;;;;;eAKU,CAAC,CAAC,oBAAoB;;qBAEhB,CAAC,CAAC,aAAa;;eAErB,CAAC,CAAC,QAAQ;iBACR,CAAC,CAAC,UAAU;;;CAG5B,CAAC,GAAG,CAAC"}
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../../../src/templates/document-editor/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAKhD,EAAE,EAAE,CACH,GAAG,CAAA;;;;sCAIiC,CAAC,CAAC,aAAa;eACtC,CAAC,CAAC,oBAAoB;;qBAEhB,CAAC,CAAC,aAAa;;eAErB,CAAC,CAAC,QAAQ;iBACR,CAAC,CAAC,UAAU;;;CAG5B,CAAC,GAAG,CAAC"}