Skip to content

Commit b35fd47

Browse files
authored
chore: bump @1stg/lib-config (#410)
1 parent bb07113 commit b35fd47

File tree

8 files changed

+672
-720
lines changed

8 files changed

+672
-720
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* text=auto eol=lf
2+
yarn.lock -diff

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@ jobs:
2828
node-version: ${{ matrix.node }}
2929
cache: yarn
3030

31-
- name: Link Yarn global binaries into PATH
32-
run: echo "$(yarn global bin)" >> $GITHUB_PATH
33-
3431
- name: Install Dependencies
3532
run: yarn --frozen-lockfile
3633

37-
- name: Build, Lint and test
34+
- name: Build, Lint and Test
3835
run: |
3936
yarn lint
4037
yarn test

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,21 @@
2626
"typecov": "type-coverage"
2727
},
2828
"devDependencies": {
29-
"@1stg/lib-config": "^7.2.6",
29+
"@1stg/lib-config": "^8.0.0",
3030
"@types/eslint": "^8.4.5",
3131
"@types/eslint-plugin-markdown": "^2.0.0",
3232
"@types/jest": "^28.1.4",
3333
"@types/node": "^18.0.3",
3434
"@types/react": "^18.0.15",
3535
"@types/unist": "^2.0.6",
36-
"lerna": "^5.1.6",
36+
"lerna": "^5.1.8",
3737
"patch-package": "^6.4.7",
3838
"react": "^18.2.0",
3939
"ts-jest": "^28.0.5",
4040
"ts-node": "^10.8.2",
41-
"type-coverage": "^2.21.2",
42-
"typescript": "^4.7.4"
41+
"type-coverage": "^2.22.0",
42+
"typescript": "^4.7.4",
43+
"yarn-deduplicate": "^5.0.0"
4344
},
4445
"resolutions": {
4546
"prettier": "^2.7.1"
@@ -79,7 +80,7 @@
7980
"prettier": "@1stg/prettier-config",
8081
"remarkConfig": {
8182
"plugins": [
82-
"@1stg/config"
83+
"@1stg/remark-config"
8384
]
8485
},
8586
"renovate": {

test/helpers.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('Helpers', () => {
4040
})
4141

4242
it('should throw on non existed package', () =>
43-
expect(requirePkg('@1stg/config', 'unexpected-')).rejects.toThrow(
44-
"Cannot find module '@1stg/config'",
43+
expect(requirePkg('@1stg/x-config', 'unexpected-')).rejects.toThrow(
44+
"Cannot find module '@1stg/x-config'",
4545
))
4646
})

tsconfig.base.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
// used by @pkgr/rollup and ESLint
33
"extends": "./tsconfig.lib",
44
"compilerOptions": {
5-
"baseUrl": ".",
65
"paths": {
7-
"eslint-mdx": ["packages/eslint-mdx/src"],
8-
"eslint-plugin-mdx": ["packages/eslint-plugin-mdx/src"]
6+
"eslint-mdx": ["./packages/eslint-mdx/src"],
7+
"eslint-plugin-mdx": ["./packages/eslint-plugin-mdx/src"]
98
}
109
}
1110
}

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
},
1010
"references": [
1111
{
12-
"path": "packages/eslint-mdx"
12+
"path": "./packages/eslint-mdx"
1313
},
1414
{
15-
"path": "packages/eslint-plugin-mdx"
15+
"path": "./packages/eslint-plugin-mdx"
1616
}
1717
]
1818
}

tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
// used by all files but do not includes paths
3-
"extends": "./node_modules/@1stg/tsconfig/node",
3+
"extends": "@1stg/tsconfig/node",
44
"compilerOptions": {
55
"strictFunctionTypes": false,
66
"strictNullChecks": false

0 commit comments

Comments
 (0)