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

Commit3bdd1f0

Browse files
authored
Merge pull request#2 from coderoad/coderoad-v0.3.0
Update for Coderoad v0.3.0
2 parentsa47d4cc +bfa18a3 commit3bdd1f0

File tree

2 files changed

+56
-45
lines changed

2 files changed

+56
-45
lines changed

‎CODEROAD.md

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,16 @@
66
config:
77
testRunner:
88
command: npm run programmatic-test
9+
path: coderoad
10+
actions:
11+
commits:
12+
- '55a9b6d'
13+
- '34f028e'
14+
commands:
15+
- npm install
916
repo:
1017
uri: https://github.com/coderoad/fcc-learn-npm
11-
branch: v0.1.0
18+
branch: v0.3.0
1219
dependencies:
1320
- name: node
1421
version: >=10
@@ -47,15 +54,14 @@ setup:
4754
files:
4855
- package.json
4956
commits:
50-
- '6b7cf6f'
51-
- '8df92a5'
57+
- 'c3b4350'
5258
commands:
5359
- npm install
5460
solution:
5561
files:
5662
- package.json
5763
commits:
58-
- '49577c7'
64+
- '02cd4f2'
5965
```
6066

6167
Add your name as the`author` of the project in the package.json file.
@@ -83,12 +89,12 @@ setup:
8389
files:
8490
- package.json
8591
commits:
86-
- 'c9718b2'
92+
- '1917199'
8793
solution:
8894
files:
8995
- package.json
9096
commits:
91-
- 'a15aa99'
97+
- 'e8b3d85'
9298
```
9399

94100
Add a`description` to the package.json file of your project.
@@ -116,12 +122,12 @@ setup:
116122
files:
117123
- package.json
118124
commits:
119-
- '2b907ae'
125+
- '2ba75f8'
120126
solution:
121127
files:
122128
- package.json
123129
commits:
124-
- '6342f64'
130+
- '63cd193'
125131
```
126132

127133
Add an array of suitable strings to the`keywords` field in the package.json file of your project.
@@ -147,12 +153,12 @@ setup:
147153
files:
148154
- package.json
149155
commits:
150-
- '96e3915'
156+
- 'acd63ba'
151157
solution:
152158
files:
153159
- package.json
154160
commits:
155-
- 'ec61d78'
161+
- 'a64411c'
156162
```
157163

158164
Fill the`license` field in the package.json file of your project as you find suitable.
@@ -174,12 +180,12 @@ setup:
174180
files:
175181
- package.json
176182
commits:
177-
- '8ed877a'
183+
- '580d786'
178184
solution:
179185
files:
180186
- package.json
181187
commits:
182-
- '5be16a2'
188+
- 'a92903d'
183189
```
184190

185191
Add a`version` to the package.json file of your project.
@@ -216,15 +222,15 @@ setup:
216222
files:
217223
- package.json
218224
commits:
219-
- 'f89980a'
225+
- 'eafc39a'
220226
watchers:
221227
- package.json
222228
- node_modules/moment
223229
solution:
224230
files:
225231
- package.json
226232
commits:
227-
- '6bcac25'
233+
- '50da157'
228234
```
229235

230236
Install the "moment" package to the`dependencies` field of your package.json file by running the command line npm install.
@@ -263,15 +269,15 @@ setup:
263269
files:
264270
- package.json
265271
commits:
266-
- 'c7b5458'
272+
- 'e658c66'
267273
watchers:
268274
- package.json
269275
- node_modules/moment
270276
solution:
271277
files:
272278
- package.json
273279
commits:
274-
- '7854c2f'
280+
- 'f10433e'
275281
```
276282

277283
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
@@ -295,12 +301,12 @@ setup:
295301
files:
296302
- package.json
297303
commits:
298-
- 'ff88ec9'
304+
- 'b4edb0c'
299305
solution:
300306
files:
301307
- package.json
302308
commits:
303-
- 'a4b2700'
309+
- '8e169e1'
304310
```
305311

306312
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.
@@ -329,12 +335,12 @@ setup:
329335
files:
330336
- package.json
331337
commits:
332-
- 'dd56157'
338+
- '67c5f7b'
333339
solution:
334340
files:
335341
- package.json
336342
commits:
337-
- 'a9ec3c0'
343+
- '601c5fe'
338344
```
339345

340346
Use the caret (`^`) to prefix the version of moment in your dependencies and allow npm to update it to any new MINOR release.
@@ -358,12 +364,12 @@ setup:
358364
files:
359365
- package.json
360366
commits:
361-
- '9e35b51'
367+
- '4359bde'
362368
solution:
363369
files:
364370
- package.json
365371
commits:
366-
- '9536de2'
372+
- 'f8cfb51'
367373
```
368374

369375
Remove the moment package from your dependencies.

