@savicheema/react-drag-drop-list 0.9.2
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,36 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
release:
|
|
8
|
+
types: [created]
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: 20
|
|
21
|
+
- run: npm ci
|
|
22
|
+
- run: npm run build
|
|
23
|
+
|
|
24
|
+
publish-npm:
|
|
25
|
+
needs: build
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- uses: actions/setup-node@v4
|
|
30
|
+
with:
|
|
31
|
+
node-version: 20
|
|
32
|
+
registry-url: https://registry.npmjs.org/
|
|
33
|
+
- run: npm ci
|
|
34
|
+
- run: npm publish --access=public
|
|
35
|
+
env:
|
|
36
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_DRAG_DROP}}
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@savicheema/react-drag-drop-list",
|
|
3
|
+
"version": "0.9.2",
|
|
4
|
+
"description": "react drag drop list",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"drag",
|
|
7
|
+
"drop",
|
|
8
|
+
"list",
|
|
9
|
+
"react"
|
|
10
|
+
],
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"author": "savitoj cheema",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"source": "src/index.tsx",
|
|
15
|
+
"main": "dist/index.mjs",
|
|
16
|
+
"types": "dist/types.d.ts",
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "vitest",
|
|
19
|
+
"watch": "parcel watch",
|
|
20
|
+
"build": "parcel build",
|
|
21
|
+
"prepare": "husky"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@commitlint/cli": "^20.4.1",
|
|
25
|
+
"@commitlint/config-conventional": "^20.4.1",
|
|
26
|
+
"@parcel/packager-ts": "^2.16.4",
|
|
27
|
+
"@parcel/transformer-typescript-types": "^2.16.4",
|
|
28
|
+
"@types/react": "^19.2.13",
|
|
29
|
+
"@vitest/browser": "^4.0.18",
|
|
30
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
31
|
+
"husky": "^9.1.7",
|
|
32
|
+
"parcel": "^2.16.4",
|
|
33
|
+
"playwright": "^1.58.2",
|
|
34
|
+
"rimraf": "^6.1.2",
|
|
35
|
+
"typescript": "^5.9.3",
|
|
36
|
+
"vitest": "^4.0.18",
|
|
37
|
+
"vitest-browser-react": "^2.0.5"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": "^19.2.4"
|
|
41
|
+
}
|
|
42
|
+
}
|