From ab8139389c6a8afc1e3751ae5ed64bd18d8129c9 Mon Sep 17 00:00:00 2001 From: Kris Stanton Date: Fri, 17 May 2024 10:21:36 -0500 Subject: [PATCH] reverted package.json. Also fixed a bug in discover-granules-workflow.asl.json #358 --- .../templates/discover-granules-workflow.asl.json | 2 +- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/stacks/cumulus/templates/discover-granules-workflow.asl.json b/app/stacks/cumulus/templates/discover-granules-workflow.asl.json index 4d24b24..ec11ee3 100644 --- a/app/stacks/cumulus/templates/discover-granules-workflow.asl.json +++ b/app/stacks/cumulus/templates/discover-granules-workflow.asl.json @@ -163,7 +163,7 @@ "ResultWriter": { "Resource": "arn:aws:states:::s3:putObject", "Parameters": { - "Bucket.$": "$.[0].cumulus_meta.system_bucket", + "Bucket.$": "$[0].cumulus_meta.system_bucket", "Prefix": "mapRun" } }, diff --git a/package.json b/package.json index 5fb05ba..9595726 100644 --- a/package.json +++ b/package.json @@ -26,10 +26,10 @@ "fix": "run-s fix:*", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:lint": "eslint src --ext .ts --fix", - "test": "echo 'skipping: run-s build test:*'", - "test:lint": "echo 'skipping: eslint src --ext .ts'", - "test:prettier": "echo 'skipping: prettier \"src/**/*.ts\" --check'", - "test:unit": "echo 'skipping: nyc --silent ava --node-arguments SQ--trace-warningsSQ'", + "test": "run-s build test:*", + "test:lint": "eslint src --ext .ts", + "test:prettier": "prettier \"src/**/*.ts\" --check", + "test:unit": "nyc --silent ava --node-arguments '--trace-warnings'", "check-cli": "run-s test diff-integration-tests check-integration-tests", "check-integration-tests": "run-s check-integration-test:*", "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'", @@ -48,7 +48,7 @@ "reset-hard": "git clean -dfx && git reset --hard && yarn", "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish", "lambda:install": "yarn install --production --no-bin-links --modules-folder ${PWD}/${npm_package_config_lambda_archive_dir}/node_modules && rm -rf ${PWD}/${npm_package_config_lambda_archive_dir}/node_modules/aws-sdk && rm -rf ${PWD}/${npm_package_config_lambda_archive_dir}/node_modules/'@types'", - "lambda:archive-exploded": "echo 'skipping: run-s build test lambda:install'", + "lambda:archive-exploded": "run-s build test lambda:install", "tf:lambda:archive-exploded": "yarn lambda:archive-exploded >&2 && echo { '\"'dir'\"': '\"'${PWD}/${npm_package_config_lambda_archive_dir}'\"' }" }, "engines": {