Skip to content

Commit

Permalink
Merge branch '1.x-sprint23-npm_local' into 1.x-sprint23
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed Nov 2, 2021
2 parents 413a6ac + 13c9d90 commit 343b91a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"build:docs-setup": "node scripts/build-tl-components-docs.js",
"build:docs-usage": "wvr-ud",
"build:docker": "node scripts/build-docker.js",
"build:npm-local": "node scripts/npm-local.js",
"build:static": "npm run build:static-docs && npm run build:static-reports",
"build:static-setup": "node scripts/build-tl-components-static.js",
"build:static-docs": "npm run test:audit && npm run build:static-setup && npm run build:docs-setup && npm run build:docs-development && npm run build:docs-usage",
Expand Down
16 changes: 16 additions & 0 deletions scripts/npm-local.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env node

const fs = require('fs-extra');
const shell = require('shelljs')
const angularCli = require('@angular/cli');
const elementsPath = 'dist/tl-elements';

shell.exec('npm --registry http://localhost:4873 install --no-save @wvr/elements');

angularCli.default({
cliArgs: ['b'],
inputStream: process.stdin,
outputStream: process.stdout
}).then(c => {
shell.exit();
});

0 comments on commit 343b91a

Please sign in to comment.