Skip to content

Commit

Permalink
Pass Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Mar 21, 2024
1 parent 2ee1d65 commit 455f34c
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 135 deletions.
16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
assignees:
- sergiodxa
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
assignees:
- sergiodxa
42 changes: 21 additions & 21 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
changelog:
categories:
- title: New Features
labels:
- enhancement
- title: Documentation Changes
labels:
- documentation
- title: Example
labels:
- example
- title: Bug Fixes
labels:
- bug
- title: Deprecations
labels:
- deprecated
- title: Dependency Upgrades
labels:
- dependencies
- title: Other Changes
labels:
- "*"
- title: New Features
labels:
- enhancement
- title: Documentation Changes
labels:
- documentation
- title: Example
labels:
- example
- title: Bug Fixes
labels:
- bug
- title: Deprecations
labels:
- deprecated
- title: Dependency Upgrades
labels:
- dependencies
- title: Other Changes
labels:
- "*"
8 changes: 4 additions & 4 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Semver type of new version (major / minor / patch)'
description: "Semver type of new version (major / minor / patch)"
required: true
type: choice
options:
- major
- minor
- patch
- major
- minor
- patch

jobs:
bump-version:
Expand Down
26 changes: 13 additions & 13 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Expand Down
178 changes: 89 additions & 89 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,91 +1,91 @@
{
"name": "flagged",
"description": "Feature flags for React made easy with hooks, HOC and Render Props",
"version": "2.0.10",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"type": "module",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": "./build/index.js"
},
"scripts": {
"prepare": "npm run build",
"build": "tsc --project tsconfig.json --outDir ./build",
"postbuild": "prettier --write \"build/**/*.js\" \"build/**/*.d.ts\"",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"test/**/*.ts\" \"test/**/*.tsx\" \"*.md\" \"package.json\"",
"typecheck": "tsc --project tsconfig.json --noEmit",
"lint": "eslint --ext .ts,.tsx src/",
"test": "vitest --run",
"test:watch": "vitest",
"test:coverage": "vitest --coverage",
"test:exports": "bun scripts/check-pkg-exports.ts"
},
"homepage": "https://github.com/sergiodxa/flagged",
"author": {
"name": "Sergio Xalambrí",
"url": "https://sergiodxa.com",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/sergiodxa/flagged.git"
},
"bugs": {
"url": "https://github.com/sergiodxa/flagged/issues"
},
"main": "dist/index.js",
"module": "dist/flagged.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"react",
"feature flags",
"flags",
"features",
"hooks",
"hoc",
"high order component",
"render props",
"typescript",
"types"
],
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.0.0",
"@types/bun": "^1.0.10",
"@types/react": "^18.2.25",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.12.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.0.2",
"eslint-plugin-unicorn": "^49.0.0",
"happy-dom": "^12.9.0",
"prettier": "^3.2.5",
"react": "^18.0.0",
"typescript": "^5.2.2",
"vite": "^5.0.0",
"vitest": "^1.0.0"
}
"name": "flagged",
"description": "Feature flags for React made easy with hooks, HOC and Render Props",
"version": "2.0.10",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"type": "module",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": "./build/index.js"
},
"scripts": {
"prepare": "npm run build",
"build": "tsc --project tsconfig.json --outDir ./build",
"postbuild": "prettier --write \"build/**/*.js\" \"build/**/*.d.ts\"",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"test/**/*.ts\" \"test/**/*.tsx\" \"*.md\" \"package.json\"",
"typecheck": "tsc --project tsconfig.json --noEmit",
"lint": "eslint --ext .ts,.tsx src/",
"test": "vitest --run",
"test:watch": "vitest",
"test:coverage": "vitest --coverage",
"test:exports": "bun scripts/check-pkg-exports.ts"
},
"homepage": "https://github.com/sergiodxa/flagged",
"author": {
"name": "Sergio Xalambrí",
"url": "https://sergiodxa.com",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/sergiodxa/flagged.git"
},
"bugs": {
"url": "https://github.com/sergiodxa/flagged/issues"
},
"main": "dist/index.js",
"module": "dist/flagged.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"react",
"feature flags",
"flags",
"features",
"hooks",
"hoc",
"high order component",
"render props",
"typescript",
"types"
],
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.0.0",
"@types/bun": "^1.0.10",
"@types/react": "^18.2.25",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.12.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.0.2",
"eslint-plugin-unicorn": "^49.0.0",
"happy-dom": "^12.9.0",
"prettier": "^3.2.5",
"react": "^18.0.0",
"typescript": "^5.2.2",
"vite": "^5.0.0",
"vitest": "^1.0.0"
}
}

0 comments on commit 455f34c

Please sign in to comment.