@powerhousedao/codegen 0.0.5 → 0.0.6
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.
|
@@ -3,9 +3,9 @@ to: "<%= rootDir %>/<%= h.changeCase.param(documentType) %>/index.ts"
|
|
|
3
3
|
force: true
|
|
4
4
|
---
|
|
5
5
|
/**
|
|
6
|
-
* This is a scaffold file meant for customization.
|
|
7
|
-
* Delete the file and run the code generator again to have it reset
|
|
8
|
-
*/
|
|
6
|
+
* This is a scaffold file meant for customization.
|
|
7
|
+
* Delete the file and run the code generator again to have it reset
|
|
8
|
+
*/
|
|
9
9
|
|
|
10
10
|
import { actions as BaseActions, DocumentModel } from 'document-model/document';
|
|
11
11
|
import { actions as <%= h.changeCase.pascal(documentType) %>Actions, <%= h.changeCase.pascal(documentType) %> } from './gen';
|
|
@@ -28,17 +28,10 @@ export const module: DocumentModel<
|
|
|
28
28
|
reducer,
|
|
29
29
|
actions,
|
|
30
30
|
utils,
|
|
31
|
-
documentModel
|
|
31
|
+
documentModel,
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
export {
|
|
35
|
-
<%= h.changeCase.pascal(documentType) %>,
|
|
36
|
-
Document,
|
|
37
|
-
reducer,
|
|
38
|
-
actions,
|
|
39
|
-
utils,
|
|
40
|
-
documentModel
|
|
41
|
-
}
|
|
34
|
+
export { <%= h.changeCase.pascal(documentType) %>, Document, reducer, actions, utils, documentModel }
|
|
42
35
|
|
|
43
36
|
export * from './gen/types';
|
|
44
|
-
export * from './src/utils';
|
|
37
|
+
export * from './src/utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/codegen",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"clean": "rimraf dist/",
|
|
17
17
|
"copy-files": "copyfiles -u 1 src/codegen/.hygen/templates/**/*.esm.t dist/",
|
|
18
18
|
"build": "yarn clean && tsc && yarn copy-files",
|
|
19
|
+
"prepublishOnly": "yarn build",
|
|
19
20
|
"build:create-lib": "tsc --project src/create-lib/tsconfig.json",
|
|
20
21
|
"publish:create-lib": "yarn publish --cwd ./src/create-lib/",
|
|
21
22
|
"start": "ts-node src/cli.ts",
|