Skip to content

Commit d070918

Browse files
authored
Merge pull request #597 from primer/fix-primerize
Fix primerize, add "fresh" run-script, etc.
2 parents 04fbe82 + 7dbe4c4 commit d070918

File tree

55 files changed

+26033
-39807
lines changed

Some content is hidden

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

55 files changed

+26033
-39807
lines changed

.gitignore

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
*.lerna_backup
2+
*.log
3+
*/*/package-lock.json
14
.DS_Store
5+
.changelog
26
.sass-cache
3-
node_modules
4-
*.log
5-
build
67
_site
7-
*.lerna_backup
8-
.changelog
8+
build
9+
node_modules

DEVELOP.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ Run `npm install` to install the npm dependencies and automatically run link all
2323
If you run into trouble installing, it's always best to ensure that you're starting from a clean slate by running the following from the repository root directory:
2424

2525
```sh
26-
npx lerna clean --yes
26+
npm run fresh
27+
```
28+
29+
If _that_ gives you problems, then you can try manually deleting everything and starting over:
30+
31+
```
2732
rm -rf node_modules
33+
rm -f package-lock.json */*/package-lock.json
2834
npm install
2935
```
3036

31-
**You may need to do this whenever switching between branches with different dependencies, submodules, or versions of Node and/or npm.** The Primer core team generally uses the latest major version of Node (10 as of this writing), but we run our CI tests on Node 8 and npm 6. You can check which versions you're running with:
37+
**You may need to do this whenever switching between branches with different dependencies, submodules, or versions of Node and/or npm.** The Primer core team generally uses the latest major version of Node (10 as of this writing), but our CI tests run Node 8 and npm 6. You can check which versions you're running with:
3238

3339
```sh
3440
npm --version

lerna.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"lerna": "2.4.0",
3+
"version": "independent",
34
"packages": [
45
"modules/*",
5-
"tools/*"
6+
"tools/*",
7+
"!tools/generator-primer-module"
68
],
9+
"npmClientArgs": ["--no-package-lock"],
710
"changelog": {
811
"repo": "primer/primer",
912
"labels": {
@@ -15,6 +18,5 @@
1518
"Tag: Internal": ":house: Internal"
1619
},
1720
"cacheDir": ".changelog"
18-
},
19-
"version": "independent"
21+
}
2022
}

modules/primer-alerts/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/primer-avatars/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/primer-base/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/primer-blankslate/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/primer-box/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/primer-branch-name/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/primer-breadcrumb/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)