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: ensure scripts use cross-env and ignore some dirs (ROC-54) #25218

Merged
merged 2 commits into from
Apr 26, 2022
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
3 changes: 2 additions & 1 deletion apps/meteor/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.gitignore
LICENSE
README.md
docker-compose.yml
docker-compose.yml
tests/e2e/test-failures/
2 changes: 2 additions & 0 deletions apps/meteor/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules
data/
tests/e2e/test-failures/
packages/autoupdate/
packages/meteor-streams/
packages/meteor-timesync/
Expand Down
2 changes: 2 additions & 0 deletions apps/meteor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@ tests/end-to-end/temporary_staged_test
/tests/cypress/videos
coverage
.nyc_output
data/
tests/e2e/test-failures/
7 changes: 4 additions & 3 deletions apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"eslint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"stylelint": "stylelint \"app/**/*.css\" \"client/**/*.css\" \"app/**/*.less\" \"client/**/*.less\" \"ee/**/*.less\"",
"stylelint:fix": "stylelint --fix \"app/**/*.css\" \"client/**/*.css\" \"app/**/*.less\" \"client/**/*.less\" \"ee/**/*.less\"",
"typecheck": "NODE_OPTIONS=\"--max-old-space-size=4092\" tsc --noEmit --skipLibCheck",
"typecheck": "cross-env NODE_OPTIONS=\"--max-old-space-size=4092\" tsc --noEmit --skipLibCheck",
"deploy": "npm run build && pm2 startOrRestart pm2.json",
"coverage": "nyc -r html mocha --config ./.mocharc.js",
"testci": "node .scripts/start.js",
"test:playwright": "playwright test",
"test:playwright:ee": "ENTERPRISE=true playwright test",
"test:playwright:ee": "cross-env ENTERPRISE=true yarn test:playwright",
"testui": "cypress run",
"testui-pass": "cypress run --spec ./tests/cypress/integration/01-pass/**/*.spec.js",
"testui-intermittent": "cypress run --spec ./tests/cypress/integration/02-intermittent/**/*.spec.js",
Expand All @@ -49,7 +49,8 @@
"version": "node .scripts/version.js",
"set-version": "node .scripts/set-version.js",
"release": "meteor npm run set-version --silent",
"storybook": "cross-env NODE_OPTIONS=--max-old-space-size=8192 start-storybook -p 6006"
"storybook": "cross-env NODE_OPTIONS=--max-old-space-size=8192 start-storybook -p 6006",
"docker:start": "docker-compose up"
},
"license": "MIT",
"repository": {
Expand Down