Commit Graph

1968 Commits

Author SHA1 Message Date
Maurício Szabo
56d7314ebe Added missing script 2022-08-15 12:59:36 -03:00
DeeDeeG
7fdf02a683 deps: downgrade fs-admin to 0.19.0 in script/
Consistent fs-admin version in script/ and in core.
2022-07-11 08:29:22 -04:00
DeeDeeG
0f3785899b deps: Update fs-admin to 0.20.0 in script/ 2022-07-10 21:00:04 -04:00
Amin Yahyaabadi
f8993f390d build: fix the permissions of the scripts on unix 2022-07-09 22:39:33 -07:00
Amin Yahyaabadi
be29e10602 ci: fix macos caffeinate test script 2022-07-09 21:59:45 -07:00
Amin Yahyaabadi
9794abce55 fix: deprecate shell scripts and extension less scripts 2022-07-09 21:38:26 -07:00
Amin Yahyaabadi
48cebc86ea fix: use node shabang for backwards compatibility 2022-07-09 21:27:57 -07:00
Amin Yahyaabadi
7a1e4d1936 fix: fix the path to verify-snapshot-script 2022-07-09 21:22:35 -07:00
Amin Yahyaabadi
1ab0ac450a ci: run scripts using node in CI 2022-07-09 17:34:52 -07:00
Amin Yahyaabadi
c6a39b5887 build: add file extension for js files + create sh scripts + lint 2022-07-09 17:28:31 -07:00
Amin Yahyaabadi
f9f031c822 chore: fix prettier + update the lock files 2022-07-08 22:06:35 -07:00
Amin Yahyaabadi
ca0eda7351 fix: exclude nsfw from the snapshot 2022-07-07 22:04:52 -07:00
Amin Yahyaabadi
a600e30ed9 build: add npmrc with Nodejs target versions 2022-07-04 16:14:56 -07:00
Amin Yahyaabadi
2f0cbdeb08 Merge branch 'master' into pr/67 2022-07-01 14:59:16 -07:00
Amin Yahyaabadi
e752405bd9
Merge pull request #409 from atom-community/dump-symbols 2022-07-01 14:50:00 -07:00
Amin Yahyaabadi
38e5586b10 fix: ignore the errors caused by dumping the symbols on non-windows 2022-07-01 14:49:08 -07:00
Amin Yahyaabadi
eb56872337 fix: exclude supports-color from the snapshot 2022-06-30 01:50:46 -07:00
Amin Yahyaabadi
9a775082dd Merge branch 'master' into pr/67 2022-06-30 00:32:26 -07:00
Spiker985
ff88105584
Change Windows Build image - 2016 -> 2019
The Windows 2016 image has been/will be deprecated as of today. https://github.com/actions/virtual-environments/issues/5403
2022-06-30 03:03:55 -04:00
Steven Nguyen
35cff5b294
Revert "deps: Bump minidump (0.22.0 to 0.23.0) in script/" 2022-06-20 17:21:15 -05:00
DeeDeeG
d4ec4e9ffd deps: Bump minidump (0.22.0 to 0.23.0) in script/
Should fix an error when building Atom on Arch Linux,
specifically when dumping debug symbols.
2022-06-20 17:40:10 -04:00
DeeDeeG
0b1a764c2c CI: Bump Node to 12.18.3 to match Electron 11
See: https://www.electronjs.org/releases/stable?version=11&page=6#11.0.0
2022-06-19 11:36:17 -04:00
Amin Yahyaabadi
7ebf8b96b5
Merge pull request #367 from icecream17/dependabot/npm_and_yarn/script/vsts/y18n-3.2.2 2022-06-15 14:04:24 -07:00
Amin Yahyaabadi
df5eb81540 fix: use the script-runner's npm in the bootstrap 2022-06-10 20:25:35 -07:00
Amin Yahyaabadi
f15a9de354
Merge branch 'master' into upstream_master_new 2022-06-10 20:06:23 -07:00
Musa Ibrahim
80b6c8a9f6
Merge pull request #23664 from icecream17/revert-npm
Fix npm ENOENT error in install-script-runner-dependencies
2022-04-20 14:37:41 +04:00
steven nguyen
f3b631b458 ⬆️ electron-packager to 15.1.0 in /script
According to https://www.electronjs.org/blog/apple-silicon,
if arm64 is going to be supported, `electron-packager` should be at least
`15.1.0`
Running npm install seemed to update a bunch of other things

Also language-ruby keeps reverting to 0.72, this seems to fix that.
2022-02-28 15:41:56 +00:00
steven nguyen
ee56b4ba7b separate getLocalNpmBinPath for install-apm.js 2022-02-28 14:44:12 +00:00
icecream17
ece90b3e3f Remove unused imports 2022-02-26 16:35:23 -06:00
icecream17
790511ac51 Fix npm ENOENT error in install-script-runner-dependencies
Despite what https://github.com/atom/atom/pull/23322 is named,
the pull request actually makes install-script-dependencies
use the non-local npm binary.

