-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
direct copy paste of angular npm package to angular18 (no changes)
- Loading branch information
1 parent
6497289
commit ec99e51
Showing
11 changed files
with
726 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
**/dist | ||
**/*.d.ts | ||
**/package-lock.json | ||
**/tsconfig.json | ||
**/cypress/fixtures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"plugins": [ | ||
"cypress" | ||
], | ||
"extends": [ | ||
"plugin:@cypress/dev/tests" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
examples | ||
src | ||
cypress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
...require('../../.releaserc'), | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# @cypress/angular | ||
|
||
Mount Angular components in the open source [Cypress.io](https://www.cypress.io/) test runner | ||
|
||
> **Note:** This package is bundled with the `cypress` package and should not need to be installed separately. See the [Angular Component Testing Docs](https://docs.cypress.io/guides/component-testing/angular/overview) for mounting Angular components. Installing and importing `mount` from `@cypress/angular` should only be done for advanced use-cases. | ||
## Development | ||
|
||
Run `yarn build` to compile and sync packages to the `cypress` cli package. | ||
|
||
## [Changelog](./CHANGELOG.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"name": "@cypress/angular", | ||
"version": "0.0.0-development", | ||
"description": "Test Angular Components using Cypress", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"prebuild": "rimraf dist", | ||
"build": "rollup -c rollup.config.mjs", | ||
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js", | ||
"check-ts": "tsc --noEmit", | ||
"lint": "eslint --ext .js,.ts,.json, ." | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@angular/common": "^14.2.0", | ||
"@angular/core": "^14.2.0", | ||
"@angular/platform-browser-dynamic": "^14.2.0", | ||
"@cypress/mount-utils": "0.0.0-development", | ||
"typescript": "^4.7.4", | ||
"zone.js": "~0.11.4" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": ">=13", | ||
"@angular/core": ">=13", | ||
"@angular/platform-browser-dynamic": ">=13", | ||
"zone.js": ">=0.11.0" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"types": "dist/index.d.ts", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/cypress-io/cypress.git" | ||
}, | ||
"homepage": "https://github.com/cypress-io/cypress/blob/develop/npm/angular/#readme", | ||
"bugs": "https://github.com/cypress-io/cypress/issues/new?assignees=&labels=npm%3A%20%40cypress%2Fangular&template=1-bug-report.md&title=", | ||
"keywords": [ | ||
"angular", | ||
"cypress", | ||
"cypress-io", | ||
"test", | ||
"testing" | ||
], | ||
"contributors": [ | ||
{ | ||
"name": "Jordan Powell", | ||
"social": "@jordanpowell88" | ||
}, | ||
{ | ||
"name": "Zach Williams", | ||
"social": "@ZachJW34" | ||
} | ||
], | ||
"module": "dist/index.js", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"nx": { | ||
"targets": { | ||
"build": { | ||
"outputs": [ | ||
"{workspaceRoot}/cli/angular" | ||
] | ||
} | ||
} | ||
}, | ||
"standard": { | ||
"globals": [ | ||
"Cypress", | ||
"cy", | ||
"expect" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { createEntries } from '@cypress/mount-utils/create-rollup-entry.mjs' | ||
|
||
const config = { | ||
external: [ | ||
'@angular/core', | ||
'@angular/core/testing', | ||
'@angular/common', | ||
'@angular/platform-browser-dynamic/testing', | ||
'zone.js', | ||
'zone.js/testing', | ||
], | ||
} | ||
|
||
export default createEntries({ formats: ['es'], input: 'src/index.ts', config }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './mount' |
Oops, something went wrong.