Commit Graph

2082 Commits

Author SHA1 Message Date
confused-Techie
d2eb77e395 Organize our Exclusions/Inclusions 2022-12-10 01:51:16 -08:00
DeeDeeG
26def85bb0 meta: Don't exclude 'loophole' or 'pegjs' packages
We need these when typing a "tab" character in a document or file.

(Without 'loophole' and 'pegjs' in the app bundle,
'snippets' tries and fails to require() those packages,
and it errors out every time you type a tab character.)

Explanation:

Our PegJS files _aren't_ pre-compiled at the moment.
We removed the old build scripts that used to transpile these files
during the build, and without replacing that functionality yet.

So...

When a certain PegJS --> JS file isn't available in the 'snippets'
package (because it hasn't been transpiled to plain JS yet yet),
'snippets' require()s some modules that let it live-transpile
the needed code, or at least that's what I think it's doing
in that scenario.

If the modules it conditionally require()s in that scenario aren't
in the Pulsar bundle, due to being explicitly excluded, then we get a
require() error, since they legitimately aren't in the bundle.
2022-12-09 14:43:35 -05:00
confused-Techie
1e41c7a1f9 Reverse some initial inclusions, add another dev file 2022-12-07 00:35:42 -08:00
confused-Techie
f00ac822bc Improved ignores to cut down on size 2022-12-06 23:02:56 -08:00
confused-Techie
67567853ab More ignores from Atom, comments on upacks 2022-12-06 21:25:40 -08:00
confused-Techie
dc60a44298 Use Scripts during windows build, use .yarnrc.yml 2022-12-06 19:45:42 -08:00
confused-Techie
7c76b59329 Based on findings from our original build scripts 2022-12-06 01:21:03 -08:00
confused-Techie
a6cab2ef91 Include node_modules double glob star, unpack all dugite git 2022-12-05 22:34:04 -08:00
confused-Techie
5a0b9b42c8 No it was not 2022-12-05 19:33:56 -08:00
confused-Techie
469d47caac Is fixing Dugite this simple? 2022-12-05 18:18:04 -08:00
confused_techie
b0643cb539
Merge pull request #183 from pulsar-edit/fix-test-runner
Adding test runner missing files
2022-11-30 16:10:37 -08:00
Maurício Szabo
88f76994bd Adding test runner missing files 2022-11-30 19:25:57 -03:00
confused_techie
c8558335b4
Merge pull request #178 from Daeraxa/targz-target
Add tar.gz target to electron-builder
2022-11-28 21:09:28 -08:00
Daeraxa
3aaa793c85 add targz 2022-11-24 18:51:17 +00:00
Maurício Szabo
9caa8a53d0 Update Electron-builder script 2022-11-22 14:08:32 -03:00
Sertonix
e87abaf324
cleanup script/package.json 2022-11-21 09:25:19 +00:00
Maurício Szabo
f5f4c1d28c
Merge pull request #140 from benonymus/fix-git-tab-in-binaries
Fix git tab in binaries
2022-11-15 12:54:01 -03:00
benonymus
948091c118 Fix git tab in binaries 2022-11-13 01:35:46 +07:00
Sertonix
72f0a3e20c
Merge branch 'master' into 22nd-century-fix 2022-11-11 07:12:03 +00:00
confused_techie
c4e07fbf10
Merge pull request #128 from Sertonix/remove-unused-snippets-deprecated-api
Removed unused code fragments from the old build scripts
2022-11-10 16:15:44 -08:00
Sertonix
78cec2ea8e
Merge branch 'master' into 22nd-century-fix 2022-11-10 16:06:05 +00:00
Maurício Szabo
deb20537ba
Merge pull request #125 from pulsar-edit/run-ppm-with-pulsar-cmd
Run ppm with pulsar cmd
2022-11-10 10:24:59 -03:00
Sertonix
33bf0fb2ae removed unused snippets 2022-11-10 09:00:10 +01:00
Sertonix
3911cb02b0 updated tagline 2022-11-10 08:08:07 +01:00
Maurício Szabo
2b04d067f8 apm => ppm 2022-11-09 01:17:44 -03:00
Sertonix
d62b9281a2 fix 22nd century 2022-11-08 07:52:22 +01:00
confused_techie
0528962e9d
Merge pull request #110 from pulsar-edit/simple-configs
Cleaned up our configs and tooling bloat
2022-11-03 17:47:16 -07:00
Maurício Szabo
f6f4069523 Removed old update-server and vsts 2022-11-03 21:27:55 -03:00
Maurício Szabo
e2baad9a61 Removed outdated require 2022-11-03 21:27:21 -03:00
Maurício Szabo
091e10e8c4 Removed completely the old "lib" inside scripts 2022-11-03 21:27:02 -03:00
Maurício Szabo
2bb62f84b1 Removed old test scripts 2022-11-03 21:26:44 -03:00
Maurício Szabo
7756a9450a Removed old electron downloader and snapshot scripts 2022-11-03 21:26:16 -03:00
Maurício Szabo
bbce7ce7fc Removed old post-process scripts 2022-11-03 21:25:53 -03:00
Maurício Szabo
beb6f40f31 Removed old JSON locks and deprecated checks 2022-11-03 21:25:24 -03:00
Maurício Szabo
a0f7ad785a Removed old boostrap and build 2022-11-03 21:24:55 -03:00
Maurício Szabo
7649443013 Removed linters 2022-11-03 21:24:20 -03:00
Maurício Szabo
a42147ffec
Merge pull request #97 from pulsar-edit/args-to-yarn-dist
Deciding what to build on `yarn dist`
2022-11-03 00:56:29 -03:00
confused-Techie
66377aa5d6 Removed "Visual Studio Team Services" tools, as we no longer use that workflow 2022-11-02 19:07:07 -07:00
DeeDeeG
d8ef892dd1 script: Remove references to benchmark feature
The feature is removed, so scripts should stop referencing/using it.
2022-11-01 17:06:41 -07:00
Maurício Szabo
b2e4923f53 This config is quite stupid, honestly 2022-10-27 19:35:55 -03:00
Maurício Szabo
97df94bbdb Config error 2022-10-27 19:35:55 -03:00
Maurício Szabo
86c83dc3ac Why this is set to a differnet thing on ARM? 2022-10-27 19:35:55 -03:00
Maurício Szabo
f8bda4a451 Not forcing arch on Linux 2022-10-27 19:35:55 -03:00
Maurício Szabo
d845bb89f1 Deciding what to build on yarn dist 2022-10-23 16:59:19 -03:00
Sertonix
ea88169056 fixed unloaded README from core packages 2022-10-23 21:30:49 +02:00
Maurício Szabo
4bb331bcb9 Replacing binary with scripts on RPM and DEB 2022-10-03 02:05:29 -03:00
Maurício Szabo
7e3be86195 Changing appId 2022-09-19 12:58:38 -03:00
Maurício Szabo
68d48d5872 Merge remote-tracking branch 'origin/rebrand' into rebrand-and-bump-electron-to-12 2022-09-11 11:50:31 -03:00
Maurício Szabo
99773ee4fc Adding README of packages to Pulsar binaries 2022-09-08 22:42:37 -03:00
Maurício Szabo
8615bd6b2d Trying to exclude paths that we don't need on Pulsar 2022-09-08 15:25:14 -03:00
Maurício Szabo
883afb32a2 Different way of bundling APM/PPM 2022-09-07 14:25:14 -03:00
Maurício Szabo
cd14561780 Lockfile updates 2022-09-07 11:37:00 -03:00
Maurício Szabo
6285df680a I literally GIVE UP on RPM 2022-08-20 17:29:35 -03:00
Maurício Szabo
517357db6c Adding icon to resources path 2022-08-19 15:00:38 -03:00
Maurício Szabo
1b63109dd3 Fixed icons 2022-08-19 12:10:11 -03:00
Maurício Szabo
4513bd79e8 Renaming atom-package-manager to pulsar 2022-08-19 02:07:00 -03:00
Maurício Szabo
1c6ce90a9c Trying to distribute tests 2022-08-17 18:40:42 -03:00
Maurício Szabo
d8f7879699 Removed filter for packages tests 2022-08-17 16:38:23 -03:00
Maurício Szabo
0ad7d6eb5c Adding scripts to build Pulsar 2022-08-17 16:05:51 -03:00
Maurício Szabo
f22622b08f
Apply suggestions from code review
Co-authored-by: Spiker985 <Spiker985@users.noreply.github.com>
2022-08-17 12:09:26 -03:00
Spiker985
8368a476e8 [script] Add script to copy icon to directory 2022-08-17 01:23:49 -03:00
Spiker985
354f45fe66 Update remaining scripts - A[a]tom -> P[p]pulsar 2022-08-17 01:23:49 -03:00
Spiker985
05e6672954 Update Azure-CI - A[a]tom -> P[p]ulsar 2022-08-17 01:23:49 -03:00
Spiker985
4422306fd8 Update packaging scripts - A[a]tom -> P[p]ulsar 2022-08-17 01:23:49 -03:00
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