mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-04 21:49:50 -06:00
* direct copy paste of angular npm package to angular18 (no changes) * feat: implement angular-signals test hardness to support angular signals add changelog entry and build binary [run ci] rename angular18 to angular-signals until we are able to merge back into core package [run ci] fix linting job [run ci] make sure angular-signals harness is copied to cli after build [run ci] add project fixture directory to angular 18 and build binaries for newly named branch run ci update cache [run ci] bust nx cache [run ci] bust cache on linux [run ci] try busting the cache... again [run ci] usually helps when you have the correct build output... [run ci] fix issue where component internal props were getting blown away when user would not set prop in componentProperties [run ci] * update test harness description * add built-in control flow tests with signals * make sure to clean up rxjs observables in order to prevent a memory leak * address comments from code review * yarn lock --------- Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
27 lines
616 B
JavaScript
27 lines
616 B
JavaScript
const shell = require('shelljs')
|
|
const { resolve } = require('path')
|
|
|
|
shell.set('-v') // verbose
|
|
shell.set('-e') // any error is fatal
|
|
|
|
// For each npm package that is re-published via cypress/*
|
|
// make sure that it is also copied into the build directory
|
|
const npmModulesToCopy = [
|
|
'mount-utils',
|
|
'react',
|
|
'react18',
|
|
'vue',
|
|
'vue2',
|
|
'angular',
|
|
'angular-signals',
|
|
'svelte',
|
|
]
|
|
|
|
npmModulesToCopy.forEach((folder) => {
|
|
// cli/mount-utils => cli/build/mount-utils
|
|
const from = resolve(`${__dirname}/../${folder}`)
|
|
const to = resolve(`${__dirname}/../build/${folder}`)
|
|
|
|
shell.cp('-R', from, to)
|
|
})
|