Skip to content

Commit

Permalink
feat(package): update project and add tsconfig ending for modern loaders
Browse files Browse the repository at this point in the history
release-npm
  • Loading branch information
tobua committed Jun 23, 2022
1 parent 98ef696 commit 324c740
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion configuration/tsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getOptions } from '../utility/options.js'
export const tsconfig = (tsconfigUserOverrides = {}) => {
const options = getOptions()
let userTSConfig = {
extends: 'padua/configuration/tsconfig',
extends: 'padua/configuration/tsconfig.json',
}

// The local tsconfig in this package will be written and the user config is extending it.
Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,55 @@
"test": "jest"
},
"dependencies": {
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"babel-jest": "^27.5.1",
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@types/jest": "^28.1.3",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"babel-jest": "^28.1.1",
"current-git-branch": "^1.1.0",
"deep-for-each": "^3.0.0",
"deepmerge": "^4.2.2",
"esbuild": "^0.14.34",
"eslint": "^8.13.0",
"esbuild": "^0.14.47",
"eslint": "^8.18.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"fast-glob": "^3.2.11",
"filesize": "^8.0.7",
"filesize": "^9.0.9",
"gzip-size": "^7.0.0",
"is-ci": "^3.0.1",
"jest": "^27.5.1",
"jest": "^28.1.1",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"lodash.unset": "^4.5.2",
"logua": "^2.1.4",
"npm-check-updates": "^12.5.8",
"pacote": "^13.1.1",
"npm-check-updates": "^14.1.0",
"pacote": "^13.6.1",
"pakag": "^2.6.0",
"parse-gitignore": "^1.0.1",
"prettier": "^2.6.2",
"parse-gitignore": "^2.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"skip-local-postinstall": "^2.0.2",
"standard-version": "^9.3.2",
"skip-local-postinstall": "^2.0.3",
"standard-version": "^9.5.0",
"strip-ansi": "^7.0.1",
"stylelint": "^14.6.1",
"stylelint-config-recommended": "^7.0.0",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
"stylelint": "^14.9.1",
"stylelint-config-recommended": "^8.0.0",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
},
"type": "module",
"main": "index.js",
"bin": "cli.js",
"source": "index.js",
"devDependencies": {
"jest-fixture": "^3.0.0"
"jest-fixture": "^3.0.1"
},
"files": [
"configuration",
Expand Down
2 changes: 1 addition & 1 deletion utility/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const writeGitIgnore = (gitIgnoreOverrides = []) => {
let entries = []

if (existsSync(gitIgnorePath)) {
entries = entries.concat(parse(readFileSync(gitIgnorePath, 'utf8')))
entries = entries.concat(parse(readFileSync(gitIgnorePath, 'utf8')).patterns)
}

entries = entries.concat(gitignore(gitIgnoreOverrides))
Expand Down

0 comments on commit 324c740

Please sign in to comment.