FixtureJS
Tool for creating projects inside GoodData platform programmatically in node.js
Usage
-
Add package to your project
Using npm
npm install @gooddata/fixtures
Using yarn
yarn add @gooddata/fixtures
-
Import the module inside your project
import { createFixture } from '@gooddata/fixtures';
-
Use the createFixture function
createFixture(basePath, username, password, hostname, authorizationToken, projectTitle)
Development
Install Node.js (node 12.16.1, npm v6.13.4) and Yarn 1.22.4.
Install dependencies:
yarn install --frozen-lockfile
Release
- Switch to master branch
git checkout master
- Synchronize from upstream
git tag -l | xargs git tag -d; git fetch upstream; git reset --hard upstream/master
- Create new version
npm version [major|minor|patch] -m "Release v%s"
- Push to upstream
git push --tags upstream master
- Release
npm publish --access=restricted