Skip to content

Commit e090780

Browse files
author
Tran, Dewey (GE Digital)
committed
cloned v1.6.15
1 parent ed149df commit e090780

File tree

1,220 files changed

+32446
-339607
lines changed

Some content is hidden

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

1,220 files changed

+32446
-339607
lines changed

CHANGELOG

Lines changed: 0 additions & 229 deletions
Original file line numberDiff line numberDiff line change
@@ -1,232 +1,3 @@
1-
v1.6.33 Oct 15, 2018
2-
=====================
3-
4-
* Add node 10.12.0, remove node 10.9.0
5-
for stack(s) cflinuxfs2, cflinuxfs3
6-
(https://www.pivotaltracker.com/story/show/161135486)
7-
(https://www.pivotaltracker.com/story/show/160650768)
8-
9-
* Add node 8.12.0, remove node 8.11.3
10-
for stack(s) cflinuxfs2, cflinuxfs3
11-
(https://www.pivotaltracker.com/story/show/160409649)
12-
13-
* Add yarn 1.10.1, remove yarn 1.9.4
14-
for stack(s) cflinuxfs2, cflinuxfs3
15-
(https://www.pivotaltracker.com/story/show/160793556)
16-
(https://www.pivotaltracker.com/story/show/160793489)
17-
18-
* Will not move artifacts if using yarn workspaces to prevent breaking symlinks.
19-
(https://www.pivotaltracker.com/story/show/159391932)
20-
21-
v1.6.32 Sep 10, 2018
22-
=====================
23-
24-
* Add node 10.10.0, remove node 10.7.0
25-
(https://www.pivotaltracker.com/story/show/160334231)
26-
27-
* Bugfix for Snyk hook
28-
(https://www.pivotaltracker.com/story/show/160155740)
29-
30-
v1.6.31 Aug 24, 2018
31-
=====================
32-
33-
* Add node 10.9.0, remove node 10.5.0
34-
(https://www.pivotaltracker.com/story/show/159814062)
35-
(https://www.pivotaltracker.com/story/show/159478290)
36-
37-
* Add node 8.11.4, remove node 8.11.2
38-
(https://www.pivotaltracker.com/story/show/159814061)
39-
40-
* Add node 6.14.4, remove node 6.14.2
41-
(https://www.pivotaltracker.com/story/show/159814060)
42-
43-
* Add yarn 1.9.4, remove yarn 1.7.0
44-
(https://www.pivotaltracker.com/story/show/159534896)
45-
(https://www.pivotaltracker.com/story/show/159533350)
46-
47-
v1.6.30 Jul 27, 2018
48-
=====================
49-
50-
* Rebuild node 6.14.3, 8.11.3, 9.11.2, 10.7.0
51-
for stacks cflinuxfs3, cflinuxfs3 [#159252754]
52-
53-
* Rebuild yarn 1.7.0
54-
for stacks cflinuxfs2, cflinuxfs3 [#159252393]
55-
56-
v1.6.29 Jul 19, 2018
57-
=====================
58-
59-
* Add node 10.7.0, remove node 10.4.1
60-
(https://www.pivotaltracker.com/story/show/159150931)
61-
(https://www.pivotaltracker.com/story/show/158826642)
62-
63-
v1.6.28 Jul 02, 2018
64-
=====================
65-
66-
* Remove node 4 everywhere
67-
(https://www.pivotaltracker.com/story/show/157283396)
68-
69-
v1.6.27 Jun 25, 2018
70-
=====================
71-
72-
* Add node 10.5.0, remove node 10.3.0
73-
(https://www.pivotaltracker.com/story/show/158503889)
74-
75-
v1.6.26 Jun 14, 2018
76-
=====================
77-
78-
* Add node 6.14.3, 8.11.3, 9.11.2, 10.4.1, Remove node 6.14.1, 8.11.1, 9.9.0, 10.1.0
79-
(https://www.pivotaltracker.com/story/show/158314054)
80-
(https://www.pivotaltracker.com/story/show/158314054)
81-
(https://www.pivotaltracker.com/story/show/158314054)
82-
(https://www.pivotaltracker.com/story/show/158314054)
83-
84-
v1.6.25 Jun 05, 2018
85-
=====================
86-
87-
* Add node 10.3.0, remove node 10.0.0
88-
(https://www.pivotaltracker.com/story/show/157945224)
89-
90-
* Add node 8.11.2, remove node 8.10.0
91-
(https://www.pivotaltracker.com/story/show/157613971)
92-
93-
* Add yarn 1.7.0, remove yarn 1.6.0
94-
(https://www.pivotaltracker.com/story/show/157827921)
95-
96-
v1.6.24 May 15, 2018
97-
=====================
98-
99-
* Add node 10.1.0
100-
source url: https://nodejs.org/dist/v10.1.0/node-v10.1.0.tar.gz
101-
source sha256: e4b5a1d9fac4b20b5421afe34108867df359c69c4c4e2ad6e2bd75b113ddf0db
102-
(https://www.pivotaltracker.com/story/show/157417041)
103-
104-
* Create symlink between buildDir node_modules and depsDir node_modules
105-
- Only create the symlink if node_modules are not vendored
106-
(https://www.pivotaltracker.com/story/show/157388016)
107-
108-
* Add node 6.14.2, remove node 6.13.1
109-
source url: https://nodejs.org/dist/v6.14.2/node-v6.14.2.tar.gz
110-
source sha256: 418901524257a2750930d659b3b9f8b8bb0b166974ab2103192270f80bd5f677
111-
(https://www.pivotaltracker.com/story/show/157199825)
112-
113-
v1.6.23 Apr 26, 2018
114-
=====================
115-
116-
* Always set NODE_PATH to node_modules location
117-
(https://www.pivotaltracker.com/story/show/156828428)
118-
119-
* Set max_old_space_size when OPTIMIZE_MEMORY=true
120-
- Remove --always_compact and --optimize_for_size as they are no longer valid node options
121-
(https://www.pivotaltracker.com/story/show/155192314)
122-
123-
* Add node 10.0.0
124-
(https://www.pivotaltracker.com/story/show/157065173)
125-
126-
* Add yarn 1.6.0, remove yarn 1.5.1
127-
(https://www.pivotaltracker.com/story/show/156786250)
128-
129-
v1.6.22 Apr 12, 2018
130-
=====================
131-
132-
* Install node_modules in the build directory
133-
Running npm/yarn install in the build directory ensures custom scripts are run in that directory
134-
(https://www.pivotaltracker.com/story/show/156364507)
135-
136-
* Add node 9.11.1, remove node 9.8.0
137-
(https://www.pivotaltracker.com/story/show/156531449)
138-
(https://www.pivotaltracker.com/story/show/156350231)
139-
140-
* Add node 8.11.1, remove node 8.9.4
141-
(https://www.pivotaltracker.com/story/show/156394483)
142-
(https://www.pivotaltracker.com/story/show/156350231)
143-
144-
* Add node 6.14.1, remove node 6.13.0
145-
(https://www.pivotaltracker.com/story/show/156394483)
146-
(https://www.pivotaltracker.com/story/show/156350231)
147-
148-
* Add node 4.9.1, remove node 4.8.6
149-
(https://www.pivotaltracker.com/story/show/156394483)
150-
(https://www.pivotaltracker.com/story/show/156350231)
151-
152-
v1.6.21 Mar 21, 2018
153-
=====================
154-
155-
* Add node 9.9.0, remove node 9.6.1
156-
(https://www.pivotaltracker.com/story/show/156166012)
157-
158-
* Ensure app directory is not modified in supply phase
159-
(https://www.pivotaltracker.com/story/show/155602498)
160-
161-
* Remove symlink in vendored yarn fixture
162-
(https://www.pivotaltracker.com/story/show/155602498)
163-
164-
v1.6.20 Mar 09, 2018
165-
=====================
166-
167-
* Uncached buildpacks now cache manifest.yml dependencies
168-
- cache package only deletes its own directories
169-
(https://www.pivotaltracker.com/story/show/155405429)
170-
171-
* Add node 9.8.0, remove node 9.5.0
172-
(https://www.pivotaltracker.com/story/show/155804707)
173-
(https://www.pivotaltracker.com/story/show/155618737)
174-
175-
* Add node 8.10.0, remove node 8.9.3
176-
(https://www.pivotaltracker.com/story/show/155765642)
177-
178-
* Add node 6.13.1, remove node 6.12.3
179-
(https://www.pivotaltracker.com/story/show/155758175)
180-
181-
* Add yarn 1.5.1, remove yarn 1.3.2
182-
(https://www.pivotaltracker.com/story/show/155546203)
183-
184-
v1.6.19 Feb 26, 2018
185-
=====================
186-
187-
* Add yarn 1.3.2, remove yarn 1.2.1
188-
(https://www.pivotaltracker.com/story/show/155490241)
189-
190-
* Add Node 9.5.0, remove 9.6.0
191-
We did not release 9.6.0 so keep 9.5.0
192-
(https://www.pivotaltracker.com/story/show/155456835)
193-
194-
* Add node 9.6.1, remove node 9.5.0
195-
(https://www.pivotaltracker.com/story/show/155456835)
196-
197-
* Add node 9.6.0, remove node 9.4.0
198-
(https://www.pivotaltracker.com/story/show/155440073)
199-
200-
v1.6.18 Feb 20, 2018
201-
=====================
202-
203-
* Add node 6.13.0, remove node 6.12.2
204-
(https://www.pivotaltracker.com/story/show/155196463)
205-
206-
* Add support for custom api url and snyk org
207-
(https://www.pivotaltracker.com/story/show/155181393)
208-
209-
v1.6.17 Feb 09, 2018
210-
=====================
211-
212-
* Enable manifest override yml
213-
(https://www.pivotaltracker.com/story/show/153614649)
214-
215-
* Add node 9.5.0, remove node 9.3.0
216-
(https://www.pivotaltracker.com/story/show/154826768)
217-
218-
* changing $PREBUILD invalidates the cache
219-
(https://www.pivotaltracker.com/story/show/146161295)
220-
221-
v1.6.16 Jan 29, 2018
222-
=====================
223-
224-
* Add Snyk hook
225-
(https://www.pivotaltracker.com/story/show/154521661)
226-
227-
* Bugfix for Dynatrace hook
228-
(https://www.pivotaltracker.com/story/show/154240737)
229-
2301
v1.6.15 Jan 16, 2018
2312
=====================
2323

ISSUE_TEMPLATE

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ What did you expect to happen?
1313
What was the actual behavior?
1414

1515

16-
Can you provide a sample app?
17-
18-
1916
Please confirm where necessary:
2017
* [ ] I have included a log output
2118
* [ ] My log includes an error message

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Official buildpack documentation can be found at [node buildpack docs](http://do
1010

1111
### Building the Buildpack
1212

13-
To build this buildpack, run the following commands from the buildpack's directory:
13+
To build this buildpack, run the following command from the buildpack's directory:
1414

1515
1. Source the .envrc file in the buildpack directory.
1616

@@ -28,7 +28,7 @@ To build this buildpack, run the following commands from the buildpack's directo
2828
1. Build the buildpack
2929

3030
```bash
31-
buildpack-packager build [ --cached=(true|false) ]
31+
buildpack-packager [ --cached | --uncached ]
3232
```
3333

3434
1. Use in Cloud Foundry
@@ -61,33 +61,27 @@ To test this buildpack, run the following command from the buildpack's directory
6161
6262
1. Run integration tests
6363
64-
Buildpacks use the [Cutlass](https://github.com/cloudfoundry/libbuildpack/tree/master/cutlass) framework for running integration tests against Cloud Foundry. Before running the integration tests, you need to login to your Cloud Foundry using the [cf cli](https://github.com/cloudfoundry/cli):
65-
66-
```bash
67-
cf login -a https://api.your-cf.com -u name@example.com -p pa55woRD
68-
```
69-
70-
Note that your user requires permissions to run `cf create-buildpack` and `cf update-buildpack`. To run the integration tests, run the following command from the buildpack's directory:
71-
7264
```bash
7365
./scripts/integration.sh
7466
```
7567
68+
More information can be found on Github [cutlass](https://github.com/cloudfoundry/libbuildpack/tree/master/cutlass).
69+
7670
### Contributing
7771
7872
Find our guidelines [here](./CONTRIBUTING.md).
7973
8074
### Help and Support
8175
82-
Join the #buildpacks channel in our [Slack community](http://slack.cloudfoundry.org/).
76+
Join the #buildpacks channel in our [Slack community](http://slack.cloudfoundry.org/)
8377
8478
### Reporting Issues
8579
86-
Open an issue on this project.
80+
Open an issue on this project
8781
8882
### Active Development
8983
90-
The project backlog is on [Pivotal Tracker](https://www.pivotaltracker.com/projects/1042066).
84+
The project backlog is on [Pivotal Tracker](https://www.pivotaltracker.com/projects/1042066)
9185
9286
### Acknowledgements
9387

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.33
1+
1.6.15

bin/detect

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
# bin/detect <build-dir>
23

34
BP=$(dirname "$(dirname $0)")
45
if [ -f "$1/package.json" ]; then

bin/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
echo 'default_process_types:'
55

66
if [[ "${OPTIMIZE_MEMORY:-}" = "true" ]]; then
7-
echo ' web: NODE_OPTIONS="--max_old_space_size=$(( $MEMORY_AVAILABLE * 75 / 100 ))" npm start'
7+
echo ' web: npm start --optimize_for_size --always_compact --max_old_space_size=$(( $MEMORY_AVAILABLE * 75 / 100 ))'
88
else
99
echo ' web: npm start'
1010
fi

fixtures/airgapped_invalid_npm_version/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bson-ext": "^0.1.13"
1313
},
1414
"engines": {
15-
"node" : "~>6",
15+
"node" : "~>4",
1616
"npm" : "99.99.99"
1717
}
1818
}

fixtures/airgapped_no_npm_version/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"bson-ext": "^0.1.13"
1313
},
1414
"engines": {
15-
"node" : "~>6"
15+
"node" : "~>4"
1616
}
1717
}

fixtures/brats/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"node": "8.x"
88
},
99
"dependencies": {
10-
"bcrypt": "~1.0.3",
10+
"bcrypt": "*",
1111
"bson-ext": "*"
1212
}
1313
}

fixtures/empty_node_modules/package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)