Skip to content

Commit

Permalink
Attempt to debug the semantic-release, to provide some data for it's …
Browse files Browse the repository at this point in the history
…developers;

Altered the @semantic-release/npm dep to make a custom debug;
  • Loading branch information
xobotyi committed Nov 3, 2019
1 parent d4ff80a commit 2342df7
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 414 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ refs:
- &Install
run:
name: Install Dependencies
command: yarn install --pure-lockfile
command: npm install --no-package-lock
- &CacheSave
save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
Expand Down Expand Up @@ -45,7 +45,7 @@ refs:
- &Release
run:
name: Release
command: yarn release
command: npm run release
- &Commit_Status_Storybook
run:
name: Post commit status for Storybook
Expand Down Expand Up @@ -100,9 +100,9 @@ jobs:
steps:
- checkout
- *Versions
- *CacheRestore
# - *CacheRestore
- *Install
- *CacheSave
# - *CacheSave
- *Build
- *Build_Storybook
- *Test
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"scripts": {
"start": "yarn storybook",
"start": "npm run storybook",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "tslint 'src/**/*.{ts,tsx}' -t verbose",
"lint:fix": "yarn lint --fix",
"lint:fix": "npm run lint --fix",
"lint:types": "tsc --noEmit",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"build": "yarn build:cjs && yarn build:es",
"build": "npm run build:cjs && npm run build:es",
"clean": "rimraf lib storybook-static esm",
"storybook": "start-storybook -p 6008",
"storybook:build": "build-storybook",
"storybook:upload": "gh-pages -d storybook-static --git \"$(which git)\"",
"storybook:clean": "rimraf storybook-static",
"release": "semantic-release"
"release": "semantic-release --debug"
},
"husky": {
"hooks": {
Expand Down Expand Up @@ -68,7 +68,7 @@
"@babel/preset-typescript": "7.6.0",
"@semantic-release/changelog": "3.0.5",
"@semantic-release/git": "7.0.17",
"@semantic-release/npm": "5.3.3",
"@semantic-release/npm": "https://github.com/xobotyi/npm.git#e1be9bb5f86bdd2a2d4be1a98228f4e9c09d7abf",
"@shopify/jest-dom-mocks": "2.8.5",
"@storybook/addon-actions": "5.2.5",
"@storybook/addon-knobs": "5.2.5",
Expand Down Expand Up @@ -147,5 +147,8 @@
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/react-use"
},
"resolutions": {
"@semantic-release/npm": "https://github.com/xobotyi/npm.git#e1be9bb5f86bdd2a2d4be1a98228f4e9c09d7abf"
}
}
Loading

0 comments on commit 2342df7

Please sign in to comment.