Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbbdd44e

Browse files
committed
support node 0.10 with v0.2.0
1 parent5a75199 commitbbdd44e

File tree

2 files changed

+51
-44
lines changed

2 files changed

+51
-44
lines changed

‎CODEROAD.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ config:
99
repo:
1010
uri: https://github.com/coderoad/fcc-learn-npm
1111
branch: v0.1.0
12+
dependencies:
13+
- name: node
14+
version: ^0.10
1215
```
1316

1417
##Intro
@@ -44,15 +47,15 @@ setup:
4447
files:
4548
- package.json
4649
commits:
47-
- '26e502d'
48-
- 'e39ab72'
50+
- '6b7cf6f'
51+
- '8df92a5'
4952
commands:
5053
- npm install
5154
solution:
5255
files:
5356
- package.json
5457
commits:
55-
- '72fa9de'
58+
- '49577c7'
5659
```
5760

5861
Add your name as the`author` of the project in the package.json file.
@@ -80,12 +83,12 @@ setup:
8083
files:
8184
- package.json
8285
commits:
83-
- '64bd78f3'
86+
- 'c9718b2'
8487
solution:
8588
files:
8689
- package.json
8790
commits:
88-
- '7888392'
91+
- 'a15aa99'
8992
```
9093

9194
Add a`description` to the package.json file of your project.
@@ -113,12 +116,12 @@ setup:
113116
files:
114117
- package.json
115118
commits:
116-
- '54540f6'
119+
- '2b907ae'
117120
solution:
118121
files:
119122
- package.json
120123
commits:
121-
- '803ab94'
124+
- '6342f64'
122125
```
123126

124127
Add an array of suitable strings to the`keywords` field in the package.json file of your project.
@@ -144,12 +147,12 @@ setup:
144147
files:
145148
- package.json
146149
commits:
147-
- 'ca42163'
150+
- '96e3915'
148151
solution:
149152
files:
150153
- package.json
151154
commits:
152-
- '98118c3'
155+
- 'ec61d78'
153156
```
154157

155158
Fill the`license` field in the package.json file of your project as you find suitable.
@@ -171,12 +174,12 @@ setup:
171174
files:
172175
- package.json
173176
commits:
174-
- 'a7acf32'
177+
- '8ed877a'
175178
solution:
176179
files:
177180
- package.json
178181
commits:
179-
- '95f7224'
182+
- '5be16a2'
180183
```
181184

182185
Add a`version` to the package.json file of your project.
@@ -213,15 +216,15 @@ setup:
213216
files:
214217
- package.json
215218
commits:
216-
- '2d6ce80'
219+
- 'f89980a'
217220
watchers:
218221
- package.json
219222
- node_modules/moment
220223
solution:
221224
files:
222225
- package.json
223226
commits:
224-
- '5669758'
227+
- '6bcac25'
225228
```
226229

227230
Install the "moment" package to the`dependencies` field of your package.json file by running the command line npm install.
@@ -260,15 +263,15 @@ setup:
260263
files:
261264
- package.json
262265
commits:
263-
- 'dc9a3ca'
266+
- 'c7b5458'
264267
watchers:
265268
- package.json
266269
- node_modules/moment
267270
solution:
268271
files:
269272
- package.json
270273
commits:
271-
- 'e99f656'
274+
- '7854c2f'
272275
```
273276

274277
In the dependencies section of your package.json file, change the`version` of moment to match MAJOR version 2, MINOR version 10 and PATCH version 2
@@ -292,12 +295,12 @@ setup:
292295
files:
293296
- package.json
294297
commits:
295-
- 'ddffbe2'
298+
- 'ff88ec9'
296299
solution:
297300
files:
298301
- package.json
299302
commits:
300-
- '0163e01'
303+
- 'a4b2700'
301304
```
302305

303306
In the package.json file, your current rule for how npm may upgrade moment is to use a specific version (2.10.2). But now, you want to allow the latest 2.10.x version.
@@ -326,12 +329,12 @@ setup:
326329
files:
327330
- package.json
328331
commits:
329-
- 'd56b7e4'
332+
- 'dd56157'
330333
solution:
331334
files:
332335
- package.json
333336
commits:
334-
- 'f8173d5'
337+
- 'a9ec3c0'
335338
```
336339

