From b94fe5c8304617a0211b159a57f5d5e6f39b3f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Cabrera=20Dur=C3=A1n?= <pateketrueke@gmail.com> Date: Wed, 23 Oct 2019 00:43:27 -0500 Subject: [PATCH] Cleanup --- .editorconfig | 8 -------- .env | 2 -- .eslintrc | 36 ------------------------------------ .gitattributes | 4 ---- .github/CONTRIBUTING.md | 36 ------------------------------------ .github/FUNDING.yml | 4 ---- .github/issue_template.md | 5 ----- .gitignore | 37 ------------------------------------- .npmignore | 19 ------------------- .travis.yml | 21 --------------------- 10 files changed, 172 deletions(-) delete mode 100644 .editorconfig delete mode 100644 .env delete mode 100644 .eslintrc delete mode 100644 .gitattributes delete mode 100644 .github/CONTRIBUTING.md delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/issue_template.md delete mode 100644 .gitignore delete mode 100644 .npmignore delete mode 100644 .travis.yml diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index a4a259a3..00000000 --- a/.editorconfig +++ /dev/null @@ -1,8 +0,0 @@ -root = true - -[*] -trim_trailing_whitespace = true -insert_final_newline = true -indent_style = space -indent_size = 2 -end_of_line = lf diff --git a/.env b/.env deleted file mode 100644 index f6bb7a98..00000000 --- a/.env +++ /dev/null @@ -1,2 +0,0 @@ -AUTH_ID=x -AUTH_SECRET=x diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index eedcc9b8..00000000 --- a/.eslintrc +++ /dev/null @@ -1,36 +0,0 @@ -{ - "env": { - "es6": true, - "node": true, - "browser": true - }, - "extends": "airbnb-base", - "parserOptions": { - "sourceType": "module" - }, - "rules" : { - "max-len": ["error", { - "code": 150 - }], - "arrow-parens": ["error", "as-needed"], - "no-multi-assign": 0, - "strict": 0, - "no-console": 0, - "no-plusplus": 0, - "prefer-destructuring": 0, - "function-paren-newline": 0, - "global-require": 0, - "prefer-spread": 0, - "prefer-rest-params": 0, - "prefer-object-spread": 0, - "prefer-arrow-callback": 0, - "arrow-body-style": 0, - "no-restricted-globals": 0, - "consistent-return": 0, - "no-param-reassign": 0, - "no-underscore-dangle": 0, - "import/no-unresolved": 0, - "import/no-dynamic-require": 0, - "import/no-extraneous-dependencies": 0 - } -} diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 0b3baca9..00000000 --- a/.gitattributes +++ /dev/null @@ -1,4 +0,0 @@ -lib/** -diff -dist/** -diff binary -locale/* -diff -package-lock.json -diff diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100644 index 35755d4b..00000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,36 +0,0 @@ -We welcome contributions to the project! :beer: - -## Bug submission - -If you are submitting a bug report, please include the following: - -1. the JSON Schema content that fails: go to [the demo page](http://json-schema-faker.js.org/), paste the schema into the textarea on the left, click `Generate example`, and then copy the resulting URL from the browser address bar and paste it here. This will make it easier for us to reproduce and fix the bug. Thank you in advance! :beer: Otherwise please paste the schema inline in your bug report. -2. the result you got -3. the result you expected - -## Issues & Pull-requests - -* When submitting *bug reports*, *paste your schema example* whenever possible. This will save us from having to ask you for it later. -* When submitting *Pull Requests (PRs)*, you should request to merge your changes into our `develop` branch. -* Our approach to testing is described in [spec/README.md](/spec/README.md). -* PRs without specs will not be merged anytime soon! - -## Releasing new versions - -* Create a new entry in the [CHANGELOG](/CHANGELOG) file, -* Re-build and re-release the online demo, see [`website-jsf` gh-pages branch](https://github.com/json-schema-faker/website-jsf/tree/gh-pages). - -## Development tasks - -* `npm run dev` — Run the tests and watch (preferred during development) -* `npm run dev:lint` — Run eslint on all sources -* `npm run dev:unit` — Run `jasmine-node` on unit tests -* `npm run dev:schema` — Run `jasmine-node` on schema tests -* `npm run cover` — Run istanbul + jasmine-node -* `npm run cover:up` — Upload to coveralls (CI only) -* `npm run dist` — Prepare all assets with locales for CDN support -* `npm test` — Run all the tests - -### Upcoming - -* `npm run tsc` — Compile TypeScript to JavaScript (via commonJS) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 2965e19a..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,4 +0,0 @@ -custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8MXLRJ7QQXGYY&source=url -open_collective: json-schema-faker -github: pateketrueke -ko-fi: pateketrueke diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index aca41042..00000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,5 +0,0 @@ -If you are reporting a bug, please include the following: - -1. the JSON Schema content that fails - preferably using http://json-schema-faker.js.org/ (paste the schema, click `Generate example` and then copy and paste the resulting URL from the browser address bar) -2. the result you got -3. the result you expected diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 57204c11..00000000 --- a/.gitignore +++ /dev/null @@ -1,37 +0,0 @@ -# IDEs -.idea -.vscode -.tarima - -*~ -*.log -*.tgz -*.todo -.nyc_output -.DS_Store -/lib -/dist -/build -/package -/reports -/coverage -/generated -/nbproject -/node_modules -/locale -/bower_components -/build/index.json - -### Vim ### -# swap -[._]*.s[a-v][a-z] -[._]*.sw[a-p] -[._]s[a-v][a-z] -[._]sw[a-p] -# session -Session.vim -# temporary -.netrwhist -*~ -# auto-generated tag files -tags diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 557de006..00000000 --- a/.npmignore +++ /dev/null @@ -1,19 +0,0 @@ -.* -*~ -*.log -*.tgz -*.json -.DS_Store -build-dist.js -bower.json -tslint.json -/ts -/docs -/spec -/build -/package -/reports -/coverage -/generated -/node_modules -/logo diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b9b724d7..00000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -sudo: required -dist: trusty -language: node_js -branches: - except: - - gh-pages -node_js: - - 6 - - 8 - - 9 - - 10 - - 11 - - 12 -before_script: - - npm run build -script: - - npm run test:ci -after_success: - - npm run codecov -notifications: - email: false -- GitLab