@powerhousedao/ph-cli 5.0.1-staging.13 → 5.0.1-staging.15
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/dist/src/commands/migrate.d.ts +3 -0
- package/dist/src/commands/migrate.d.ts.map +1 -0
- package/dist/src/commands/migrate.js +8 -0
- package/dist/src/commands/migrate.js.map +1 -0
- package/dist/src/commands/register-commands.d.ts.map +1 -1
- package/dist/src/commands/register-commands.js +2 -0
- package/dist/src/commands/register-commands.js.map +1 -1
- package/dist/src/services/generate.d.ts +4 -0
- package/dist/src/services/generate.d.ts.map +1 -1
- package/dist/src/services/generate.js +13 -1
- package/dist/src/services/generate.js.map +1 -1
- package/dist/src/services/migrate/migrate.d.ts +3 -0
- package/dist/src/services/migrate/migrate.d.ts.map +1 -0
- package/dist/src/services/migrate/migrate.js +282 -0
- package/dist/src/services/migrate/migrate.js.map +1 -0
- package/dist/src/services/migrate/migrations/templates/document-models.d.ts +2 -0
- package/dist/src/services/migrate/migrations/templates/document-models.d.ts.map +1 -0
- package/dist/src/services/migrate/migrations/templates/document-models.js +6 -0
- package/dist/src/services/migrate/migrations/templates/document-models.js.map +1 -0
- package/dist/src/services/migrate/migrations/templates/editors.d.ts +2 -0
- package/dist/src/services/migrate/migrations/templates/editors.d.ts.map +1 -0
- package/dist/src/services/migrate/migrations/templates/editors.js +6 -0
- package/dist/src/services/migrate/migrations/templates/editors.js.map +1 -0
- package/dist/src/services/migrate/migrations/templates/index.d.ts +2 -0
- package/dist/src/services/migrate/migrations/templates/index.d.ts.map +1 -0
- package/dist/src/services/migrate/migrations/templates/index.js +7 -0
- package/dist/src/services/migrate/migrations/templates/index.js.map +1 -0
- package/dist/src/services/migrate/migrations/templates/packageJson.d.ts +55 -0
- package/dist/src/services/migrate/migrations/templates/packageJson.d.ts.map +1 -0
- package/dist/src/services/migrate/migrations/templates/packageJson.js +55 -0
- package/dist/src/services/migrate/migrations/templates/packageJson.js.map +1 -0
- package/dist/src/services/migrate/migrations/templates/tsConfig.d.ts +2 -0
- package/dist/src/services/migrate/migrations/templates/tsConfig.d.ts.map +1 -0
- package/dist/src/services/migrate/migrations/templates/tsConfig.js +45 -0
- package/dist/src/services/migrate/migrations/templates/tsConfig.js.map +1 -0
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -8
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const tsConfigTemplate = "\n{\n // Visit https://aka.ms/tsconfig to read more about this file\n \"compilerOptions\": {\n // File Layout\n \"outDir\": \"./dist\",\n \"rootDir\": \".\",\n // Environment Settings\n // See also https://aka.ms/tsconfig/module\n \"module\": \"nodenext\",\n \"target\": \"esnext\",\n \"types\": [\"node\", \"vitest/globals\"],\n \"lib\": [\"ESNext\", \"dom\", \"dom.iterable\"],\n\n // Other Outputs\n \"sourceMap\": false,\n \"declaration\": true,\n \"declarationMap\": true,\n\n // Stricter Typechecking Options\n // \"noUncheckedIndexedAccess\": true,\n // \"exactOptionalPropertyTypes\": true,\n\n // Style Options\n // \"noImplicitReturns\": true,\n // \"noImplicitOverride\": true,\n // \"noUnusedLocals\": true,\n // \"noUnusedParameters\": true,\n // \"noFallthroughCasesInSwitch\": true,\n // \"noPropertyAccessFromIndexSignature\": true,\n\n // Recommended Options\n \"strict\": true,\n \"jsx\": \"react-jsx\",\n \"verbatimModuleSyntax\": true,\n \"isolatedModules\": true,\n \"noUncheckedSideEffectImports\": true,\n \"moduleDetection\": \"force\",\n \"skipLibCheck\": true\n },\n \"include\": [\"**/*\", \"./powerhouse.manifest.json\"],\n \"exclude\": [\"dist\", \"node_modules\", \".ph\"]\n}\n";
|
|
2
|
+
//# sourceMappingURL=tsConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsConfig.d.ts","sourceRoot":"","sources":["../../../../../../src/services/migrate/migrations/templates/tsConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,8xCA2C5B,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const tsConfigTemplate = `
|
|
2
|
+
{
|
|
3
|
+
// Visit https://aka.ms/tsconfig to read more about this file
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
// File Layout
|
|
6
|
+
"outDir": "./dist",
|
|
7
|
+
"rootDir": ".",
|
|
8
|
+
// Environment Settings
|
|
9
|
+
// See also https://aka.ms/tsconfig/module
|
|
10
|
+
"module": "nodenext",
|
|
11
|
+
"target": "esnext",
|
|
12
|
+
"types": ["node", "vitest/globals"],
|
|
13
|
+
"lib": ["ESNext", "dom", "dom.iterable"],
|
|
14
|
+
|
|
15
|
+
// Other Outputs
|
|
16
|
+
"sourceMap": false,
|
|
17
|
+
"declaration": true,
|
|
18
|
+
"declarationMap": true,
|
|
19
|
+
|
|
20
|
+
// Stricter Typechecking Options
|
|
21
|
+
// "noUncheckedIndexedAccess": true,
|
|
22
|
+
// "exactOptionalPropertyTypes": true,
|
|
23
|
+
|
|
24
|
+
// Style Options
|
|
25
|
+
// "noImplicitReturns": true,
|
|
26
|
+
// "noImplicitOverride": true,
|
|
27
|
+
// "noUnusedLocals": true,
|
|
28
|
+
// "noUnusedParameters": true,
|
|
29
|
+
// "noFallthroughCasesInSwitch": true,
|
|
30
|
+
// "noPropertyAccessFromIndexSignature": true,
|
|
31
|
+
|
|
32
|
+
// Recommended Options
|
|
33
|
+
"strict": true,
|
|
34
|
+
"jsx": "react-jsx",
|
|
35
|
+
"verbatimModuleSyntax": true,
|
|
36
|
+
"isolatedModules": true,
|
|
37
|
+
"noUncheckedSideEffectImports": true,
|
|
38
|
+
"moduleDetection": "force",
|
|
39
|
+
"skipLibCheck": true
|
|
40
|
+
},
|
|
41
|
+
"include": ["**/*", "./powerhouse.manifest.json"],
|
|
42
|
+
"exclude": ["dist", "node_modules", ".ph"]
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
//# sourceMappingURL=tsConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsConfig.js","sourceRoot":"","sources":["../../../../../../src/services/migrate/migrations/templates/tsConfig.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C/B,CAAC"}
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "5.0.1-staging.
|
|
1
|
+
export declare const version = "5.0.1-staging.14";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/src/version.js
CHANGED