You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you would like to contribute by testing a Pull Request (PR), here's how to do so. Keep in mind, you **do not need to have a DSpace backend / REST API installed locally to test a PR**. By default, the dspace-angular project points at our demo REST API
239
239
240
240
1. Pull down the branch that the Pull Request was built from. Easy instructions for doing so can be found on the Pull Request itself.
241
-
* Next to the "Merge" button, you'll see a link that says "command line instructions".
242
-
* Click it, and follow "Step 1" of those instructions to checkout the pull down the PR branch.
241
+
* Next to the "Merge" button, you'll see a link that says "command line instructions".
242
+
* Click it, and follow "Step 1" of those instructions to checkout the pull down the PR branch.
243
243
2.`yarn run clean` (This resets your local dependencies to ensure you are up-to-date with this PR)
244
244
3.`yarn install` (Updates your local dependencies to those in the PR)
245
245
4.`yarn start` (Rebuilds the project, and deploys to localhost:4000, by default)
@@ -292,9 +292,9 @@ All E2E tests must be created under the `./cypress/integration/` folder, and mus
292
292
* Run your test file from the Cypress window. This starts the [Cypress Test Runner](https://docs.cypress.io/guides/core-concepts/test-runner) in a new browser window.
293
293
* In the [Cypress Test Runner](https://docs.cypress.io/guides/core-concepts/test-runner), you'll Cypress automatically visit the page. This first test will succeed, as all you are doing is making sure the _page exists_.
294
294
* From here, you can use the [Selector Playground](https://docs.cypress.io/guides/core-concepts/test-runner#Selector-Playground) in the Cypress Test Runner window to determine how to tell Cypress to interact with a specific HTML element on that page.
295
-
* Most commands start by telling Cypress to [get()](https://docs.cypress.io/api/commands/get) a specific element, using a CSS or jQuery style selector
296
-
* Cypress can then do actions like [click()](https://docs.cypress.io/api/commands/click) an element, or [type()](https://docs.cypress.io/api/commands/type) text in an input field, etc.
297
-
* Cypress can also validate that something occurs, using [should()](https://docs.cypress.io/api/commands/should) assertions.
295
+
* Most commands start by telling Cypress to [get()](https://docs.cypress.io/api/commands/get) a specific element, using a CSS or jQuery style selector
296
+
* Cypress can then do actions like [click()](https://docs.cypress.io/api/commands/click) an element, or [type()](https://docs.cypress.io/api/commands/type) text in an input field, etc.
297
+
* Cypress can also validate that something occurs, using [should()](https://docs.cypress.io/api/commands/should) assertions.
298
298
* Any time you save your test file, the Cypress Test Runner will reload & rerun it. This allows you can see your results quickly as you write the tests & correct any broken tests rapidly.
299
299
* Cypress also has a great guide on [writing your first test](https://on.cypress.io/writing-first-test) with much more info. Keep in mind, while the examples in the Cypress docs often involve Javascript files (.js), the same examples will work in our Typescript (.ts) e2e tests.
300
300
@@ -332,12 +332,12 @@ Recommended Editors/IDEs
332
332
To get the most out of TypeScript, you'll need a TypeScript-aware editor. We've had good experiences using these editors:
333
333
334
334
- Free
335
-
- [Visual Studio Code](https://code.visualstudio.com/)
336
-
- [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)
335
+
-[Visual Studio Code](https://code.visualstudio.com/)
336
+
-[Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)
337
337
- Paid
338
-
- [Webstorm](https://www.jetbrains.com/webstorm/download/) or [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/)
@@ -438,7 +438,7 @@ This project makes use of [`yarn`](https://yarnpkg.com/en/) to ensure that the e
438
438
439
439
*`yarn` creates a [`yarn.lock`](https://yarnpkg.com/en/docs/yarn-lock) to track those versions. That file is updated automatically by whenever dependencies are added/updated/removed via yarn.
440
440
***Adding new dependencies**: To install/add a new dependency (third party library), use [`yarn add`](https://yarnpkg.com/en/docs/cli/add). For example: `yarn add some-lib`.
441
-
* If you are adding a new build tool dependency (to `devDependencies`), use `yarn add some-lib --dev`
441
+
* If you are adding a new build tool dependency (to `devDependencies`), use `yarn add some-lib --dev`
442
442
***Upgrading existing dependencies**: To upgrade existing dependencies, you can use [`yarn upgrade`](https://yarnpkg.com/en/docs/cli/upgrade). For example: `yarn upgrade some-lib` or `yarn upgrade some-lib@version`
443
443
***Removing dependencies**: If a dependency is no longer needed, or replaced, use [`yarn remove`](https://yarnpkg.com/en/docs/cli/remove) to remove it.
444
444
@@ -480,22 +480,22 @@ Frequently asked questions
480
480
--------------------------
481
481
482
482
- Why is my service, aka provider, is not injecting a parameter correctly?
483
-
- Please use `@Injectable()` for your service for typescript to correctly attach the metadata
483
+
- Please use `@Injectable()` for your service for typescript to correctly attach the metadata
484
484
- Where do I write my tests?
485
-
- You can write your tests next to your component files. e.g. for `src/app/home/home.component.ts` call it `src/app/home/home.component.spec.ts`
485
+
- You can write your tests next to your component files. e.g. for `src/app/home/home.component.ts` call it `src/app/home/home.component.spec.ts`
486
486
- How do I start the app when I get `EACCES` and `EADDRINUSE` errors?
487
-
- The `EADDRINUSE` error means the port `4000` is currently being used and `EACCES` is lack of permission to build files to `./dist/`
487
+
- The `EADDRINUSE` error means the port `4000` is currently being used and `EACCES` is lack of permission to build files to `./dist/`
488
488
- What are the naming conventions for Angular?
489
-
- See [the official angular style guide](https://angular.io/styleguide)
489
+
- See [the official angular style guide](https://angular.io/styleguide)
490
490
- Why is the size of my app larger in development?
491
-
- The production build uses a whole host of techniques (ahead-of-time compilation, rollup to remove unreachable code, minification, etc.) to reduce the size, that aren't used during development in the intrest of build speed.
491
+
- The production build uses a whole host of techniques (ahead-of-time compilation, rollup to remove unreachable code, minification, etc.) to reduce the size, that aren't used during development in the intrest of build speed.
492
492
- node-pre-gyp ERR in yarn install (Windows)
493
-
- install Python x86 version between 2.5 and 3.0 on windows. See [this issue](https://github.com/AngularClass/angular2-webpack-starter/issues/626)
493
+
- install Python x86 version between 2.5 and 3.0 on windows. See [this issue](https://github.com/AngularClass/angular2-webpack-starter/issues/626)
494
494
- How do I handle merge conflicts in yarn.lock?
495
-
- first check out the yarn.lock file from the branch you're merging in to yours: e.g. `git checkout --theirs yarn.lock`
496
-
- now run `yarn install` again. Yarn will create a new lockfile that contains both sets of changes.
497
-
- then run `git add yarn.lock` to stage the lockfile for commit
498
-
- and `git commit` to conclude the merge
495
+
- first check out the yarn.lock file from the branch you're merging in to yours: e.g. `git checkout --theirs yarn.lock`
496
+
- now run `yarn install` again. Yarn will create a new lockfile that contains both sets of changes.
497
+
- then run `git add yarn.lock` to stage the lockfile for commit
498
+
- and `git commit` to conclude the merge
499
499
500
500
Getting Help
501
501
------------
@@ -529,4 +529,4 @@ DSpace source code is freely available under a standard [BSD 3-Clause license](h
529
529
The full license is available in the [LICENSE](LICENSE) file or online at http://www.dspace.org/license/
530
530
531
531
DSpace uses third-party libraries which may be distributed under different licenses. Those licenses are listed
532
-
in the [LICENSES_THIRD_PARTY](LICENSES_THIRD_PARTY) file.
532
+
in the [LICENSES_THIRD_PARTY](LICENSES_THIRD_PARTY) file.
0 commit comments