Skip to content

Commit

Permalink
Revert bundler, add fsevents .node file to binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Nov 19, 2021
1 parent 5262472 commit 129441d
Show file tree
Hide file tree
Showing 6 changed files with 246 additions and 388 deletions.
5 changes: 4 additions & 1 deletion electron-builder.json
Expand Up @@ -9,7 +9,10 @@
"hardenedRuntime": true,
"entitlements": "./scripts/entitlements.mac.inherit.plist",
"entitlementsInherit": "./scripts/entitlements.mac.inherit.plist",
"type": "distribution"
"type": "distribution",
"binaries": [
"./build/mac/Contents/Resources/app/node_modules/chokidar/node_modules/fsevents/build/Release/.node"
]
},
"linux": {
"target": "dir",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -117,8 +117,8 @@
"conventional-recommended-bump": "6.1.0",
"debug": "^4.3.2",
"del": "3.0.0",
"electron-builder": "^22.13.1",
"electron-notarize": "^1.1.1",
"electron-builder": "22.9.1",
"electron-notarize": "1.0.0",
"enzyme-adapter-react-16": "1.12.1",
"eslint": "7.22.0",
"eslint-plugin-cypress": "2.11.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"electron": "15.2.0",
"electron-packager": "^15.4.0",
"electron-packager": "14.1.1",
"execa": "4.1.0",
"mocha": "3.5.3"
},
Expand Down
@@ -1,4 +1,4 @@
const { detect } = require('../detect')
import { detect } from '../detect'

detect(undefined, false).then((browsers) => {
// eslint-disable-next-line no-console
Expand Down
2 changes: 1 addition & 1 deletion packages/launcher/lib/darwin/util.ts
Expand Up @@ -115,7 +115,7 @@ export async function darwinDetectionWorkaround (): Promise<FoundBrowser[]> {
let args = ['./detection-workaround.js']

if (process.env.CYPRESS_INTERNAL_ENV === 'development') {
args = ['-r', '@packages/ts/register.js'].concat(args)
args = ['-r', '@packages/ts/register.js'].concat(['./detection-workaround.ts'])
}

const { stdout } = await utils.execa(nodePath, args, { cwd: __dirname })
Expand Down

1 comment on commit 129441d

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 129441d Nov 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/9.0.1/appveyor-tgriesser/build/root-yarn-install-129441dd4f715685fdce9294ef985773d7839d01/cypress.tgz

Please sign in to comment.