337340
Use the caret (`^`) to prefix the version of moment in your dependencies and allow npm to update it to any new MINOR release.
@@ -355,12 +358,12 @@ setup:
355358
files:
356359
- package.json
357360
commits:
358-
- '45dfedb'
361+
- '9e35b51'
359362
solution:
360363
files:
361364
- package.json
362365
commits:
363-
- '37482c2'
366+
- '9536de2'
364367
```
365368

366369
Remove the moment package from your dependencies.

‎coderoad-config.json

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version":"0.1.0",
2+
"version":"0.2.0",
33
"summary": {
44
"title":"Learn NPM package json",
55
"description":"The Node Package Manager (NPM) is a command-line tool used by developers to share and control modules (or packages) of JavaScript code written for use with Node.js."
@@ -10,8 +10,12 @@
1010
},
1111
"repo": {
1212
"uri":"https://github.com/coderoad/fcc-learn-npm",
13-
"branch":"v0.1.0"
14-
}
13+
"branch":"v0.2.0"
14+
},
15+
"dependencies": [{
16+
"name":"node",
17+
"version":">0.10"
18+
}]
1519
},
1620
"levels": [
1721
{
@@ -33,12 +37,12 @@
3337
"id":"bCzlTigHAL",
3438
"setup": {
3539
"files": ["package.json"],
36-
"commits": ["26e502d","e39ab72"],
40+
"commits": ["6b7cf6f","8df92a5"],
3741
"commands": ["npm install"]
3842
},
3943
"solution": {
4044
"files": ["package.json"],
41-
"commits": ["72fa9de"]
45+
"commits": ["49577c7"]
4246
},
4347
"content":"Add your name as the `author` of the project in the package.json file.\n**Note:** Remember that you’re writing JSON, so all field names must use double-quotes (\") and be separated with a comma (,).\n\n"
4448
}
@@ -55,11 +59,11 @@
5559
"id":"qtyop7mIYu",
5660
"setup": {
5761
"files": ["package.json"],
58-
"commits": ["64bd78f3"]
62+
"commits": ["c9718b2"]
5963
},
6064
"solution": {
6165
"files": ["package.json"],
62-
"commits": ["7888392"]
66+
"commits": ["a15aa99"]
6367
},
6468
"content":"Add a `description` to the package.json file of your project.\n\n**Note:** Remember to use double-quotes for field-names (\") and commas (,) to separate fields.\n\n"
6569
}
@@ -76,11 +80,11 @@
7680
"id":"-dUCTOVbdo",
7781
"setup": {
7882
"files": ["package.json"],
79-
"commits": ["54540f6"]
83+
"commits": ["2b907ae"]
8084
},
8185
"solution": {
8286
"files": ["package.json"],
83-
"commits": ["803ab94"]
87+
"commits": ["6342f64"]
8488
},
8589
"content":"Add an array of suitable strings to the `keywords` field in the package.json file of your project.\n\nOne of the keywords should be\"freecodecamp\".\n"
8690
}
@@ -97,11 +101,11 @@
97101
"id":"3DsFYGvBuc",
98102
"setup": {
99103
"files": ["package.json"],
100-
"commits": ["ca42163"]
104+
"commits": ["96e3915"]
101105
},
102106
"solution": {
103107
"files": ["package.json"],
104-
"commits": ["98118c3"]
108+
"commits": ["ec61d78"]
105109
},
106110
"content":"Fill the `license` field in the package.json file of your project as you find suitable.\n\n"
107111
}
@@ -118,11 +122,11 @@
118122
"id":"B07NvoYTwI",
119123
"setup": {
120124
"files": ["package.json"],
121-
"commits": ["a7acf32"]
125+
"commits": ["8ed877a"]
122126
},
123127
"solution": {
124128
"files": ["package.json"],
125-
"commits": ["95f7224"]
129+
"commits": ["5be16a2"]
126130
},
127131
"content":"Add a `version` to the package.json file of your project.\n\n"
128132
}
@@ -139,12 +143,12 @@
139143
"id":"9VFvL2uElS",
140144
"setup": {
141145
"files": ["package.json"],
142-
"commits": ["2d6ce80"],
146+
"commits": ["f89980a"],
143147
"watchers": ["package.json","node_modules/moment"]
144148
},
145149
"solution": {
146150
"files": ["package.json"],
147-
"commits": ["5669758"]
151+
"commits": ["6bcac25"]
148152
},
149153
"content":"Install the\"moment\" package to the `dependencies` field of your package.json file by running the command line npm install.\n\n**Note:** Moment is a handy library for working with time and dates.\n\n"
150154
}
@@ -161,12 +165,12 @@
161165
"id":"p_BHY4SsgA",
162166
"setup": {
163167
"files": ["package.json"],
164-
"commits": ["dc9a3ca"],
168+
"commits": ["c7b5458"],
165169
"watchers": ["package.json","node_modules/moment"]
166170
},
167171
"solution": {
168172
"files": ["package.json"],
169-
"commits": ["e99f656"]
173+
"commits": ["7854c2f"]
170174
},
171175
"content":"In the dependencies section of your package.json file, change the `version` of moment to match MAJOR version 2, MINOR version 10 and PATCH version 2\n\n"
172176
}
@@ -183,11 +187,11 @@
183187
"id":"BISIX4-iz4d",
184188
"setup": {
185189
"files": ["package.json"],
186-
"commits": ["ddffbe2"]
190+
"commits": ["ff88ec9"]
187191
},
188192
"solution": {
189193
"files": ["package.json"],
190-
"commits": ["0163e01"]
194+
"commits": ["a4b2700"]
191195
},
192196
"content":"In the package.json file, your current rule for how npm may upgrade moment is to use a specific version (2.10.2). But now, you want to allow the latest 2.10.x version.\nUse the tilde (`~`) character to prefix the version of moment in your dependencies, and allow npm to update it to any new PATCH release.\n\n**Note:** The version numbers themselves should not be changed.\n\n"
193197
}
@@ -204,11 +208,11 @@
204208
"id":"X7yBkeKqF6_",
205209
"setup": {
206210
"files": ["package.json"],
207-
"commits": ["d56b7e4"]
211+
"commits": ["dd56157"]
208212
},
209213
"solution": {
210214
"files": ["package.json"],
211-
"commits": ["f8173d5"]
215+
"commits": ["a9ec3c0"]
212216
},
213217
"content":"Use the caret (`^`) to prefix the version of moment in your dependencies and allow npm to update it to any new MINOR release.\n\n**Note:** The version numbers themselves should not be changed.\n\n"
214218
}
@@ -225,11 +229,11 @@
225229
"id":"_BvPBHOIDjP",
226230
"setup": {
227231
"files": ["package.json"],
228-
"commits": ["45dfedb"]
232+
"commits": ["9e35b51"]
229233
},
230234
"solution": {
231235
"files": ["package.json"],
232-
"commits": ["37482c2"]
236+
"commits": ["9536de2"]
233237
},
234238
"content":"Remove the moment package from your dependencies.\n\n**Note:** Make sure you have the right amount of commas after removing it.\n\n"
235239
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp