Skip to content

Commit

Permalink
Feat: added boilerplate code and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gagansuie committed Nov 29, 2022
1 parent a08846d commit c53c012
Show file tree
Hide file tree
Showing 12 changed files with 2,027 additions and 2,484 deletions.
21 changes: 21 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:18-bullseye"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: [CodeCrowCorp] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
14 changes: 14 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pull_request_rules:
- name: Automatic merge ⬇️ on approval ✔
conditions:
- "#approved-reviews-by>=1"
- author=gagan-suie
actions:
merge:
method: merge
- name: Automatic merge ⬇️ if Dependabot 🤖
conditions:
- author=dependabot[bot]
actions:
merge:
method: merge
Empty file added .github/workflows/ci-dev.yml
Empty file.
Empty file added .github/workflows/ci-prod.yml
Empty file.
674 changes: 674 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

69 changes: 39 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,47 @@
# create-svelte

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).

## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app
```
<br>

<h3 align="center">
A Svelte port of the Code Crow project
</h3>

<br>

<p align="center">
<a href="https://github.com/CodeCrowCorp/cro-website-sv"><img src="https://img.shields.io/github/v/release/CodeCrowCorp/cro-website-sv?color=%23ff00a0&include_prereleases&label=version&sort=semver"></a>
&nbsp;
<a href="https://github.com/CodeCrowCorp/cro-website-sv"><img src="https://img.shields.io/badge/built_with-svelte-FF3E00.svg"></a>
&nbsp;
<a href="https://github.com/CodeCrowCorp/cro-website-sv/actions"><img src="https://github.com/CodeCrowCorp/cro-website-sv/actions/workflows/ci-prod.yml/badge.svg"></a>
&nbsp;
<a href="https://codecov.io/gh/CodeCrowCorp/cro-website-sv/"><img src="https://codecov.io/gh/CodeCrowCorp/cro-website-sv/branch/main/graph/badge.svg"></a>
&nbsp;
<a href="https://dependabot.com/"><img src="https://img.shields.io/badge/dependabot-enabled-025e8c?logo=Dependabot"></a>
&nbsp;
</p>

<p align="center">
<a href="https://github.com/CodeCrowCorp/cro-website-sv/blob/main/LICENSE.md"><img src="https://img.shields.io/badge/license-GPL3.0-00bfff.svg"></a>
&nbsp;
<a href="https://discord.gg/codecrow"><img src="https://img.shields.io/discord/766681806463303680?label=discord&color=5a66f6"></a>
&nbsp;
<a href="https://twitter.com/CodeCrowCorp"><img src="https://img.shields.io/badge/twitter-follow_us-1d9bf0.svg"></a>
&nbsp;
</p>

<br>

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building
Once you've forked and cloned the project:

To create a production version of your app:
```sh
# Install dependencies
$ npm install

```bash
npm run build
# Start a development server
$ npm run dev
```

You can preview the production build with `npm run preview`.
## Contributing

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
Your feedback is welcome and appreciated! Please use the issue tracker to talk about potential implementations or make feature requests. If you're interested in making a PR, we suggest opening up an issue to talk about the change you'd like to make as early as possible.
Loading

0 comments on commit c53c012

Please sign in to comment.