From 49016c1ef0379e5cac471fa38fa8c2b191044a0a Mon Sep 17 00:00:00 2001 From: "David A. Ramos" Date: Sat, 21 May 2022 23:16:58 -0700 Subject: [PATCH] Publish 0.1.1 with README and repo link --- .yarnrc.yml | 2 +- package.json | 2 +- packages/jest-plugin/README.md | 34 +++++++++++++++++++++++++++++++ packages/jest-plugin/package.json | 8 ++++++-- packages/js-api/README.md | 18 ++++++++++++++++ packages/js-api/package.json | 8 ++++++-- 6 files changed, 66 insertions(+), 6 deletions(-) create mode 100644 packages/jest-plugin/README.md create mode 100644 packages/js-api/README.md diff --git a/.yarnrc.yml b/.yarnrc.yml index 58c33d2..6a30a8e 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -3,6 +3,6 @@ nodeLinker: node-modules # By default, publish packages privately to GitHub for internal testing instead of to NPM. npmScopes: - unflakable: + unflakable-private: npmPublishRegistry: https://npm.pkg.github.com npmPublishAccess: restricted diff --git a/package.json b/package.json index bfcb36f..b963385 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lint": "eslint packages/**/src/*.{ts,js} scripts/**/*.{ts,js}", "prettier": "prettier --write packages/**/src/*.{ts,js}", "prettier:check": "prettier --check packages/**/src/*.{ts,js}", - "publish:private": "yarn workspace @unflakable/js-api npm publish && yarn workspace @unflakable/jest-plugin npm publish", + "publish": "yarn workspace @unflakable/js-api npm publish --access public && yarn workspace @unflakable/jest-plugin npm publish --access public", "set-jest-version": "ts-node scripts/set-jest-version.ts" }, "workspaces": [ diff --git a/packages/jest-plugin/README.md b/packages/jest-plugin/README.md new file mode 100644 index 0000000..269b6af --- /dev/null +++ b/packages/jest-plugin/README.md @@ -0,0 +1,34 @@ +

+ + Unflakable + +

+ +[![npm version](https://img.shields.io/npm/v/@unflakable/jest-plugin.svg)](https://www.npmjs.com/package/@unflakable/jest-plugin) +[![Twitter Follow](https://img.shields.io/twitter/url?label=%40unflakable&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ffollow%3Fscreen_name%3Dunflakable)](https://twitter.com/intent/follow?screen_name=unflakable) + +# Unflakable Plugin for Jest + +This Unflakable plugin enables users of the [Jest](https://jestjs.io) JavaScript test framework +to quarantine flaky tests and track test results. + +Refer to the [Jest Plugin](https://docs.unflakable.com/plugins/jest) documentation for +complete usage instructions. + +### Compatibility + +This plugin maintains compatibility with the Jest and Node.js versions listed below: + +[![27.0.0+](https://img.shields.io/badge/Jest-27.0.0%2B-C21325?logo=jest&labelColor=white&logoColor=C21325&style=flat-square)](#) +[![26.0.0+](https://img.shields.io/badge/Jest-26.0.0%2B-C21325?logo=jest&labelColor=white&logoColor=C21325&style=flat-square)](#) +[![25.1.0+](https://img.shields.io/badge/Jest-25.1.0%2B-C21325?logo=jest&labelColor=white&logoColor=C21325&style=flat-square)](#) +
+[![18](https://img.shields.io/badge/Node.js-18-339933?logo=node.js&labelColor=white&logoColor=339933&style=flat-square)](#) +[![16](https://img.shields.io/badge/Node.js-16-339933?logo=node.js&labelColor=white&logoColor=339933&style=flat-square)](#) +[![14](https://img.shields.io/badge/Node.js-14-339933?logo=node.js&labelColor=white&logoColor=339933&style=flat-square)](#) + +## Contributing + +To report a bug or request a new feature, please +[file a GitHub issue](https://github.com/unflakable/unflakable-javascript/issues). +We also welcome pull requests! diff --git a/packages/jest-plugin/package.json b/packages/jest-plugin/package.json index 8f7ad46..aa746bc 100644 --- a/packages/jest-plugin/package.json +++ b/packages/jest-plugin/package.json @@ -1,11 +1,14 @@ { "name": "@unflakable/jest-plugin", "description": "Jest plugin for Unflakable", - "repository": "https://github.com/unflakable/unflakable-javascript", + "repository": { + "type": "git", + "url": "https://github.com/unflakable/unflakable-javascript.git" + }, "bugs": "https://github.com/unflakable/unflakable-javascript/issues", "homepage": "https://unflakable.com", "license": "MIT", - "version": "0.1.0", + "version": "0.1.1", "exports": { ".": { "types": "./dist/index.d.ts", @@ -14,6 +17,7 @@ "./package.json": "./package.json" }, "files": [ + "README.md", "dist/**/*.js", "dist/**/*.d.ts" ], diff --git a/packages/js-api/README.md b/packages/js-api/README.md new file mode 100644 index 0000000..d37dc38 --- /dev/null +++ b/packages/js-api/README.md @@ -0,0 +1,18 @@ +

+ + Unflakable + +

+ +[![npm version](https://img.shields.io/npm/v/@unflakable/js-api.svg)](https://www.npmjs.com/package/@unflakable/js-api) +[![Twitter Follow](https://img.shields.io/twitter/url?label=%40unflakable&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ffollow%3Fscreen_name%3Dunflakable)](https://twitter.com/intent/follow?screen_name=unflakable) + +# Unflakable JavaScript API + +This package is used by the Unflakable JavaScript plugins to communicate with the Unflakable API. + +## Contributing + +To report a bug or request a new feature, please +[file a GitHub issue](https://github.com/unflakable/unflakable-javascript/issues). +We also welcome pull requests! diff --git a/packages/js-api/package.json b/packages/js-api/package.json index a622073..67fae2e 100644 --- a/packages/js-api/package.json +++ b/packages/js-api/package.json @@ -1,14 +1,18 @@ { "name": "@unflakable/js-api", "description": "JavaScript API for Unflakable", - "repository": "https://github.com/unflakable/unflakable-javascript", + "repository": { + "type": "git", + "url": "https://github.com/unflakable/unflakable-javascript.git" + }, "bugs": "https://github.com/unflakable/unflakable-javascript/issues", "homepage": "https://unflakable.com", "license": "MIT", - "version": "0.1.0", + "version": "0.1.1", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ + "README.md", "dist/**/*.js", "dist/**/*.d.ts" ],