diff --git a/example/package.json b/example/package.json index f11d8f03..3164894f 100644 --- a/example/package.json +++ b/example/package.json @@ -16,9 +16,9 @@ "fbtee:translate-single": "fbtee translate --jenkins --stdin < translation_input.json > src/translatedFbts.json" }, "dependencies": { - "@nkzw/babel-fbtee": "workspace:*", + "@nkzw/babel-fbtee": "workspace:^", "classnames": "^2.5.1", - "fbtee": "workspace:*", + "fbtee": "workspace:^", "invariant": "^2.2.4", "normalize.css": "8.0.1", "react": "^19.0.0", diff --git a/package.json b/package.json index 4bb2bec3..8daa1c52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nkzw/fbtee-internal", - "version": "0.0.4", + "version": "0.0.5", "private": true, "license": "MIT", "type": "module", @@ -36,8 +36,7 @@ "@types/invariant": "^2.2.37", "@types/jest": "^29.5.14", "@types/json-diff": "^1.0.3", - "@types/node": "^22.10.1", - "@types/prettier": "^3.0.0", + "@types/node": "^22.10.2", "@types/prettier-2": "npm:@types/prettier@^2.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", diff --git a/packages/babel-fbtee/package.json b/packages/babel-fbtee/package.json index 29d16cb6..4d819311 100644 --- a/packages/babel-fbtee/package.json +++ b/packages/babel-fbtee/package.json @@ -1,6 +1,6 @@ { "name": "@nkzw/babel-fbtee", - "version": "0.0.4", + "version": "0.0.5", "description": "The JavaScript & React Internationalization Framework.", "keywords": [ "fbt", @@ -29,8 +29,8 @@ "build:types": "dts-bundle-generator -o lib/index.d.ts src/index.tsx" }, "dependencies": { - "@nkzw/babel-plugin-fbtee": "workspace:*", - "@nkzw/babel-plugin-fbtee-auto-import": "workspace:*", - "@nkzw/babel-plugin-fbtee-runtime": "workspace:*" + "@nkzw/babel-plugin-fbtee": "workspace:^", + "@nkzw/babel-plugin-fbtee-auto-import": "workspace:^", + "@nkzw/babel-plugin-fbtee-runtime": "workspace:^" } } diff --git a/packages/babel-plugin-fbtee-auto-import/package.json b/packages/babel-plugin-fbtee-auto-import/package.json index e7b46001..8c05aa60 100644 --- a/packages/babel-plugin-fbtee-auto-import/package.json +++ b/packages/babel-plugin-fbtee-auto-import/package.json @@ -1,6 +1,6 @@ { "name": "@nkzw/babel-plugin-fbtee-auto-import", - "version": "0.0.4", + "version": "0.0.5", "description": "The JavaScript & React Internationalization Framework.", "keywords": [ "fbt", @@ -26,6 +26,6 @@ "dependencies": { "@babel/core": "^7.26.0", "@babel/types": "^7.26.3", - "@nkzw/babel-plugin-fbtee": "workspace:*" + "@nkzw/babel-plugin-fbtee": "workspace:^" } } diff --git a/packages/babel-plugin-fbtee-runtime/package.json b/packages/babel-plugin-fbtee-runtime/package.json index 4e2a0ea3..7cc26662 100644 --- a/packages/babel-plugin-fbtee-runtime/package.json +++ b/packages/babel-plugin-fbtee-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@nkzw/babel-plugin-fbtee-runtime", - "version": "0.0.4", + "version": "0.0.5", "description": "The JavaScript & React Internationalization Framework.", "keywords": [ "fbt", @@ -31,9 +31,9 @@ "invariant": "^2.2.4" }, "devDependencies": { - "@nkzw/babel-plugin-fbtee-auto-import": "workspace:*" + "@nkzw/babel-plugin-fbtee-auto-import": "workspace:^" }, "peerDependencies": { - "@nkzw/babel-plugin-fbtee": "workspace:*" + "@nkzw/babel-plugin-fbtee": "workspace:^" } } diff --git a/packages/babel-plugin-fbtee/package.json b/packages/babel-plugin-fbtee/package.json index f04f8f81..f82d579b 100644 --- a/packages/babel-plugin-fbtee/package.json +++ b/packages/babel-plugin-fbtee/package.json @@ -1,6 +1,6 @@ { "name": "@nkzw/babel-plugin-fbtee", - "version": "0.0.4", + "version": "0.0.5", "description": "The JavaScript & React Internationalization Framework.", "keywords": [ "fbt", @@ -35,7 +35,7 @@ "@babel/preset-typescript": "^7.26.0", "@babel/traverse": "^7.26.4", "@babel/types": "^7.26.3", - "@nkzw/babel-plugin-fbtee-auto-import": "workspace:*", + "@nkzw/babel-plugin-fbtee-auto-import": "workspace:^", "glob": "^11.0.0", "invariant": "^2.2.4", "jest-docblock": "^30.0.0-alpha.6", diff --git a/packages/fbtee/package.json b/packages/fbtee/package.json index a847f6c3..4a9649bb 100644 --- a/packages/fbtee/package.json +++ b/packages/fbtee/package.json @@ -1,6 +1,6 @@ { "name": "fbtee", - "version": "0.0.4", + "version": "0.0.5", "description": "The JavaScript & React Internationalization Framework.", "keywords": [ "fbt", @@ -28,8 +28,8 @@ }, "devDependencies": {}, "peerDependencies": { - "@nkzw/babel-plugin-fbtee": "workspace:*", - "@nkzw/babel-plugin-fbtee-runtime": "workspace:*", + "@nkzw/babel-plugin-fbtee": "workspace:^", + "@nkzw/babel-plugin-fbtee-runtime": "workspace:^", "react": "^19.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a2b1cdc2..fc627f7e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,11 +63,8 @@ importers: specifier: ^1.0.3 version: 1.0.3 '@types/node': - specifier: ^22.10.1 - version: 22.10.1 - '@types/prettier': - specifier: ^3.0.0 - version: 3.0.0 + specifier: ^22.10.2 + version: 22.10.2 '@types/prettier-2': specifier: npm:@types/prettier@^2.0.0 version: '@types/prettier@2.7.3' @@ -97,7 +94,7 @@ importers: version: 2.2.4 jest: specifier: ^30.0.0-alpha.6 - version: 30.0.0-alpha.6(@types/node@22.10.1) + version: 30.0.0-alpha.6(@types/node@22.10.2) jest-environment-jsdom: specifier: ^29.7.0 version: 29.7.0 @@ -126,13 +123,13 @@ importers: example: dependencies: '@nkzw/babel-fbtee': - specifier: workspace:* + specifier: workspace:^ version: link:../packages/babel-fbtee classnames: specifier: ^2.5.1 version: 2.5.1 fbtee: - specifier: workspace:* + specifier: workspace:^ version: link:../packages/fbtee invariant: specifier: ^2.2.4 @@ -152,21 +149,21 @@ importers: version: 7.26.3(@babel/core@7.26.0) '@vitejs/plugin-react': specifier: ^4.3.4 - version: 4.3.4(vite@6.0.3(@types/node@22.10.1)(terser@5.36.0)(yaml@2.6.1)) + version: 4.3.4(vite@6.0.3(@types/node@22.10.2)(terser@5.36.0)(yaml@2.6.1)) vite: specifier: ^6.0.3 - version: 6.0.3(@types/node@22.10.1)(terser@5.36.0)(yaml@2.6.1) + version: 6.0.3(@types/node@22.10.2)(terser@5.36.0)(yaml@2.6.1) packages/babel-fbtee: dependencies: '@nkzw/babel-plugin-fbtee': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee '@nkzw/babel-plugin-fbtee-auto-import': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee-auto-import '@nkzw/babel-plugin-fbtee-runtime': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee-runtime packages/babel-plugin-fbtee: @@ -190,7 +187,7 @@ importers: specifier: ^7.26.3 version: 7.26.3 '@nkzw/babel-plugin-fbtee-auto-import': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee-auto-import glob: specifier: ^11.0.0 @@ -230,7 +227,7 @@ importers: specifier: ^7.26.3 version: 7.26.3 '@nkzw/babel-plugin-fbtee': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee packages/babel-plugin-fbtee-runtime: @@ -248,23 +245,23 @@ importers: specifier: ^7.26.3 version: 7.26.3 '@nkzw/babel-plugin-fbtee': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee invariant: specifier: ^2.2.4 version: 2.2.4 devDependencies: '@nkzw/babel-plugin-fbtee-auto-import': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee-auto-import packages/fbtee: dependencies: '@nkzw/babel-plugin-fbtee': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee '@nkzw/babel-plugin-fbtee-runtime': - specifier: workspace:* + specifier: workspace:^ version: link:../babel-plugin-fbtee-runtime invariant: specifier: ^2.2.4 @@ -1091,8 +1088,8 @@ packages: '@types/minimatch@5.1.2': resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} - '@types/node@22.10.1': - resolution: {integrity: sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==} + '@types/node@22.10.2': + resolution: {integrity: sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1100,10 +1097,6 @@ packages: '@types/prettier@2.7.3': resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} - '@types/prettier@3.0.0': - resolution: {integrity: sha512-mFMBfMOz8QxhYVbuINtswBp9VL2b4Y0QqYHwqLz3YbgtfAcat2Dl6Y1o4e22S/OVE6Ebl9m7wWiMT2lSbAs1wA==} - deprecated: This is a stub types definition. prettier provides its own type definitions, so you do not need this installed. - '@types/react-dom@19.0.2': resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==} peerDependencies: @@ -4127,7 +4120,7 @@ snapshots: '@jest/console@30.0.0-alpha.6': dependencies: '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 chalk: 4.1.2 jest-message-util: 30.0.0-alpha.6 jest-util: 30.0.0-alpha.6 @@ -4141,14 +4134,14 @@ snapshots: '@jest/test-result': 30.0.0-alpha.6 '@jest/transform': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 4.1.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 30.0.0-alpha.6 - jest-config: 30.0.0-alpha.6(@types/node@22.10.1) + jest-config: 30.0.0-alpha.6(@types/node@22.10.2) jest-haste-map: 30.0.0-alpha.6 jest-message-util: 30.0.0-alpha.6 jest-regex-util: 30.0.0-alpha.6 @@ -4174,14 +4167,14 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-mock: 29.7.0 '@jest/environment@30.0.0-alpha.6': dependencies: '@jest/fake-timers': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-mock: 30.0.0-alpha.6 '@jest/expect-utils@29.7.0': @@ -4210,7 +4203,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -4219,7 +4212,7 @@ snapshots: dependencies: '@jest/types': 30.0.0-alpha.6 '@sinonjs/fake-timers': 11.3.1 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-message-util: 30.0.0-alpha.6 jest-mock: 30.0.0-alpha.6 jest-util: 30.0.0-alpha.6 @@ -4244,7 +4237,7 @@ snapshots: '@jest/pattern@30.0.0-alpha.6': dependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-regex-util: 30.0.0-alpha.6 '@jest/reporters@30.0.0-alpha.6': @@ -4255,7 +4248,7 @@ snapshots: '@jest/transform': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 22.10.1 + '@types/node': 22.10.2 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -4356,7 +4349,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.10.1 + '@types/node': 22.10.2 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -4366,7 +4359,7 @@ snapshots: '@jest/schemas': 30.0.0-alpha.6 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.10.1 + '@types/node': 22.10.2 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -4588,11 +4581,11 @@ snapshots: '@types/glob@8.1.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.10.1 + '@types/node': 22.10.2 '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.2 '@types/invariant@2.2.37': {} @@ -4613,7 +4606,7 @@ snapshots: '@types/jsdom@20.0.1': dependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.2 '@types/tough-cookie': 4.0.5 parse5: 7.2.1 @@ -4625,7 +4618,7 @@ snapshots: '@types/minimatch@5.1.2': {} - '@types/node@22.10.1': + '@types/node@22.10.2': dependencies: undici-types: 6.20.0 @@ -4633,10 +4626,6 @@ snapshots: '@types/prettier@2.7.3': {} - '@types/prettier@3.0.0': - dependencies: - prettier: 2.8.8 - '@types/react-dom@19.0.2(@types/react@19.0.1)': dependencies: '@types/react': 19.0.1 @@ -4785,14 +4774,14 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react@4.3.4(vite@6.0.3(@types/node@22.10.1)(terser@5.36.0)(yaml@2.6.1))': + '@vitejs/plugin-react@4.3.4(vite@6.0.3(@types/node@22.10.2)(terser@5.36.0)(yaml@2.6.1))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 6.0.3(@types/node@22.10.1)(terser@5.36.0)(yaml@2.6.1) + vite: 6.0.3(@types/node@22.10.2)(terser@5.36.0)(yaml@2.6.1) transitivePeerDependencies: - supports-color @@ -6188,7 +6177,7 @@ snapshots: '@jest/expect': 30.0.0-alpha.6 '@jest/test-result': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3 @@ -6208,7 +6197,7 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@30.0.0-alpha.6(@types/node@22.10.1): + jest-cli@30.0.0-alpha.6(@types/node@22.10.2): dependencies: '@jest/core': 30.0.0-alpha.6 '@jest/test-result': 30.0.0-alpha.6 @@ -6216,7 +6205,7 @@ snapshots: chalk: 4.1.2 exit: 0.1.2 import-local: 3.2.0 - jest-config: 30.0.0-alpha.6(@types/node@22.10.1) + jest-config: 30.0.0-alpha.6(@types/node@22.10.2) jest-util: 30.0.0-alpha.6 jest-validate: 30.0.0-alpha.6 yargs: 17.7.2 @@ -6227,7 +6216,7 @@ snapshots: - supports-color - ts-node - jest-config@30.0.0-alpha.6(@types/node@22.10.1): + jest-config@30.0.0-alpha.6(@types/node@22.10.2): dependencies: '@babel/core': 7.26.0 '@jest/pattern': 30.0.0-alpha.6 @@ -6254,7 +6243,7 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.2 transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -6291,7 +6280,7 @@ snapshots: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -6305,7 +6294,7 @@ snapshots: '@jest/environment': 30.0.0-alpha.6 '@jest/fake-timers': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-mock: 30.0.0-alpha.6 jest-util: 30.0.0-alpha.6 @@ -6317,7 +6306,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 22.10.1 + '@types/node': 22.10.2 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -6332,7 +6321,7 @@ snapshots: jest-haste-map@30.0.0-alpha.6: dependencies: '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -6390,13 +6379,13 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-util: 29.7.0 jest-mock@30.0.0-alpha.6: dependencies: '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-util: 30.0.0-alpha.6 jest-pnp-resolver@1.2.3(jest-resolve@30.0.0-alpha.6): @@ -6433,7 +6422,7 @@ snapshots: '@jest/test-result': 30.0.0-alpha.6 '@jest/transform': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -6461,7 +6450,7 @@ snapshots: '@jest/test-result': 30.0.0-alpha.6 '@jest/transform': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 chalk: 4.1.2 cjs-module-lexer: 1.4.1 collect-v8-coverage: 1.0.2 @@ -6533,7 +6522,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.10.1 + '@types/node': 22.10.2 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -6542,7 +6531,7 @@ snapshots: jest-util@30.0.0-alpha.6: dependencies: '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 chalk: 4.1.2 ci-info: 4.1.0 graceful-fs: 4.2.11 @@ -6561,7 +6550,7 @@ snapshots: dependencies: '@jest/test-result': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 - '@types/node': 22.10.1 + '@types/node': 22.10.2 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -6570,25 +6559,25 @@ snapshots: jest-worker@29.7.0: dependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.2 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 jest-worker@30.0.0-alpha.6: dependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.2 '@ungap/structured-clone': 1.2.0 jest-util: 30.0.0-alpha.6 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@30.0.0-alpha.6(@types/node@22.10.1): + jest@30.0.0-alpha.6(@types/node@22.10.2): dependencies: '@jest/core': 30.0.0-alpha.6 '@jest/types': 30.0.0-alpha.6 import-local: 3.2.0 - jest-cli: 30.0.0-alpha.6(@types/node@22.10.1) + jest-cli: 30.0.0-alpha.6(@types/node@22.10.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -7564,13 +7553,13 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - vite@6.0.3(@types/node@22.10.1)(terser@5.36.0)(yaml@2.6.1): + vite@6.0.3(@types/node@22.10.2)(terser@5.36.0)(yaml@2.6.1): dependencies: esbuild: 0.24.0 postcss: 8.4.49 rollup: 4.28.0 optionalDependencies: - '@types/node': 22.10.1 + '@types/node': 22.10.2 fsevents: 2.3.3 terser: 5.36.0 yaml: 2.6.1