Skip to content

Commit 4c7e257

Browse files
chore(scripts): Use uirouter/publish-scripts
1 parent b3c3476 commit 4c7e257

9 files changed

+41
-274
lines changed
File renamed without changes.

package.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"clean": "shx rm -rf lib lib-esm _bundles _dec",
77
"compile": "npm run clean && ngc",
88
"bundle": "rollup -c && rollup -c --environment MINIFY",
9-
"build": "npm run compile && npm run bundle",
9+
"fixmaps": "modify_sourcemap_paths",
10+
"build": "npm run compile && npm run bundle && npm run fixmaps",
11+
"release": "release",
1012
"travis": "npm run build && npm run noimplicitany && npm run test",
1113
"test": "karma start",
1214
"noimplicitany": "tsc --noEmit --noImplicitAny --moduleResolution node --target es6 test/noimplicitany.ts",
@@ -15,9 +17,8 @@
1517
"docs": "typedoc --tsconfig tsconfig.typedoc.json --readme README.md --name '@uirouter/angular' --theme node_modules/ui-router-typedoc-themes/bin/default --out _doc --internal-aliases internal,coreapi,ng2api --external-aliases internalapi,external --navigation-label-globals @uirouter/angular",
1618
"publishdocs": "npm run docs && node --harmony scripts/publishdocs.js",
1719
"prepare": "npm run build",
18-
"changelog": "node scripts/update_changelog.js",
19-
"release": "node scripts/release.js",
20-
"artifacts": "node scripts/artifact_tagging.js"
20+
"changelog": "update_changelog",
21+
"artifacts": "artifact_tagging"
2122
},
2223
"homepage": "https://ui-router.github.io/ng2",
2324
"contributors": [
@@ -67,6 +68,7 @@
6768
"@angular/router": "^4.0.0",
6869
"@types/jasmine": "^2.2.34",
6970
"@types/jquery": "^1.10.31",
71+
"@uirouter/publish-scripts": "^1.0.4",
7072
"awesome-typescript-loader": "^3.1.2",
7173
"babel-core": "^6.22.1",
7274
"babel-loader": "^6.2.10",

scripts/artifact_tagging.js

-109
This file was deleted.

scripts/ensure_clean_master.js

-5
This file was deleted.

scripts/show_changelog.js

-28
This file was deleted.

scripts/show_core_changelog.js

-69
This file was deleted.

scripts/update_changelog.js

-15
This file was deleted.

scripts/util.js

-39
This file was deleted.

yarn.lock

+35-5
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@
9595
version "5.0.5"
9696
resolved "https://registry.yarnpkg.com/@uirouter/core/-/core-5.0.5.tgz#4fafae8b89e1bee321b0ed32e69ab66547c055c6"
9797

98+
"@uirouter/publish-scripts@^1.0.4":
99+
version "1.0.4"
100+
resolved "https://registry.yarnpkg.com/@uirouter/publish-scripts/-/publish-scripts-1.0.4.tgz#12de0110b88985cceb5ea0a020810ea8de8ecb38"
101+
dependencies:
102+
conventional-changelog "^1.1.4"
103+
conventional-changelog-ui-router-core "file:../conventional-changelog-ui-router-core"
104+
find-parent-dir "^0.3.0"
105+
git-semver-tags "^1.2.1"
106+
readline-sync "^1.4.7"
107+
shelljs "^0.7.8"
108+
98109
"@uirouter/rx@=0.4.1":
99110
version "0.4.1"
100111
resolved "https://registry.yarnpkg.com/@uirouter/rx/-/rx-0.4.1.tgz#658c9e58e860ae3132faf4c71a6bed7e91de02f3"
@@ -949,6 +960,13 @@ conventional-changelog-jshint@^0.1.0:
949960
compare-func "^1.3.1"
950961
q "^1.4.1"
951962

963+
"conventional-changelog-ui-router-core@file:../conventional-changelog-ui-router-core":
964+
version "1.4.2"
965+
dependencies:
966+
compare-func "^1.3.1"
967+
github-url-from-git "^1.4.0"
968+
q "^1.4.1"
969+
952970
conventional-changelog-writer@^1.1.0:
953971
version "1.4.1"
954972
resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-1.4.1.tgz#3f4cb4d003ebb56989d30d345893b52a43639c8e"
@@ -964,7 +982,7 @@ conventional-changelog-writer@^1.1.0:
964982
split "^1.0.0"
965983
through2 "^2.0.0"
966984

967-
conventional-changelog@^1.1.0, conventional-changelog@^1.1.3:
985+
conventional-changelog@^1.1.0, conventional-changelog@^1.1.3, conventional-changelog@^1.1.4:
968986
version "1.1.4"
969987
resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-1.1.4.tgz#108bc750c2a317e200e2f9b413caaa1f8c7efa3b"
970988
dependencies:
@@ -1555,6 +1573,10 @@ find-cache-dir@^0.1.1:
15551573
mkdirp "^0.5.1"
15561574
pkg-dir "^1.0.0"
15571575

1576+
find-parent-dir@^0.3.0:
1577+
version "0.3.0"
1578+
resolved "https://registry.yarnpkg.com/find-parent-dir/-/find-parent-dir-0.3.0.tgz#33c44b429ab2b2f0646299c5f9f718f376ff8d54"
1579+
15581580
find-up@^1.0.0:
15591581
version "1.1.2"
15601582
resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f"
@@ -1699,9 +1721,9 @@ git-remote-origin-url@^2.0.0:
16991721
gitconfiglocal "^1.0.0"
17001722
pify "^2.3.0"
17011723

1702-
git-semver-tags@^1.2.0:
1703-
version "1.2.0"
1704-
resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-1.2.0.tgz#b31fd02c8ab578bd6c9b5cacca5e1c64c1177ac1"
1724+
git-semver-tags@^1.2.0, git-semver-tags@^1.2.1:
1725+
version "1.2.1"
1726+
resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-1.2.1.tgz#6ccd2a52e735b736748dc762444fcd9588e27490"
17051727
dependencies:
17061728
meow "^3.3.0"
17071729
semver "^5.0.1"
@@ -3121,7 +3143,7 @@ readdirp@^2.0.0:
31213143
readable-stream "^2.0.2"
31223144
set-immediate-shim "^1.0.1"
31233145

3124-
readline-sync@^1.4.5:
3146+
readline-sync@^1.4.5, readline-sync@^1.4.7:
31253147
version "1.4.7"
31263148
resolved "https://registry.yarnpkg.com/readline-sync/-/readline-sync-1.4.7.tgz#001bfdd4c06110c3c084c63bf7c6a56022213f30"
31273149

@@ -3464,6 +3486,14 @@ shelljs@^0.7.0:
34643486
interpret "^1.0.0"
34653487
rechoir "^0.6.2"
34663488

3489+
shelljs@^0.7.8:
3490+
version "0.7.8"
3491+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
3492+
dependencies:
3493+
glob "^7.0.0"
3494+
interpret "^1.0.0"
3495+
rechoir "^0.6.2"
3496+
34673497
shx@^0.1.4:
34683498
version "0.1.4"
34693499
resolved "https://registry.yarnpkg.com/shx/-/shx-0.1.4.tgz#9a3a94271e6cbb788149fdc6696237154ab6379f"

0 commit comments

Comments
 (0)