Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 650a4df

Browse files
committed
refactor(lib): change package structure to allow for entrypoints
* Add entrypoints for core, flex, and extended. All entrypoints have a module that can be imported separately * Remove the BiDi clone from the CDK and add a direct/peer dependency
1 parent b525771 commit 650a4df

File tree

107 files changed

+1417
-1155
lines changed

Some content is hidden

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

107 files changed

+1417
-1155
lines changed

build-config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ const buildVersion = package.version;
1515
*/
1616
const angularVersion = '^5.0.0';
1717

18+
/**
19+
* Required Angular CDK version for all Angular Layout packages. This version will be used
20+
* as the peer dependency version for Angular CDK in all release packages.
21+
*/
22+
const cdkVersion = '^5.0.0';
23+
1824
/** License that will be placed inside of all created bundles. */
1925
const buildLicense = `/**
2026
* @license
@@ -27,6 +33,7 @@ const buildLicense = `/**
2733
module.exports = {
2834
projectVersion: buildVersion,
2935
angularVersion: angularVersion,
36+
cdkVersion: cdkVersion,
3037
projectDir: __dirname,
3138
packagesDir: join(__dirname, 'src'),
3239
outputDir: join(__dirname, 'dist'),

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"node": ">= 5.4.1"
2828
},
2929
"dependencies": {
30+
"@angular/cdk": "^5.2.0",
3031
"@angular/core": "~5.2.0",
3132
"@angular/common": "~5.2.0",
3233
"@angular/compiler": "~5.2.0",
@@ -40,7 +41,6 @@
4041
},
4142
"devDependencies": {
4243
"@angular/animations": "~5.2.0",
43-
"@angular/cdk": "^5.2.0",
4444
"@angular/compiler-cli": "~5.2.0",
4545
"@angular/forms": "~5.2.0",
4646
"@angular/http": "~5.2.0",

src/apps/demo-app/package-lock.json

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)