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

Update gulp-git version #222

Closed

Conversation

lucaswerkmeister
Copy link
Contributor

This makes it possible to build on Node v8 (see stephenlacy/gulp-git#164).

This makes it possible to build on Node v8 (see stephenlacy/gulp-git#164).
lucaswerkmeister added a commit to eclipse-archived/ceylon that referenced this pull request Jul 26, 2017
This is a custom build of Rainbow, built from the master branch of my
fork [1], which includes ccampbell/rainbow#209 (fix for #6559) and
ccampbell/rainbow#222 (build system fix). The build does not include any
languages, since the only languages we need (ceylon and bnf) we define
ourselves.

This fixes #6559.

[1]: https://github.com/lucaswerkmeister/rainbow/tree/e00fd37207be02236db30b2a8209b425a3e9b20f
lucaswerkmeister added a commit to eclipse-archived/ceylon that referenced this pull request Feb 24, 2018
This is a custom build of Rainbow, built from a repository based on the
v2.1.3 tag of Rainbow with ccampbell/rainbow#209 (fix for #6559) and
ccampbell/rainbow#222 (build system fix) merged. The diff to the v2.1.3
tag (excluding the test/ directory) is:

    diff --git a/package.json b/package.json
    index d0fcea2..66e3289 100644
    --- a/package.json
    +++ b/package.json
    @@ -28,7 +28,7 @@
         "gulp-autoprefixer": "3.1.0",
         "gulp-bump": "2.1.0",
         "gulp-eslint": "2.0.0",
    -    "gulp-git": "1.7.2",
    +    "gulp-git": "2.4.1",
         "gulp-inject-string": "1.1.0",
         "gulp-sass": "2.3.2",
         "karma": "0.13.22",
    diff --git a/src/util.js b/src/util.js
    index 8660224..9f23e49 100644
    --- a/src/util.js
    +++ b/src/util.js
    @@ -141,7 +141,7 @@ export function keys(object) {
      */
     export function replaceAtPosition(position, replace, replaceWith, code) {
         const subString = code.substr(position);
    -    return code.substr(0, position) + subString.replace(replace, replaceWith);
    +    return code.substr(0, position) + subString.replace(replace, replaceWith.replace(/\$/g, '$$$$'));
     }

     /**

This fixes #6559.
lucaswerkmeister added a commit to eclipse-archived/ceylon that referenced this pull request Feb 24, 2018
This is a custom build of Rainbow, built from a repository based on the
v2.1.3 tag of Rainbow with ccampbell/rainbow#209 (fix for #6559) and
ccampbell/rainbow#222 (build system fix) merged. The diff to the v2.1.3
tag (excluding the test/ directory) is:

    diff --git a/package.json b/package.json
    index d0fcea2..66e3289 100644
    --- a/package.json
    +++ b/package.json
    @@ -28,7 +28,7 @@
         "gulp-autoprefixer": "3.1.0",
         "gulp-bump": "2.1.0",
         "gulp-eslint": "2.0.0",
    -    "gulp-git": "1.7.2",
    +    "gulp-git": "2.4.1",
         "gulp-inject-string": "1.1.0",
         "gulp-sass": "2.3.2",
         "karma": "0.13.22",
    diff --git a/src/util.js b/src/util.js
    index 8660224..9f23e49 100644
    --- a/src/util.js
    +++ b/src/util.js
    @@ -141,7 +141,7 @@ export function keys(object) {
      */
     export function replaceAtPosition(position, replace, replaceWith, code) {
         const subString = code.substr(position);
    -    return code.substr(0, position) + subString.replace(replace, replaceWith);
    +    return code.substr(0, position) + subString.replace(replace, replaceWith.replace(/\$/g, '$$$$'));
     }

     /**

This fixes #6559.
lucaswerkmeister added a commit to eclipse-archived/ceylon that referenced this pull request Feb 24, 2018
This is a custom build of Rainbow, built from a repository based on the
2.1.3 tag of Rainbow with ccampbell/rainbow#209 (fix for #6559) and
ccampbell/rainbow#222 (build system fix) merged. The diff to the 2.1.3
tag (excluding the test/ directory) is:

    diff --git a/package.json b/package.json
    index d0fcea2..66e3289 100644
    --- a/package.json
    +++ b/package.json
    @@ -28,7 +28,7 @@
         "gulp-autoprefixer": "3.1.0",
         "gulp-bump": "2.1.0",
         "gulp-eslint": "2.0.0",
    -    "gulp-git": "1.7.2",
    +    "gulp-git": "2.4.1",
         "gulp-inject-string": "1.1.0",
         "gulp-sass": "2.3.2",
         "karma": "0.13.22",
    diff --git a/src/util.js b/src/util.js
    index 8660224..9f23e49 100644
    --- a/src/util.js
    +++ b/src/util.js
    @@ -141,7 +141,7 @@ export function keys(object) {
      */
     export function replaceAtPosition(position, replace, replaceWith, code) {
         const subString = code.substr(position);
    -    return code.substr(0, position) + subString.replace(replace, replaceWith);
    +    return code.substr(0, position) + subString.replace(replace, replaceWith.replace(/\$/g, '$$$$'));
     }

     /**

This fixes #6559.
lucaswerkmeister added a commit to eclipse-archived/ceylon that referenced this pull request Feb 24, 2018
This is a custom build of Rainbow, built from a repository based on the
2.1.3 tag of Rainbow with ccampbell/rainbow#209 (fix for #6559) and
ccampbell/rainbow#222 (build system fix) merged. The diff to the 2.1.3
tag (excluding the test/ directory) is:

    diff --git a/package.json b/package.json
    index d0fcea2..66e3289 100644
    --- a/package.json
    +++ b/package.json
    @@ -28,7 +28,7 @@
         "gulp-autoprefixer": "3.1.0",
         "gulp-bump": "2.1.0",
         "gulp-eslint": "2.0.0",
    -    "gulp-git": "1.7.2",
    +    "gulp-git": "2.4.1",
         "gulp-inject-string": "1.1.0",
         "gulp-sass": "2.3.2",
         "karma": "0.13.22",
    diff --git a/src/util.js b/src/util.js
    index 8660224..9f23e49 100644
    --- a/src/util.js
    +++ b/src/util.js
    @@ -141,7 +141,7 @@ export function keys(object) {
      */
     export function replaceAtPosition(position, replace, replaceWith, code) {
         const subString = code.substr(position);
    -    return code.substr(0, position) + subString.replace(replace, replaceWith);
    +    return code.substr(0, position) + subString.replace(replace, replaceWith.replace(/\$/g, '$$$$'));
     }

     /**

The build does not include any languages, since the only languages we
need (ceylon and bnf) we define ourselves.

This fixes #6559.
@ccampbell
Copy link
Owner

Oops. This was taken care of in b2ce733, release was published today

@ccampbell ccampbell closed this Jun 2, 2018
@lucaswerkmeister lucaswerkmeister deleted the updateGulpGit branch June 2, 2018 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants