Skip to content

Commit

Permalink
Merge branch 'main' into retire-jq
Browse files Browse the repository at this point in the history
  • Loading branch information
mistergone authored Oct 17, 2024
2 parents 8a3bee2 + 2efe7ad commit f19f87c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
6 changes: 2 additions & 4 deletions docs/running-virtualenv.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,12 @@ password will expire after 60 days).
The following yarn tasks are available:

```
yarn scripts # Build the Javascript with esbuild
yarn styles # Build the SCSS with esbuild and its PostCSS plugin
yarn copy # Move static files to the output directory
yarn build # Run scripts, styles, and copy along with app-specific scripts
yarn build # Build the JavaScript, SCSS, and frontend assets.
yarn watch # Run the build then watch JS and SCSS changes
yarn lint # Run frontend linting
yarn jest # Run frontend tests
yarn test # Run both
yarn cy # Run Cypress integration tests
```

### Reinstalling the virtual environment
Expand Down
8 changes: 0 additions & 8 deletions esbuild/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ const arg = process.argv.slice(2)[0];
const ctx = await esbuild.context(mergedConfig);
await ctx.watch();
// Not disposing context here as the user will ctrl+c to end watching.
} else if (arg === 'scripts') {
const ctx = await esbuild.context(scriptsConfig);
await ctx.rebuild();
return await ctx.dispose();
} else if (arg === 'styles') {
const ctx = await esbuild.context(stylesConfig);
await ctx.rebuild();
return await ctx.dispose();
} else {
const ctx = await esbuild.context(mergedConfig);
await ctx.rebuild();
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@
"jest": "yarn node --experimental-vm-modules $(yarn bin jest)",
"test": "yarn lint && yarn jest",
"snyk": "snyk test",
"copy": "yarn build copy",
"styles": "yarn build styles",
"scripts": "yarn build scripts",
"watch": "yarn build watch",
"build": "node ./esbuild/build.js",
"cy": "./scripts/cypress.sh"
Expand Down

0 comments on commit f19f87c

Please sign in to comment.