Skip to content

Commit

Permalink
Merge pull request #597 from primer/fix-primerize
Browse files Browse the repository at this point in the history
Fix primerize, add "fresh" run-script, etc.
  • Loading branch information
shawnbot authored Nov 9, 2018
2 parents 04fbe82 + 7dbe4c4 commit d070918
Show file tree
Hide file tree
Showing 55 changed files with 26,033 additions and 39,807 deletions.
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
*.lerna_backup
*.log
*/*/package-lock.json
.DS_Store
.changelog
.sass-cache
node_modules
*.log
build
_site
*.lerna_backup
.changelog
build
node_modules
10 changes: 8 additions & 2 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,18 @@ Run `npm install` to install the npm dependencies and automatically run link all
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:

```sh
npx lerna clean --yes
npm run fresh
```

If _that_ gives you problems, then you can try manually deleting everything and starting over:

```
rm -rf node_modules
rm -f package-lock.json */*/package-lock.json
npm install
```

**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:
**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:

```sh
npm --version
Expand Down
8 changes: 5 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"lerna": "2.4.0",
"version": "independent",
"packages": [
"modules/*",
"tools/*"
"tools/*",
"!tools/generator-primer-module"
],
"npmClientArgs": ["--no-package-lock"],
"changelog": {
"repo": "primer/primer",
"labels": {
Expand All @@ -15,6 +18,5 @@
"Tag: Internal": ":house: Internal"
},
"cacheDir": ".changelog"
},
"version": "independent"
}
}
11 changes: 0 additions & 11 deletions modules/primer-alerts/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-avatars/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-base/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-blankslate/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-box/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-branch-name/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-breadcrumb/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-buttons/package-lock.json

This file was deleted.

155 changes: 0 additions & 155 deletions modules/primer-core/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-forms/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-labels/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-layout/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-markdown/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions modules/primer-marketing-buttons/package-lock.json

This file was deleted.

3 changes: 0 additions & 3 deletions modules/primer-marketing-buttons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
"dependencies": {
"primer-support": "4.6.1"
},
"peerDependencies": {
"primer-buttons": "2.6.1"
},
"keywords": [
"css",
"github",
Expand Down
5 changes: 0 additions & 5 deletions modules/primer-marketing-support/package-lock.json

This file was deleted.

Loading

0 comments on commit d070918

Please sign in to comment.