Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decaffeinate APM - use ES modules #7

Merged
merged 49 commits into from
Jul 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d48697f
chore: add babel and typescript build scripts
aminya Jul 23, 2021
33d9d52
feat: convert auth to js
aminya Jul 23, 2021
0755b3c
feat: convert ci to js
aminya Jul 23, 2021
e3cd300
feat: convert clean to js
aminya Jul 23, 2021
275abb0
feat: convert cli to js
aminya Jul 23, 2021
8379e9f
feat: convert command to js
aminya Jul 23, 2021
a3fbd40
feat: convert config to js
aminya Jul 23, 2021
2775f84
feat: convert dedupe to js
aminya Jul 23, 2021
00d7a08
feat: convert deprecated-packages to js
aminya Jul 23, 2021
dbcab90
feat: convert develop to js
aminya Jul 23, 2021
fa84483
feat: convert disable to js
aminya Jul 23, 2021
0dd09e6
feat: convert docs to js
aminya Jul 23, 2021
e31150f
feat: convert enable to js
aminya Jul 23, 2021
d8c9276
feat: convert featured to js
aminya Jul 23, 2021
4b450b4
feat: convert fs to js
aminya Jul 23, 2021
0d7ace5
feat: convert git to js
aminya Jul 23, 2021
972419f
fix: make supportedSyntaxes a module constant
aminya Jul 23, 2021
7ec95b1
feat: convert init to js
aminya Jul 23, 2021
70dc4be
feat: convert install to js
aminya Jul 23, 2021
2e1ada3
feat: convert link to js
aminya Jul 23, 2021
a91d077
feat: convert links to js
aminya Jul 23, 2021
8727dd5
feat: convert list to js
aminya Jul 23, 2021
d7201ac
feat: convert login to js
aminya Jul 23, 2021
180e309
feat: convert package-converter to js
aminya Jul 23, 2021
20a3533
feat: convert packages to js
aminya Jul 23, 2021
f811b14
feat: convert publish to js
aminya Jul 23, 2021
a94bcdb
feat: convert rebuild-module-cache to js
aminya Jul 23, 2021
1fe24bf
feat: convert rebuild to js
aminya Jul 23, 2021
d5d073d
feat: convert request to js
aminya Jul 23, 2021
63496fd
feat: convert search to js
aminya Jul 23, 2021
c7fe847
feat: convert star to js
aminya Jul 23, 2021
4eef8a4
feat: convert stars to js
aminya Jul 23, 2021
2c3b82e
feat: convert test to js
aminya Jul 23, 2021
633da4a
feat: convert text-mate-theme to js
aminya Jul 23, 2021
96beda3
feat: convert theme-converter to js
aminya Jul 23, 2021
7ab3a15
feat: convert tree to js
aminya Jul 23, 2021
7abc95f
feat: convert uninstall to js
aminya Jul 23, 2021
d155b5f
feat: convert unlink to js
aminya Jul 23, 2021
39c89c4
feat: convert unpublish to js
aminya Jul 23, 2021
4a10090
feat: convert unstar to js
aminya Jul 23, 2021
7e77629
feat: convert upgrade to js
aminya Jul 23, 2021
51dfca0
feat: convert view to js
aminya Jul 23, 2021
74001c2
feat: convert apm-cli to js
aminya Jul 23, 2021
08bcbdf
feat: convert apm to js
aminya Jul 23, 2021
db69539
chore: remove coffee script
aminya Jul 23, 2021
3bc0db4
fix: used named export in apm module
aminya Jul 23, 2021
13b53a9
fix: used named export in git module
aminya Jul 23, 2021
9bd00f4
fix: used named export in tree module
aminya Jul 23, 2021
a1a2cb0
fix: used named export in request module
aminya Jul 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package-lock.json
CHANGELOG.md
dist/
lib/
dist-spec/
stats.html
templates/
spec/fixtures/r.tmbundle/
17 changes: 17 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"presets": [
[
"babel-preset-atomic",
{
"targets": {
"node": "12.18.3"
},
"flow": false,
"react": false
}
]
],
"plugins": [],
"exclude": "node_modules/**",
"sourceMap": "inline"
}
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@
"lint": "coffeelint src spec && eslint . --fix",
"test.lint": "eslint .",
"check-version": "node script/check-version.js",
"clean:bin": "shx rm -rf bin/node_darwin_x64 bin/node.exe bin/node",
"clean:lib": "shx rm -rf lib && shx mkdir -p lib",
"clean": "npm run clean:lib && npm run clean:bin",
"coffee": "coffee --compile --output lib src",
"build": "npm run clean:lib && npm run coffee",
"clean.lib": "shx rm -rf lib/ dist-spec/",
"clean.bin": "shx rm -rf bin/node_darwin_x64 bin/node.exe bin/node",
"tsc": "tsc -p src/tsconfig.json || echo done",
"babel": "babel ./lib --out-dir ./lib",
"copy": "shx cp -r src lib",
"build": "npm run clean.lib && npm run copy && npm run babel",
"prepare": "npm run build",
"postinstall": "node script/postinstall.js",
"get.fixtures": "node ./script/get-fixtures.js && shx cp -r ./spec/fixtures/r.tmbundle-patch/Snippets/ ./spec/fixtures/r.tmbundle/",
"test": "npm run check-version && npm run build.test && jasmine-focused --captureExceptions dist-spec/*-spec.js",
"test": "npm run check-version && npm run build.test && jasmine-focused --captureExceptions dist-spec",
"build.test": "npm run get.fixtures && shx rm -rf dist-spec && shx cp -r spec dist-spec && coffee --compile dist-spec && shx rm -rf dist-spec/*.coffee"
},
"dependencies": {
Expand Down Expand Up @@ -60,8 +61,9 @@
"yargs": "^3.32.0"
},
"devDependencies": {
"coffeescript": "^2",
"babel-preset-atomic": "^4.2.0",
"coffeelint": "^2.1",
"coffeescript": "^2",
"eslint-config-atomic": "^1.16.2",
"express": "^4.17.1",
"gitly": "^2.1.2",
Expand Down
261 changes: 0 additions & 261 deletions src/apm-cli.coffee

This file was deleted.

Loading