mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
* chore: simplify npm publish workflow by removing NPM token checks
- Removed redundant checks for NPM_TOKEN before publishing packages to npm.
- Updated publish result messages to reflect the use of Trusted Publishers (OIDC) for package publishing.
- Streamlined the workflow for better clarity and efficiency.
* chore: update npm publish workflow to use ubuntu-slim
- Changed the runner from 'ubuntu-latest' to 'ubuntu-slim' for improved efficiency and reduced resource usage during the npm publish process.
* chore: enhance npm publish workflow with dry run option
- Added a 'dry_run' input to the npm publish workflow to validate authentication and Trusted Publishers without uploading packages.
- Updated publish result messages to indicate when a dry run is completed, improving feedback during the publishing process.
* chore: refine npm publish workflow by removing strict mode input
- Eliminated the 'strict_mode' input from the npm publish workflow to simplify the process.
- Removed associated error handling comments and environment variable for stricter publish mode.
- Streamlined the workflow for improved clarity and efficiency during package publishing.
* chore: update npm publish workflow to use npx for publishing
- Replaced `yarn npm publish` with `npx npm@latest publish` to ensure the latest npm CLI is used for package publishing.
- Removed unnecessary `yarn config set npmPublishAccess` commands to streamline the workflow.
- Maintained the existing dry run functionality for testing without actual publishing.
* chore: enhance npm publish workflow to include version tagging
- Updated the npm publish workflow to dynamically determine the package version and apply a beta tag for pre-release versions.
- This change ensures that the correct versioning is maintained during the publishing process, improving clarity for users regarding package stability.
- Retained existing dry run functionality for testing without actual publishing.
* chore: remove npm publish command from package.json files
- Eliminated the `publish` script from multiple package.json files across contracts, sdk/core, sdk/qrcode, and sdk/qrcode-angular.
- This change streamlines the package management process by removing unnecessary publish commands, ensuring a cleaner configuration for future development.
* Temporary bump versions for check package publishing
* Revert "Temporary bump versions for check package publishing"
This reverts commit 180f5d538a.
* chore: add version check before npm publishing
- Implemented a version check in the npm publish workflow to prevent publishing of already published package versions.
- This enhancement ensures that developers are notified to bump the version in package.json if the version is already published, improving the publishing process and reducing errors.
* chore: improve npm publish workflow with enhanced outcome handling
- Updated the npm publish workflow to include detailed outcome handling for publish results, including checks for version publication status and improved messaging for skipped or failed publishes.
- This enhancement provides clearer feedback to developers regarding the publishing process, ensuring they are informed about the status of their package versions and necessary actions to take.
* chore: update npm publish workflow to include yarn packing for workspace resolution
- Added steps to pack each workspace using `yarn pack` before publishing to npm, ensuring that the correct package is published from each directory.
- This change resolves issues related to workspace protocol and improves the reliability of the publishing process across multiple packages.
* chore: simplify npm publish workflow by removing version check step
- Removed the version check for publish-msdk, as it did not work for private packages.
- Updated outcome handling to ensure clear messaging for skipped publishes without the version check dependency, improving overall workflow clarity.
121 lines
3.6 KiB
JSON
121 lines
3.6 KiB
JSON
{
|
|
"name": "@selfxyz/qrcode",
|
|
"version": "1.0.18",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/selfxyz/self"
|
|
},
|
|
"license": "MIT",
|
|
"author": "turnoffthiscomputer",
|
|
"sideEffects": [
|
|
"**/websocket.js",
|
|
"**/websocket.cjs",
|
|
"**/SelfQRcode.js",
|
|
"**/SelfQRcode.cjs",
|
|
"**/animations/*.json"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.cjs"
|
|
},
|
|
"./components/SelfQRcode": {
|
|
"types": "./dist/esm/components/SelfQRcode.d.ts",
|
|
"import": "./dist/esm/components/SelfQRcode.js",
|
|
"require": "./dist/cjs/components/SelfQRcode.cjs"
|
|
},
|
|
"./utils/utils": {
|
|
"types": "./dist/esm/utils/utils.d.ts",
|
|
"import": "./dist/esm/utils/utils.js",
|
|
"require": "./dist/cjs/utils/utils.cjs"
|
|
},
|
|
"./utils/styles": {
|
|
"types": "./dist/esm/utils/styles.d.ts",
|
|
"import": "./dist/esm/utils/styles.js",
|
|
"require": "./dist/cjs/utils/styles.cjs"
|
|
},
|
|
"./utils/websocket": {
|
|
"types": "./dist/esm/utils/websocket.d.ts",
|
|
"import": "./dist/esm/utils/websocket.js",
|
|
"require": "./dist/cjs/utils/websocket.cjs"
|
|
}
|
|
},
|
|
"main": "dist/cjs/index.cjs",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/esm/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup && yarn build:types && yarn postbuild",
|
|
"postbuild": "node ./scripts/postBuild.mjs",
|
|
"build:deps": "yarn workspaces foreach --from @selfxyz/qrcode --topological-dev --recursive run build",
|
|
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly",
|
|
"build:watch": "tsup --watch",
|
|
"format": "prettier --write .",
|
|
"install-sdk": "yarn workspace focus @selfxyz/qrcode",
|
|
"lint": "prettier --check .",
|
|
"lint:imports": "eslint . --fix",
|
|
"lint:imports:check": "eslint .",
|
|
"nice": "yarn format && yarn lint:imports",
|
|
"nice:check": "yarn lint && yarn lint:imports:check",
|
|
"prepublishOnly": "yarn build",
|
|
"test": "echo 'no tests found'",
|
|
"types": "yarn workspace @selfxyz/sdk-common build && tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@selfxyz/sdk-common": "workspace:^",
|
|
"js-sha1": "^0.7.0",
|
|
"js-sha256": "^0.11.0",
|
|
"js-sha512": "^0.9.0",
|
|
"lottie-react": "^2.4.0",
|
|
"node-forge": "^1.3.3",
|
|
"poseidon-lite": "^0.3.0",
|
|
"qrcode.react": "^4.1.0",
|
|
"react-spinners": "^0.14.1",
|
|
"socket.io-client": "^4.8.3",
|
|
"uuid": "^11.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@size-limit/preset-big-lib": "^11.2.0",
|
|
"@types/node": "^22.18.3",
|
|
"@types/node-forge": "^1",
|
|
"@types/react": ">=18.0.0 <20.0.0",
|
|
"@types/react-dom": ">=18.0.0 <20.0.0",
|
|
"@types/uuid": "^10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
"@typescript-eslint/parser": "^8.0.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"eslint-plugin-sort-exports": "^0.9.1",
|
|
"mocha": "^10.7.3",
|
|
"prettier": "^3.5.3",
|
|
"react": ">=18.0.0 <20.0.0",
|
|
"react-dom": ">=18.0.0 <20.0.0",
|
|
"size-limit": "^11.2.0",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-mocha": "^10.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.9.3",
|
|
"webpack": "^5.95.0"
|
|
},
|
|
"peerDependencies": {
|
|
"lottie-react": "^2.4.0",
|
|
"react": ">=18.0.0 <20.0.0",
|
|
"react-dom": ">=18.0.0 <20.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=22 <23"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|