Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 528f5a5

Browse files
committed
Merge branch 'master' of https://github.com/duplicates/brackets into issue-13099
2 parents 07c2e47 + 2b8a2c8 commit 528f5a5

File tree

259 files changed

+20310
-23649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+20310
-23649
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/src/extensions/default/brackets-eslint

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = {
2424
"no-new-wrappers": 2,
2525
"no-new": 2,
2626
"no-proto": 2,
27+
"no-redeclare": 1,
2728
"no-script-url": 2,
2829
"wrap-iife": [2, "outside"],
2930
// http://eslint.org/docs/rules/#strict-mode

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ Thumbs.db
33
# ignore jenkins build info
44
/build.prop
55

6+
# package-lock.json
7+
package-lock.json
8+
69
# ignore node_modules created by grunt, but not more deeply-nested node_modules
710
/node_modules
811
/npm-debug.log
@@ -13,6 +16,12 @@ Thumbs.db
1316
# ignore files copied from node_modules to src/thirdparty
1417
/src/thirdparty/CodeMirror
1518
/src/thirdparty/less.min.js
19+
/src/thirdparty/preact
20+
/src/thirdparty/preact-compat
21+
/src/thirdparty/preact-test-utils
22+
/src/thirdparty/simulate-event
23+
/src/thirdparty/xtend
24+
/src/thirdparty/acorn
1625

1726
# ignore compiled files
1827
/dist
@@ -24,6 +33,7 @@ Thumbs.db
2433
# (so that the directory is non-empty and can be in git)
2534
/src/extensions/dev/*
2635
!/src/extensions/dev/README.*
36+
/src/extensions/default/brackets-eslint
2737

2838
/src/extensions/disabled
2939

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

Gruntfile.js

+53-11
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ module.exports = function (grunt) {
8181
cwd: 'src/',
8282
src: [
8383
'extensibility/node/**',
84+
'JSUtils/node/**',
8485
'!extensibility/node/spec/**',
8586
'!extensibility/node/node_modules/**/{test,tst}/**/*',
8687
'!extensibility/node/node_modules/**/examples/**/*',
@@ -140,6 +141,42 @@ module.exports = function (grunt) {
140141
src: [
141142
'less/dist/less.min.js'
142143
]
144+
},
145+
{
146+
expand: true,
147+
flatten: true,
148+
dest: 'src/thirdparty/preact-compat',
149+
cwd: 'src/node_modules/preact-compat',
150+
src: [
151+
'dist/preact-compat.min.js'
152+
]
153+
},
154+
{
155+
expand: true,
156+
flatten: true,
157+
dest: 'src/thirdparty/simulate-event',
158+
cwd: 'src/node_modules/simulate-event',
159+
src: [
160+
'simulate-event.js'
161+
]
162+
},
163+
{
164+
expand: true,
165+
flatten: true,
166+
dest: 'src/thirdparty/xtend',
167+
cwd: 'src/node_modules/xtend',
168+
src: [
169+
'mutable.js',
170+
'immutable.js'
171+
]
172+
},
173+
{
174+
expand: true,
175+
dest: 'src/thirdparty/acorn',
176+
cwd: 'src/node_modules/acorn',
177+
src: [
178+
'dist/{,*/}*'
179+
]
143180
}
144181
]
145182
}
@@ -268,21 +305,20 @@ module.exports = function (grunt) {
268305
]
269306
},
270307
watch: {
271-
all : {
272-
files: ['**/*', '!**/node_modules/**'],
273-
tasks: ['eslint']
274-
},
275-
grunt : {
276-
files: ['<%= meta.grunt %>', 'tasks/**/*'],
308+
grunt: {
309+
files: ['<%= meta.grunt %>'],
277310
tasks: ['eslint:grunt']
278311
},
279-
src : {
280-
files: ['<%= meta.src %>', 'src/**/*'],
312+
src: {
313+
files: ['<%= meta.src %>'],
281314
tasks: ['eslint:src']
282315
},
283-
test : {
284-
files: ['<%= meta.test %>', 'test/**/*'],
316+
test: {
317+
files: ['<%= meta.test %>'],
285318
tasks: ['eslint:test']
319+
},
320+
options: {
321+
spawn: false
286322
}
287323
},
288324
/* FIXME (jasonsanjose): how to handle extension tests */
@@ -341,7 +377,13 @@ module.exports = function (grunt) {
341377
});
342378

343379
// task: install
344-
grunt.registerTask('install', ['write-config:dev', 'less', 'npm-install-source', 'pack-web-dependencies']);
380+
grunt.registerTask('install', [
381+
'write-config:dev',
382+
'less',
383+
'npm-download-default-extensions',
384+
'npm-install-source',
385+
'pack-web-dependencies'
386+
]);
345387

346388
// task: test
347389
grunt.registerTask('test', ['eslint', 'jasmine', 'nls-check']);

README.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ How to install and run Brackets
3030

3131
Installers for the latest stable build for Mac, Windows and Linux (Debian/Ubuntu) can be [downloaded here](http://brackets.io/).
3232

33-
The Linux version has most of the features of the Mac and Windows versions, but
34-
is still missing a few things. See the [Linux wiki page](https://github.com/adobe/brackets/wiki/Linux-Version)
35-
for a list of known issues and to find out how you can help.
36-
37-
Additionally, for a list of common Linux installation issues and workarounds you can [visit this guide](https://github.com/adobe/brackets/wiki/Brackets-Linux-Guide).
38-
39-
4033
#### Usage
4134

4235
By default, Brackets opens a folder containing some simple "Getting Started" content.
@@ -50,7 +43,7 @@ for a list of new features and known issues in each build.
5043

5144
In addition to the core features built into Brackets, there is a large and growing
5245
community of developers building extensions that add all sorts of useful functionality.
53-
See the [Brackets Extension Registry](https://brackets-registry.aboutweb.com/)
46+
See the [Brackets Extension Registry](https://registry.brackets.io/)
5447
for a list of available extensions. For installation instructions,
5548
see the [extensions wiki page](https://github.com/adobe/brackets/wiki/Brackets-Extensions).
5649

build.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "release-1.9-prerelease-2",
3-
"title" : "Brackets 1.9 Stable Pre-release for community testing",
4-
"description" : "This is a Brackets 1.9 pre-release build.",
2+
"version": "release-1.11-prerelease-2",
3+
"title" : "Brackets 1.11 2nd Pre-release for community testing",
4+
"description" : "This is Brackets 1.11 2nd pre-release build. In this release, CEF has been upgraded for Linux which resolved the much reported libgcrypt dependency, basic es6 support has been added by providing eslint out of the box and making required changes to list Classes/methods/arrow function expressions/generator functions/async functions/class getter-setter methods and much more. ",
55
"prerelease": true
66
}

0 commit comments

Comments
 (0)