Skip to content

Commit cc014b1

Browse files
committed
fix: adjust generator-open-wc links to create
1 parent e547f53 commit cc014b1

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

docs/automating/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ npm init @open-wc automating
1616
```
1717

1818
### Manual Setup
19-
- 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`
19+
- 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`
2020

2121

2222
## Usage

docs/linting/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ This is part of the default [open-wc](https://open-wc.org/) recommendation
1919

2020
### Manual
2121
- `yarn add --dev @open-wc/eslint-config @open-wc/prettier-config lint-staged husky @commitlint/cli @commitlint/config-conventional`
22-
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
23-
- 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`
24-
- Copy [.prettierignore](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-prettier/templates/static/.prettierignore) to `.prettierignore`
25-
- 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`
26-
- 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`
27-
- 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`
22+
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
23+
- 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`
24+
- Copy [.prettierignore](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-prettier/templates/static/.prettierignore) to `.prettierignore`
25+
- 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`
26+
- 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`
27+
- 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`
2828
- Add these scripts to your package.json
2929
```js
3030
"lint-staged": {

packages/create/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ You can use these generators if you already have an existing project that you wo
172172
const editLink = document.querySelector('.edit-link a');
173173
if (editLink) {
174174
const url = editLink.href;
175-
editLink.href = url.substr(0, url.indexOf('/master/')) + '/master/packages/generator-open-wc/README.md';
175+
editLink.href = url.substr(0, url.indexOf('/master/')) + '/master/packages/create/src/README.md';
176176
}
177177
}
178178
}

packages/eslint-config/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ This is part of the default [open-wc](https://open-wc.org/) recommendation
1515

1616
## Manual
1717
- `yarn add --dev @open-wc/eslint-config`
18-
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/generator-open-wc/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
19-
- 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`
18+
- Copy [.eslintignore](https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/linting-eslint/templates/static/.eslintignore) to `.eslintignore`
19+
- 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`
2020
- Add these scripts to your package.json
2121
```js
2222
"scripts": {

packages/testing-karma-bs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ npm init @open-wc testing-karma-bs
2222

2323
### Manual
2424
- `yarn add @open-wc/testing-karma-bs --dev`
25-
- 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`
25+
- 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`
2626
- Add these scripts to your package.json
2727
```js
2828
"scripts": {

packages/testing-wallaby/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm init @open-wc testing-wallaby
1313
```
1414

1515
### Manual
16-
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
16+
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
1717
1. `yarn add @open-wc/testing-wallaby --dev`
1818

1919
## Usage

packages/testing/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Already part of `npm init @open-wc testing`
4545

4646
### Manual Install
4747
- Install via `yarn add @open-wc/testing-karma --dev`
48-
- 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`
48+
- 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`
4949
- Add these scripts to package.json
5050
```js
5151
"scripts": {
@@ -54,7 +54,7 @@ Already part of `npm init @open-wc testing`
5454
},
5555
```
5656
#### If you need to support legacy browsers
57-
- 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
57+
- 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
5858
```js
5959
"scripts": {
6060
"test:es5": "karma start karma.es5.config.js",
@@ -77,7 +77,7 @@ Already part of `npm init @open-wc testing`
7777
### Manual Install
7878

7979
- Install via `yarn add @open-wc/testing-karma-bs --dev`
80-
- 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`
80+
- 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`
8181
- Add these scripts to your package.json
8282
```js
8383
"scripts": {

0 commit comments

Comments
 (0)