Skip to content

Commit

Permalink
Merge pull request #1 from Dessia-tech/reorg
Browse files Browse the repository at this point in the history
Reorg
  • Loading branch information
masfaraud authored Oct 9, 2020
2 parents 43d590a + 759fa8c commit 1666688
Show file tree
Hide file tree
Showing 21 changed files with 3,455 additions and 1 deletion.
69 changes: 69 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
kind: pipeline
type: docker
name: default

steps:
- name: install, build doc run scripts
image: python:3.8
commands:
- git fetch --tags
- python setup.py install

- name: develop
image: python:3.8
commands:
- python setup.py develop

- name: sdist
image: python:3.8
commands:
- python setup.py sdist

- name: upload to pypi
image: plugins/pypi
when:
event: tag
settings:
skip_build: True
username: dessia_tech
password:
from_secret: pypi_password

- name: npm build
image: node
commands:
- npm install
- npm run-script build

- name: npm build and update tag
image: node
when:
event: tag
commands:
- npm-version from-git
- npm run-script build


- name: upload npm
image: plugins/npm
when:
event: tag
settings:
username: dessia
password:
from_secret: npm_password
email: root@dessia.tech

- name: notify by email
when:
status:
- failure
image: drillster/drone-email
settings:
host: mail.dessia.tech
username: technical@dessia.tech
password:
from_secret: email_password
from: technical@dessia.tech
recipients: [ root@dessia.tech ]
132 changes: 132 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
node_modules
/lib
# HTML files
*.html

# CAD files
*.fcstd
*.fcstd1
*.stl


# Python gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

volmdlr/templates/core.ts

volmdlr/core_compiled.c

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
“files”: [“lib/**/*”]
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 120,
"trailingComma": "all",
"singleQuote": true
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

31 changes: 31 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
* **I'm submitting a ...**
- [ ] bug report
- [ ] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.


* **What is the current behavior?**



* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem** Avoid reference to other packages



* **What is the expected behavior?**


* **What is the motivation / use case for changing the behavior?**


* **Possible fixes**


* **Please tell us about your environment:**

- branch:
- commit:
- python version:



36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
# plot_data
# @dessia/plot-data

<!-- To add back once the package is published -->
<!-- [![npm (scoped)](https://img.shields.io/npm/v/@dessia/plot-data.svg)](https://www.npmjs.com/package/@dessia/plot-data)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@dessia/plot-data.svg)](https://www.npmjs.com/package/@dessia/plot-data)
![npm](https://img.shields.io/npm/dt/@dessia/plot-data) -->
![GitHub last commit](https://img.shields.io/github/last-commit/Dessia-tech/plot_data)

## Install

```
npm i @dessia/plot-data
```

## Usage

```
<<<<<<< HEAD
import * as plotdata from '@natsudzn/plot-data';
```

## Develop

```
npm i
npm run-script build
```
=======
import * as plotdata from '@dessia/plot-data';
```
## Changelog
Check the changelog [here](CHANGELOG.md)
>>>>>>> f831483d8d375c8e8a9526e6858d582f01044851
Loading

0 comments on commit 1666688

Please sign in to comment.