Skip to content

Commit a898c52

Browse files
authored
Merge pull request #1 from MADE-Apps/feature/range-selector
Added Range Selector component
2 parents 69b9ca4 + 66945cd commit a898c52

35 files changed

+13613
-5
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# These owners will be the default owners for everything in the repo.
2+
* @MADE-Apps/core-team

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: [jamesmcroft]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: ['buymeacoffee.com/jamesmcroft']
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve MADE
4+
title: '[Bug] '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
## Describe the bug
10+
<!-- Please describe below the details of the issue and steps taken to reproduce -->
11+
12+
## What is the expected behavior?
13+
<!-- Please describe below the expected behavior -->
14+
15+
## Additional detail
16+
17+
Package(s):
18+
19+
Package Version(s):
20+
21+
## Other information
22+
<!-- Please provide any additional information, links, screenshots, or projects with reproduced issues below if applicable -->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for MADE
4+
title: '[Feature] '
5+
labels: feature-request
6+
assignees: ''
7+
---
8+
9+
## Describe the feature and how it will be used
10+
<!-- Please describe the idea you'd like to see implemented -->
11+
12+
## Other information
13+
<!-- Please provide any additional information, links, or screenshots below if applicable -->
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Fixes #
2+
<!-- Add the issue ID after the '#' to automatically close the issue once the PR is merged -->
3+
4+
<!-- Please provide a description below of the changes made and how it has been tested -->
5+
6+
## PR checklist
7+
8+
- [ ] Documentation has been added/updated for changes
9+
- [ ] Code styling has been met on new source file changes
10+
- [ ] Contains **NO** breaking changes
11+
12+
<!-- If a breaking change has been made, please provide a detailed description below of the impact and the migration path -->
13+
14+
## Other information
15+
<!-- Please provide any additional information, links, or screenshots below if applicable -->

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

.github/pull_request_template.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Fixes #
2+
<!-- Add the issue ID after the '#' to automatically close the issue once the PR is merged -->
3+
4+
<!-- Please provide a description below of the changes made and how it has been tested -->
5+
6+
## PR checklist
7+
8+
- [ ] Tests have been added/updated (where applicable) and pass
9+
- [ ] Documentation has been added/updated for changes
10+
- [ ] Code styling has been met on new source file changes
11+
- [ ] Contains **NO** breaking changes
12+
13+
<!-- If a breaking change has been made, please provide a detailed description below of the impact and the migration path -->
14+
15+
## Other information
16+
<!-- Please provide any additional information, links, or screenshots below if applicable -->
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: DevSkim
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
schedule:
9+
- cron: '0 0 * * *'
10+
11+
jobs:
12+
lint:
13+
name: DevSkim
14+
runs-on: ubuntu-20.04
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v2
22+
23+
- name: Run DevSkim scanner
24+
uses: microsoft/DevSkim-Action@v1
25+
26+
- name: Upload DevSkim scan results to GitHub Security tab
27+
uses: github/codeql-action/upload-sarif@v1
28+
with:
29+
sarif_file: devskim-results.sarif
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: made-vue-range-selector
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- main
9+
paths:
10+
- made-vue-range-selector/**
11+
- build/**
12+
- .github/workflows/made-vue-range-selector.yml
13+
pull_request:
14+
branches:
15+
- main
16+
paths:
17+
- made-vue-range-selector/**
18+
- build/**
19+
- .github/workflows/made-vue-range-selector.yml
20+
workflow_dispatch:
21+
22+
defaults:
23+
run:
24+
working-directory: made-vue-range-selector
25+
26+
jobs:
27+
build:
28+
runs-on: ubuntu-latest
29+
30+
steps:
31+
- name: Get source
32+
uses: actions/checkout@v2
33+
34+
- name: Get Build Version
35+
run: |
36+
Import-Module ..\build\GetBuildVersion.psm1
37+
$version = GetBuildVersion -VersionString $Env:GITHUB_REF
38+
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
39+
Write-Host $version
40+
shell: pwsh
41+
42+
- name: Setup node
43+
uses: actions/setup-node@v2
44+
with:
45+
node-version: '16.x'
46+
registry-url: 'https://registry.npmjs.org'
47+
48+
- name: Restore dependencies
49+
run: npm install
50+
51+
- name: Update Version
52+
run: npm version $BUILD_VERSION --no-git-tag-version --allow-same-version
53+
54+
- name: Build
55+
run: npm run build
56+
57+
- name: Copy package.json to dist
58+
run: cp "package.json" "./dist/package.json"
59+
60+
- name: Copy README.md to dist
61+
run: cp "README.md" "./dist/README.md"
62+
63+
- name: Publish
64+
if: startsWith(github.ref, 'refs/tags/v')
65+
working-directory: made-vue-range-selector/dist
66+
run: npm publish
67+
env:
68+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
8+
.pnpm-debug.log*
89

910
# Diagnostic reports (https://nodejs.org/api/report.html)
1011
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -41,8 +42,8 @@ build/Release
4142
node_modules/
4243
jspm_packages/
4344

44-
# TypeScript v1 declaration files
45-
typings/
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
4647

4748
# TypeScript cache
4849
*.tsbuildinfo
@@ -71,20 +72,23 @@ typings/
7172
# dotenv environment variables file
7273
.env
7374
.env.test
75+
.env.production
7476

7577
# parcel-bundler cache (https://parceljs.org/)
7678
.cache
79+
.parcel-cache
7780

7881
# Next.js build output
7982
.next
83+
out
8084

8185
# Nuxt.js build / generate output
8286
.nuxt
8387
dist
8488

8589
# Gatsby files
8690
.cache/
87-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
91+
# Comment in the public line in if your project uses Gatsby and not Next.js
8892
# https://nextjs.org/blog/next-9-1#public-directory-support
8993
# public
9094

@@ -102,3 +106,13 @@ dist
102106

103107
# TernJS port file
104108
.tern-port
109+
110+
# Stores VSCode versions used for testing VSCode extensions
111+
.vscode-test
112+
113+
# yarn v2
114+
.yarn/cache
115+
.yarn/unplugged
116+
.yarn/build-state.yml
117+
.yarn/install-state.gz
118+
.pnp.*

0 commit comments

Comments
 (0)