Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: revert upgrade yeoman-environment dependency #841

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ The initial setup is trivial:
- clone this repo
- `yarn`


### Commit Messages format.

This project enforces the [conventional-commits][conventional_commits] commit message formats.
Expand Down Expand Up @@ -69,7 +68,6 @@ Use the following npm scripts at the repo's **root** to compile **all** the Type
These scripts may also be available inside the sub-packages. However, it is recommended to
use the top-level compilation scripts to avoid forgetting to (re-)compile a sub-package's dependency.


#### Run the yeoman framework in dev mode

Dev mode allows you to run the yeoman framework in the browser, using vue cli for fast development cycles, and easy debug tools.
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"strip-ansi": "6.0.0",
"sudo-prompt": "9.2.1",
"titleize": "2.1.0",
"yeoman-environment": "3.19.3"
"yeoman-environment": "3.3.0"
},
"devDependencies": {
"@types/cheerio": "^0.22.31",
Expand Down
25 changes: 0 additions & 25 deletions packages/backend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ const config = {
node: { global: true },
entry: ["./src/extension.ts"], // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/
devtool: "source-map",
optimization: {
// The Default minimization options can sometimes cause JavaScript runtime errors.
// Also we don't actually need to minimize as much (not targeted for browser).
// Rather we mostly need to reduce the number of fileSystem access requests
// by reducing the number of files packaged inside our VSCode extensions
minimize: false,
},
output: {
// the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/
path: path.resolve(__dirname, "dist"),
Expand Down Expand Up @@ -170,24 +163,6 @@ const config = {
flags: "g",
},
},
{
test: /yeoman-environment[/|\\]lib[/|\\]util[/|\\]esm.js/,
loader: "string-replace-loader",
options: {
search: "require[(]fileToImport",
replace: "__non_webpack_require__(fileToImport",
flags: "g",
},
},
{
test: /yeoman-environment[/|\\]lib[/|\\]util[/|\\]esm.js/,
loader: "string-replace-loader",
options: {
search: "import[(]pathToFileURL",
replace: "__non_webpack_require__(pathToFileURL",
flags: "g",
},
},
{
test: /node_modules[/|\\]download-stats[/|\\]lib[/|\\]utils.js/,
loader: "string-replace-loader",
Expand Down
Loading
Loading