Skip to content

Commit

Permalink
update & refactor dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Aug 18, 2023
1 parent 9ca5e0b commit a7b373f
Show file tree
Hide file tree
Showing 18 changed files with 45 additions and 102 deletions.
9 changes: 0 additions & 9 deletions scopes/angular/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
"@angular/platform-browser": "~16.0.0",
"@angular/platform-browser-dynamic": "~16.0.0",
"@ngtools/webpack": "~16.0.0",
"@teambit/defender.eslint-linter": "1.0.2",
"@teambit/defender.jest-tester": "0.0.12",
"@teambit/defender.prettier-formatter": "1.0.0",
"@teambit/toolbox.performance.v8-cache": "0.0.27",
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.499",
"@teambit/webpack.modules.generate-style-loaders": "0.0.110",
"@teambit/webpack.modules.style-regexps": "0.0.139",
"@types/jest": "^29.5.0",
"@types/react-dev-utils": "~9.0.8",
"@types/remark-prism": "~1.3.0",
Expand All @@ -52,15 +45,13 @@
"css-loader": "6.7.3",
"eslint": "^8.39.0",
"events": "^3.2.0",
"html-loader": "~2.1.2",
"jest": "^29.5.0",
"jest-preset-angular": "~13.1.0",
"ng-packagr": "~16.0.0-rc.1",
"postcss": "8.4.23",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-loader": "7.2.4",
"postcss-preset-env": "7.8.2",
"react-dev-utils": "10.2.1",
"remark": "~13.0.0",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@rollup/plugin-html": "^0.2.4",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@teambit/react.ui.docs-app": "^0.0.207",
"@types/cacache": "^15.0.1",
"cacache": "^15.3.0",
"chalk": "^4.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@babel/plugin-proposal-class-properties": "7.12.13",
"@babel/preset-env": "7.12.17",
"@babel/preset-typescript": "7.12.7",
"@teambit/compilation.compiler-task": "0.0.4",
"minimatch": "~3.0.4"
},
"devDependencies": {
Expand Down
5 changes: 1 addition & 4 deletions scopes/dev-services/compiler/ng-packagr/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
"policy": {
"dependencies": {
"@angular/compiler-cli": "-",
"@teambit/graph.cleargraph": "^0.0.7",
"@types/fs-extra": "~9.0.7",
"ng-packagr": "-",
"fs-extra": "9.1.0"
"ng-packagr": "-"
},
"peerDependencies": {
"@angular/compiler-cli": ">= 8.0.0",
Expand Down
4 changes: 1 addition & 3 deletions scopes/dev-services/compiler/ngcc/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"teambit.dependencies/dependency-resolver": {
"policy": {
"dependencies": {
"@angular/compiler-cli": "-",
"@types/fs-extra": "~9.0.7",
"fs-extra": "9.1.0"
"@angular/compiler-cli": "-"
},
"peerDependencies": {
"@angular/compiler-cli": ">= 8.0.0"
Expand Down
3 changes: 0 additions & 3 deletions scopes/dev-services/compiler/webpack/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"teambit.dependencies/dependency-resolver": {
"policy": {
"dependencies": {
"@teambit/webpack.webpack-bundler": "0.0.9",
"@types/object-hash": "~2.1.0",
"object-hash": "~2.1.1",
"typescript": "-"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion scopes/dev-services/preview/angular-runtime/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import { bootstrapApplication } from "@angular/platform-browser";
import { createComponent, NgZone, StaticProvider } from '@angular/core';
// @ts-ignore unavailable until Angular 14
import { createApplication } from '@angular/platform-browser';
import { AppModule } from './main';
// @ts-ignore
const AppModule = require('./main').AppModule as any;

const enum RenderStrategy {
Elements = 'element',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import 'zone.js/dist/zone';
import * as i0 from '@angular/core';
import { Component, NgModule } from '@angular/core';
require('zone.js/dist/zone');
const i0 = require('@angular/core') as any;
import { BrowserModule } from '@angular/platform-browser';

// The injector used to create custom elements from Angular components
class AppComponent {
}
// @ts-ignore
AppComponent.ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(); };
// @ts-ignore
AppComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppComponent, selectors: [["app-root"]], decls: 0, vars: 0, template: function AppComponent_Template(rf, ctx) { }, encapsulation: 2 });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppComponent, [{
type: Component,
(function () { // @ts-ignore
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppComponent, [{
type: i0.Component,
args: [{
selector: 'app-root',
template: ``
Expand All @@ -19,15 +21,20 @@ AppComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppComponent,
class AppModule {
ngDoBootstrap() { }
}
// @ts-ignore
AppModule.ɵfac = function AppModule_Factory(t) { return new (t || AppModule)(); };
// @ts-ignore
AppModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AppModule });
// @ts-ignore
AppModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[BrowserModule]] });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppModule, [{
type: NgModule,
(function () { // @ts-ignore
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppModule, [{
type: i0.NgModule,
args: [{
imports: [BrowserModule]
}]
}], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, { imports: [BrowserModule] }); })();
(function () { // @ts-ignore
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppModule, { imports: [BrowserModule] }); })();

export { AppComponent, AppModule };
2 changes: 0 additions & 2 deletions scopes/dev-services/preview/preview/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
"teambit.dependencies/dependency-resolver": {
"policy": {
"dependencies": {
"@types/object-hash": "~2.1.0",
"object-hash": "~2.1.1"
},
"peerDependencies": {
"@angular/animations": ">= 8.0.0",
Expand Down
1 change: 0 additions & 1 deletion scopes/versions/angular-v11/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"jest-preset-angular": "~10.0.1",
"ng-packagr": "~11.2.4",
"path-browserify": "1.0.1",
"react-dev-utils": "10.2.1",
"remark": "~13.0.0",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
Expand Down
9 changes: 0 additions & 9 deletions scopes/versions/angular-v12/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
"@angular/platform-browser": "^12.2.16",
"@angular/platform-browser-dynamic": "^12.2.16",
"@ngtools/webpack": "^12.2.16",
"@teambit/defender.eslint-linter": "0.0.10",
"@teambit/defender.jest-tester": "0.0.9",
"@teambit/defender.prettier-formatter": "0.0.6",
"@types/eslint": "^7.28.0",
"@types/jest": "~27.0.1",
"@types/react-dev-utils": "~9.0.8",
Expand All @@ -49,17 +46,11 @@
"@typescript-eslint/parser": "^4.26.0",
"eslint": "7.26.0",
"events": "^3.2.0",
"html-entities": "^2.3.2",
"html-loader": "~2.1.2",
"jest": "~27.0.4",
"jest-preset-angular": "~10.0.1",
"ng-packagr": "~12.2.7",
"react-dev-utils": "10.2.1",
"remark": "~13.0.0",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
"remark-loader": "~4.0.0",
"remark-prism": "~1.3.6",
"rxjs": "^6.6.7",
"ts-node": "^9.1.1",
"tslib": "^2.2.0",
Expand Down
10 changes: 0 additions & 10 deletions scopes/versions/angular-v13/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
"@angular/platform-browser": "~13.2.0",
"@angular/platform-browser-dynamic": "~13.2.0",
"@ngtools/webpack": "~13.2.1",
"@teambit/defender.eslint-linter": "0.0.10",
"@teambit/defender.jest-tester": "0.0.9",
"@teambit/defender.prettier-formatter": "0.0.6",
"@teambit/toolbox.performance.v8-cache": "0.0.27",
"@types/eslint": "^8.2.0",
"@types/jest": "^27.0.3",
"@types/react-dev-utils": "~9.0.8",
Expand All @@ -50,17 +46,11 @@
"@typescript-eslint/parser": "^5.3.0",
"eslint": "8.2.0",
"events": "^3.2.0",
"html-entities": "^2.3.2",
"html-loader": "~2.1.2",
"jest": "^27.4.4",
"jest-preset-angular": "~11.0.1",
"ng-packagr": "~13.2.1",
"react-dev-utils": "10.2.1",
"remark": "~13.0.0",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
"remark-loader": "~4.0.0",
"remark-prism": "~1.3.6",
"rxjs": "~7.4.0",
"ts-node": "^9.1.1",
"tslib": "^2.3.0",
Expand Down
12 changes: 0 additions & 12 deletions scopes/versions/angular-v14/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
"@angular/platform-browser-dynamic": "~14.2.12",
"@jest/globals": "^28.0.0",
"@ngtools/webpack": "~14.2.10",
"@teambit/defender.eslint-linter": "0.0.10",
"@teambit/defender.jest-tester": "0.0.9",
"@teambit/defender.prettier-formatter": "0.0.6",
"@teambit/toolbox.performance.v8-cache": "0.0.27",
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.498",
"@teambit/webpack.modules.generate-style-loaders": "0.0.110",
"@teambit/webpack.modules.style-regexps": "0.0.139",
"@types/eslint": "^8.21.0",
"@types/jest": "^28.0.0",
"@types/react-dev-utils": "~9.0.8",
Expand All @@ -54,20 +47,15 @@
"css-loader": "6.2.0",
"eslint": "^8.18.0",
"events": "^3.2.0",
"html-loader": "~2.1.2",
"jest": "^28.0.0",
"jest-preset-angular": "~12.1.0",
"ng-packagr": "~14.2.1",
"postcss": "8.4.18",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-loader": "7.0.1",
"postcss-preset-env": "7.8.2",
"react-dev-utils": "10.2.1",
"remark": "~13.0.0",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
"remark-loader": "~4.0.0",
"remark-prism": "~1.3.6",
"resolve-url-loader": "5.0.0",
"rxjs": "~7.4.0",
"sass-loader": "12.6.0",
Expand Down
12 changes: 0 additions & 12 deletions scopes/versions/angular-v15/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
"@angular/platform-browser-dynamic": "~15.1.5",
"@jest/globals": "^29.3.1",
"@ngtools/webpack": "~15.1.5",
"@teambit/defender.eslint-linter": "0.0.10",
"@teambit/defender.jest-tester": "0.0.9",
"@teambit/defender.prettier-formatter": "0.0.6",
"@teambit/toolbox.performance.v8-cache": "0.0.27",
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.498",
"@teambit/webpack.modules.generate-style-loaders": "0.0.110",
"@teambit/webpack.modules.style-regexps": "0.0.139",
"@types/eslint": "^8.37.0",
"@types/jest": "^29.2.4",
"@types/react-dev-utils": "~9.0.8",
Expand All @@ -54,7 +47,6 @@
"css-loader": "6.2.0",
"eslint": "^8.29.0",
"events": "^3.2.0",
"html-loader": "~2.1.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.0.3",
"jest-environment-node": "^29.0.3",
Expand All @@ -64,12 +56,8 @@
"postcss-flexbugs-fixes": "5.0.2",
"postcss-loader": "7.0.1",
"postcss-preset-env": "7.8.2",
"react-dev-utils": "10.2.1",
"remark": "~13.0.0",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
"remark-loader": "~4.0.0",
"remark-prism": "~1.3.6",
"resolve-url-loader": "5.0.0",
"rxjs": "~7.5.7",
"sass-loader": "12.6.0",
Expand Down
14 changes: 1 addition & 13 deletions scopes/versions/angular-v16/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
"@angular/platform-browser": "~16.0.3",
"@angular/platform-browser-dynamic": "~16.0.3",
"@ngtools/webpack": "~16.0.3",
"@teambit/defender.eslint-linter": "0.0.10",
"@teambit/defender.jest-tester": "0.0.9",
"@teambit/defender.prettier-formatter": "0.0.6",
"@teambit/toolbox.performance.v8-cache": "0.0.27",
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.499",
"@teambit/webpack.modules.generate-style-loaders": "0.0.110",
"@teambit/webpack.modules.style-regexps": "0.0.139",
"@types/eslint": "^8.40.0",
"@types/jest": "^29.5.0",
"@types/react-dev-utils": "~9.0.8",
Expand All @@ -53,7 +46,6 @@
"css-loader": "6.7.3",
"eslint": "^8.40.0",
"events": "^3.2.0",
"html-loader": "~2.1.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.0.3",
"jest-environment-node": "^29.0.3",
Expand All @@ -63,13 +55,9 @@
"postcss-flexbugs-fixes": "5.0.2",
"postcss-loader": "7.2.4",
"postcss-preset-env": "7.8.2",
"react-dev-utils": "10.2.1",
"resolve-url-loader": "5.0.0",
"remark": "~13.0.0",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
"remark-loader": "~4.0.0",
"remark-prism": "~1.3.6",
"resolve-url-loader": "5.0.0",
"sass": "1.62.1",
"sass-loader": "13.2.2",
"style-loader": "^2.0.0",
Expand Down
3 changes: 0 additions & 3 deletions scopes/versions/common/angular-apps/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"policy": {
"dependencies": {
"@angular-devkit/build-angular": "-",
"@teambit/toolbox.network.get-port": "0.0.121",
"@types/object-hash": "~2.1.0",
"object-hash": "~2.1.1",
"typescript": "-"
},
"peerDependencies": {
Expand Down
9 changes: 0 additions & 9 deletions scopes/versions/common/angular-base/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,16 @@
"@babel/preset-env": "7.12.17",
"@babel/preset-typescript": "7.12.7",
"@babel/runtime": "^7.12.18",
"@teambit/defender.eslint-linter": "1.0.2",
"@teambit/defender.jest-tester": "0.0.12",
"@teambit/defender.prettier-formatter": "1.0.0",
"@teambit/dependencies.modules.packages-excluder": "^0.0.70",
"@teambit/typescript.typescript-compiler": "2.0.1",
"@types/dompurify": "^2.2.2",
"@types/enhanced-resolve": "~3.0.7",
"@types/fs-extra": "~9.0.7",
"@types/lodash": "4.14.165",
"@types/node": "^12.11.1",
"@types/trusted-types": "~2.0.1",
"dompurify": "^2.2.9",
"enhanced-resolve": "5.8.3",
"eslint": ">= 7.0.0",
"events": "3.3.0",
"fs-extra": "9.1.0",
"graphql": "14.7.0",
"graphql-tag": "^2.11.0",
"lodash": "4.17.21",
"react": "17.0.2",
"react-dom": "17.0.2",
"rxjs": "-",
Expand Down
26 changes: 25 additions & 1 deletion workspace.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,32 @@
"packageManager": "teambit.dependencies/yarn",
"policy": {
"dependencies": {
"@teambit/compilation.compiler-task": "1.0.2",
"@teambit/defender.eslint-linter": "1.0.7",
"@teambit/defender.jest-tester": "1.0.2",
"@teambit/defender.prettier-formatter": "1.0.2",
"@teambit/dependencies.modules.packages-excluder": "1.0.1",
"@teambit/graph.cleargraph": "^0.0.7",
"@teambit/react.ui.docs-app": "1.0.1",
"@teambit/toolbox.network.get-port": "1.0.0",
"@teambit/toolbox.performance.v8-cache": "0.0.27",
"@teambit/typescript.typescript-compiler": "2.0.6",
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.499",
"@teambit/webpack.modules.generate-style-loaders": "1.0.0",
"@teambit/webpack.modules.style-regexps": "1.0.0",
"@teambit/webpack.webpack-bundler": "1.0.1",
"@types/fs-extra": "~9.0.7",
"@types/lodash": "4.14.165",
"fs-extra": "9.1.0",
"html-loader": "~2.1.2",
"lodash": "4.17.21",
"@types/object-hash": "~2.1.0",
"object-hash": "~2.1.1",
"prettier": "2.3.2",
"react-dev-utils": "10.2.1"
"react-dev-utils": "10.2.1",
"remark-frontmatter": "~3.0.0",
"remark-html": "13.0.1",
"remark-prism": "~1.3.6"
},
"peerDependencies": {}
},
Expand Down

0 comments on commit a7b373f

Please sign in to comment.