Skip to content

Commit

Permalink
chore(release): release work (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaneyHamdy authored Mar 15, 2024
1 parent a66a92e commit 49702dd
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 123 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: yarn install
- run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn run release --ci
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dist-types
.yarnrc.yml

# NPM
.npmrc
.npmrc
3 changes: 2 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"requireCleanWorkingDir": false
},
"npm": {
"publish": true
"publish": true,
"skipChecks": true
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ integrate Quantum Metric analytics with your Backstage instance.

## **This plugin requires an account with [Quantum Metric](https://www.quantummetric.com/)**

### **This plugin requires an account with [Quantum Metric](https://www.quantummetric.com/)**
## Installation

### Install the plugin

```bash
yarn --cwd packages/app add @qm/plugin-analytics-module-qm
yarn --cwd packages/app add @quantum-metric/plugin-analytics-module-qm
```

### Open the `packages/app/src/apis.ts` file and import the required dependencies
Expand All @@ -24,7 +23,7 @@ import {
configApiRef,
identityApiRef,
} from '@backstage/core-plugin-api';
import { QuantumMetric } from '@qm/plugin-analytics-module-qm';
import { QuantumMetric } from '@quantum-metric/plugin-analytics-module-qm';

```

Expand Down Expand Up @@ -315,7 +314,7 @@ yarn build
#### From your Backstage directory run the following where `$INSTALL_PATH` is the path of this repo

```bash
yarn add @qm/plugin-analytics-module-qm@link:$INSTALL_PATH
yarn add @quantum-metric/plugin-analytics-module-qm@link:$INSTALL_PATH
```

Note: If making changes to `config.d.ts` against a Backstage instance started with `backstage-cli package start`,
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"name": "@qm/plugin-analytics-module-qm",
"name": "@quantum-metric/plugin-analytics-module-qm",
"version": "0.1.8",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/quantummetric/analytics-module-qm"
},
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
Expand Down
Loading

0 comments on commit 49702dd

Please sign in to comment.