refactor: internal packages structure (#94)

* refactor: internal packages structure

* refactor: internal packages structure
This commit is contained in:
Christoffer Åström
2019-08-27 09:57:04 +02:00
committed by GitHub
parent 45eae91837
commit a57abf1ead
144 changed files with 38 additions and 40 deletions

View File

@@ -52,7 +52,7 @@ jobs:
- run:
name: Import app
command: |
DocId=$(curl -s --data-binary @packages/serve/data/apps/ctrl00.qvf http://localhost:9076/v1/apps/import | jq -r '.attributes.id')
DocId=$(curl -s --data-binary @commands/serve/data/apps/ctrl00.qvf http://localhost:9076/v1/apps/import | jq -r '.attributes.id')
echo "export DOC_ID=$DocId" >> $BASH_ENV
- run:
@@ -71,7 +71,7 @@ jobs:
name: Create a picasso barchart supernova project from current commit
command: |
set -e
./packages/cli/lib/index.js create generated/barchart --picasso barchart --no-install
./commands/cli/lib/index.js create generated/barchart --picasso barchart --no-install
yarn
cd generated/barchart
npm i picasso.js picasso-plugin-q

View File

@@ -1,4 +1,4 @@
const create = require('./lib');
const create = require('./lib/create');
module.exports = {
command: 'create <name>',
@@ -28,7 +28,7 @@ module.exports = {
description: 'Package author',
});
},
async handler(argv) {
handler(argv) {
create(argv);
},
};

View File

@@ -8,6 +8,7 @@
"publishConfig": {
"access": "public"
},
"main": "lib/create.js",
"repository": {
"type": "git",
"url": "https://github.com/qlik-oss/nebula.js.git"

Some files were not shown because too many files have changed in this diff Show More