Skip to content

Commit 2b86543

Browse files
committed
Rename directory src/ to source/
1 parent d4d08c3 commit 2b86543

22 files changed

+54
-59
lines changed

β€Ž.c8rc.jsonβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"statements": 100,
66
"branches": 100,
77
"extension": ["js"],
8-
"src": "target/src",
9-
"include": ["target/src/**/*"],
10-
"exclude": ["target/src/bin.js", "target/src/network.js"],
8+
"src": "target/source",
9+
"include": ["target/source/**/*"],
10+
"exclude": ["target/source/bin.js", "target/source/network.js"],
1111
"reporter": ["lcov", "text-summary", "json"],
1212
"check-coverage": true,
1313
"reportDir": "./target/coverage",

β€Žava.config.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
typescript: {
77
extensions: ['ts', 'tsx'],
88
rewritePaths: {
9-
'src/': 'target/src/',
9+
'source/': 'target/source/',
1010
'test/': 'target/test/',
1111
},
1212
compile: false,

β€Žpackage-lock.jsonβ€Ž

Lines changed: 27 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.jsonβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"version": "3.1.0",
55
"description": "A CLI tool that deletes old GitLab pipelines",
66
"exports": {
7-
"types": "./target/src/index.d.ts",
8-
"default": "./target/src/index.js"
7+
"types": "./target/source/index.d.ts",
8+
"default": "./target/source/index.js"
99
},
1010
"engines": {
1111
"node": ">=16"
1212
},
1313
"bin": {
14-
"glpd": "target/src/bin.js"
14+
"glpd": "target/source/bin.js"
1515
},
1616
"author": "Christian Rackerseder <git@echooff.de>",
1717
"license": "MIT",
@@ -32,14 +32,14 @@
3232
"remove"
3333
],
3434
"files": [
35-
"target/src/**/*.js",
36-
"target/src/**/*.js.map"
35+
"target/source/**/*.js",
36+
"target/source/**/*.js.map"
3737
],
3838
"scripts": {
3939
"clean": "rm -rf target",
4040
"compile": "tsc --build",
41-
"lint": "eslint src test --ext '.ts,.tsx'",
42-
"copy:paste:detection": "jscpd src test",
41+
"lint": "eslint source test --ext '.ts,.tsx'",
42+
"copy:paste:detection": "jscpd source test",
4343
"test:unit": "ava",
4444
"test:unit:coverage": "c8 npm run test:unit",
4545
"test:integration": "ava --config ava.config.integration.js",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)