@guardian/ab-react
Advanced tools
Comparing version 8.0.1 to 8.0.2
{ | ||
"name": "@guardian/ab-react", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"private": false, | ||
"description": "A React library for A/B & multivariate testing", | ||
"homepage": "https://github.com/guardian/csnx/tree/main/libs/@guardian/ab-react#readme", | ||
"bugs": { | ||
"url": "https://github.com/guardian/csnx/issues" | ||
"license": "Apache-2.0", | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/guardian/csnx.git" | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"devDependencies": { | ||
"@guardian/ab-core": "7.0.0", | ||
"@testing-library/react": "14.2.1", | ||
"@types/react": "18.2.11", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"rollup": "4.17.2", | ||
"tslib": "2.6.2", | ||
"typescript": "5.3.3" | ||
}, | ||
"license": "Apache-2.0", | ||
"sideEffects": false, | ||
"main": "./cjs/index.js", | ||
"module": "./esm/index.js", | ||
"peerDependencies": { | ||
"@guardian/ab-core": "^7.0.0", | ||
"@types/react": "^18.2.11", | ||
"react": "^18.2.0", | ||
@@ -26,2 +38,5 @@ "react-dom": "^18.2.0", | ||
"peerDependenciesMeta": { | ||
"@types/react": { | ||
"optional": true | ||
}, | ||
"typescript": { | ||
@@ -37,15 +52,10 @@ "optional": true | ||
"build": { | ||
"executor": "@csnx/npm-package:build", | ||
"inputs": [ | ||
"{projectRoot}/src/**", | ||
"{projectRoot}/package.json", | ||
"{projectRoot}/tsconfig.json" | ||
], | ||
"outputs": [ | ||
"{options.outputPath}" | ||
], | ||
"options": { | ||
"entry": "{projectRoot}/src/index.ts", | ||
"tsConfig": "{projectRoot}/tsconfig.json", | ||
"packageJson": "{projectRoot}/package.json", | ||
"outputPath": "{workspaceRoot}/dist/{projectRoot}", | ||
"assets": [ | ||
"{projectRoot}/*.md" | ||
] | ||
} | ||
"{projectRoot}/dist" | ||
] | ||
}, | ||
@@ -87,4 +97,10 @@ "lint": { | ||
}, | ||
"readme": "ERROR: No README data found!", | ||
"_id": "@guardian/ab-react@8.0.1" | ||
"scripts": { | ||
"build": "rm -rf dist && rollup -c", | ||
"dev": "jest --watch", | ||
"fix": "pnpm lint --fix", | ||
"lint": "eslint --cache .", | ||
"test": "jest", | ||
"verify-dist": "jest --setupFilesAfterEnv ./jest.dist.setup.js" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Yes
19750
6
8
9
127
2
1
1