Skip to content

Commit

Permalink
More cleanup of paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Jun 5, 2023
1 parent 79abcb9 commit e3913fd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
action/main.js
dist
node_modules
subdir
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ node_modules
*.tgz
.editorconfig

action/main.js
storybook-static
subdir-static
test-storybook
Expand Down
2 changes: 1 addition & 1 deletion bin-src/trace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
traceSuggestions,
} from './ui/messages/info/tracedAffectedFiles';

const scriptCommand = `$ ./bin/main.cjs trace ./bin-src/ui/messages/errors/invalidReportPath.ts`;
const scriptCommand = `$ ./dist/bin.js trace ./bin-src/ui/messages/errors/invalidReportPath.ts`;

describe('Test trace script from package.json', () => {
it('returns the default output successfully', () => {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"build-storybook": "build-storybook -s static",
"build-test-storybook": "cross-env SMOKE_TEST=true build-storybook -o test-storybook",
"build-subdir": "cd subdir ; yarn build ; cd ..",
"chromatic": "./bin/main.cjs",
"chromatic-prebuilt": "./bin/main.cjs --storybook-build-dir=\"storybook-static\"",
"chromatic-staging": "CHROMATIC_INDEX_URL=https://www.staging-chromatic.com ./bin/main.cjs",
"chromatic-verbose": "cross-env LOG_LEVEL=verbose ./bin/main.cjs",
"chromatic": "./dist/bin.js",
"chromatic-prebuilt": "./dist/bin.js --storybook-build-dir=\"storybook-static\"",
"chromatic-staging": "CHROMATIC_INDEX_URL=https://www.staging-chromatic.com ./dist/bin.js",
"chromatic-verbose": "cross-env LOG_LEVEL=verbose ./dist/bin.js",
"lint": "yarn lint:js .storybook bin-src node-src test-stories ./isChromatic.js ./isChromatic.mjs",
"lint:js": "cross-env NODE_ENV=production eslint --fix --cache --cache-location=.cache/eslint --ext .js,.json,.mjs,.ts,.cjs --report-unused-disable-directives",
"lint:package": "sort-package-json",
Expand Down

0 comments on commit e3913fd

Please sign in to comment.