‎coderoad-config.json

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
{
2-
"version":"0.2.0",
2+
"version":"0.3.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."
66
},
77
"config": {
88
"testRunner": {
9-
"command":"npm run programmatic-test"
9+
"command":"npm run programmatic-test",
10+
"path":"coderoad",
11+
"actions": {
12+
"commits": ["55a9b6d","34f028e"],
13+
"commands": ["npm install"]
14+
}
1015
},
1116
"repo": {
1217
"uri":"https://github.com/coderoad/fcc-learn-npm",
13-
"branch":"v0.2.0"
18+
"branch":"v0.3.0"
1419
},
1520
"dependencies": [{
1621
"name":"node",
@@ -37,12 +42,12 @@
3742
"id":"bCzlTigHAL",
3843
"setup": {
3944
"files": ["package.json"],
40-
"commits": ["6b7cf6f","8df92a5"],
45+
"commits": ["c3b4350"],
4146
"commands": ["npm install"]
4247
},
4348
"solution": {
4449
"files": ["package.json"],
45-
"commits": ["49577c7"]
50+
"commits": ["02cd4f2"]
4651
},
4752
"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"
4853
}
@@ -59,11 +64,11 @@
5964
"id":"qtyop7mIYu",
6065
"setup": {
6166
"files": ["package.json"],
62-
"commits": ["c9718b2"]
67+
"commits": ["1917199"]
6368
},
6469
"solution": {
6570
"files": ["package.json"],
66-
"commits": ["a15aa99"]
71+
"commits": ["e8b3d85"]
6772
},
6873
"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"
6974
}
@@ -80,11 +85,11 @@
8085
"id":"-dUCTOVbdo",
8186
"setup": {
8287
"files": ["package.json"],
83-
"commits": ["2b907ae"]
88+
"commits": ["2ba75f8"]
8489
},
8590
"solution": {
8691
"files": ["package.json"],
87-
"commits": ["6342f64"]
92+
"commits": ["63cd193"]
8893
},
8994
"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"
9095
}
@@ -101,11 +106,11 @@
101106
"id":"3DsFYGvBuc",
102107
"setup": {
103108
"files": ["package.json"],
104-
"commits": ["96e3915"]
109+
"commits": ["acd63ba"]
105110
},
106111
"solution": {
107112
"files": ["package.json"],
108-
"commits": ["ec61d78"]
113+
"commits": ["a64411c"]
109114
},
110115
"content":"Fill the `license` field in the package.json file of your project as you find suitable.\n\n"
111116
}
@@ -122,11 +127,11 @@
122127
"id":"B07NvoYTwI",
123128
"setup": {
124129
"files": ["package.json"],
125-
"commits": ["8ed877a"]
130+
"commits": ["580d786"]
126131
},
127132
"solution": {
128133
"files": ["package.json"],
129-
"commits": ["5be16a2"]
134+
"commits": ["a92903d"]
130135
},
131136
"content":"Add a `version` to the package.json file of your project.\n\n"
132137
}
@@ -143,12 +148,12 @@
143148
"id":"9VFvL2uElS",
144149
"setup": {
145150
"files": ["package.json"],
146-
"commits": ["f89980a"],
151+
"commits": ["eafc39a"],
147152
"watchers": ["package.json","node_modules/moment"]
148153
},
149154
"solution": {
150155
"files": ["package.json"],
151-
"commits": ["6bcac25"]
156+
"commits": ["50da157"]
152157
},
153158
"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"
154159
}
@@ -165,12 +170,12 @@
165170
"id":"p_BHY4SsgA",
166171
"setup": {
167172
"files": ["package.json"],
168-
"commits": ["c7b5458"],
173+
"commits": ["e658c66"],
169174
"watchers": ["package.json","node_modules/moment"]
170175
},
171176
"solution": {
172177
"files": ["package.json"],
173-
"commits": ["7854c2f"]
178+
"commits": ["f10433e"]
174179
},
175180
"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"
176181
}
@@ -187,11 +192,11 @@
187192
"id":"BISIX4-iz4d",
188193
"setup": {
189194
"files": ["package.json"],
190-
"commits": ["ff88ec9"]
195+
"commits": ["b4edb0c"]
191196
},
192197
"solution": {
193198
"files": ["package.json"],
194-
"commits": ["a4b2700"]
199+
"commits": ["8e169e1"]
195200
},
196201
"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"
197202
}
@@ -208,11 +213,11 @@
208213
"id":"X7yBkeKqF6_",
209214
"setup": {
210215
"files": ["package.json"],
211-
"commits": ["dd56157"]
216+
"commits": ["67c5f7b"]
212217
},
213218
"solution": {
214219
"files": ["package.json"],
215-
"commits": ["a9ec3c0"]
220+
"commits": ["601c5fe"]
216221
},
217222
"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"
218223
}
@@ -229,11 +234,11 @@
229234
"id":"_BvPBHOIDjP",
230235
"setup": {
231236
"files": ["package.json"],
232-
"commits": ["9e35b51"]
237+
"commits": ["4359bde"]
233238
},
234239
"solution": {
235240
"files": ["package.json"],
236-
"commits": ["9536de2"]
241+
"commits": ["f8cfb51"]
237242
},
238243
"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"
239244
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp