File tree Expand file tree Collapse file tree 14 files changed +35
-46
lines changed
Expand file tree Collapse file tree 14 files changed +35
-46
lines changed Original file line number Diff line number Diff line change 2626 - webhook
2727 runs-on : ${{ matrix.os }}
2828 steps :
29+ - name : Configure git settings (Windows)
30+ if : matrix.os == 'windows-latest'
31+ run : |
32+ git config --global core.autocrlf false
33+ git config --global core.eol lf
2934 - uses : actions/checkout@v4
3035 - name : Use Node.js ${{ matrix.node-version }}
3136 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 3434 "prebuild" : " shx rm -rf ./coverage" ,
3535 "build" : " shx chmod +x src/*.js" ,
3636 "prelint" : " tsc --noemit --module es2022 --maxNodeModuleJsDepth 0 --project ./jsconfig.json" ,
37- "lint" : " npx @biomejs/biome check --write ." ,
37+ "lint" : " npx @biomejs/biome check ." ,
38+ "lint:fix" : " npx @biomejs/biome check --write ." ,
3839 "pretest" : " npm run lint" ,
3940 "test" : " c8 mocha src/*.spec.js"
4041 },
Original file line number Diff line number Diff line change 1919 "url" : " https://github.com/slackapi/node-slack-sdk/issues"
2020 },
2121 "scripts" : {
22- "lint" : " npx @biomejs/biome check --write ." ,
2322 "build" : " npm run build:clean && tsc" ,
2423 "build:clean" : " shx rm -rf ./dist ./coverage" ,
24+ "lint" : " npx @biomejs/biome check ." ,
25+ "lint:fix" : " npx @biomejs/biome check --write ." ,
2526 "prepare" : " npm run build" ,
2627 "mocha" : " cross-env SLACK_CLI_PATH=/doesnt/matter mocha --config .mocharc.json src/*.spec.ts src/**/*.spec.ts src/**/**/*.spec.ts" ,
2728 "test" : " npm run lint && npm run build && c8 npm run mocha"
Original file line number Diff line number Diff line change 2424 "prepare" : " npm run build" ,
2525 "build" : " npm run build:clean && tsc" ,
2626 "build:clean" : " shx rm -rf ./dist ./coverage" ,
27- "lint" : " npx @biomejs/biome check --write ." ,
27+ "lint" : " npx @biomejs/biome check ." ,
28+ "lint:fix" : " npx @biomejs/biome check --write ." ,
2829 "mocha" : " mocha --config .mocharc.json src/*.spec.js" ,
2930 "test:unit" : " npm run build && npm run mocha" ,
3031 "test" : " npm run lint && npm run coverage" ,
Original file line number Diff line number Diff line change 1616 "moduleResolution" : " node" ,
1717 "baseUrl" : " ." ,
1818 "paths" : {
19- "*" : [
20- " ./types/*"
21- ]
19+ "*" : [" ./types/*" ]
2220 },
2321 "esModuleInterop" : true
2422 // Not using this setting because its only used to require the package.json file, and that would change the
2523 // structure of the files in the dist directory because package.json is not located inside src. It would be nice
2624 // to use import instead of require(), but its not worth the tradeoff of restructuring the build (for now).
2725 // "resolveJsonModule": true,
2826 },
29- "include" : [
30- " src/**/*"
31- ],
32- "exclude" : [
33- " src/**/*.spec.*"
34- ],
27+ "include" : [" src/**/*" ],
28+ "exclude" : [" src/**/*.spec.*" ],
3529 "jsdoc" : {
3630 "out" : " support/jsdoc" ,
3731 "access" : " public"
Original file line number Diff line number Diff line change 2323 "prepare" : " npm run build" ,
2424 "build" : " npm run build:clean && tsc" ,
2525 "build:clean" : " shx rm -rf ./dist ./coverage" ,
26- "lint" : " npx @biomejs/biome check --write ." ,
26+ "lint" : " npx @biomejs/biome check ." ,
27+ "lint:fix" : " npx @biomejs/biome check --write ." ,
2728 "test" : " npm run lint && npm run coverage" ,
2829 "coverage" : " npm run build && c8 npm run test:mocha" ,
2930 "test:mocha" : " mocha --config .mocharc.json src/*.spec.ts src/**/*.spec.ts" ,
Original file line number Diff line number Diff line change 1616 "moduleResolution" : " node" ,
1717 "baseUrl" : " ." ,
1818 "paths" : {
19- "*" : [
20- " ./types/*"
21- ]
19+ "*" : [" ./types/*" ]
2220 },
2321 "esModuleInterop" : true
2422 // Not using this setting because its only used to require the package.json file, and that would change the
2523 // structure of the files in the dist directory because package.json is not located inside src. It would be nice
2624 // to use import instead of require(), but its not worth the tradeoff of restructuring the build (for now).
2725 // "resolveJsonModule": true,
2826 },
29- "include" : [
30- " src/**/*"
31- ],
32- "exclude" : [
33- " src/**/spec-utils.ts" ,
34- " src/**/*.spec.*"
35- ],
27+ "include" : [" src/**/*" ],
28+ "exclude" : [" src/**/spec-utils.ts" , " src/**/*.spec.*" ],
3629 "jsdoc" : {
3730 "out" : " support/jsdoc" ,
3831 "access" : " public"
Original file line number Diff line number Diff line change 2424 "prepare" : " npm run build" ,
2525 "build" : " npm run build:clean && tsc" ,
2626 "build:clean" : " shx rm -rf ./dist" ,
27- "lint" : " npx @biomejs/biome check --write ." ,
27+ "lint" : " npx @biomejs/biome check ." ,
28+ "lint:fix" : " npx @biomejs/biome check --write ." ,
2829 "test" : " npm run lint && npm run build && npm run test:integration" ,
2930 "test:integration" : " mocha --config .mocharc.json test/integration.spec.js"
3031 },
Original file line number Diff line number Diff line change 1616 "moduleResolution" : " node" ,
1717 "baseUrl" : " ." ,
1818 "paths" : {
19- "*" : [
20- " ./types/*"
21- ]
19+ "*" : [" ./types/*" ]
2220 },
2321 "esModuleInterop" : true
2422 // Not using this setting because its only used to require the package.json file, and that would change the
2523 // structure of the files in the dist directory because package.json is not located inside src. It would be nice
2624 // to use import instead of require(), but its not worth the tradeoff of restructuring the build (for now).
2725 // "resolveJsonModule": true,
2826 },
29- "include" : [
30- " src/**/*"
31- ],
32- "exclude" : [
33- " src/**/*.spec.*"
34- ],
27+ "include" : [" src/**/*" ],
28+ "exclude" : [" src/**/*.spec.*" ],
3529 "jsdoc" : {
3630 "out" : " support/jsdoc" ,
3731 "access" : " public"
Original file line number Diff line number Diff line change 3737 "prepare" : " npm run build" ,
3838 "build" : " npm run build:clean && tsc" ,
3939 "build:clean" : " shx rm -rf ./dist ./coverage" ,
40- "lint" : " npx @biomejs/biome check --write ." ,
40+ "lint" : " npx @biomejs/biome check ." ,
41+ "lint:fix" : " npx @biomejs/biome check --write ." ,
4142 "test:unit" : " mocha --config .mocharc.json src/**/*.spec.ts" ,
4243 "test:coverage" : " c8 npm run test:unit" ,
4344 "test:integration" : " mocha --config .mocharc.json test/integration.spec.js" ,
You can’t perform that action at this time.
0 commit comments