chore: add missing bin entry for CT packages (#20669)
https://github.com/microsoft/playwright/issues/20639 PNPM does not include nested dependencies into its .bin directory. See here: https://github.com/pnpm/pnpm/issues/96
This commit is contained in:
parent
5112abc1d2
commit
86fa74396f
17
packages/playwright-ct-react/cli.js
Normal file
17
packages/playwright-ct-react/cli.js
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
/**
|
||||||
|
* Copyright (c) Microsoft Corporation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
module.exports = require('playwright-core/cli');
|
||||||
|
|
@ -29,5 +29,8 @@
|
||||||
"@vitejs/plugin-react": "^3.0.0",
|
"@vitejs/plugin-react": "^3.0.0",
|
||||||
"@playwright/test": "1.31.0-next",
|
"@playwright/test": "1.31.0-next",
|
||||||
"vite": "^4.0.3"
|
"vite": "^4.0.3"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"playwright": "./cli.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17
packages/playwright-ct-solid/cli.js
Normal file
17
packages/playwright-ct-solid/cli.js
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
/**
|
||||||
|
* Copyright (c) Microsoft Corporation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
module.exports = require('playwright-core/cli');
|
||||||
|
|
@ -32,5 +32,8 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"solid-js": "^1.4.7"
|
"solid-js": "^1.4.7"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"playwright": "./cli.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17
packages/playwright-ct-svelte/cli.js
Normal file
17
packages/playwright-ct-svelte/cli.js
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
/**
|
||||||
|
* Copyright (c) Microsoft Corporation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
module.exports = require('playwright-core/cli');
|
||||||
|
|
@ -32,5 +32,8 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"svelte": "^3.49.0"
|
"svelte": "^3.49.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"playwright": "./cli.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17
packages/playwright-ct-vue/cli.js
Normal file
17
packages/playwright-ct-vue/cli.js
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
/**
|
||||||
|
* Copyright (c) Microsoft Corporation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
module.exports = require('playwright-core/cli');
|
||||||
|
|
@ -29,5 +29,8 @@
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"@playwright/test": "1.31.0-next",
|
"@playwright/test": "1.31.0-next",
|
||||||
"vite": "^4.0.3"
|
"vite": "^4.0.3"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"playwright": "./cli.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17
packages/playwright-ct-vue2/cli.js
Normal file
17
packages/playwright-ct-vue2/cli.js
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
/**
|
||||||
|
* Copyright (c) Microsoft Corporation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
module.exports = require('playwright-core/cli');
|
||||||
|
|
@ -32,5 +32,8 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vue": "^2.7.13"
|
"vue": "^2.7.13"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"playwright": "./cli.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue