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
2
2
3
3
on :
4
4
push :
5
- # types: [published]
5
+ branches :
6
+ - main
6
7
7
8
jobs :
8
9
publish :
9
10
runs-on : ubuntu-latest
10
11
steps :
11
12
- uses : actions/checkout@v4
12
- # Setup .npmrc file to publish to npm
13
13
- uses : actions/setup-node@v3
14
14
with :
15
15
node-version : ' 20.x'
Original file line number Diff line number Diff line change 2
2
3
3
import Image , { StaticImageData } from "next/image" ;
4
4
import React , { useState } from "react" ;
5
+ import "@canopassoftware/react-file-upload/style.css"
5
6
import {
6
7
SingleFileUpload ,
7
8
MultipleFileUpload ,
Original file line number Diff line number Diff line change 3
3
import Image , { StaticImageData } from "next/image" ;
4
4
import React , { useState } from "react" ;
5
5
import placeHolderImg from "../assets/images/placeholder.png" ;
6
+ import "@canopassoftware/react-file-upload/style.css"
6
7
import {
7
8
SingleFileUpload ,
8
9
MultipleFileUpload ,
Original file line number Diff line number Diff line change 3
3
import Image , { StaticImageData } from "next/image" ;
4
4
import React , { useState } from "react" ;
5
5
import placeHolderImg from "../assets/images/placeholder.png" ;
6
+ import "@canopassoftware/react-file-upload/style.css"
6
7
import {
7
8
SingleFileUpload ,
8
9
MultipleFileUpload ,
Original file line number Diff line number Diff line change 3
3
import Image , { StaticImageData } from "next/image" ;
4
4
import React , { useState } from "react" ;
5
5
import placeHolderImg from "../assets/images/placeholder.png" ;
6
+ import "@canopassoftware/react-file-upload/style.css"
6
7
import {
7
8
SingleFileUpload ,
8
9
MultipleFileUpload ,
Original file line number Diff line number Diff line change 9
9
"lint" : " next lint"
10
10
},
11
11
"dependencies" : {
12
- "@canopassoftware/react-file-upload" : " ^1.1 .0" ,
12
+ "@canopassoftware/react-file-upload" : " ^1.2 .0" ,
13
13
"next" : " 14.0.4" ,
14
14
"react" : " ^18" ,
15
15
"react-dom" : " ^18"
Original file line number Diff line number Diff line change 2
2
3
3
import Image , { StaticImageData } from "next/image" ;
4
4
import React , { useState } from "react" ;
5
+ import "@canopassoftware/react-file-upload/style.css"
5
6
import {
6
7
SingleFileUpload ,
7
8
MultipleFileUpload ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @canopassoftware/react-file-upload" ,
3
- "version" : " 1.1.34 " ,
3
+ "version" : " 1.2.0 " ,
4
4
"description" : " Show the preview of file and manage files data to upload" ,
5
5
"main" : " index.umd.js" ,
6
6
"repository" : {
24
24
"dev" : " next dev" ,
25
25
"build" : " npm run build-css && vite build && cp -r ./dist/* ./" ,
26
26
"start" : " next start" ,
27
+ "build-only" : " next build" ,
27
28
"lint" : " next lint" ,
28
29
"build-css" : " tailwindcss -i ./src/app/globals.css -o ./dist/css/output.css --minify && cp ./src/app/style.scss ./dist/css/style.scss"
29
30
},
You can’t perform that action at this time.
0 commit comments