Skip to content

Commit bc8b4ac

Browse files
authored
Merge pull request #52 from Pure-D/update
2 parents ec60627 + 60746f7 commit bc8b4ac

File tree

8 files changed

+4591
-458
lines changed

8 files changed

+4591
-458
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ package-lock.json
1111

1212
# Build directories
1313
dist
14+
.parcel-cache

.terserrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("terser-config-atomic")

package.json

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ide-d",
3-
"main": "./dist/ide-d",
3+
"main": "./dist/ide-d.js",
44
"version": "0.4.0",
55
"description": "D language and IDE support for Atom",
66
"keywords": [
@@ -17,7 +17,8 @@
1717
"repository": "https://github.com/Pure-D/atom-ide-d",
1818
"license": "MIT",
1919
"engines": {
20-
"atom": ">=1.0.0 <2.0.0"
20+
"atom": ">=1.52.0 <2.0.0",
21+
"electron": "^6.1.12"
2122
},
2223
"scripts": {
2324
"format": "prettier --write .",
@@ -26,15 +27,25 @@
2627
"test.lint": "eslint .",
2728
"test": "atom --test spec",
2829
"clean": "shx rm -rf dist",
29-
"tsc": "tsc -p src/tsconfig.json",
3030
"tsc.dev": "tsc -p src/tsconfig.json --watch",
31-
"build": "npm run tsc",
32-
"dev": "npm run tsc.dev",
31+
"dev": "cross-env NODE_ENV=developement parcel watch ./src/ide-d.ts",
32+
"build": "cross-env NODE_ENV=production parcel build ./src/ide-d.ts --detailed-report",
3333
"get.grammars": "ts-node -P ./scripts/tsconfig.json ./scripts/get-grammars.ts",
3434
"get.servers": "ts-node -P ./scripts/tsconfig.json ./scripts/get-servers.ts",
3535
"build-commit": "build-commit -o dist",
3636
"prepare": "npm run get.servers && npm run build"
3737
},
38+
"targets": {
39+
"main": {
40+
"context": "electron-renderer",
41+
"includeNodeModules": {
42+
"atom": false,
43+
"electron": false,
44+
"atom-languageclient": false
45+
},
46+
"isLibrary": true
47+
}
48+
},
3849
"prettier": "prettier-config-atomic",
3950
"atomTestRunner": "./spec/runner",
4051
"activationHooks": [
@@ -89,30 +100,36 @@
89100
},
90101
"devDependencies": {
91102
"@terascope/fetch-github-release": "^0.7.7",
92-
"@types/atom": "1.40.10",
93-
"@types/decompress": "^4.2.3",
94-
"@types/fs-extra": "^9.0.11",
95-
"@types/node": "^15.6.0",
96-
"@types/semver": "^7.3.6",
97-
"atom-jasmine3-test-runner": "^5.2.6",
103+
"@types/atom": "1.40.11",
104+
"@types/decompress": "^4.2.4",
105+
"@types/fs-extra": "^9.0.12",
106+
"@types/node": "^16.3.3",
107+
"@types/semver": "^7.3.7",
108+
"atom-jasmine3-test-runner": "^5.2.7",
98109
"build-commit": "0.1.4",
99110
"cross-env": "7.0.3",
100111
"decompress": "^4.2.1",
101112
"decompress-tarxz": "^3.0.0",
102-
"eslint-config-atomic": "^1.15.2",
103-
"gitly": "^2.1.0",
113+
"eslint-config-atomic": "^1.16.2",
114+
"gitly": "^2.1.2",
115+
"parcel": "^2.0.0-beta.3.1",
104116
"prettier-config-atomic": "^2.0.5",
105117
"shx": "0.3.3",
106-
"ts-node": "^10.0.0",
107-
"typescript": "^4.2.4"
118+
"terser-config-atomic": "^0.1.1",
119+
"ts-node": "^10.1.0",
120+
"typescript": "^4.3.5"
108121
},
109122
"dependencies": {
110-
"atom-languageclient": "^1.10.0",
123+
"atom-languageclient": "1.14.1",
111124
"atom-package-deps": "^7.2.3",
112125
"fs-extra": "^10.0.0",
113126
"semver": "^7.3.5"
114127
},
115128
"package-deps": [
116129
"atom-ide-base"
117-
]
130+
],
131+
"bundledDependencies": {
132+
"serve-d": "0.7.0-beta.7",
133+
"dcd": "0.13.6"
134+
}
118135
}

0 commit comments

Comments
 (0)