Skip to content

Commit

Permalink
Remove @nuxt/babel-preset-app
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <[email protected]>
  • Loading branch information
rak-phillip committed Jul 12, 2024
1 parent 102f1e6 commit d4e89c2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 38 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@
"@cypress/grep": "^3.1.5",
"@cypress/vue": "5.0.5",
"@cypress/webpack-dev-server": "3.4.1",
"@nuxt/babel-preset-app": "^2.16.3",
"@nuxt/types": "2.14.6",
"@nuxtjs/eslint-config-typescript": "6.0.1",
"@types/copy-webpack-plugin": "^5.0.3",
Expand Down Expand Up @@ -215,4 +214,4 @@
"merge": ">=2.1.1",
"semver": ">=7.5.2"
}
}
}
11 changes: 6 additions & 5 deletions shell/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ const getLoaders = (SHELL_ABS) => {
// TODO: Browser support; also add explanation to this TODO
// ['@babel/plugin-transform-modules-commonjs'],
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
['@babel/plugin-proposal-class-properties', { loose: true }]
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }],
];

if (instrumentCode) {
Expand Down Expand Up @@ -160,11 +161,11 @@ const getLoaders = (SHELL_ABS) => {
options: {
presets: [
[
require.resolve('@nuxt/babel-preset-app'),
'@babel/preset-env',
{
corejs: { version: 3 },
targets: { browsers: ['last 2 versions'] },
modern: true
corejs: { version: 3 },
targets: { browsers: ['last 2 versions'] },
useBuiltIns: 'usage',
}
],
'@babel/preset-typescript',
Expand Down
40 changes: 9 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1524,12 +1524,12 @@
dependencies:
"@babel/highlight" "^7.18.6"

"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.21.0", "@babel/compat-data@^7.21.4":
"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.21.4":
version "7.21.4"
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.4.tgz#457ffe647c480dff59c2be092fc3acf71195c87f"
integrity sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==

"@babel/core@^7.1.0", "@babel/core@^7.11.0", "@babel/core@^7.12.16", "@babel/core@^7.12.3", "@babel/core@^7.21.3", "@babel/core@^7.7.2", "@babel/core@^7.7.5", "@babel/core@^7.8.0":
"@babel/core@^7.1.0", "@babel/core@^7.11.0", "@babel/core@^7.12.16", "@babel/core@^7.12.3", "@babel/core@^7.7.2", "@babel/core@^7.7.5", "@babel/core@^7.8.0":
version "7.21.4"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.4.tgz#c6dc73242507b8e2a27fd13a9c1814f9fa34a659"
integrity sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==
Expand Down Expand Up @@ -1845,7 +1845,7 @@
"@babel/helper-plugin-utils" "^7.20.2"
"@babel/plugin-syntax-class-static-block" "^7.14.5"

"@babel/plugin-proposal-decorators@^7.21.0", "@babel/plugin-proposal-decorators@^7.8.3":
"@babel/plugin-proposal-decorators@^7.8.3":
version "7.21.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.21.0.tgz#70e0c89fdcd7465c97593edb8f628ba6e4199d63"
integrity sha512-MfgX49uRrFUTL/HvWtmx3zmpyzMMr4MTj3d527MLlr/4RTT9G/ytFFP7qet2uM2Ve03b+BkpWUpK+lRXnQ+v9w==
Expand Down Expand Up @@ -2325,7 +2325,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.18.6"

"@babel/plugin-transform-runtime@^7.11.0", "@babel/plugin-transform-runtime@^7.21.0":
"@babel/plugin-transform-runtime@^7.11.0":
version "7.21.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.4.tgz#2e1da21ca597a7d01fc96b699b21d8d2023191aa"
integrity sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA==
Expand Down Expand Up @@ -2398,7 +2398,7 @@
"@babel/helper-create-regexp-features-plugin" "^7.18.6"
"@babel/helper-plugin-utils" "^7.18.6"

"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.20.2":
"@babel/preset-env@^7.11.0":
version "7.21.4"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.21.4.tgz#a952482e634a8dd8271a3fe5459a16eb10739c58"
integrity sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==
Expand Down Expand Up @@ -2504,7 +2504,7 @@
resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310"
integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==

"@babel/runtime@^7.11.0", "@babel/runtime@^7.15.4", "@babel/runtime@^7.21.0", "@babel/runtime@^7.8.4":
"@babel/runtime@^7.11.0", "@babel/runtime@^7.15.4", "@babel/runtime@^7.8.4":
version "7.21.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673"
integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==
Expand Down Expand Up @@ -3042,28 +3042,6 @@
resolved "https://registry.yarnpkg.com/@novnc/novnc/-/novnc-1.2.0.tgz#535ffd7d074022d35205deae2753100f1f2b29f3"
integrity sha512-FaUckOedGhSbwQBXk/KGyxKt9ngskg4wPw6ghbHWXOUEmQscAZr3467lTU5DSfppwHJt5k+lQiHoeYUuY90l2Q==

"@nuxt/babel-preset-app@^2.16.3":
version "2.16.3"
resolved "https://registry.yarnpkg.com/@nuxt/babel-preset-app/-/babel-preset-app-2.16.3.tgz#223c98c6799b7ca293fece960b5db59eb9c0115e"
integrity sha512-FZnQUnnXvGTXPnnwAMa9gRmSu16Wn796NffzwBzKQHoKVkal2HJcZ+D7/EnqeqVd8dFijFCrdquEj1WoastUSA==
dependencies:
"@babel/compat-data" "^7.21.0"
"@babel/core" "^7.21.3"
"@babel/helper-compilation-targets" "^7.20.7"
"@babel/helper-module-imports" "^7.18.6"
"@babel/plugin-proposal-class-properties" "^7.18.6"
"@babel/plugin-proposal-decorators" "^7.21.0"
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6"
"@babel/plugin-proposal-optional-chaining" "^7.21.0"
"@babel/plugin-proposal-private-methods" "^7.18.6"
"@babel/plugin-transform-runtime" "^7.21.0"
"@babel/preset-env" "^7.20.2"
"@babel/runtime" "^7.21.0"
"@vue/babel-preset-jsx" "^1.4.0"
core-js "^3.19.0"
core-js-compat "^3.29.1"
regenerator-runtime "^0.13.11"

"@nuxt/[email protected]":
version "2.14.6"
resolved "https://registry.yarnpkg.com/@nuxt/types/-/types-2.14.6.tgz#0b6626acdecf83ddf1d288272f8e97d7127ac2f0"
Expand Down Expand Up @@ -3871,7 +3849,7 @@
core-js-compat "^3.6.5"
semver "^6.1.0"

"@vue/babel-preset-jsx@^1.2.4", "@vue/babel-preset-jsx@^1.4.0":
"@vue/babel-preset-jsx@^1.2.4":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@vue/babel-preset-jsx/-/babel-preset-jsx-1.4.0.tgz#f4914ba314235ab097bc4372ed67473c0780bfcc"
integrity sha512-QmfRpssBOPZWL5xw7fOuHNifCQcNQC1PrOo/4fu6xlhlKJJKSA3HqX92Nvgyx8fqHZTUGMPHmFA+IDqwXlqkSA==
Expand Down Expand Up @@ -6145,7 +6123,7 @@ copy-webpack-plugin@^5.1.1:
serialize-javascript "^4.0.0"
webpack-log "^2.0.0"

core-js-compat@^3.25.1, core-js-compat@^3.29.1, core-js-compat@^3.6.5:
core-js-compat@^3.25.1, core-js-compat@^3.6.5:
version "3.30.1"
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.30.1.tgz#961541e22db9c27fc48bfc13a3cafa8734171dfe"
integrity sha512-d690npR7MC6P0gq4npTl5n2VQeNAmUrJ90n+MHiKS7W2+xno4o3F5GDEuylSdi6EJ3VssibSGXOa1r3YXD3Mhw==
Expand All @@ -6167,7 +6145,7 @@ core-js@^2.6.5:
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec"
integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==

core-js@^3.19.0, core-js@^3.6.5:
core-js@^3.6.5:
version "3.30.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.30.1.tgz#fc9c5adcc541d8e9fa3e381179433cbf795628ba"
integrity sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==
Expand Down

0 comments on commit d4e89c2

Please sign in to comment.