Skip to content

Commit

Permalink
Initial work to add support back for local and latest scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Schulte committed Dec 18, 2018
1 parent 6061605 commit 066761e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .scripts/latest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { changeClonedDependenciesTo } from "@ts-common/azure-js-dev-tools";

changeClonedDependenciesTo(__dirname, "latest");
3 changes: 3 additions & 0 deletions .scripts/local.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { changeClonedDependenciesTo } from "@ts-common/azure-js-dev-tools";

changeClonedDependenciesTo(__dirname, "local");
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
],
"license": "MIT",
"dependencies": {
"@azure/ms-rest-js": "^1.2.0",
"@azure/ms-rest-js": "^1.2.3",
"tslib": "^1.9.2"
},
"devDependencies": {
"@ts-common/azure-js-dev-tools": "^0.4.9",
"@ts-common/azure-js-dev-tools": "file:C:/Users/daschult/Sources/azure-js-dev-tools",
"@types/chai": "^4.1.4",
"@types/mocha": "^5.2.1",
"@types/node": "^10.9.4",
Expand Down Expand Up @@ -104,8 +104,8 @@
"test:coverage": "npm run test && opn coverage/index.html",
"prepack": "npm install && npm run build",
"publish-preview": "npm test && shx rm -rf dist/test && node ./.scripts/publish",
"local": "npm explore @ts-common/azure-js-dev-tools -- npm run local",
"latest": "npm explore @ts-common/azure-js-dev-tools -- npm run latest",
"local": "ts-node ./.scripts/local.ts",
"latest": "ts-node ./.scripts/latest.ts",
"check:packagejsonversion": "ts-node ./.scripts/checkPackageJsonVersion.ts"
},
"sideEffects": false
Expand Down

0 comments on commit 066761e

Please sign in to comment.