mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
refactor: internal packages structure (#94)
* refactor: internal packages structure * refactor: internal packages structure
This commit is contained in:
committed by
GitHub
parent
45eae91837
commit
a57abf1ead
@@ -52,7 +52,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Import app
|
name: Import app
|
||||||
command: |
|
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
|
echo "export DOC_ID=$DocId" >> $BASH_ENV
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
name: Create a picasso barchart supernova project from current commit
|
name: Create a picasso barchart supernova project from current commit
|
||||||
command: |
|
command: |
|
||||||
set -e
|
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
|
yarn
|
||||||
cd generated/barchart
|
cd generated/barchart
|
||||||
npm i picasso.js picasso-plugin-q
|
npm i picasso.js picasso-plugin-q
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const create = require('./lib');
|
const create = require('./lib/create');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
command: 'create <name>',
|
command: 'create <name>',
|
||||||
@@ -28,7 +28,7 @@ module.exports = {
|
|||||||
description: 'Package author',
|
description: 'Package author',
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
async handler(argv) {
|
handler(argv) {
|
||||||
create(argv);
|
create(argv);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
"main": "lib/create.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/qlik-oss/nebula.js.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
Reference in New Issue
Block a user