Rename server => modules

This commit is contained in:
Michael Jackson 2018-07-31 10:13:26 -07:00
parent 135da0fdc5
commit bef8b2ebee
104 changed files with 13 additions and 13 deletions

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -1,6 +1,6 @@
// Use babel to compile JSX on the fly.
require("babel-register")({
only: /server\/client/
only: /modules\/client/
});
// Ignore require("*.css") calls.

View File

@ -1,7 +1,7 @@
const URL = require("whatwg-url");
const warning = require("warning");
const origin = require("../config").origin;
const origin = require("../serverConfig").origin;
const bareIdentifierFormat = /^((?:@[^/]+\/)?[^/]+)(\/.*)?$/;

View File

@ -1,7 +1,7 @@
const url = require("url");
const https = require("https");
const config = require("../config");
const serverConfig = require("../serverConfig");
const bufferStream = require("./bufferStream");
const agent = require("./registryAgent");
@ -16,7 +16,7 @@ function fetchNpmPackageInfo(packageName) {
? `@${encodeURIComponent(packageName.substring(1))}`
: encodeURIComponent(packageName);
const infoURL = `${config.registryURL}/${encodedPackageName}`;
const infoURL = `${serverConfig.registryURL}/${encodedPackageName}`;
console.log(
`info: Fetching package info for ${packageName} from ${infoURL}`

Some files were not shown because too many files have changed in this diff Show More