Skip to content

Commit

Permalink
Changed link scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremythuff committed Sep 2, 2021
1 parent 5275073 commit 6828cff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"publish:docker": "node scripts/docker-push.js",
"publish:npm": "npm run build && node scripts/build-publish.js $1",
"publish:npm-next": "npm run publish:npm next",
"link": "node scripts/link-wvr.js",
"link:self": "node scripts/link-self.js",
"link": "node scripts/link-self.js",
"link:self": "npm run build && npm link ./dist/tl-elements && ng b --project=tl-elements",
"lint": "ng lint",
"ng": "ng",
"start": "node ./scripts/build-tl-components-configuration.js defaults-dev-overrides.env && ng serve --port 3000",
Expand Down
6 changes: 1 addition & 5 deletions scripts/link-self.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const shell = require('shelljs')
const angularCli = require('@angular/cli');
const elementsPath = 'dist/tl-elements';

const next = process.argv[2] ? '--tag next' : '';

angularCli.default({
cliArgs: ['b', '--project=tl-elements'],
inputStream: process.stdin,
Expand All @@ -15,8 +13,6 @@ angularCli.default({
fs.copySync('projects/tl-elements/src/lib/shared/styles', `${elementsPath}/styles`);
fs.copySync('scripts', `${elementsPath}/scripts`);
fs.copySync('.wvr-ud', `${elementsPath}/.wvr-ud`);
shell
.cd(elementsPath)
.exec('npm link');
shell.exec(`npm link ./${elementsPath}`);
shell.exit();
});

0 comments on commit 6828cff

Please sign in to comment.