-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move all the config files to root (#8033)
- Loading branch information
1 parent
8b979c0
commit 769ea0b
Showing
43 changed files
with
123 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"root": true, | ||
"extends": "marine/prettier/node", | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json", | ||
"extraFileExtensions": [".mjs"] | ||
}, | ||
"ignorePatterns": ["**/dist/*"], | ||
"env": { | ||
"jest": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"root": true, | ||
"extends": "marine/prettier/node", | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json", | ||
"extraFileExtensions": [".mjs"] | ||
}, | ||
"ignorePatterns": ["**/dist/*"], | ||
"env": { | ||
"jest": true | ||
} | ||
"extends": "../../.eslintrc.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../.prettierrc.json'); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"allowJs": true | ||
}, | ||
"include": [ | ||
"**/*.ts", | ||
"**/*.tsx", | ||
"**/*.js", | ||
"**/*.mjs", | ||
"**/*.jsx", | ||
"**/*.test.ts", | ||
"**/*.test.js", | ||
"**/*.test.mjs", | ||
"**/*.spec.ts", | ||
"**/*.spec.js", | ||
"**/*.spec.mjs" | ||
], | ||
"exclude": [] | ||
"extends": "../../tsconfig.eslint.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
import { defineConfig } from 'tsup'; | ||
import { createTsupConfig } from '../../tsup.config'; | ||
|
||
export default defineConfig({ | ||
clean: true, | ||
dts: true, | ||
entryPoints: ['src/index.ts', 'src/formatTag/index.ts'], | ||
export default createTsupConfig({ | ||
entry: ['src/index.ts', 'src/formatTag/index.ts'], | ||
format: ['cjs'], | ||
minify: true, | ||
skipNodeModulesBundle: false, | ||
noExternal: ['@actions/core'], | ||
sourcemap: true, | ||
target: 'es2021', | ||
minify: true, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"root": true, | ||
"extends": "marine/prettier/node", | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json", | ||
"extraFileExtensions": [".mjs"] | ||
}, | ||
"ignorePatterns": ["**/dist/*"], | ||
"env": { | ||
"jest": true | ||
} | ||
"extends": "../../.eslintrc.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../.prettierrc.json'); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"allowJs": true | ||
}, | ||
"include": [ | ||
"**/*.ts", | ||
"**/*.tsx", | ||
"**/*.js", | ||
"**/*.mjs", | ||
"**/*.jsx", | ||
"**/*.test.ts", | ||
"**/*.test.js", | ||
"**/*.test.mjs", | ||
"**/*.spec.ts", | ||
"**/*.spec.js", | ||
"**/*.spec.mjs" | ||
], | ||
"exclude": [] | ||
"extends": "../../tsconfig.eslint.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
import { defineConfig } from 'tsup'; | ||
import { createTsupConfig } from '../../tsup.config'; | ||
|
||
export default defineConfig({ | ||
clean: true, | ||
dts: true, | ||
entryPoints: ['src/index.ts'], | ||
format: ['esm', 'cjs'], | ||
minify: false, | ||
keepNames: true, | ||
skipNodeModulesBundle: true, | ||
sourcemap: true, | ||
target: 'es2021', | ||
esbuildOptions: (options, context) => { | ||
if (context.format === 'cjs') { | ||
options.banner = { | ||
js: '"use strict";', | ||
}; | ||
} | ||
}, | ||
}); | ||
export default createTsupConfig(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"root": true, | ||
"extends": "marine/prettier/node", | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json", | ||
"extraFileExtensions": [".mjs"] | ||
}, | ||
"ignorePatterns": ["**/dist/*"], | ||
"env": { | ||
"jest": true | ||
} | ||
"extends": "../../.eslintrc.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../.prettierrc.json'); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"allowJs": true | ||
}, | ||
"include": [ | ||
"**/*.ts", | ||
"**/*.tsx", | ||
"**/*.js", | ||
"**/*.mjs", | ||
"**/*.jsx", | ||
"**/*.test.ts", | ||
"**/*.test.js", | ||
"**/*.test.mjs", | ||
"**/*.spec.ts", | ||
"**/*.spec.js", | ||
"**/*.spec.mjs" | ||
], | ||
"exclude": [] | ||
"extends": "../../tsconfig.eslint.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
import { defineConfig } from 'tsup'; | ||
import { createTsupConfig } from '../../tsup.config'; | ||
|
||
export default defineConfig({ | ||
clean: true, | ||
dts: true, | ||
entryPoints: ['src/index.ts'], | ||
format: ['esm', 'cjs'], | ||
minify: false, | ||
// if false: causes Collection.constructor to be a minified value like: 'o' | ||
keepNames: true, | ||
skipNodeModulesBundle: true, | ||
sourcemap: true, | ||
target: 'es2021', | ||
esbuildOptions: (options, context) => { | ||
if (context.format === 'cjs') { | ||
options.banner = { | ||
js: '"use strict";', | ||
}; | ||
} | ||
}, | ||
}); | ||
export default createTsupConfig(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"root": true, | ||
"extends": "marine/prettier/node", | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json", | ||
"extraFileExtensions": [".mjs"] | ||
}, | ||
"ignorePatterns": ["**/dist/*"], | ||
"env": { | ||
"jest": true | ||
} | ||
"extends": "../../.eslintrc.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../.prettierrc.json'); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"allowJs": true | ||
}, | ||
"include": [ | ||
"**/*.ts", | ||
"**/*.tsx", | ||
"**/*.js", | ||
"**/*.mjs", | ||
"**/*.jsx", | ||
"**/*.test.ts", | ||
"**/*.test.js", | ||
"**/*.test.mjs", | ||
"**/*.spec.ts", | ||
"**/*.spec.js", | ||
"**/*.spec.mjs" | ||
], | ||
"exclude": [] | ||
"extends": "../../tsconfig.eslint.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
import { defineConfig } from 'tsup'; | ||
import { createTsupConfig } from '../../tsup.config'; | ||
|
||
export default defineConfig({ | ||
clean: true, | ||
dts: true, | ||
entryPoints: ['src/index.ts'], | ||
format: ['esm', 'cjs'], | ||
keepNames: true, | ||
minify: false, | ||
skipNodeModulesBundle: true, | ||
sourcemap: true, | ||
target: 'es2021', | ||
export default createTsupConfig({ | ||
minify: true, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"root": true, | ||
"extends": "marine/prettier/node", | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json", | ||
"extraFileExtensions": [".mjs"] | ||
}, | ||
"ignorePatterns": ["**/dist/*"], | ||
"env": { | ||
"jest": true | ||
} | ||
"extends": "../../.eslintrc.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../.prettierrc.json'); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"allowJs": true | ||
}, | ||
"include": [ | ||
"**/*.ts", | ||
"**/*.tsx", | ||
"**/*.js", | ||
"**/*.mjs", | ||
"**/*.jsx", | ||
"**/*.test.ts", | ||
"**/*.test.js", | ||
"**/*.test.mjs", | ||
"**/*.spec.ts", | ||
"**/*.spec.js", | ||
"**/*.spec.mjs" | ||
], | ||
"exclude": [] | ||
"extends": "../../tsconfig.eslint.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
import { defineConfig } from 'tsup'; | ||
import { createTsupConfig } from '../../tsup.config'; | ||
|
||
export default defineConfig({ | ||
clean: true, | ||
dts: true, | ||
entryPoints: ['src/index.ts'], | ||
format: ['esm', 'cjs'], | ||
minify: false, | ||
keepNames: true, | ||
skipNodeModulesBundle: true, | ||
sourcemap: true, | ||
target: 'es2021', | ||
esbuildOptions: (options, context) => { | ||
if (context.format === 'cjs') { | ||
options.banner = { | ||
js: '"use strict";', | ||
}; | ||
} | ||
}, | ||
}); | ||
export default createTsupConfig(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"root": true, | ||
"extends": "marine/prettier/node", | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json", | ||
"extraFileExtensions": [".mjs"] | ||
}, | ||
"ignorePatterns": ["**/dist/*"], | ||
"env": { | ||
"jest": true | ||
} | ||
"extends": "../../.eslintrc.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../.prettierrc.json'); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.