react-performance-advisor 1.0.8 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,31 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build-and-publish:
9
+ runs-on: ubuntu-latest
10
+
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Setup Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: '24.x'
23
+
24
+ - name: Install dependencies
25
+ run: npm ci
26
+
27
+ - name: Build the package
28
+ run: npm run build
29
+
30
+ - name: Publish to npm
31
+ run: npm publish --provenance --access public
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "react-performance-advisor",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
7
7
  "description": "An AI-powered React performance monitoring tool.",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/Hirunagrad/React-Performance-Advisor.git"
11
+ },
8
12
  "keywords": [
9
13
  "react",
10
14
  "performance",