-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Remove custom build scripts in favor of Bazel builds (#1046)
- Loading branch information
1 parent
0d1d309
commit e711c28
Showing
8 changed files
with
25 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/dist | ||
/modules/schematics/src/*/files/* | ||
/tmp | ||
package-lock.json | ||
package.json | ||
yarn.lock |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,27 @@ | ||
import * as fs from 'fs'; | ||
|
||
export interface PackageDescription { | ||
name: string; | ||
hasTestingModule: boolean; | ||
bundle: boolean; | ||
} | ||
|
||
export interface Config { | ||
packages: PackageDescription[]; | ||
scope: string; | ||
} | ||
|
||
export const packages: PackageDescription[] = [ | ||
{ | ||
name: 'store', | ||
hasTestingModule: false, | ||
bundle: true, | ||
}, | ||
{ | ||
name: 'effects', | ||
hasTestingModule: true, | ||
bundle: true, | ||
}, | ||
{ | ||
name: 'router-store', | ||
hasTestingModule: false, | ||
bundle: true, | ||
}, | ||
{ | ||
name: 'store-devtools', | ||
hasTestingModule: false, | ||
bundle: true, | ||
}, | ||
{ | ||
name: 'entity', | ||
hasTestingModule: false, | ||
bundle: true, | ||
}, | ||
]; | ||
const modulesDir = './modules/'; | ||
export const packages: PackageDescription[] = fs | ||
.readdirSync(modulesDir) | ||
.filter(path => { | ||
const stat = fs.statSync(`${modulesDir}${path}`); | ||
const isDir = stat.isDirectory(); | ||
|
||
if (!isDir) { | ||
return false; | ||
} | ||
|
||
const hasBuild = fs.existsSync(`${modulesDir}${path}/BUILD`); | ||
|
||
return hasBuild; | ||
}) | ||
.map(pkg => ({ name: pkg })); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.