Skip to content

Commit

Permalink
chore: update project structure to witney 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
katywings committed Aug 28, 2020
1 parent 3e412f5 commit d19e39b
Show file tree
Hide file tree
Showing 167 changed files with 8,548 additions and 21,086 deletions.
8 changes: 2 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
packages/concat-with-sourcemaps/* linguist-vendored

docs/* linguist-documentation
templates/* linguist-detectable=false
config/* linguist-detectable=false
coverage/* linguist-detectable=false
scripts/* linguist-detectable=false

dist/* linguist-generated=true
static/docs/* linguist-generated=true
typings/* linguist-generated=true
site/* linguist-generated=true
10 changes: 2 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/.npmrc
/.vscode
/coverage
!/coverage/.gitkeep
/dist/*
!/dist/.gitkeep
!/dist/back
/node_modules
/tmp/*
!/tmp/.gitkeep
/.vscode
dist
9 changes: 0 additions & 9 deletions .npmignore

This file was deleted.

5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dist
/site
/docs
/coverage
/CHANGELOG.md
1 change: 0 additions & 1 deletion AUTHORS

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## 0.1.0

- Added typeConfig function showing the available driver options
Expand Down
28 changes: 28 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Contributing

## Building

This projects includes all its development scripts in the script folder.

Mostly used scripts:

- Build Code: `./scripts/build.js`
- Reformat Code: `./scripts/reformat.js`
- Run tests: `./scripts/test.js`
- Build docs html: `./scripts/docs.js`

## Releasing

Before releasing make sure that all changes for the release are committed and in the proper branch merged.

To start the release workflow, run: `./scripts/before-publish.js`
This workflow will run through:

- Reformat
- Build
- Test & Coverage

Afterwards you are notified that you should run: `npx standard-version -a`
This increases the version in package.json, updates README.md CHANGELOG.md and docs and adds a new git tag with the proper version.

Then push the tag (something like `git push --tags`) and if needed publish to npm with: `npm publish`
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 knex-rqlite
Copyright (c) 2020 Katja Lutz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@

# [knex-rqlite](https://github.com/rqlite/knex-rqlite)


<a href="https://opensource.org/licenses/MIT"><img src="https://raw.github.com/rqlite/knex-rqlite/master/static/readme/gen-badges/badge.0.svg?sanitize=true" alt="license"></a> <a href="https://www.npmjs.com/package/knex-rqlite"><img src="https://raw.github.com/rqlite/knex-rqlite/master/static/readme/gen-badges/badge.1.svg?sanitize=true" alt="npm"></a> <img src="https://raw.github.com/rqlite/knex-rqlite/master/static/readme/gen-badges/badge.2.svg?sanitize=true" alt="Tests"> <img src="https://raw.github.com/rqlite/knex-rqlite/master/static/readme/gen-badges/badge.3.svg?sanitize=true" alt="coverage"> <a href="https://prettier.io/"><img src="https://raw.github.com/rqlite/knex-rqlite/master/static/readme/gen-badges/badge.4.svg?sanitize=true" alt="code style"></a> <img src="https://raw.github.com/rqlite/knex-rqlite/master/static/readme/gen-badges/badge.5.svg?sanitize=true" alt="PRs">
[![](assets/badge.license.svg)](https://opensource.org/licenses/MIT)
[![](assets/badge.npm.svg)](https://www.npmjs.com/package/knex-rqlite)
![](assets/badge.coverage.svg)
[![](assets/badge.style.svg)](https://prettier.io/)

Rqlite dialect for knex

-------
---

## Usage

Expand Down
3 changes: 0 additions & 3 deletions TODO.md

This file was deleted.

20 changes: 20 additions & 0 deletions assets/badge.coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions assets/badge.license.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions assets/badge.npm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions assets/badge.style.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 0 additions & 77 deletions config/babel.config.js

This file was deleted.

16 changes: 0 additions & 16 deletions config/back/config.js

This file was deleted.

Loading

0 comments on commit d19e39b

Please sign in to comment.