Skip to content

Commit d8b93ae

Browse files
authored
chore(release): 0.8.0 (#23)
2 parents 0fdaf9f + 349b1ff commit d8b93ae

38 files changed

+2189
-152
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1+
lib
12
node_modules
2-
dist
33
*.log

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
require('ts-node').register({
2+
transpileOnly: true,
3+
})
4+
15
module.exports = {
26
root: true,
37
settings: {

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
lib
12
node_modules
2-
dist
3+
tsconfig.tsbuildinfo
34
*.log

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ before_install:
1717
script:
1818
- set -e
1919
- yarn lint
20-
- yarn test
2120
- yarn build
21+
- yarn test
2222

2323
before_deploy:
2424
- set -e
2525
- git remote set-url origin https://user:[email protected]/$TRAVIS_REPO_SLUG.git
26+
- npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
2627
- git fetch origin master:master
2728
- git checkout master
2829
- yarn run standard-version -a
2930
- git push --follow-tags origin master
3031

3132
deploy:
32-
provider: npm
33-
34-
api_key: $NPM_TOKEN
33+
provider: script
3534
skip_cleanup: true
35+
script: yarn run lerna publish from-package
3636
on:
3737
branch: release

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [0.7.1](https://github.com/rx-ts/eslint-plugin-mdx/compare/v0.7.0...v0.7.1) (2019-08-03)
6+
7+
8+
### Features
9+
10+
* export a parse function for compatibility usage ([0fdaf9f](https://github.com/rx-ts/eslint-plugin-mdx/commit/0fdaf9f))
11+
512
## [0.7.0](https://github.com/rx-ts/eslint-plugin-mdx/compare/v0.6.0...v0.7.0) (2019-08-02)
613

714

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ npm i -D @rxts/eslint-plugin-mdx
5454
"overrides": [
5555
{
5656
"files": ["*.mdx"],
57-
"parser": "@rxts/eslint-plugin-mdx",
57+
"parser": "eslint-mdx",
5858
"plugins": ["@rxts/mdx"],
5959
"rules": {
6060
"@rxts/mdx/no-jsx-html-comments": 2,

config/index.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
22
preset: 'ts-jest',
3+
modulePathIgnorePatterns: ['<rootDir>/packages/'],
34
}

lerna.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "0.0.0",
3+
"npmClient": "yarn",
4+
"packages": ["packages/*"],
5+
"useWorkspaces": true
6+
}

package.json

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,24 @@
11
{
2-
"name": "@rxts/eslint-plugin-mdx",
3-
"version": "0.7.1",
2+
"name": "eslint-mdx",
3+
"version": "0.0.0",
44
"description": "ESLint Parser/Plugin for MDX",
55
"repository": "[email protected]:rx-ts/eslint-plugin-mdx.git",
66
"author": "JounQin <[email protected]>",
7-
"main": "dist",
87
"license": "MIT",
9-
"files": [
10-
"dist",
11-
"types.d.ts"
8+
"private": true,
9+
"workspaces": [
10+
"packages"
1211
],
1312
"scripts": {
1413
"prepublishOnly": "yarn build",
15-
"build": "tsc -P src",
14+
"postinstall": "lerna clean --yes && lerna bootstrap",
15+
"build": "tsc -b",
1616
"test": "jest",
1717
"lint": "EFF_NO_LINK_RULES=true eslint . --ext js,mdx,ts,tsx -f friendly"
1818
},
19-
"keywords": [
20-
"eslint",
21-
"eslint-parser",
22-
"eslint-plugin",
23-
"eslint-parser-mdx",
24-
"eslint-plugin-mdx",
25-
"mdx",
26-
"eslint-mdx"
27-
],
28-
"peerDependencies": {
29-
"eslint": ">=5.0.0"
30-
},
31-
"dependencies": {
32-
"remark-mdx": "^1.1.4",
33-
"remark-parse": "^7.0.0",
34-
"unified": "^8.3.2"
35-
},
3619
"devDependencies": {
3720
"@commitlint/config-conventional": "^8.1.0",
38-
"@rxts/eslint-plugin-mdx": "file:config",
21+
"@rxts/eslint-plugin-mdx": "link:packages/eslint-plugin-mdx/src",
3922
"@types/eslint": "^4.16.6",
4023
"@types/jest": "^24.0.16",
4124
"@types/node": "^12.6.9",
@@ -46,16 +29,21 @@
4629
"eslint": "^6.1.0",
4730
"eslint-config-1stg": "~5.4.1",
4831
"eslint-formatter-friendly": "^7.0.0",
32+
"eslint-mdx": "link:packages/eslint-mdx/src",
4933
"eslint-plugin-jest": "^22.14.1",
5034
"husky": "^3.0.2",
5135
"jest": "^24.8.0",
36+
"lerna": "^3.16.4",
5237
"lint-staged": "^9.2.1",
5338
"prettier": "1.18.2",
5439
"prettier-config-1stg": "^0.1.0",
5540
"react": "^16.8.6",
41+
"remark-mdx": "^1.1.5",
42+
"remark-parse": "^7.0.0",
5643
"standard-version": "^7.0.0",
5744
"ts-jest": "^24.0.2",
5845
"ts-node": "^8.3.0",
59-
"typescript": "^3.5.3"
46+
"typescript": "^3.5.3",
47+
"unified": "^8.3.2"
6048
}
6149
}

0 commit comments

Comments
 (0)