This repository was archived by the owner on Jan 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +10
-4
lines changed Expand file tree Collapse file tree 8 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ name: Publish Package to npmjs
22
33on :
44 push :
5- # types: [published]
5+ branches :
6+ - main
67
78jobs :
89 publish :
910 runs-on : ubuntu-latest
1011 steps :
1112 - uses : actions/checkout@v4
12- # Setup .npmrc file to publish to npm
1313 - uses : actions/setup-node@v3
1414 with :
1515 node-version : ' 20.x'
Original file line number Diff line number Diff line change 22
33import Image , { StaticImageData } from "next/image" ;
44import React , { useState } from "react" ;
5+ import "@canopassoftware/react-file-upload/style.css"
56import {
67 SingleFileUpload ,
78 MultipleFileUpload ,
Original file line number Diff line number Diff line change 33import Image , { StaticImageData } from "next/image" ;
44import React , { useState } from "react" ;
55import placeHolderImg from "../assets/images/placeholder.png" ;
6+ import "@canopassoftware/react-file-upload/style.css"
67import {
78 SingleFileUpload ,
89 MultipleFileUpload ,
Original file line number Diff line number Diff line change 33import Image , { StaticImageData } from "next/image" ;
44import React , { useState } from "react" ;
55import placeHolderImg from "../assets/images/placeholder.png" ;
6+ import "@canopassoftware/react-file-upload/style.css"
67import {
78 SingleFileUpload ,
89 MultipleFileUpload ,
Original file line number Diff line number Diff line change 33import Image , { StaticImageData } from "next/image" ;
44import React , { useState } from "react" ;
55import placeHolderImg from "../assets/images/placeholder.png" ;
6+ import "@canopassoftware/react-file-upload/style.css"
67import {
78 SingleFileUpload ,
89 MultipleFileUpload ,
Original file line number Diff line number Diff line change 99 "lint" : " next lint"
1010 },
1111 "dependencies" : {
12- "@canopassoftware/react-file-upload" : " ^1.1 .0" ,
12+ "@canopassoftware/react-file-upload" : " ^1.2 .0" ,
1313 "next" : " 14.0.4" ,
1414 "react" : " ^18" ,
1515 "react-dom" : " ^18"
Original file line number Diff line number Diff line change 22
33import Image , { StaticImageData } from "next/image" ;
44import React , { useState } from "react" ;
5+ import "@canopassoftware/react-file-upload/style.css"
56import {
67 SingleFileUpload ,
78 MultipleFileUpload ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @canopassoftware/react-file-upload" ,
3- "version" : " 1.1.34 " ,
3+ "version" : " 1.2.0 " ,
44 "description" : " Show the preview of file and manage files data to upload" ,
55 "main" : " index.umd.js" ,
66 "repository" : {
2424 "dev" : " next dev" ,
2525 "build" : " npm run build-css && vite build && cp -r ./dist/* ./" ,
2626 "start" : " next start" ,
27+ "build-only" : " next build" ,
2728 "lint" : " next lint" ,
2829 "build-css" : " tailwindcss -i ./src/app/globals.css -o ./dist/css/output.css --minify && cp ./src/app/style.scss ./dist/css/style.scss"
2930 },
You can’t perform that action at this time.
0 commit comments