diff --git a/.github/workflows/release-snap.yml b/.github/workflows/release-snap.yml deleted file mode 100644 index 38d430089..000000000 --- a/.github/workflows/release-snap.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Publish to Snapcraft - -on: - workflow_dispatch: - inputs: - build: - description: 'Build and publish to Snapcraft' - required: true - default: 'true' - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - - - name: Check package-lock.json - run: npm ci --legacy-peer-deps - - - name: Install dependencies - run: npm install --legacy-peer-deps - - - name: Build Electron app - run: | - npm run build:bruno-common - npm run build:bruno-query - npm run build:graphql-docs - npm run build:web - npm run build:electron:snap - - - name: Install Snapcraft - run: | - sudo snap install snapcraft --classic - continue-on-error: true - - - name: Configure Snapcraft - run: snapcraft whoami - env: - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_API_KEY }} - - - name: Publish to Snapcraft - run: | - snapcraft upload --release=stable packages/bruno-electron/out/*.snap - env: - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_API_KEY }} diff --git a/package-lock.json b/package-lock.json index 32cd8e2a9..a29edccf8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,6 +48,7 @@ }, "node_modules/@ampproject/remapping": { "version": "2.2.1", + "dev": true, "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", @@ -414,6 +415,7 @@ }, "node_modules/@babel/compat-data": { "version": "7.23.5", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -421,6 +423,7 @@ }, "node_modules/@babel/core": { "version": "7.23.9", + "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", @@ -483,6 +486,7 @@ }, "node_modules/@babel/helper-compilation-targets": { "version": "7.23.6", + "dev": true, "license": "MIT", "dependencies": { "@babel/compat-data": "^7.23.5", @@ -497,6 +501,7 @@ }, "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { "version": "5.1.1", + "dev": true, "license": "ISC", "dependencies": { "yallist": "^3.0.2" @@ -504,6 +509,7 @@ }, "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { "version": "3.1.1", + "dev": true, "license": "ISC" }, "node_modules/@babel/helper-create-class-features-plugin": { @@ -610,6 +616,7 @@ }, "node_modules/@babel/helper-module-transforms": { "version": "7.23.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", @@ -677,6 +684,7 @@ }, "node_modules/@babel/helper-simple-access": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" @@ -722,6 +730,7 @@ }, "node_modules/@babel/helper-validator-option": { "version": "7.23.5", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -742,6 +751,7 @@ }, "node_modules/@babel/helpers": { "version": "7.23.9", + "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.23.9", @@ -3874,23 +3884,6 @@ "node": ">=12" } }, - "node_modules/@n8n/vm2": { - "version": "3.9.23", - "resolved": "https://registry.npmjs.org/@n8n/vm2/-/vm2-3.9.23.tgz", - "integrity": "sha512-yu+It+L89uljQsCJ2e9cQaXzoXJe9bU69QQIoWUOcUw0u5Zon37DuB7bdNNsjKS1ZdFD+fBWCQpq/FkqHsSjXQ==", - "peer": true, - "dependencies": { - "acorn": "^8.7.0", - "acorn-walk": "^8.2.0" - }, - "bin": { - "vm2": "bin/vm2" - }, - "engines": { - "node": ">=18.10", - "pnpm": ">=8.6.12" - } - }, "node_modules/@next/env": { "version": "12.3.3", "license": "MIT" @@ -4798,17 +4791,6 @@ } } }, - "node_modules/@tailwindcss/forms": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.7.tgz", - "integrity": "sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==", - "dependencies": { - "mini-svg-data-uri": "^1.2.3" - }, - "peerDependencies": { - "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1" - } - }, "node_modules/@tippyjs/react": { "version": "4.2.6", "license": "MIT", @@ -6395,6 +6377,7 @@ }, "node_modules/browserslist": { "version": "4.22.3", + "dev": true, "funding": [ { "type": "opencollective", @@ -7333,6 +7316,7 @@ }, "node_modules/convert-source-map": { "version": "2.0.0", + "dev": true, "license": "MIT" }, "node_modules/cookie": { @@ -8490,6 +8474,7 @@ }, "node_modules/electron-to-chromium": { "version": "1.4.667", + "dev": true, "license": "ISC" }, "node_modules/electron-util": { @@ -9493,6 +9478,7 @@ }, "node_modules/gensync": { "version": "1.0.0-beta.2", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -12840,14 +12826,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/mini-svg-data-uri": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", - "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", - "bin": { - "mini-svg-data-uri": "cli.js" - } - }, "node_modules/minimatch": { "version": "3.1.2", "license": "ISC", @@ -13133,6 +13111,7 @@ }, "node_modules/node-releases": { "version": "2.0.14", + "dev": true, "license": "MIT" }, "node_modules/node-vault": { @@ -16133,6 +16112,7 @@ }, "node_modules/semver": { "version": "6.3.1", + "devOptional": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -17858,6 +17838,7 @@ }, "node_modules/update-browserslist-db": { "version": "1.0.13", + "dev": true, "funding": [ { "type": "opencollective", @@ -18611,7 +18592,6 @@ "@fortawesome/react-fontawesome": "^0.1.16", "@reduxjs/toolkit": "^1.8.0", "@tabler/icons": "^1.46.0", - "@tailwindcss/forms": "^0.5.7", "@tippyjs/react": "^4.2.6", "@usebruno/common": "0.1.0", "@usebruno/graphql-docs": "0.1.0", @@ -18705,13 +18685,13 @@ }, "packages/bruno-cli": { "name": "@usebruno/cli", - "version": "1.11.0", + "version": "1.14.0", "license": "MIT", "dependencies": { "@aws-sdk/credential-providers": "3.525.0", "@usebruno/common": "0.1.0", "@usebruno/js": "0.11.0", - "@usebruno/lang": "0.11.0", + "@usebruno/lang": "0.12.0", "aws4-axios": "^3.3.0", "axios": "^1.5.1", "chai": "^4.3.7", @@ -19749,12 +19729,12 @@ }, "packages/bruno-electron": { "name": "bruno", - "version": "v1.13.1", + "version": "v1.14.0", "dependencies": { "@aws-sdk/credential-providers": "3.525.0", "@usebruno/common": "0.1.0", "@usebruno/js": "0.11.0", - "@usebruno/lang": "0.11.0", + "@usebruno/lang": "0.12.0", "@usebruno/schema": "0.7.0", "about-window": "^1.15.2", "aws4-axios": "^3.3.0", @@ -20868,7 +20848,7 @@ }, "packages/bruno-lang": { "name": "@usebruno/lang", - "version": "0.11.0", + "version": "0.12.0", "license": "MIT", "dependencies": { "arcsecond": "^5.0.0", @@ -20936,6 +20916,7 @@ }, "@ampproject/remapping": { "version": "2.2.1", + "dev": true, "requires": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -21216,10 +21197,12 @@ } }, "@babel/compat-data": { - "version": "7.23.5" + "version": "7.23.5", + "dev": true }, "@babel/core": { "version": "7.23.9", + "dev": true, "requires": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.23.5", @@ -21262,6 +21245,7 @@ }, "@babel/helper-compilation-targets": { "version": "7.23.6", + "dev": true, "requires": { "@babel/compat-data": "^7.23.5", "@babel/helper-validator-option": "^7.23.5", @@ -21272,12 +21256,14 @@ "dependencies": { "lru-cache": { "version": "5.1.1", + "dev": true, "requires": { "yallist": "^3.0.2" } }, "yallist": { - "version": "3.1.1" + "version": "3.1.1", + "dev": true } } }, @@ -21347,6 +21333,7 @@ }, "@babel/helper-module-transforms": { "version": "7.23.3", + "dev": true, "requires": { "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-module-imports": "^7.22.15", @@ -21385,6 +21372,7 @@ }, "@babel/helper-simple-access": { "version": "7.22.5", + "dev": true, "requires": { "@babel/types": "^7.22.5" } @@ -21409,7 +21397,8 @@ "version": "7.22.20" }, "@babel/helper-validator-option": { - "version": "7.23.5" + "version": "7.23.5", + "dev": true }, "@babel/helper-wrap-function": { "version": "7.22.20", @@ -21422,6 +21411,7 @@ }, "@babel/helpers": { "version": "7.23.9", + "dev": true, "requires": { "@babel/template": "^7.23.9", "@babel/traverse": "^7.23.9", @@ -21499,8 +21489,7 @@ }, "@babel/plugin-proposal-private-property-in-object": { "version": "7.21.0-placeholder-for-preset-env.2", - "dev": true, - "requires": {} + "dev": true }, "@babel/plugin-syntax-async-generators": { "version": "7.8.4", @@ -22513,8 +22502,7 @@ "version": "3.0.4" }, "ws": { - "version": "8.13.0", - "requires": {} + "version": "8.13.0" } } }, @@ -22542,8 +22530,7 @@ }, "dependencies": { "ws": { - "version": "8.13.0", - "requires": {} + "version": "8.13.0" } } }, @@ -22667,8 +22654,7 @@ } }, "@graphql-typed-document-node/core": { - "version": "3.2.0", - "requires": {} + "version": "3.2.0" }, "@iarna/toml": { "version": "2.2.5" @@ -23427,16 +23413,6 @@ "@n1ru4l/push-pull-async-iterable-iterator": { "version": "3.2.0" }, - "@n8n/vm2": { - "version": "3.9.23", - "resolved": "https://registry.npmjs.org/@n8n/vm2/-/vm2-3.9.23.tgz", - "integrity": "sha512-yu+It+L89uljQsCJ2e9cQaXzoXJe9bU69QQIoWUOcUw0u5Zon37DuB7bdNNsjKS1ZdFD+fBWCQpq/FkqHsSjXQ==", - "peer": true, - "requires": { - "acorn": "^8.7.0", - "acorn-walk": "^8.2.0" - } - }, "@next/env": { "version": "12.3.3" }, @@ -24008,16 +23984,7 @@ } }, "@tabler/icons": { - "version": "1.119.0", - "requires": {} - }, - "@tailwindcss/forms": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.7.tgz", - "integrity": "sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==", - "requires": { - "mini-svg-data-uri": "^1.2.3" - } + "version": "1.119.0" }, "@tippyjs/react": { "version": "4.2.6", @@ -24275,7 +24242,6 @@ "@fortawesome/react-fontawesome": "^0.1.16", "@reduxjs/toolkit": "^1.8.0", "@tabler/icons": "^1.46.0", - "@tailwindcss/forms": "^0.5.7", "@tippyjs/react": "^4.2.6", "@usebruno/common": "0.1.0", "@usebruno/graphql-docs": "0.1.0", @@ -24361,7 +24327,7 @@ "@aws-sdk/credential-providers": "3.525.0", "@usebruno/common": "0.1.0", "@usebruno/js": "0.11.0", - "@usebruno/lang": "0.11.0", + "@usebruno/lang": "0.12.0", "aws4-axios": "^3.3.0", "axios": "^1.5.1", "chai": "^4.3.7", @@ -25297,8 +25263,7 @@ } }, "@usebruno/schema": { - "version": "file:packages/bruno-schema", - "requires": {} + "version": "file:packages/bruno-schema" }, "@usebruno/tests": { "version": "file:packages/bruno-tests", @@ -25442,8 +25407,7 @@ }, "@webpack-cli/configtest": { "version": "1.2.0", - "dev": true, - "requires": {} + "dev": true }, "@webpack-cli/info": { "version": "1.5.0", @@ -25454,8 +25418,7 @@ }, "@webpack-cli/serve": { "version": "1.7.0", - "dev": true, - "requires": {} + "dev": true }, "@whatwg-node/events": { "version": "0.0.3" @@ -25515,8 +25478,7 @@ }, "acorn-import-assertions": { "version": "1.9.0", - "dev": true, - "requires": {} + "dev": true }, "acorn-walk": { "version": "8.3.2" @@ -25558,8 +25520,7 @@ }, "ajv-keywords": { "version": "3.5.2", - "dev": true, - "requires": {} + "dev": true }, "amdefine": { "version": "0.0.8" @@ -26164,6 +26125,7 @@ }, "browserslist": { "version": "4.22.3", + "dev": true, "requires": { "caniuse-lite": "^1.0.30001580", "electron-to-chromium": "^1.4.648", @@ -26177,7 +26139,7 @@ "@aws-sdk/credential-providers": "3.525.0", "@usebruno/common": "0.1.0", "@usebruno/js": "0.11.0", - "@usebruno/lang": "0.11.0", + "@usebruno/lang": "0.12.0", "@usebruno/schema": "0.7.0", "about-window": "^1.15.2", "aws4-axios": "^3.3.0", @@ -27272,8 +27234,7 @@ } }, "chai-string": { - "version": "1.5.0", - "requires": {} + "version": "1.5.0" }, "chalk": { "version": "3.0.0", @@ -27616,7 +27577,8 @@ "version": "1.0.5" }, "convert-source-map": { - "version": "2.0.0" + "version": "2.0.0", + "dev": true }, "cookie": { "version": "0.6.0" @@ -27734,8 +27696,7 @@ }, "css-declaration-sorter": { "version": "6.4.1", - "dev": true, - "requires": {} + "dev": true }, "css-loader": { "version": "6.10.0", @@ -27872,8 +27833,7 @@ }, "cssnano-utils": { "version": "3.1.0", - "dev": true, - "requires": {} + "dev": true }, "csso": { "version": "4.2.0", @@ -27931,8 +27891,7 @@ }, "dedent": { "version": "1.5.1", - "dev": true, - "requires": {} + "dev": true }, "deep-eql": { "version": "4.1.3", @@ -28365,7 +28324,8 @@ } }, "electron-to-chromium": { - "version": "1.4.667" + "version": "1.4.667", + "dev": true }, "electron-util": { "version": "0.17.2", @@ -28996,7 +28956,8 @@ } }, "gensync": { - "version": "1.0.0-beta.2" + "version": "1.0.0-beta.2", + "dev": true }, "get-caller-file": { "version": "2.0.5" @@ -29153,8 +29114,7 @@ } }, "goober": { - "version": "2.1.14", - "requires": {} + "version": "2.1.14" }, "gopd": { "version": "1.0.1", @@ -29322,8 +29282,7 @@ } }, "graphql-ws": { - "version": "5.12.1", - "requires": {} + "version": "5.12.1" }, "handlebars": { "version": "4.7.8", @@ -29595,8 +29554,7 @@ }, "icss-utils": { "version": "5.1.0", - "dev": true, - "requires": {} + "dev": true }, "idb": { "version": "7.1.1" @@ -29899,8 +29857,7 @@ "version": "3.0.1" }, "isomorphic-ws": { - "version": "5.0.0", - "requires": {} + "version": "5.0.0" }, "isstream": { "version": "0.1.2" @@ -30273,8 +30230,7 @@ }, "jest-pnp-resolver": { "version": "1.2.3", - "dev": true, - "requires": {} + "dev": true }, "jest-regex-util": { "version": "29.6.3", @@ -31023,8 +30979,7 @@ "version": "1.0.1" }, "merge-refs": { - "version": "1.2.2", - "requires": {} + "version": "1.2.2" }, "merge-stream": { "version": "2.0.0", @@ -31034,8 +30989,7 @@ "version": "1.4.1" }, "meros": { - "version": "1.3.0", - "requires": {} + "version": "1.3.0" }, "methods": { "version": "1.1.2" @@ -31115,11 +31069,6 @@ } } }, - "mini-svg-data-uri": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", - "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==" - }, "minimatch": { "version": "3.1.2", "requires": { @@ -31287,7 +31236,8 @@ "version": "1.1.12" }, "node-releases": { - "version": "2.0.14" + "version": "2.0.14", + "dev": true }, "node-vault": { "version": "0.10.2", @@ -31906,23 +31856,19 @@ }, "postcss-discard-comments": { "version": "5.1.2", - "dev": true, - "requires": {} + "dev": true }, "postcss-discard-duplicates": { "version": "5.1.0", - "dev": true, - "requires": {} + "dev": true }, "postcss-discard-empty": { "version": "5.1.1", - "dev": true, - "requires": {} + "dev": true }, "postcss-discard-overridden": { "version": "5.1.0", - "dev": true, - "requires": {} + "dev": true }, "postcss-import": { "version": "15.1.0", @@ -32016,8 +31962,7 @@ }, "postcss-modules-extract-imports": { "version": "3.0.0", - "dev": true, - "requires": {} + "dev": true }, "postcss-modules-local-by-default": { "version": "4.0.4", @@ -32053,8 +31998,7 @@ }, "postcss-normalize-charset": { "version": "5.1.0", - "dev": true, - "requires": {} + "dev": true }, "postcss-normalize-display-values": { "version": "5.1.0", @@ -32493,8 +32437,7 @@ } }, "react-inspector": { - "version": "6.0.2", - "requires": {} + "version": "6.0.2" }, "react-is": { "version": "16.13.1" @@ -32644,8 +32587,7 @@ } }, "redux-thunk": { - "version": "2.4.2", - "requires": {} + "version": "2.4.2" }, "regenerate": { "version": "1.4.2", @@ -32964,8 +32906,7 @@ }, "rollup-plugin-peer-deps-external": { "version": "2.2.4", - "dev": true, - "requires": {} + "dev": true }, "rollup-plugin-postcss": { "version": "4.0.2", @@ -33107,7 +33048,8 @@ } }, "semver": { - "version": "6.3.1" + "version": "6.3.1", + "devOptional": true }, "semver-compare": { "version": "1.0.0", @@ -33523,8 +33465,7 @@ }, "style-loader": { "version": "3.3.4", - "dev": true, - "requires": {} + "dev": true }, "style-mod": { "version": "4.1.0" @@ -33556,8 +33497,7 @@ } }, "styled-jsx": { - "version": "5.0.7", - "requires": {} + "version": "5.0.7" }, "stylehacks": { "version": "5.1.1", @@ -34179,6 +34119,7 @@ }, "update-browserslist-db": { "version": "1.0.13", + "dev": true, "requires": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -34268,8 +34209,7 @@ "version": "8.0.2" }, "use-sync-external-store": { - "version": "1.2.0", - "requires": {} + "version": "1.2.0" }, "utf8-byte-length": { "version": "1.0.4", @@ -34550,8 +34490,7 @@ } }, "ws": { - "version": "8.16.0", - "requires": {} + "version": "8.16.0" }, "xdg-basedir": { "version": "4.0.0", diff --git a/packages/bruno-cli/package.json b/packages/bruno-cli/package.json index 810f93269..17820d9d0 100644 --- a/packages/bruno-cli/package.json +++ b/packages/bruno-cli/package.json @@ -1,6 +1,6 @@ { "name": "@usebruno/cli", - "version": "1.11.0", + "version": "1.14.0", "license": "MIT", "main": "src/index.js", "bin": { @@ -27,7 +27,7 @@ "@aws-sdk/credential-providers": "3.525.0", "@usebruno/common": "0.1.0", "@usebruno/js": "0.11.0", - "@usebruno/lang": "0.11.0", + "@usebruno/lang": "0.12.0", "aws4-axios": "^3.3.0", "axios": "^1.5.1", "chai": "^4.3.7", diff --git a/packages/bruno-electron/package.json b/packages/bruno-electron/package.json index 3b94bd9f9..e45bcd813 100644 --- a/packages/bruno-electron/package.json +++ b/packages/bruno-electron/package.json @@ -22,7 +22,7 @@ "@aws-sdk/credential-providers": "3.525.0", "@usebruno/common": "0.1.0", "@usebruno/js": "0.11.0", - "@usebruno/lang": "0.11.0", + "@usebruno/lang": "0.12.0", "@usebruno/schema": "0.7.0", "about-window": "^1.15.2", "aws4-axios": "^3.3.0", diff --git a/packages/bruno-lang/package.json b/packages/bruno-lang/package.json index 9b4f962ba..23f39f9ec 100644 --- a/packages/bruno-lang/package.json +++ b/packages/bruno-lang/package.json @@ -1,6 +1,6 @@ { "name": "@usebruno/lang", - "version": "0.11.0", + "version": "0.12.0", "license": "MIT", "main": "src/index.js", "files": [