Skip to content

Commit

Permalink
updated index (#3)
Browse files Browse the repository at this point in the history
* added test function

* adjusting core files

* updated to dataform 2.0.0

* updated index
  • Loading branch information
zbrak authored Jun 20, 2023
1 parent 6fc2084 commit 9c4509f
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 57 deletions.
7 changes: 0 additions & 7 deletions definitions/example.js

This file was deleted.

9 changes: 0 additions & 9 deletions environments.json

This file was deleted.

8 changes: 2 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
// TODO: import files from includes
// const file_one = require("./includes/file_one");
const df_utils = require("./includes/df_utils");
// const file_two = require("./includes/file_two");

module.exports = (params) => {

params = {
// TODO: set default params

...params
};

// Publish and return datasets.
let result = {
// TODO: update files to call with params
// file_one: file_one(params),
df_utils: df_utils(params),
// file_two: file_two(params)
};

Expand Down
238 changes: 204 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"@dataform/core": "1.11.0"
"@dataform/core": "2.0.0"
}
}

0 comments on commit 9c4509f

Please sign in to comment.