Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit 9cc009c

Browse files
committed
Set ci for main only
1 parent 3c09bc9 commit 9cc009c

File tree

8 files changed

+10
-4
lines changed

8 files changed

+10
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Publish Package to npmjs
22

33
on:
44
push:
5-
# types: [published]
5+
branches:
6+
- main
67

78
jobs:
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'

examples/CanvasView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import Image, { StaticImageData } from "next/image";
44
import React, { useState } from "react";
5+
import "@canopassoftware/react-file-upload/style.css"
56
import {
67
SingleFileUpload,
78
MultipleFileUpload,

examples/LongSquareView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import Image, { StaticImageData } from "next/image";
44
import React, { useState } from "react";
55
import placeHolderImg from "../assets/images/placeholder.png";
6+
import "@canopassoftware/react-file-upload/style.css"
67
import {
78
SingleFileUpload,
89
MultipleFileUpload,

examples/RoundView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import Image, { StaticImageData } from "next/image";
44
import React, { useState } from "react";
55
import placeHolderImg from "../assets/images/placeholder.png";
6+
import "@canopassoftware/react-file-upload/style.css"
67
import {
78
SingleFileUpload,
89
MultipleFileUpload,

examples/SquareView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import Image, { StaticImageData } from "next/image";
44
import React, { useState } from "react";
55
import placeHolderImg from "../assets/images/placeholder.png";
6+
import "@canopassoftware/react-file-upload/style.css"
67
import {
78
SingleFileUpload,
89
MultipleFileUpload,

examples/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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"

examples/demo/src/app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import Image, { StaticImageData } from "next/image";
44
import React, { useState } from "react";
5+
import "@canopassoftware/react-file-upload/style.css"
56
import {
67
SingleFileUpload,
78
MultipleFileUpload,

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {
@@ -24,6 +24,7 @@
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
},

0 commit comments

Comments
 (0)