From d595f762f91d7e7c958271311db4d118507600de Mon Sep 17 00:00:00 2001 From: Shine Li Date: Thu, 18 Jul 2024 14:06:07 +1000 Subject: [PATCH] [DX-2988] faster and simpler watch mode and build in ci (#1957) --- .../workflows/build-lint-typecheck-test.yaml | 7 +- .github/workflows/build-sdk.yaml | 41 - .gitignore | 7 + README.md | 30 +- build-dependents.js | 38 + dev.sh | 27 + nx-cloud.example.env | 5 + nx.json | 32 + package.json | 11 +- packages/blockchain-data/sdk/package.json | 2 +- packages/checkout/sdk/package.json | 2 +- packages/checkout/widgets-lib/package.json | 2 +- packages/config/package.json | 2 +- packages/internal/bridge/sdk/package.json | 2 +- packages/internal/cryptofiat/package.json | 2 +- .../internal/dex/sdk-sample-app/package.json | 2 +- packages/internal/dex/sdk/package.json | 2 +- packages/internal/factory/sdk/package.json | 2 +- .../internal/generated-clients/package.json | 2 +- packages/internal/guardian/package.json | 2 +- packages/internal/metrics/package.json | 2 +- packages/internal/toolkit/package.json | 2 +- packages/minting-backend/sdk/package.json | 2 +- packages/orderbook/package.json | 2 +- packages/passport/sdk-sample-app/package.json | 2 +- packages/passport/sdk/package.json | 2 +- packages/webhook/sdk/package.json | 2 +- packages/x-client/package.json | 2 +- packages/x-provider/package.json | 2 +- sdk/package.json | 2 +- sdk/rollup.config.js | 13 +- yarn.lock | 779 +++++++++++++++++- 32 files changed, 920 insertions(+), 112 deletions(-) delete mode 100644 .github/workflows/build-sdk.yaml create mode 100755 build-dependents.js create mode 100755 dev.sh create mode 100644 nx-cloud.example.env create mode 100644 nx.json diff --git a/.github/workflows/build-lint-typecheck-test.yaml b/.github/workflows/build-lint-typecheck-test.yaml index 89f58e9e92..16085a91f6 100644 --- a/.github/workflows/build-lint-typecheck-test.yaml +++ b/.github/workflows/build-lint-typecheck-test.yaml @@ -8,6 +8,9 @@ on: branches: - main +env: + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }} + jobs: build: name: Build @@ -34,7 +37,7 @@ jobs: key: ${{ runner.os }}-build-cache-deps-${{ hashFiles('yarn.lock') }} - name: Install dependencies - if: steps.restore-cache-node_modules.outputs.cache-hit != 'true' + if: steps.restore-cache-node_modules.outputs.cache-hit != 'true' run: yarn install --immutable - name: Check Single Package Version Policy @@ -82,7 +85,7 @@ jobs: - name: Build passport sample app run: yarn workspace @imtbl/passport-sdk-sample-app build - + typecheck: name: Typecheck runs-on: ubuntu-latest-4-cores diff --git a/.github/workflows/build-sdk.yaml b/.github/workflows/build-sdk.yaml deleted file mode 100644 index e11090aa67..0000000000 --- a/.github/workflows/build-sdk.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Build and Cache SDK - -on: - pull_request: - merge_group: - -jobs: - build-cache-sdk: - name: Build and Cache SDK - runs-on: ubuntu-latest-4-cores - env: - NODE_OPTIONS: --max-old-space-size=14366 - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version-file: ".nvmrc" - cache: 'yarn' - - - name: Install dependencies - run: yarn install --immutable - - - name: Cache node_modules - uses: actions/cache@v4 - with: - path: node_modules - key: ${{ runner.os }}-build-cache-deps-${{ hashFiles('yarn.lock') }} - - # - name: Build - # run: yarn build - - # - name: Cache build artifacts - # uses: actions/cache@v4 - # with: - # path: | - # ./sdk - # ./packages - # key: ${{ runner.os }}-build-cache-${{ github.sha }} diff --git a/.gitignore b/.gitignore index 5a29d5adbd..fbc55aa320 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,10 @@ yalc.lock package-lock.json docs/ + + + +.nx/cache +.nx/workspace-data +nx-cloud.env +dep-graph.json \ No newline at end of file diff --git a/README.md b/README.md index 98a4f7e566..464c9e12af 100644 --- a/README.md +++ b/README.md @@ -82,38 +82,20 @@ Most packages in the workspace have their own README file that provides specific NOTE: Some packages may have additional commands or require different setup steps, for example in a certain package the development mode may be started with `yarn start:dev` instead of `yarn start`, or `yarn dev`. For the steps below we will be assuming defaults. -### Development Mode +### Development watch mode -Development mode allows you to run a package in a local development environment. This is useful for testing changes and new features before deploying them to production. Any changes made will be reflected in real-time on save, so you can see the effects of your changes immediately. These are propogated in real time to the sample app, if it is running, for that SDK too. - -Development mode for sdk packages will tend to use rollup and its watch mode to rebuild the package on file changes. This build output, stored in the dist folder of the sdk package, is what is exposed to any other packages that depend on it, including the sample app. - -To run a package in development mode, you can use the following command in the context of that package: +Build a package and start watch mode for a package: ```bash -# Context: Specified package -yarn start +yarn dev YOUR_PACKAGE_NAME ``` -Some packages also come with a sample app that you can run in development mode. To run the sample app, you first need to run the SDK it depends on in development mode, and then run the sample app development mode in a seperate terminal. For example, to run the `checkout-sdk-sample-app` located at `/packages/checkout/sdk-sample-app`, you can use the following commands: - +e.g. for @imtbl/passport package ```bash -yarn workspace @imtbl/checkout-sdk start - -# Or from the root of the monorepo -cd packages/checkout/sdk -yarn start +yarn dev @imtbl/passport ``` +Changes in any packages that `@imtbl/passport` depends on will re-build passport package. -Then, in a separate terminal: - -```bash -yarn workspace @imtbl/checkout-sdk-sample-app start - -# Or from the root of the monorepo -cd packages/checkout/sdk-sample-app -yarn start -``` ### Running Tests diff --git a/build-dependents.js b/build-dependents.js new file mode 100755 index 0000000000..fb53b404a1 --- /dev/null +++ b/build-dependents.js @@ -0,0 +1,38 @@ +const { execSync } = require('child_process'); +const fs = require('fs'); + +if (process.argv.length < 4) { + console.error('Please provide a changed project name and the current project.'); + process.exit(1); +} + +const changedProject = process.argv[2]; +const currentProject = process.argv[3]; + +try { + console.log('changedProject:', changedProject); + // Generate the focused dependency graph JSON + execSync(`nx graph --file=dep-graph.json --focus=${currentProject}`, { stdio: 'inherit' }); + + // Read and parse the dependency graph JSON + const depGraph = JSON.parse(fs.readFileSync('dep-graph.json', 'utf-8')); + + // Check if the changed project is in the dependencies of the current project + const dependencies = depGraph.graph.dependencies[currentProject] || []; + const isDependent = dependencies.some((dep) => dep.target === changedProject); + + if (isDependent || changedProject === currentProject) { + // Rebuild the current project + const command = `nx run-many --target=d --projects=${currentProject} --parallel=5`; + + console.log(`Running command: ${command}`); + execSync(command, { stdio: 'inherit' }); + + console.log(`Rebuilt the ${currentProject} project successfully.`); + } else { + console.log(`No need to build anything as changes to ${changedProject} do not affect ${currentProject}.`); + } +} catch (error) { + console.error('Error rebuilding projects:', error); + process.exit(1); +} diff --git a/dev.sh b/dev.sh new file mode 100755 index 0000000000..2485bb068f --- /dev/null +++ b/dev.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# Check if an argument was provided +if [ -z "$1" ]; then + echo "No package specified." + echo "" + echo "Fetching package list..." + # This command might change based on your nx setup. It assumes you can list projects like this. + nx show projects | grep @ | sort | awk '{print NR-1 " " $1}' > /tmp/nx_projects + cat /tmp/nx_projects + echo "" + echo "Enter the number of the project you want to select:" + read project_number + project_name=$(awk -v num="$project_number" '$1 == num {print $2}' /tmp/nx_projects) + echo "" + echo "You selected: $project_name" + echo "" + rm /tmp/nx_projects + PACKAGE_NAME=$project_name +else + PACKAGE_NAME=$1 +fi + +# Run nx commands with the selected or provided package name +echo "Running commands for package: $PACKAGE_NAME" +nx run $PACKAGE_NAME:d --parallel=5 +nx watch --all -- node ./build-dependents.js \$NX_PROJECT_NAME $(echo $PACKAGE_NAME) \ No newline at end of file diff --git a/nx-cloud.example.env b/nx-cloud.example.env new file mode 100644 index 0000000000..e32e0c8edf --- /dev/null +++ b/nx-cloud.example.env @@ -0,0 +1,5 @@ +# Create a file named nx-cloud.env in the root of the repo and obtain the contents from the Platform Engineering Shared 1Password vault +# By default the token set in the nx.json cloud access token field will only allow for read, while the token in the nx-cloud.env file will allow for read/write +# This is typically needed when you want to save the cache remotely from your local machine. + +NX_CLOUD_ACCESS_TOKEN= \ No newline at end of file diff --git a/nx.json b/nx.json new file mode 100644 index 0000000000..ca8a10664b --- /dev/null +++ b/nx.json @@ -0,0 +1,32 @@ +{ + "$schema": "./node_modules/nx/schemas/nx-schema.json", + "targetDefaults": { + "d": { + "dependsOn": [ + "^d" + ], + "outputs": [ + "{projectRoot}/dist" + ], + "cache": true + }, + "lint": { + "cache": true + }, + "test": { + "cache": true + }, + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "{projectRoot}/dist" + ], + "cache": true + } + }, + "defaultBase": "main", + "parallel": 5, + "nxCloudAccessToken": "Mzg3ZGY1MWUtYmYyNy00ZmE4LTkyNDAtYjYxZmJmYmE4NWQ3fHJlYWQ=" +} \ No newline at end of file diff --git a/package.json b/package.json index 3edeb172ce..4c62c54166 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ "@actions/core": "^1.10.1", "@emotion/react": "^11.11.3", "@release-it-plugins/workspaces": "^4.0.0", + "@swc/cli": "^0.4.0", + "@swc/core": "^1.3.36", "@types/chai": "^4.3.16", "@typescript-eslint/eslint-plugin": "^5.57.1", "@typescript-eslint/parser": "^5.57.1", @@ -23,6 +25,7 @@ "husky": "^8.0.3", "lint-staged": "^13.2.0", "node-gyp": "^9.3.1", + "nx": "19.3.2", "release-it": "^16.1.3", "syncpack": "^9.8.4", "typedoc": "^0.24.8", @@ -44,9 +47,8 @@ "responselike": "^2.0.0" }, "scripts": { - "build": "NODE_OPTIONS=--max-old-space-size=14366 wsrun -y 4 -p @imtbl/sdk -p @imtbl/checkout-widgets -e -r --serial build && yarn syncpack:format && yarn wsrun -p @imtbl/sdk -a -m copyBrowserBundles", - "build:onlysdk": "NODE_OPTIONS=--max-old-space-size=14366 wsrun -y 4 -p @imtbl/sdk --stages build && yarn syncpack:format", - "dev": "wsrun --parallel --exclude-missing dev", + "build": "yarn workspace @imtbl/sdk updateDependencies && NODE_OPTIONS=--max-old-space-size=14366 nx run-many --target=build --projects=@imtbl/sdk,@imtbl/checkout-widgets && yarn syncpack:format && yarn wsrun -p @imtbl/sdk -a -m copyBrowserBundles", + "build:onlysdk": "NODE_OPTIONS=--max-old-space-size=14366 nx run-many --target=build --projects=@imtbl/sdk && yarn syncpack:format", "docs:build": "typedoc", "docs:serve": "http-server ./docs --cors -p 8080 -c-1", "lint": "wsrun --exclude-missing -e lint --no-error-on-unmatched-pattern", @@ -62,7 +64,8 @@ "test:checkout:sdk:coverage": "wsrun -p @imtbl/checkout-sdk --exclude-missing -e test:coverage", "test:examples": "cd examples/ts-immutable-sample && yarn test && yarn test:e2e", "test:vpn": "RUN_VPN_TESTS=1 wsrun --exclude-missing -e test", - "typecheck": "wsrun --exclude-missing typecheck" + "typecheck": "wsrun --exclude-missing typecheck", + "dev": "./dev.sh" }, "workspaces": { "packages": [ diff --git a/packages/blockchain-data/sdk/package.json b/packages/blockchain-data/sdk/package.json index a0fa0e2bbf..752d5c0073 100644 --- a/packages/blockchain-data/sdk/package.json +++ b/packages/blockchain-data/sdk/package.json @@ -34,7 +34,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "generate-types": "typechain --target=ethers-v5 --out-dir=src/typechain/types 'abi/*.json'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "test": "jest", diff --git a/packages/checkout/sdk/package.json b/packages/checkout/sdk/package.json index e01b2147d9..4b9a9af9ea 100644 --- a/packages/checkout/sdk/package.json +++ b/packages/checkout/sdk/package.json @@ -53,7 +53,7 @@ "scripts": { "build": "rollup --config rollup.config.js", "build:dev": "CHECKOUT_DEV_MODE=true yarn build", - "dev": "CHECKOUT_DEV_MODE=true rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "docs": "typedoc --plugin typedoc-plugin-markdown --skipErrorChecking --disableSources --out docs src/index.ts", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "lint:fix": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix", diff --git a/packages/checkout/widgets-lib/package.json b/packages/checkout/widgets-lib/package.json index b081acdede..1e93191f2e 100644 --- a/packages/checkout/widgets-lib/package.json +++ b/packages/checkout/widgets-lib/package.json @@ -82,7 +82,7 @@ "build:analyse": "yarn build --plugin visualizer", "build:local": "yarn clean && yarn build && mkdir -p ../widgets-sample-app/public/lib/js && cp dist/*.js ../widgets-sample-app/public/lib/js/", "clean": "rm -rf ./dist", - "dev": "NODE_ENV=development rollup --config rollup.config.js", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "lint:fix": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix", "start": "yarn clean && NODE_ENV=development rollup --config rollup.config.js --watch", diff --git a/packages/config/package.json b/packages/config/package.json index 654e87e15f..cd891e7e03 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -36,7 +36,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "test": "jest", "test:watch": "jest --watch", diff --git a/packages/internal/bridge/sdk/package.json b/packages/internal/bridge/sdk/package.json index a6f1fbd28c..028d876360 100644 --- a/packages/internal/bridge/sdk/package.json +++ b/packages/internal/bridge/sdk/package.json @@ -43,7 +43,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts --max-warnings=0", "lint:fix": "cd ../../../../ && yarn wsrun -p @imtbl/bridge-sdk -c lint --fix", "test": "jest test -- --silent=false", diff --git a/packages/internal/cryptofiat/package.json b/packages/internal/cryptofiat/package.json index 5e0ffc731a..de5cc8f5ce 100644 --- a/packages/internal/cryptofiat/package.json +++ b/packages/internal/cryptofiat/package.json @@ -40,7 +40,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix", "prepare": "wsrun -r build", "test": "jest", diff --git a/packages/internal/dex/sdk-sample-app/package.json b/packages/internal/dex/sdk-sample-app/package.json index a055b3af9a..55e375e533 100644 --- a/packages/internal/dex/sdk-sample-app/package.json +++ b/packages/internal/dex/sdk-sample-app/package.json @@ -18,7 +18,7 @@ }, "private": true, "scripts": { - "dev": "next dev", + "d": "next dev", "lint": "eslint ./src --ext .ts --max-warnings=0", "setup": "cd ../../../../ && yarn build:onlysdk", "start": "next start" diff --git a/packages/internal/dex/sdk/package.json b/packages/internal/dex/sdk/package.json index 844ee8c238..dc502e744f 100644 --- a/packages/internal/dex/sdk/package.json +++ b/packages/internal/dex/sdk/package.json @@ -42,7 +42,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "generate-types": "typechain --target ethers-v5 --out-dir ./src/contracts/types ./src/contracts/ABIs/*.json", "lint": "eslint ./src --ext .ts --max-warnings=0", "lint:fix": "cd ../../../.. && yarn wsrun -p @imtbl/dex-sdk -c lint --fix", diff --git a/packages/internal/factory/sdk/package.json b/packages/internal/factory/sdk/package.json index 84249ca3eb..8322236d5e 100644 --- a/packages/internal/factory/sdk/package.json +++ b/packages/internal/factory/sdk/package.json @@ -39,7 +39,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts --max-warnings=0", "lint:fix": "cd ../../../ && yarn wsrun -p @imtbl/factory-sdk -c lint --fix", "test": "jest test", diff --git a/packages/internal/generated-clients/package.json b/packages/internal/generated-clients/package.json index c2c9d2f122..ce9f9c2afe 100644 --- a/packages/internal/generated-clients/package.json +++ b/packages/internal/generated-clients/package.json @@ -23,7 +23,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "prepare": "wsrun -r build", "test": "jest", "typecheck": "tsc --noEmit --jsx preserve", diff --git a/packages/internal/guardian/package.json b/packages/internal/guardian/package.json index bdbdc8a110..1740d42dc6 100644 --- a/packages/internal/guardian/package.json +++ b/packages/internal/guardian/package.json @@ -38,7 +38,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w" + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'" }, "type": "module", "types": "dist/index.d.ts" diff --git a/packages/internal/metrics/package.json b/packages/internal/metrics/package.json index 1ca230f3fb..84dfaf0d36 100644 --- a/packages/internal/metrics/package.json +++ b/packages/internal/metrics/package.json @@ -32,7 +32,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "test": "jest", "typecheck": "tsc --noEmit --jsx preserve" diff --git a/packages/internal/toolkit/package.json b/packages/internal/toolkit/package.json index bf2f8ccdf1..7c4bb05fa6 100644 --- a/packages/internal/toolkit/package.json +++ b/packages/internal/toolkit/package.json @@ -50,7 +50,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "prepare": "wsrun -r build", "test": "jest", diff --git a/packages/minting-backend/sdk/package.json b/packages/minting-backend/sdk/package.json index f0508b3975..2f2c60fb7a 100644 --- a/packages/minting-backend/sdk/package.json +++ b/packages/minting-backend/sdk/package.json @@ -37,7 +37,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "test": "jest --passWithNoTests", "test:watch": "jest --watch", diff --git a/packages/orderbook/package.json b/packages/orderbook/package.json index 559d70e62a..8ac5fae5a6 100644 --- a/packages/orderbook/package.json +++ b/packages/orderbook/package.json @@ -33,7 +33,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "generate-types": "typechain --target=ethers-v5 --out-dir=src/typechain/types 'abi/*.json'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "lint:fix": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix", diff --git a/packages/passport/sdk-sample-app/package.json b/packages/passport/sdk-sample-app/package.json index feea9f6f8b..3485e06aa4 100644 --- a/packages/passport/sdk-sample-app/package.json +++ b/packages/passport/sdk-sample-app/package.json @@ -34,7 +34,7 @@ "private": true, "scripts": { "build": "next build", - "dev": "next dev", + "d": "next dev", "dev-with-sdk": "concurrently 'yarn workspace @imtbl/passport-sdk-sample-app dev' 'yarn workspace @imtbl/passport dev'", "export": "next export", "lint": "eslint ./src --ext .ts --max-warnings=0", diff --git a/packages/passport/sdk/package.json b/packages/passport/sdk/package.json index 5285ebe05a..ed2308e84c 100644 --- a/packages/passport/sdk/package.json +++ b/packages/passport/sdk/package.json @@ -61,7 +61,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "test": "jest", "test:watch": "jest --watch", diff --git a/packages/webhook/sdk/package.json b/packages/webhook/sdk/package.json index b84b6e62ec..db54743e02 100644 --- a/packages/webhook/sdk/package.json +++ b/packages/webhook/sdk/package.json @@ -35,7 +35,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "generate-types": "typechain --target=ethers-v5 --out-dir=src/typechain/types 'abi/*.json'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "test": "jest --passWithNoTests", diff --git a/packages/x-client/package.json b/packages/x-client/package.json index d8178b79e0..0f1e84a745 100644 --- a/packages/x-client/package.json +++ b/packages/x-client/package.json @@ -43,7 +43,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "test": "jest", "typecheck": "tsc --noEmit --jsx preserve" diff --git a/packages/x-provider/package.json b/packages/x-provider/package.json index 483b5ec188..380e715360 100644 --- a/packages/x-provider/package.json +++ b/packages/x-provider/package.json @@ -48,7 +48,7 @@ "repository": "immutable/ts-immutable-sdk.git", "scripts": { "build": "NODE_ENV=production rollup --config rollup.config.js", - "dev": "rollup --config rollup.config.js -w", + "d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'", "lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0", "prepare": "wsrun -r build", "test": "jest", diff --git a/sdk/package.json b/sdk/package.json index e4a40eecf2..eb26b85c1f 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -154,7 +154,7 @@ "@openzeppelin/contracts": "3.4.2-solc-0.7" }, "scripts": { - "build": "yarn packageList && yarn updateDependencies && yarn regenModules && rm -rf dist && NODE_ENV=production node --max-old-space-size=8192 ../node_modules/rollup/dist/bin/rollup --config rollup.config.js && rm -rf dist/types", + "build": "yarn updateDependencies && yarn regenModules && rm -rf dist && NODE_ENV=production node --max-old-space-size=8192 ../node_modules/rollup/dist/bin/rollup --config rollup.config.js && rm -rf dist/types", "build:only": "rm -rf dist && NODE_ENV=production node --max-old-space-size=8192 ../node_modules/rollup/dist/bin/rollup --config rollup.config.js && rm -rf dist/types", "copyBrowserBundles": "node scripts/copyBrowserBundles.js", "generateIndex": "node scripts/generateIndex.js", diff --git a/sdk/rollup.config.js b/sdk/rollup.config.js index e49242b88c..d7b106eadf 100644 --- a/sdk/rollup.config.js +++ b/sdk/rollup.config.js @@ -11,12 +11,21 @@ import terser from '@rollup/plugin-terser'; import nodePolyfills from 'rollup-plugin-polyfill-node'; import babel from '@rollup/plugin-babel'; +import { fileURLToPath } from 'url'; +import { dirname, join } from 'path'; + +// Convert the import.meta.url to a file path +const __filename = fileURLToPath(import.meta.url); +// Get the directory name of the current module +const __dirname = dirname(__filename); +const projectRoot = __dirname; + // RELEASE_TYPE environment variable is set by the CI/CD pipeline const releaseType = process.env.RELEASE_TYPE || 'alpha'; const packages = JSON.parse( - readFileSync('./workspace-packages.json', { encoding: 'utf8' }) -); + readFileSync(join(projectRoot, 'workspace-packages.json'), { encoding: 'utf8' } +)); const getPackages = () => packages.map((pkg) => pkg.name); diff --git a/yarn.lock b/yarn.lock index a6cb22108a..f0896b9fd0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4434,6 +4434,15 @@ __metadata: languageName: node linkType: hard +"@jest/schemas@npm:^29.6.3": + version: 29.6.3 + resolution: "@jest/schemas@npm:29.6.3" + dependencies: + "@sinclair/typebox": ^0.27.8 + checksum: 910040425f0fc93cd13e68c750b7885590b8839066dfa0cd78e7def07bbb708ad869381f725945d66f2284de5663bbecf63e8fdd856e2ae6e261ba30b1687e93 + languageName: node + linkType: hard + "@jest/source-map@npm:^27.5.1": version: 27.5.1 resolution: "@jest/source-map@npm:27.5.1" @@ -4886,6 +4895,22 @@ __metadata: languageName: node linkType: hard +"@mole-inc/bin-wrapper@npm:^8.0.1": + version: 8.0.1 + resolution: "@mole-inc/bin-wrapper@npm:8.0.1" + dependencies: + bin-check: ^4.1.0 + bin-version-check: ^5.0.0 + content-disposition: ^0.5.4 + ext-name: ^5.0.0 + file-type: ^17.1.6 + filenamify: ^5.0.2 + got: ^11.8.5 + os-filter-obj: ^2.0.0 + checksum: 696bf652d37732d46d6b48c5a741f07958c2144df5b4a4bef3a235582e84e3687184cfa139c0e12443d03f123869819a0b7f2a7b0edc23daaebb94d70cc2e56c + languageName: node + linkType: hard + "@motionone/animation@npm:^10.15.1, @motionone/animation@npm:^10.17.0": version: 10.17.0 resolution: "@motionone/animation@npm:10.17.0" @@ -5273,6 +5298,18 @@ __metadata: languageName: node linkType: hard +"@nrwl/tao@npm:19.3.2": + version: 19.3.2 + resolution: "@nrwl/tao@npm:19.3.2" + dependencies: + nx: 19.3.2 + tslib: ^2.3.0 + bin: + tao: index.js + checksum: 959595b651d2044a5bf40718355dac776834b11cec2d4c17c9afd4d47c94611553daebb2a0352258a49a6ca6ee3c32df8aa5949359baff2dad581747120c7c94 + languageName: node + linkType: hard + "@nuxtjs/opencollective@npm:0.3.2": version: 0.3.2 resolution: "@nuxtjs/opencollective@npm:0.3.2" @@ -5286,6 +5323,76 @@ __metadata: languageName: node linkType: hard +"@nx/nx-darwin-arm64@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-darwin-arm64@npm:19.3.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@nx/nx-darwin-x64@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-darwin-x64@npm:19.3.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@nx/nx-freebsd-x64@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-freebsd-x64@npm:19.3.2" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@nx/nx-linux-arm-gnueabihf@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.3.2" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@nx/nx-linux-arm64-gnu@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-linux-arm64-gnu@npm:19.3.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@nx/nx-linux-arm64-musl@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-linux-arm64-musl@npm:19.3.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@nx/nx-linux-x64-gnu@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-linux-x64-gnu@npm:19.3.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@nx/nx-linux-x64-musl@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-linux-x64-musl@npm:19.3.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@nx/nx-win32-arm64-msvc@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-win32-arm64-msvc@npm:19.3.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@nx/nx-win32-x64-msvc@npm:19.3.2": + version: 19.3.2 + resolution: "@nx/nx-win32-x64-msvc@npm:19.3.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@octokit/auth-token@npm:^3.0.0": version: 3.0.4 resolution: "@octokit/auth-token@npm:3.0.4" @@ -8869,6 +8976,33 @@ __metadata: languageName: node linkType: hard +"@swc/cli@npm:^0.4.0": + version: 0.4.0 + resolution: "@swc/cli@npm:0.4.0" + dependencies: + "@mole-inc/bin-wrapper": ^8.0.1 + "@swc/counter": ^0.1.3 + commander: ^8.3.0 + fast-glob: ^3.2.5 + minimatch: ^9.0.3 + piscina: ^4.3.0 + semver: ^7.3.8 + slash: 3.0.0 + source-map: ^0.7.3 + peerDependencies: + "@swc/core": ^1.2.66 + chokidar: ^3.5.1 + peerDependenciesMeta: + chokidar: + optional: true + bin: + spack: bin/spack.js + swc: bin/swc.js + swcx: bin/swcx.js + checksum: df0d8f85c36b3e8268eaaabe6226f0cf7dd61b60cd9dcbe27c95f6b9844e3a9909ed0a7b295ee7e13a982dc11a77dc94d6860d050f00d6af6ed194c0df72348d + languageName: node + linkType: hard + "@swc/core-darwin-arm64@npm:1.3.70": version: 1.3.70 resolution: "@swc/core-darwin-arm64@npm:1.3.70" @@ -8983,6 +9117,13 @@ __metadata: languageName: node linkType: hard +"@swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 + languageName: node + linkType: hard + "@swc/helpers@npm:0.5.0": version: 0.5.0 resolution: "@swc/helpers@npm:0.5.0" @@ -9098,6 +9239,13 @@ __metadata: languageName: node linkType: hard +"@tokenizer/token@npm:^0.3.0": + version: 0.3.0 + resolution: "@tokenizer/token@npm:0.3.0" + checksum: 1d575d02d2a9f0c5a4ca5180635ebd2ad59e0f18b42a65f3d04844148b49b3db35cf00b6012a1af2d59c2ab3caca59451c5689f747ba8667ee586ad717ee58e1 + languageName: node + linkType: hard + "@tootallnate/once@npm:1": version: 1.1.2 resolution: "@tootallnate/once@npm:1.1.2" @@ -10958,6 +11106,13 @@ __metadata: languageName: node linkType: hard +"@yarnpkg/lockfile@npm:^1.1.0": + version: 1.1.0 + resolution: "@yarnpkg/lockfile@npm:1.1.0" + checksum: 05b881b4866a3546861fee756e6d3812776ea47fa6eb7098f983d6d0eefa02e12b66c3fff931574120f196286a7ad4879ce02743c8bb2be36c6a576c7852083a + languageName: node + linkType: hard + "@yarnpkg/nm@npm:^3.1.0": version: 3.1.0 resolution: "@yarnpkg/nm@npm:3.1.0" @@ -10969,6 +11124,16 @@ __metadata: languageName: node linkType: hard +"@yarnpkg/parsers@npm:3.0.0-rc.46": + version: 3.0.0-rc.46 + resolution: "@yarnpkg/parsers@npm:3.0.0-rc.46" + dependencies: + js-yaml: ^3.10.0 + tslib: ^2.4.0 + checksum: 35dfd1b1ac7ed9babf231721eb90b58156e840e575f6792a8e5ab559beaed6e2d60833b857310e67d6282c9406357648df2f510e670ec37ef4bd41657f329a51 + languageName: node + linkType: hard + "@yarnpkg/parsers@npm:^2.5.1": version: 2.5.1 resolution: "@yarnpkg/parsers@npm:2.5.1" @@ -11288,6 +11453,17 @@ __metadata: languageName: node linkType: hard +"@zkochan/js-yaml@npm:0.0.7": + version: 0.0.7 + resolution: "@zkochan/js-yaml@npm:0.0.7" + dependencies: + argparse: ^2.0.1 + bin: + js-yaml: bin/js-yaml.js + checksum: fc53174afc1373c834ba56108e625bf5c98f430fb0a52d3da8e868156e21c2f6a7cd5e649d126db84bba6280bbc82d4f314457846aaf2107022d043100256dd7 + languageName: node + linkType: hard + "@zxing/text-encoding@npm:0.9.0": version: 0.9.0 resolution: "@zxing/text-encoding@npm:0.9.0" @@ -11658,7 +11834,7 @@ __metadata: languageName: node linkType: hard -"arch@npm:^2.2.0": +"arch@npm:^2.1.0, arch@npm:^2.2.0": version: 2.2.0 resolution: "arch@npm:2.2.0" checksum: e21b7635029fe8e9cdd5a026f9a6c659103e63fff423834323cdf836a1bb240a72d0c39ca8c470f84643385cf581bd8eda2cad8bf493e27e54bd9783abe9101f @@ -12141,6 +12317,17 @@ __metadata: languageName: node linkType: hard +"axios@npm:^1.6.0": + version: 1.7.2 + resolution: "axios@npm:1.7.2" + dependencies: + follow-redirects: ^1.15.6 + form-data: ^4.0.0 + proxy-from-env: ^1.1.0 + checksum: e457e2b0ab748504621f6fa6609074ac08c824bf0881592209dfa15098ece7e88495300e02cd22ba50b3468fd712fe687e629dcb03d6a3f6a51989727405aedf + languageName: node + linkType: hard + "axios@npm:^1.6.5": version: 1.6.5 resolution: "axios@npm:1.6.5" @@ -12547,6 +12734,37 @@ __metadata: languageName: node linkType: hard +"bin-check@npm:^4.1.0": + version: 4.1.0 + resolution: "bin-check@npm:4.1.0" + dependencies: + execa: ^0.7.0 + executable: ^4.1.0 + checksum: 16f6d5d86df9365dab682c7dd238f93678b773a908b3bccea4b1acb82b9b4e49fcfa24c99b99180a8e4cdd89a8f15f03700b09908ed5ae651f52fd82488a3507 + languageName: node + linkType: hard + +"bin-version-check@npm:^5.0.0": + version: 5.1.0 + resolution: "bin-version-check@npm:5.1.0" + dependencies: + bin-version: ^6.0.0 + semver: ^7.5.3 + semver-truncate: ^3.0.0 + checksum: d99679cfe0964703045fe0145a98f117888942b621dfe2c2377305ee9a9d735374d8e3ecb3b476507b284af2567699f24f7ecb2feb1f27ad6086ad60b3198893 + languageName: node + linkType: hard + +"bin-version@npm:^6.0.0": + version: 6.0.0 + resolution: "bin-version@npm:6.0.0" + dependencies: + execa: ^5.0.0 + find-versions: ^5.0.0 + checksum: 78c29422ea9597eb4c8d4f0eff96df60d09aa82b53a87925bc403efbe5c55251b1a07baac538381d9096377f92d27e3c03963efa86db5bc0d6431b9563946229 + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -13431,7 +13649,7 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:^3.1.0": +"cli-cursor@npm:3.1.0, cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" dependencies: @@ -13449,6 +13667,13 @@ __metadata: languageName: node linkType: hard +"cli-spinners@npm:2.6.1": + version: 2.6.1 + resolution: "cli-spinners@npm:2.6.1" + checksum: 423409baaa7a58e5104b46ca1745fbfc5888bbd0b0c5a626e052ae1387060839c8efd512fb127e25769b3dc9562db1dc1b5add6e0b93b7ef64f477feb6416a45 + languageName: node + linkType: hard + "cli-spinners@npm:^2.5.0": version: 2.9.0 resolution: "cli-spinners@npm:2.9.0" @@ -13965,7 +14190,7 @@ __metadata: languageName: node linkType: hard -"content-disposition@npm:0.5.4": +"content-disposition@npm:0.5.4, content-disposition@npm:^0.5.4": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" dependencies: @@ -14235,6 +14460,17 @@ __metadata: languageName: node linkType: hard +"cross-spawn@npm:^5.0.1": + version: 5.1.0 + resolution: "cross-spawn@npm:5.1.0" + dependencies: + lru-cache: ^4.0.1 + shebang-command: ^1.2.0 + which: ^1.2.9 + checksum: 726939c9954fc70c20e538923feaaa33bebc253247d13021737c3c7f68cdc3e0a57f720c0fe75057c0387995349f3f12e20e9bfdbf12274db28019c7ea4ec166 + languageName: node + linkType: hard + "cross-spawn@npm:^6.0.0": version: 6.0.5 resolution: "cross-spawn@npm:6.0.5" @@ -15135,6 +15371,13 @@ __metadata: languageName: node linkType: hard +"diff-sequences@npm:^29.6.3": + version: 29.6.3 + resolution: "diff-sequences@npm:29.6.3" + checksum: f4914158e1f2276343d98ff5b31fc004e7304f5470bf0f1adb2ac6955d85a531a6458d33e87667f98f6ae52ebd3891bb47d420bb48a5bd8b7a27ee25b20e33aa + languageName: node + linkType: hard + "diff@npm:^4.0.1": version: 4.0.2 resolution: "diff@npm:4.0.2" @@ -15429,6 +15672,15 @@ __metadata: languageName: node linkType: hard +"dotenv-expand@npm:~11.0.6": + version: 11.0.6 + resolution: "dotenv-expand@npm:11.0.6" + dependencies: + dotenv: ^16.4.4 + checksum: dbbe1ecbdf17f4ba5556744b259801bdbc8c221c0d167f4f3ef079206ebf658f487fe96ea1fd504dc15172328d25f6c665581eb8d873298904a52d48a2004b49 + languageName: node + linkType: hard + "dotenv@npm:^10.0.0": version: 10.0.0 resolution: "dotenv@npm:10.0.0" @@ -15450,6 +15702,13 @@ __metadata: languageName: node linkType: hard +"dotenv@npm:^16.4.4, dotenv@npm:~16.4.5": + version: 16.4.5 + resolution: "dotenv@npm:16.4.5" + checksum: 301a12c3d44fd49888b74eb9ccf9f07a1f5df43f489e7fcb89647a2edcd84c42d6bc349dc8df099cd18f07c35c7b04685c1a4f3e6a6a9e6b30f8d48c15b7f49c + languageName: node + linkType: hard + "dotenv@npm:^7.0.0": version: 7.0.0 resolution: "dotenv@npm:7.0.0" @@ -15464,7 +15723,7 @@ __metadata: languageName: node linkType: hard -"duplexer@npm:^0.1.2": +"duplexer@npm:^0.1.1, duplexer@npm:^0.1.2": version: 0.1.2 resolution: "duplexer@npm:0.1.2" checksum: 62ba61a830c56801db28ff6305c7d289b6dc9f859054e8c982abd8ee0b0a14d2e9a8e7d086ffee12e868d43e2bbe8a964be55ddbd8c8957714c87373c7a4f9b0 @@ -15704,7 +15963,7 @@ __metadata: languageName: node linkType: hard -"enquirer@npm:^2.3.6": +"enquirer@npm:^2.3.6, enquirer@npm:~2.3.6": version: 2.3.6 resolution: "enquirer@npm:2.3.6" dependencies: @@ -16791,6 +17050,21 @@ __metadata: languageName: node linkType: hard +"execa@npm:^0.7.0": + version: 0.7.0 + resolution: "execa@npm:0.7.0" + dependencies: + cross-spawn: ^5.0.1 + get-stream: ^3.0.0 + is-stream: ^1.1.0 + npm-run-path: ^2.0.0 + p-finally: ^1.0.0 + signal-exit: ^3.0.0 + strip-eof: ^1.0.0 + checksum: dd70206d74b7217bf678ec9f04dddedc82f425df4c1d70e34c9f429d630ec407819e4bd42e3af2618981a4a3a1be000c9b651c0637be486cdab985160c20337c + languageName: node + linkType: hard + "execa@npm:^1.0.0": version: 1.0.0 resolution: "execa@npm:1.0.0" @@ -16857,7 +17131,7 @@ __metadata: languageName: node linkType: hard -"executable@npm:^4.1.1": +"executable@npm:^4.1.0, executable@npm:^4.1.1": version: 4.1.1 resolution: "executable@npm:4.1.1" dependencies: @@ -16945,6 +17219,25 @@ __metadata: languageName: node linkType: hard +"ext-list@npm:^2.0.0": + version: 2.2.2 + resolution: "ext-list@npm:2.2.2" + dependencies: + mime-db: ^1.28.0 + checksum: 9b2426bea312e674eeced62c5f18407ab9a8653bbdfbde36492331c7973dab7fbf9e11d6c38605786168b42da333910314988097ca06eee61f1b9b57efae3f18 + languageName: node + linkType: hard + +"ext-name@npm:^5.0.0": + version: 5.0.0 + resolution: "ext-name@npm:5.0.0" + dependencies: + ext-list: ^2.0.0 + sort-keys-length: ^1.0.0 + checksum: f598269bd5de4295540ea7d6f8f6a01d82a7508f148b7700a05628ef6121648d26e6e5e942049e953b3051863df6b54bd8fe951e7877f185e34ace5d44370b33 + languageName: node + linkType: hard + "ext@npm:^1.1.2": version: 1.7.0 resolution: "ext@npm:1.7.0" @@ -17046,6 +17339,19 @@ __metadata: languageName: node linkType: hard +"fast-glob@npm:^3.2.5": + version: 3.3.2 + resolution: "fast-glob@npm:3.3.2" + dependencies: + "@nodelib/fs.stat": ^2.0.2 + "@nodelib/fs.walk": ^1.2.3 + glob-parent: ^5.1.2 + merge2: ^1.3.0 + micromatch: ^4.0.4 + checksum: 900e4979f4dbc3313840078419245621259f349950411ca2fa445a2f9a1a6d98c3b5e7e0660c5ccd563aa61abe133a21765c6c0dec8e57da1ba71d8000b05ec1 + languageName: node + linkType: hard + "fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0": version: 2.1.0 resolution: "fast-json-stable-stringify@npm:2.1.0" @@ -17127,7 +17433,7 @@ __metadata: languageName: node linkType: hard -"figures@npm:^3.0.0, figures@npm:^3.2.0": +"figures@npm:3.2.0, figures@npm:^3.0.0, figures@npm:^3.2.0": version: 3.2.0 resolution: "figures@npm:3.2.0" dependencies: @@ -17167,6 +17473,17 @@ __metadata: languageName: node linkType: hard +"file-type@npm:^17.1.6": + version: 17.1.6 + resolution: "file-type@npm:17.1.6" + dependencies: + readable-web-to-node-stream: ^3.0.2 + strtok3: ^7.0.0-alpha.9 + token-types: ^5.0.0-alpha.2 + checksum: 797e0d155ecaf4b575d4569a0188bfed85af19d18cf3d93ec8bb66d797172a1fde9f13d56135c6a0b471cacd7ecc1adb0c9a45c6e3a19436f682a275d0be16cc + languageName: node + linkType: hard + "filelist@npm:^1.0.4": version: 1.0.4 resolution: "filelist@npm:1.0.4" @@ -17176,6 +17493,24 @@ __metadata: languageName: node linkType: hard +"filename-reserved-regex@npm:^3.0.0": + version: 3.0.0 + resolution: "filename-reserved-regex@npm:3.0.0" + checksum: 1803e19ce64d7cb88ee5a1bd3ce282470a5c263987269222426d889049fc857e302284fa71937de9582eba7a9f39539557d45e0562f2fa51cade8efc68c65dd9 + languageName: node + linkType: hard + +"filenamify@npm:^5.0.2": + version: 5.1.1 + resolution: "filenamify@npm:5.1.1" + dependencies: + filename-reserved-regex: ^3.0.0 + strip-outer: ^2.0.0 + trim-repeated: ^2.0.0 + checksum: 55a7ed0858eb2655bb1bb1e945a59e3fb30ba4767f6924fa064ccd731bff07678aac3cb4f3899ae0e1621fe81d6472b5688232bb6afd4eeb989ade785fc1c6f1 + languageName: node + linkType: hard + "filesize@npm:^8.0.6": version: 8.0.7 resolution: "filesize@npm:8.0.7" @@ -17270,6 +17605,15 @@ __metadata: languageName: node linkType: hard +"find-versions@npm:^5.0.0": + version: 5.1.0 + resolution: "find-versions@npm:5.1.0" + dependencies: + semver-regex: ^4.0.5 + checksum: 680bdb0081f631f7bfb6f0f8edcfa0b74ab8cabc82097a4527a37b0d042aabc56685bf459ff27991eab0baddc04eb8e3bba8a2869f5004ecf7cdd2779b6e51de + languageName: node + linkType: hard + "flat-cache@npm:^3.0.4": version: 3.0.4 resolution: "flat-cache@npm:3.0.4" @@ -17280,6 +17624,15 @@ __metadata: languageName: node linkType: hard +"flat@npm:^5.0.2": + version: 5.0.2 + resolution: "flat@npm:5.0.2" + bin: + flat: cli.js + checksum: 12a1536ac746db74881316a181499a78ef953632ddd28050b7a3a43c62ef5462e3357c8c29d76072bb635f147f7a9a1f0c02efef6b4be28f8db62ceb3d5c7f5d + languageName: node + linkType: hard + "flatted@npm:^3.1.0": version: 3.2.7 resolution: "flatted@npm:3.2.7" @@ -17465,6 +17818,15 @@ __metadata: languageName: node linkType: hard +"front-matter@npm:^4.0.2": + version: 4.0.2 + resolution: "front-matter@npm:4.0.2" + dependencies: + js-yaml: ^3.13.1 + checksum: a5b4c36d75a820301ebf31db0f677332d189c4561903ab6853eaa0504b43634f98557dbf87752e09043dbd2c9dcc14b4bcf9151cb319c8ad7e26edb203c0cd23 + languageName: node + linkType: hard + "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -17494,6 +17856,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:^11.1.0": + version: 11.2.0 + resolution: "fs-extra@npm:11.2.0" + dependencies: + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: b12e42fa40ba47104202f57b8480dd098aa931c2724565e5e70779ab87605665594e76ee5fb00545f772ab9ace167fe06d2ab009c416dc8c842c5ae6df7aa7e8 + languageName: node + linkType: hard + "fs-extra@npm:^7.0.0": version: 7.0.1 resolution: "fs-extra@npm:7.0.1" @@ -17739,6 +18112,13 @@ __metadata: languageName: node linkType: hard +"get-stream@npm:^3.0.0": + version: 3.0.0 + resolution: "get-stream@npm:3.0.0" + checksum: 36142f46005ed74ce3a45c55545ec4e7da8e243554179e345a786baf144e5c4a35fb7bdc49fadfa9f18bd08000589b6fe364abdadfc4e1eb0e1b9914a6bb9c56 + languageName: node + linkType: hard + "get-stream@npm:^4.0.0": version: 4.1.0 resolution: "get-stream@npm:4.1.0" @@ -18060,7 +18440,7 @@ __metadata: languageName: node linkType: hard -"got@npm:^11.7.0": +"got@npm:^11.7.0, got@npm:^11.8.5": version: 11.8.6 resolution: "got@npm:11.8.6" dependencies: @@ -18837,6 +19217,13 @@ __metadata: languageName: node linkType: hard +"ignore@npm:^5.0.4": + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3 + languageName: node + linkType: hard + "ignore@npm:^5.2.0, ignore@npm:^5.2.4": version: 5.2.4 resolution: "ignore@npm:5.2.4" @@ -19404,6 +19791,13 @@ __metadata: languageName: node linkType: hard +"is-plain-obj@npm:^1.0.0": + version: 1.1.0 + resolution: "is-plain-obj@npm:1.1.0" + checksum: 0ee04807797aad50859652a7467481816cbb57e5cc97d813a7dcd8915da8195dc68c436010bf39d195226cde6a2d352f4b815f16f26b7bf486a5754290629931 + languageName: node + linkType: hard + "is-plain-obj@npm:^3.0.0": version: 3.0.0 resolution: "is-plain-obj@npm:3.0.0" @@ -20015,6 +20409,18 @@ __metadata: languageName: node linkType: hard +"jest-diff@npm:^29.4.1": + version: 29.7.0 + resolution: "jest-diff@npm:29.7.0" + dependencies: + chalk: ^4.0.0 + diff-sequences: ^29.6.3 + jest-get-type: ^29.6.3 + pretty-format: ^29.7.0 + checksum: 08e24a9dd43bfba1ef07a6374e5af138f53137b79ec3d5cc71a2303515335898888fa5409959172e1e05de966c9e714368d15e8994b0af7441f0721ee8e1bb77 + languageName: node + linkType: hard + "jest-diff@npm:^29.6.1": version: 29.6.1 resolution: "jest-diff@npm:29.6.1" @@ -20149,6 +20555,13 @@ __metadata: languageName: node linkType: hard +"jest-get-type@npm:^29.6.3": + version: 29.6.3 + resolution: "jest-get-type@npm:29.6.3" + checksum: 88ac9102d4679d768accae29f1e75f592b760b44277df288ad76ce5bf038c3f5ce3719dea8aa0f035dac30e9eb034b848ce716b9183ad7cc222d029f03e92205 + languageName: node + linkType: hard + "jest-haste-map@npm:^27.5.1": version: 27.5.1 resolution: "jest-haste-map@npm:27.5.1" @@ -21091,7 +21504,7 @@ __metadata: languageName: node linkType: hard -"jsonc-parser@npm:^3.2.0": +"jsonc-parser@npm:3.2.0, jsonc-parser@npm:^3.2.0": version: 3.2.0 resolution: "jsonc-parser@npm:3.2.0" checksum: 946dd9a5f326b745aa326d48a7257e3f4a4b62c5e98ec8e49fa2bdd8d96cef7e6febf1399f5c7016114fd1f68a1c62c6138826d5d90bc650448e3cf0951c53c7 @@ -21409,6 +21822,13 @@ __metadata: languageName: node linkType: hard +"lines-and-columns@npm:~2.0.3": + version: 2.0.4 + resolution: "lines-and-columns@npm:2.0.4" + checksum: f5e3e207467d3e722280c962b786dc20ebceb191821dcd771d14ab3146b6744cae28cf305ee4638805bec524ac54800e15698c853fcc53243821f88df37e4975 + languageName: node + linkType: hard + "lint-staged@npm:^13.2.0": version: 13.2.3 resolution: "lint-staged@npm:13.2.3" @@ -21876,6 +22296,16 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^4.0.1": + version: 4.1.5 + resolution: "lru-cache@npm:4.1.5" + dependencies: + pseudomap: ^1.0.2 + yallist: ^2.1.2 + checksum: 4bb4b58a36cd7dc4dcec74cbe6a8f766a38b7426f1ff59d4cf7d82a2aa9b9565cd1cb98f6ff60ce5cd174524868d7bc9b7b1c294371851356066ca9ac4cf135a + languageName: node + linkType: hard + "lru-cache@npm:^5.1.1": version: 5.1.1 resolution: "lru-cache@npm:5.1.1" @@ -22180,7 +22610,7 @@ __metadata: languageName: node linkType: hard -"mime-db@npm:1.52.0, mime-db@npm:>= 1.43.0 < 2": +"mime-db@npm:1.52.0, mime-db@npm:>= 1.43.0 < 2, mime-db@npm:^1.28.0": version: 1.52.0 resolution: "mime-db@npm:1.52.0" checksum: 0d99a03585f8b39d68182803b12ac601d9c01abfa28ec56204fa330bc9f3d1c5e14beb049bafadb3dbdf646dfb94b87e24d4ec7b31b7279ef906a8ea9b6a513f @@ -22299,6 +22729,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:9.0.3, minimatch@npm:^9.0.0, minimatch@npm:^9.0.1": + version: 9.0.3 + resolution: "minimatch@npm:9.0.3" + dependencies: + brace-expansion: ^2.0.1 + checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5 + languageName: node + linkType: hard + "minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" @@ -22317,12 +22756,12 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.0, minimatch@npm:^9.0.1": - version: 9.0.3 - resolution: "minimatch@npm:9.0.3" +"minimatch@npm:^9.0.3": + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" dependencies: brace-expansion: ^2.0.1 - checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5 + checksum: 2c035575eda1e50623c731ec6c14f65a85296268f749b9337005210bb2b34e2705f8ef1a358b188f69892286ab99dc42c8fb98a57bde55c8d81b3023c19cea28 languageName: node linkType: hard @@ -22792,6 +23231,17 @@ __metadata: languageName: node linkType: hard +"nice-napi@npm:^1.0.2": + version: 1.0.2 + resolution: "nice-napi@npm:1.0.2" + dependencies: + node-addon-api: ^3.0.0 + node-gyp: latest + node-gyp-build: ^4.2.2 + conditions: "!os=win32" + languageName: node + linkType: hard + "nice-try@npm:^1.0.4": version: 1.0.5 resolution: "nice-try@npm:1.0.5" @@ -22818,6 +23268,15 @@ __metadata: languageName: node linkType: hard +"node-addon-api@npm:^3.0.0": + version: 3.2.1 + resolution: "node-addon-api@npm:3.2.1" + dependencies: + node-gyp: latest + checksum: 2369986bb0881ccd9ef6bacdf39550e07e089a9c8ede1cbc5fc7712d8e2faa4d50da0e487e333d4125f8c7a616c730131d1091676c9d499af1d74560756b4a18 + languageName: node + linkType: hard + "node-addon-api@npm:^4.3.0": version: 4.3.0 resolution: "node-addon-api@npm:4.3.0" @@ -22929,6 +23388,17 @@ __metadata: languageName: node linkType: hard +"node-gyp-build@npm:^4.2.2": + version: 4.8.1 + resolution: "node-gyp-build@npm:4.8.1" + bin: + node-gyp-build: bin.js + node-gyp-build-optional: optional.js + node-gyp-build-test: build-test.js + checksum: fe6e95da6f4608c1a98655f6bf2fe4e8dd9c877cd13256056a8acaf585cc7f98718823fe9366be11b78c2f332d5a184b00cf07a4af96c9d8fea45f640c019f98 + languageName: node + linkType: hard + "node-gyp@npm:^9.3.1, node-gyp@npm:latest": version: 9.4.0 resolution: "node-gyp@npm:9.4.0" @@ -22957,6 +23427,13 @@ __metadata: languageName: node linkType: hard +"node-machine-id@npm:1.1.12": + version: 1.1.12 + resolution: "node-machine-id@npm:1.1.12" + checksum: e23088a0fb4a77a1d6484b7f09a22992fd3e0054d4f2e427692b4c7081e6cf30118ba07b6113b6c89f1ce46fd26ec5ab1d76dcaf6c10317717889124511283a5 + languageName: node + linkType: hard + "node-releases@npm:^2.0.12": version: 2.0.13 resolution: "node-releases@npm:2.0.13" @@ -23136,6 +23613,90 @@ __metadata: languageName: node linkType: hard +"nx@npm:19.3.2": + version: 19.3.2 + resolution: "nx@npm:19.3.2" + dependencies: + "@nrwl/tao": 19.3.2 + "@nx/nx-darwin-arm64": 19.3.2 + "@nx/nx-darwin-x64": 19.3.2 + "@nx/nx-freebsd-x64": 19.3.2 + "@nx/nx-linux-arm-gnueabihf": 19.3.2 + "@nx/nx-linux-arm64-gnu": 19.3.2 + "@nx/nx-linux-arm64-musl": 19.3.2 + "@nx/nx-linux-x64-gnu": 19.3.2 + "@nx/nx-linux-x64-musl": 19.3.2 + "@nx/nx-win32-arm64-msvc": 19.3.2 + "@nx/nx-win32-x64-msvc": 19.3.2 + "@yarnpkg/lockfile": ^1.1.0 + "@yarnpkg/parsers": 3.0.0-rc.46 + "@zkochan/js-yaml": 0.0.7 + axios: ^1.6.0 + chalk: ^4.1.0 + cli-cursor: 3.1.0 + cli-spinners: 2.6.1 + cliui: ^8.0.1 + dotenv: ~16.4.5 + dotenv-expand: ~11.0.6 + enquirer: ~2.3.6 + figures: 3.2.0 + flat: ^5.0.2 + front-matter: ^4.0.2 + fs-extra: ^11.1.0 + ignore: ^5.0.4 + jest-diff: ^29.4.1 + jsonc-parser: 3.2.0 + lines-and-columns: ~2.0.3 + minimatch: 9.0.3 + node-machine-id: 1.1.12 + npm-run-path: ^4.0.1 + open: ^8.4.0 + ora: 5.3.0 + semver: ^7.5.3 + string-width: ^4.2.3 + strong-log-transformer: ^2.1.0 + tar-stream: ~2.2.0 + tmp: ~0.2.1 + tsconfig-paths: ^4.1.2 + tslib: ^2.3.0 + yargs: ^17.6.2 + yargs-parser: 21.1.1 + peerDependencies: + "@swc-node/register": ^1.8.0 + "@swc/core": ^1.3.85 + dependenciesMeta: + "@nx/nx-darwin-arm64": + optional: true + "@nx/nx-darwin-x64": + optional: true + "@nx/nx-freebsd-x64": + optional: true + "@nx/nx-linux-arm-gnueabihf": + optional: true + "@nx/nx-linux-arm64-gnu": + optional: true + "@nx/nx-linux-arm64-musl": + optional: true + "@nx/nx-linux-x64-gnu": + optional: true + "@nx/nx-linux-x64-musl": + optional: true + "@nx/nx-win32-arm64-msvc": + optional: true + "@nx/nx-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@swc-node/register": + optional: true + "@swc/core": + optional: true + bin: + nx: bin/nx.js + nx-cloud: bin/nx-cloud.js + checksum: a7b3e0899f1b2f18d9cea69863d215413927f1fcc422c8ce45e561010ffa3bbb435d87f63e34edb486ab0e1dfb2fa3186fe0fbdc201beff987df6d8eff024d25 + languageName: node + linkType: hard + "obj-case@npm:0.2.1": version: 0.2.1 resolution: "obj-case@npm:0.2.1" @@ -23405,6 +23966,22 @@ __metadata: languageName: node linkType: hard +"ora@npm:5.3.0": + version: 5.3.0 + resolution: "ora@npm:5.3.0" + dependencies: + bl: ^4.0.3 + chalk: ^4.1.0 + cli-cursor: ^3.1.0 + cli-spinners: ^2.5.0 + is-interactive: ^1.0.0 + log-symbols: ^4.0.0 + strip-ansi: ^6.0.0 + wcwidth: ^1.0.1 + checksum: 60ec956843def482e2a9a78e98b6bfb19129cbf683fa4e4daca41423f9a098332a8a33b4ca335151b1e6836ff746e3b96e09441f3aea72151e4060990966daad + languageName: node + linkType: hard + "ora@npm:7.0.1": version: 7.0.1 resolution: "ora@npm:7.0.1" @@ -23453,6 +24030,15 @@ __metadata: languageName: node linkType: hard +"os-filter-obj@npm:^2.0.0": + version: 2.0.0 + resolution: "os-filter-obj@npm:2.0.0" + dependencies: + arch: ^2.1.0 + checksum: 08808a109b2dba9be8686cc006e082a0f6595e6d87e2a30e4147cb1d22b62a30a6e5f4fd78226aee76d9158c84db3cea292adec02e6591452e93cb33bf5da877 + languageName: node + linkType: hard + "os-name@npm:5.1.0": version: 5.1.0 resolution: "os-name@npm:5.1.0" @@ -23892,6 +24478,13 @@ __metadata: languageName: node linkType: hard +"peek-readable@npm:^5.0.0": + version: 5.1.0 + resolution: "peek-readable@npm:5.1.0" + checksum: 00f27271f714ae9cfe5341a42ab1a5571cd06af781db1add0e512a6f2c16d0495cb7786861ae572b722bf0361001e2e0bc8ea794401e6d21ff44c6817ad78ba9 + languageName: node + linkType: hard + "pend@npm:~1.2.0": version: 1.2.0 resolution: "pend@npm:1.2.0" @@ -24091,6 +24684,18 @@ __metadata: languageName: node linkType: hard +"piscina@npm:^4.3.0": + version: 4.6.1 + resolution: "piscina@npm:4.6.1" + dependencies: + nice-napi: ^1.0.2 + dependenciesMeta: + nice-napi: + optional: true + checksum: a0d79d1798965a0fc4aef65045b2deacbc3af7bd6effa8d08b4e1d59dfacc082e26d496701bb87b8ff2dc0798e1868ec612a6ad75ffe837f7c13cfb98d4f4e01 + languageName: node + linkType: hard + "pkg-dir@npm:^4.1.0, pkg-dir@npm:^4.2.0": version: 4.2.0 resolution: "pkg-dir@npm:4.2.0" @@ -25199,6 +25804,17 @@ __metadata: languageName: node linkType: hard +"pretty-format@npm:^29.7.0": + version: 29.7.0 + resolution: "pretty-format@npm:29.7.0" + dependencies: + "@jest/schemas": ^29.6.3 + ansi-styles: ^5.0.0 + react-is: ^18.0.0 + checksum: 032c1602383e71e9c0c02a01bbd25d6759d60e9c7cf21937dde8357aa753da348fcec5def5d1002c9678a8524d5fe099ad98861286550ef44de8808cc61e43b6 + languageName: node + linkType: hard + "prisma@npm:^5.13.0": version: 5.13.0 resolution: "prisma@npm:5.13.0" @@ -25413,6 +26029,13 @@ __metadata: languageName: node linkType: hard +"pseudomap@npm:^1.0.2": + version: 1.0.2 + resolution: "pseudomap@npm:1.0.2" + checksum: 856c0aae0ff2ad60881168334448e898ad7a0e45fe7386d114b150084254c01e200c957cf378378025df4e052c7890c5bd933939b0e0d2ecfcc1dc2f0b2991f5 + languageName: node + linkType: hard + "psl@npm:^1.1.33": version: 1.9.0 resolution: "psl@npm:1.9.0" @@ -26005,6 +26628,15 @@ __metadata: languageName: node linkType: hard +"readable-web-to-node-stream@npm:^3.0.2": + version: 3.0.2 + resolution: "readable-web-to-node-stream@npm:3.0.2" + dependencies: + readable-stream: ^3.6.0 + checksum: 8c56cc62c68513425ddfa721954875b382768f83fa20e6b31e365ee00cbe7a3d6296f66f7f1107b16cd3416d33aa9f1680475376400d62a081a88f81f0ea7f9c + languageName: node + linkType: hard + "readdir-glob@npm:^1.1.2": version: 1.1.3 resolution: "readdir-glob@npm:1.1.3" @@ -26979,6 +27611,22 @@ __metadata: languageName: node linkType: hard +"semver-regex@npm:^4.0.5": + version: 4.0.5 + resolution: "semver-regex@npm:4.0.5" + checksum: b9e5c0573c4a997fb7e6e76321385d254797e86c8dba5e23f3cd8cf8f40b40414097a51514e5fead61dcb88ff10d3676355c01e2040f3c68f6c24bfd2073da2e + languageName: node + linkType: hard + +"semver-truncate@npm:^3.0.0": + version: 3.0.0 + resolution: "semver-truncate@npm:3.0.0" + dependencies: + semver: ^7.3.5 + checksum: d8c23812218ff147f512ac4830e86860a377dba8a9733ae97d816102aca33236fa1c44c06544727153fffb93d15d0e45c49b2c40a7964aa3671769e9aed2f3f9 + languageName: node + linkType: hard + "semver@npm:7.5.0": version: 7.5.0 resolution: "semver@npm:7.5.0" @@ -27276,7 +27924,7 @@ __metadata: languageName: node linkType: hard -"slash@npm:^3.0.0": +"slash@npm:3.0.0, slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0" checksum: 94a93fff615f25a999ad4b83c9d5e257a7280c90a32a7cb8b4a87996e4babf322e469c42b7f649fd5796edd8687652f3fb452a86dc97a816f01113183393f11c @@ -27405,6 +28053,24 @@ __metadata: languageName: node linkType: hard +"sort-keys-length@npm:^1.0.0": + version: 1.0.1 + resolution: "sort-keys-length@npm:1.0.1" + dependencies: + sort-keys: ^1.0.0 + checksum: f9acac5fb31580a9e3d43b419dc86a1b75e85b79036a084d95dd4d1062b621c9589906588ac31e370a0dd381be46d8dbe900efa306d087ca9c912d7a59b5a590 + languageName: node + linkType: hard + +"sort-keys@npm:^1.0.0": + version: 1.1.2 + resolution: "sort-keys@npm:1.1.2" + dependencies: + is-plain-obj: ^1.0.0 + checksum: 5963fd191a2a185a5ec86f06e47721e8e04713eda43bb04ae60d2a8afb21241553dd5bc9d863ed2bd7c3d541b609b0c8d0e58836b1a3eb6764c09c094bcc8b00 + languageName: node + linkType: hard + "source-list-map@npm:^2.0.0, source-list-map@npm:^2.0.1": version: 2.0.1 resolution: "source-list-map@npm:2.0.1" @@ -28121,6 +28787,36 @@ __metadata: languageName: node linkType: hard +"strip-outer@npm:^2.0.0": + version: 2.0.0 + resolution: "strip-outer@npm:2.0.0" + checksum: 14ef9fe861e59a5f1555f1860982ae4edce2edb4ed34ab1b37cb62a8ba2f7c3540cbca6c884eabe4006e6cd729ab5d708a631169dd5b66fda570836e7e3b6589 + languageName: node + linkType: hard + +"strong-log-transformer@npm:^2.1.0": + version: 2.1.0 + resolution: "strong-log-transformer@npm:2.1.0" + dependencies: + duplexer: ^0.1.1 + minimist: ^1.2.0 + through: ^2.3.4 + bin: + sl-log-transformer: bin/sl-log-transformer.js + checksum: abf9a4ac143118f26c3a0771b204b02f5cf4fa80384ae158f25e02bfbff761038accc44a7f65869ccd5a5995a7f2c16b1466b83149644ba6cecd3072a8927297 + languageName: node + linkType: hard + +"strtok3@npm:^7.0.0-alpha.9": + version: 7.0.0 + resolution: "strtok3@npm:7.0.0" + dependencies: + "@tokenizer/token": ^0.3.0 + peek-readable: ^5.0.0 + checksum: 2ebe7ad8f2aea611dec6742cf6a42e82764892a362907f7ce493faf334501bf981ce21c828dcc300457e6d460dc9c34d644ededb3b01dcb9e37559203cf1748c + languageName: node + linkType: hard + "style-loader@npm:^3.3.1": version: 3.3.3 resolution: "style-loader@npm:3.3.3" @@ -28462,7 +29158,7 @@ __metadata: languageName: node linkType: hard -"tar-stream@npm:^2.0.0, tar-stream@npm:^2.0.1, tar-stream@npm:^2.2.0": +"tar-stream@npm:^2.0.0, tar-stream@npm:^2.0.1, tar-stream@npm:^2.2.0, tar-stream@npm:~2.2.0": version: 2.2.0 resolution: "tar-stream@npm:2.2.0" dependencies: @@ -28677,7 +29373,7 @@ __metadata: languageName: node linkType: hard -"through@npm:2, through@npm:^2.3.6, through@npm:^2.3.8": +"through@npm:2, through@npm:^2.3.4, through@npm:^2.3.6, through@npm:^2.3.8": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd @@ -28827,6 +29523,16 @@ __metadata: languageName: node linkType: hard +"token-types@npm:^5.0.0-alpha.2": + version: 5.0.1 + resolution: "token-types@npm:5.0.1" + dependencies: + "@tokenizer/token": ^0.3.0 + ieee754: ^1.2.1 + checksum: 32780123bc6ce8b6a2231d860445c994a02a720abf38df5583ea957aa6626873cd1c4dd8af62314da4cf16ede00c379a765707a3b06f04b8808c38efdae1c785 + languageName: node + linkType: hard + "toposort@npm:^2.0.2": version: 2.0.2 resolution: "toposort@npm:2.0.2" @@ -28896,6 +29602,15 @@ __metadata: languageName: node linkType: hard +"trim-repeated@npm:^2.0.0": + version: 2.0.0 + resolution: "trim-repeated@npm:2.0.0" + dependencies: + escape-string-regexp: ^5.0.0 + checksum: 4086eb0bc560f3da0370f427f423db4e3fc0a8e1560ecffc3b68512071319fe82dc9dd86d76b981d36ada76d7d49c3f8897ac054c87bc177e7a25abfd29e2bcd + languageName: node + linkType: hard + "tryer@npm:^1.0.1": version: 1.0.1 resolution: "tryer@npm:1.0.1" @@ -28940,6 +29655,8 @@ __metadata: "@actions/core": ^1.10.1 "@emotion/react": ^11.11.3 "@release-it-plugins/workspaces": ^4.0.0 + "@swc/cli": ^0.4.0 + "@swc/core": ^1.3.36 "@types/chai": ^4.3.16 "@typescript-eslint/eslint-plugin": ^5.57.1 "@typescript-eslint/parser": ^5.57.1 @@ -28952,6 +29669,7 @@ __metadata: husky: ^8.0.3 lint-staged: ^13.2.0 node-gyp: ^9.3.1 + nx: 19.3.2 release-it: ^16.1.3 syncpack: ^9.8.4 tslib: ^2.6.2 @@ -29066,6 +29784,17 @@ __metadata: languageName: node linkType: hard +"tsconfig-paths@npm:^4.1.2": + version: 4.2.0 + resolution: "tsconfig-paths@npm:4.2.0" + dependencies: + json5: ^2.2.2 + minimist: ^1.2.6 + strip-bom: ^3.0.0 + checksum: 28c5f7bbbcabc9dabd4117e8fdc61483f6872a1c6b02a4b1c4d68c5b79d06896c3cc9547610c4c3ba64658531caa2de13ead1ea1bf321c7b53e969c4752b98c7 + languageName: node + linkType: hard + "tslib@npm:1.14.1, tslib@npm:^1.13.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -29094,6 +29823,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.3.0": + version: 2.6.3 + resolution: "tslib@npm:2.6.3" + checksum: 74fce0e100f1ebd95b8995fbbd0e6c91bdd8f4c35c00d4da62e285a3363aaa534de40a80db30ecfd388ed7c313c42d930ee0eaf108e8114214b180eec3dbe6f5 + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -31191,6 +31927,13 @@ __metadata: languageName: node linkType: hard +"yallist@npm:^2.1.2": + version: 2.1.2 + resolution: "yallist@npm:2.1.2" + checksum: 9ba99409209f485b6fcb970330908a6d41fa1c933f75e08250316cce19383179a6b70a7e0721b89672ebb6199cc377bf3e432f55100da6a7d6e11902b0a642cb + languageName: node + linkType: hard + "yallist@npm:^3.0.2": version: 3.1.1 resolution: "yallist@npm:3.1.1" @@ -31305,7 +32048,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.3.1, yargs@npm:^17.5.1, yargs@npm:^17.7.2": +"yargs@npm:^17.3.1, yargs@npm:^17.5.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: