Skip to content

Commit 70602b4

Browse files
committed
feat: Initial Release
0 parents  commit 70602b4

14 files changed

Lines changed: 2305 additions & 0 deletions

‎.github/FUNDING.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: CoCreate-app

‎.github/workflows/automated.yml‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Automated Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
about:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: 16
18+
- name: Jaid/action-sync-node-meta
19+
uses: jaid/action-sync-node-meta@v1.4.0
20+
with:
21+
direction: overwrite-github
22+
githubToken: "${{ secrets.GITHUB }}"
23+
24+
release:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 0 # Required so semantic-release can trace git tags/history
31+
32+
- name: Setup Node.js
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: 22
36+
37+
- name: Install Semantic Release & Plugins
38+
# Installs semantic-release and its plugins on the runner
39+
run: |
40+
npm install -g semantic-release \
41+
@semantic-release/changelog \
42+
@semantic-release/npm \
43+
@semantic-release/github \
44+
@semantic-release/git
45+
46+
- name: Run Semantic Release (Native)
47+
id: semantic
48+
# This will automatically pick up your export default config file in the repository root
49+
run: npx semantic-release
50+
env:
51+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
52+
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
53+
54+
outputs:
55+
new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
56+
new_release_version: "${{ steps.semantic.outputs.new_release_version }}"

‎.gitignore‎

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# ==============================================================================
2+
# 1. Core Dependency Folders
3+
# ==============================================================================
4+
node_modules/
5+
jspm_packages/
6+
.pnp/
7+
.pnp.*
8+
9+
# ==============================================================================
10+
# 2. Package Manager Specifics (Lock Files & Overrides Ignored)
11+
# ==============================================================================
12+
13+
# npm
14+
.npm/
15+
anon-doc-*.txt
16+
npm-debug.log*
17+
package-lock.json
18+
19+
# pnpm
20+
.pnpm-store/
21+
store.lock
22+
pnpm-lock.yaml
23+
24+
# Yarn Classic (v1) & Yarn Berry (v2+)
25+
yarn-debug.log*
26+
yarn-error.log*
27+
yarn.lock
28+
29+
# Yarn Berry / Modern (v2+) Specifics
30+
.yarn/cache/
31+
.yarn/build-errors.log
32+
.yarn/install-state.gz
33+
34+
# Bun (Modern runtime & package manager)
35+
bun.lockb
36+
bun.lock
37+
.bun/
38+
39+
# Lerna
40+
lerna-debug.log*
41+
42+
# ==============================================================================
43+
# 3. Build Outputs & Bundlers (Rollup, Vite, Webpack, etc.)
44+
# ==============================================================================
45+
dist/
46+
build/
47+
out/
48+
.next/
49+
.nuxt/
50+
.docusaurus/
51+
.turbo/
52+
.cache/
53+
.parcel-cache/
54+
.rollup.cache/
55+
56+
# TypeScript
57+
*.tsbuildinfo
58+
59+
# ==============================================================================
60+
# 4. Logs, Runtime Data & System Files
61+
# ==============================================================================
62+
logs/
63+
*.log
64+
pid
65+
*.pid
66+
*.seed
67+
*.pid.lock
68+
69+
# System Files
70+
.DS_Store
71+
Thumbs.db
72+
73+
# ==============================================================================
74+
# 5. Security & Local Configurations (CRITICAL)
75+
# ==============================================================================
76+
.npmrc
77+
.yarnrc
78+
.env
79+
.env.local
80+
.env.development.local
81+
.env.test.local
82+
.env.production.local
83+
*.pem
84+
85+
# IDEs and Editors
86+
.idea/
87+
.vscode/*
88+
!.vscode/extensions.json
89+
!.vscode/settings.json
90+
*.suo
91+
*.ntvs*
92+
*.njsproj
93+
*.sln
94+
*.sw?

‎CHANGELOG.md‎

Whitespace-only changes.

‎CONTRIBUTING.md‎

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# Contributing to CoCreate-mongodb
2+
3+
This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-mongodb/graphs/contributors).
4+
You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-mongodb/pulls),
5+
[propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-mongodb/issues).
6+
7+
In the examples below, substitute your Github username for `contributor` in URLs.
8+
9+
## Fork the Project
10+
11+
Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-mongodb) and check out your copy.
12+
13+
```
14+
git clone https://github.com/contributor/CoCreate-mongodb.git
15+
cd CoCreate-mongodb
16+
git remote add upstream https://github.com/CoCreate-app/CoCreate-mongodb.git
17+
```
18+
19+
## Create a Topic Branch
20+
21+
Make sure your fork is up-to-date and create a topic branch for your feature or bug fix on dev branch.
22+
23+
```
24+
git checkout dev
25+
git pull upstream dev
26+
git checkout -b my-feature-branch
27+
```
28+
29+
## Write Tests
30+
31+
Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build.
32+
33+
We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix.
34+
35+
## Write Code
36+
37+
Implement your feature or bug fix.
38+
39+
## Write Documentation
40+
41+
Document any external behavior in the [README](README.md).
42+
43+
## Commit Changes
44+
45+
Make sure git knows your name and email address:
46+
47+
```
48+
git config --global user.name "Your Name"
49+
git config --global user.email "contributor@example.com"
50+
```
51+
52+
We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog
53+
and to release. Write meaningful commits according to
54+
[Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important.
55+
56+
```
57+
git add ...
58+
git commit -am "commit-type(optional topic): a meaningful message"
59+
```
60+
61+
Here is an example of the release type that should be done based on a [semantic-release](https://github.com/semantic-release/semantic-release):
62+
63+
| Commit message | Release type |
64+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- |
65+
| `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release |
66+
| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release |
67+
| `perf(pencil): remove graphiteWidth option`<br><br>`BREAKING CHANGE: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release |
68+
69+
70+
## Push
71+
72+
```
73+
git push origin my-feature-branch
74+
```
75+
76+
## Make a Pull Request
77+
78+
Go to [https://github.com/CoCreate-app/CoCreate-mongodb](https://github.com/CoCreate-app/CoCreate-mongodb) and select your feature branch.
79+
Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
80+
81+
## Rebase
82+
83+
If you've been working on a change for a while, rebase with upstream/dev.
84+
85+
```
86+
git fetch upstream
87+
git rebase upstream/dev
88+
git push origin my-feature-branch -f
89+
```
90+
91+
## Be Patient
92+
93+
It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang in there!
94+
95+
## Thank You
96+
97+
Please do know that we really appreciate and value your time and work. We love you, really.

‎CoCreate.config.js‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = {
2+
"organization_id": "",
3+
"key": "",
4+
"host": "",
5+
"sources": [
6+
{
7+
"array": "files",
8+
"object": {
9+
"_id": "60145dc49f64ba1680b86693",
10+
"name": "index.html",
11+
"path": "/docs/sqlite",
12+
"pathname": "/docs/sqlite/index.html",
13+
"src": "{{./docs/index.html}}",
14+
"host": [
15+
"*"
16+
],
17+
"directory": "sqlite",
18+
"content-type": "text/html",
19+
"public": "true"
20+
}
21+
}
22+
]
23+
};

0 commit comments

Comments
 (0)