Skip to content

Commit

Permalink
fix: adjust generator-open-wc links to create
Browse files Browse the repository at this point in the history
  • Loading branch information
daKmoR committed Mar 24, 2019
1 parent e547f53 commit cc014b1
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/automating/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm init @open-wc automating
```

### Manual Setup
- copy [.circleci/config.yml](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/tools-circleci/templates/static/.circleci/config.yml) to `.circleci/config.yml`
- copy [.circleci/config.yml](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/tools-circleci/templates/static/.circleci/config.yml) to `.circleci/config.yml`


## Usage
Expand Down
12 changes: 6 additions & 6 deletions docs/linting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ This is part of the default [open-wc](https://open-wc.org/) recommendation

### Manual
- `yarn add --dev @open-wc/eslint-config @open-wc/prettier-config lint-staged husky @commitlint/cli @commitlint/config-conventional`
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
- Copy [.eslintrc.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-prettier/templates/static/.eslintrc.js) to `.eslintrc.js`
- Copy [.prettierignore](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-prettier/templates/static/.prettierignore) to `.prettierignore`
- Copy [prettier.config.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-prettier/templates/_prettier.config.js) to `prettier.config.js`
- Copy [husky.config.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting/templates/static/husky.config.js) to `husky.config.js`
- Copy [commitlint.config.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-commitlint/templates/static/commitlint.config.js) to `commitlint.config.js`
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
- Copy [.eslintrc.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-prettier/templates/static/.eslintrc.js) to `.eslintrc.js`
- Copy [.prettierignore](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-prettier/templates/static/.prettierignore) to `.prettierignore`
- Copy [prettier.config.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-prettier/templates/_prettier.config.js) to `prettier.config.js`
- Copy [husky.config.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting/templates/static/husky.config.js) to `husky.config.js`
- Copy [commitlint.config.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-commitlint/templates/static/commitlint.config.js) to `commitlint.config.js`
- Add these scripts to your package.json
```js
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ You can use these generators if you already have an existing project that you wo
const editLink = document.querySelector('.edit-link a');
if (editLink) {
const url = editLink.href;
editLink.href = url.substr(0, url.indexOf('/master/')) + '/master/packages/generator-open-wc/README.md';
editLink.href = url.substr(0, url.indexOf('/master/')) + '/master/packages/create/src/README.md';
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ This is part of the default [open-wc](https://open-wc.org/) recommendation

## Manual
- `yarn add --dev @open-wc/eslint-config`
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
- Copy [.eslintrc.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-eslint/templates/static/.eslintrc.js) to `.eslintrc.js`
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
- Copy [.eslintrc.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-eslint/templates/static/.eslintrc.js) to `.eslintrc.js`
- Add these scripts to your package.json
```js
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/testing-karma-bs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ npm init @open-wc testing-karma-bs

### Manual
- `yarn add @open-wc/testing-karma-bs --dev`
- Copy [karma.es5.bs.config.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/testing-karma-bs/templates/static/karma.es5.bs.config.js) to `karma.es5.bs.config.js`
- Copy [karma.es5.bs.config.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/testing-karma-bs/templates/static/karma.es5.bs.config.js) to `karma.es5.bs.config.js`
- Add these scripts to your package.json
```js
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/testing-wallaby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm init @open-wc testing-wallaby
```

### Manual
1. Copy the [config](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/testing-wallaby/templates/static/wallaby.js) and save it as `wallaby.js` into your project root
1. Copy the [config](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/testing-wallaby/templates/static/wallaby.js) and save it as `wallaby.js` into your project root
1. `yarn add @open-wc/testing-wallaby --dev`

## Usage
Expand Down
6 changes: 3 additions & 3 deletions packages/testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Already part of `npm init @open-wc testing`

### Manual Install
- Install via `yarn add @open-wc/testing-karma --dev`
- Copy [karma.conf.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/testing-karma/templates/static/karma.conf.js) to `karma.conf.js`
- Copy [karma.conf.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/testing-karma/templates/static/karma.conf.js) to `karma.conf.js`
- Add these scripts to package.json
```js
"scripts": {
Expand All @@ -54,7 +54,7 @@ Already part of `npm init @open-wc testing`
},
```
#### If you need to support legacy browsers
- Copy [karma.es5.config.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/testing-karma/templates/static/karma.es5.config.js) to `karma.es5.config.js` as well
- Copy [karma.es5.config.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/testing-karma/templates/static/karma.es5.config.js) to `karma.es5.config.js` as well
```js
"scripts": {
"test:es5": "karma start karma.es5.config.js",
Expand All @@ -77,7 +77,7 @@ Already part of `npm init @open-wc testing`
### Manual Install

- Install via `yarn add @open-wc/testing-karma-bs --dev`
- Copy [karma.es5.bs.config.js](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/testing-karma-bs/templates/static/karma.es5.bs.config.js) to `karma.es5.bs.config.js`
- Copy [karma.es5.bs.config.js](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/testing-karma-bs/templates/static/karma.es5.bs.config.js) to `karma.es5.bs.config.js`
- Add these scripts to your package.json
```js
"scripts": {
Expand Down

0 comments on commit cc014b1

Please sign in to comment.