So this pr fixes install-script-runner-dependencies by making the npmBinPath
consistent with install-script-dependencies

ENOENT detected by https://github.com/atom-community/atom/pull/351,
specifically https://dev.azure.com/atomcommunity/atomcommunity/_build/results?buildId=1132&view=logs&j=2985f0af-e798-5fdc-91b8-be9f0a3685c5&t=0a53f124-4db9-5fc3-be81-e293757effc7&l=16
2022-02-26 16:26:23 -06:00
DeeDeeG
dafca7ef79 deps: "downgrade" node-fetch to ^v2.6.7 in script/
This version has all the known security patches in v3.x,
and is meanwhile the recommended version to use from CommonJS
(NodeJS-style) modules, as opposed to ESM.

Atom's build and CI scripts are all CommonJS as far as I know,
so we should basically stay on node-fetch v2.x.

This fixes the currently broken "Bump dependencies" job in Nightly CI.

Effectively reverts ad1318e3fb,
AKA https://github.com/atom/atom/pull/23506,
albeit with a more up-to-date patch version of node-fetch v2.x.
2022-02-22 22:06:41 -05:00
dependabot[bot]
8812bf2102
Bump y18n from 3.2.1 to 3.2.2 in /script/vsts
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

---
updated-dependencies:
- dependency-name: y18n
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 13:39:25 +00:00
darangi
52adb31cf6 ⬆️ pr-changelog@0.3.4 2022-02-08 20:00:22 +01:00
steven nguyen
ebcebb2fa8 sync package-lock 2022-02-07 15:01:46 +00:00
steven nguyen
9e6302f7a2 fix/deps: min versions of electron-chromedriver...
... and electron-snapshot to the current electron version (v11)
2022-02-07 14:33:33 +00:00
dependabot[bot]
ad1318e3fb
Bump node-fetch from 2.6.1 to 3.1.1 in /script
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 12:52:00 +00:00
sadick254
309ecff84d
Use correct npm bin name depending on the OS 2021-12-03 16:26:23 +03:00
sadick254
22c3e44d10
We don't need to verify npm version
We have defaulted to using npm that installed as part of the script
dependancies. This is to increase predictability on what version of npm
was used to install atom dependencies
2021-12-03 16:22:25 +03:00
sadick254
36562eaea1
Install using npm installed during installation of script dependencies 2021-12-03 14:19:52 +03:00
sadick254
094b8dfdf5
Remove aws-sdk
We have now moved to using azure for our block storage. We no longer
need to have the aws-sdk and the related functionality on Atom.
2021-11-22 06:14:01 +03:00
Musa Ibrahim
dd4fae1eb9
Merge pull request #22979 from DeeDeeG/update-system-requirements-checker-node
bootstrap: Use legacy-compatible `catch` syntax (support older Node)
2021-09-20 16:47:01 +01:00
DeeDeeG
f35e51273d bootstrap: Update required Node to 10.12+
"Node 10.12 or newer" has been a hard requirement since this PR:
https://github.com/atom/atom/pull/20879,
due to newer versions of electron-chromedriver and electron-mksnapshot
relying on extract-zip@2 as an indirect dependency.

(extract-zip@2 requires Node 10.12 or newer for its recursive mkdir.
Using extract-zip@2 with Node older than 10.12 results in errors.

That leads to a lack of electron-vendored
chromedriver or mksnapshot binaries where they're supposed to be.
Which in turn causes startup blob creation (via mksnapshot) to fail
toward the end of the Atom build scripts.)
2021-09-18 16:28:13 -04:00
DeeDeeG
5339e5d528 bootstrap: Fix syntax error for Node older than 10
We don't actually support Node older than 10 for successfully
bootstrapping an Atom build, but we should support older Node in the
system requirements checker script so that we can print useful errors,
like ones to tell the user their system's copy of Node is too old!

(It was me that introduced this Node 10.0.0 or above-only syntax
about a year ago... My mistake. It's as good a time as any to fix it!)
2021-09-13 21:07:59 -04:00
dependabot[bot]
ec1ef580ea
Bump normalize-url from 4.5.0 to 4.5.1 in /script
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 09:45:54 +00:00
Amin Yahyaabadi
9fc4c38317 Merge branch 'master' into upstream_master 2021-08-15 23:54:20 -05:00
darangi
66e671862b change authentication method again 2021-08-13 00:12:47 +01:00
darangi
62bab604c8 change authentication method 2021-08-12 19:04:50 +01:00
mfonville
ce27104239
For glibc compatibility use Ubuntu 18.04 as environment 2021-07-16 23:09:10 +02:00
sadick254
27ab77394f
Ubuntu 16.04 LTS environment is deprecated
It will be removed on September 20, 2021. Migrate to ubuntu-latest instead.

https://github.com/actions/virtual-environments/issues/3287.

e
 On branch migrate-to-ubuntu-latest
2021-07-16 19:16:09 +03:00
icecream17
65716c967a Use old npm version to create lockfile 2021-07-01 13:14:20 -05:00