Skip to content

Latest commit

 

History

History
259 lines (255 loc) · 9.59 KB

File metadata and controls

259 lines (255 loc) · 9.59 KB

845 mkdir nrwl 846 cd nrwl 847 git clone https://github.com/dangviettuan/nx-publishable 848 cd 849 ls 850 cd nrwl 851 ls 852 cd git 853 ls 854 cd nrwl 855 ls 856 cd nx-publishable 857 ls 858 yarn install 859 lsnx build button-showcase 860 nx build button-showcase 861 vi ~/.zshrc 862 vi ~/.zshrc 863 npm config -l 864 git config -l 865 npm-cli-login 866 env 867 ~/.zshrc 868 sudo ~/.zshrc 869 ~ 870 cd ~ 871 ./zshrc 872 cat .zshrc 873 . ./zshrc 874 ls .zshrc 875 ls -l .zshrc 876 sudo chown -R $USER .zshrc 877 ls -l .zshrc 878 ./zshrc 879 .zshrc 880 vi .zshrc 881 . .zshrc 882 vi .zshrc 883 . .zshrc 884 .zshrc 885 zsh .zshrc 886 vi .zshrc 887 zsh .zshrc 888 grep NPM .zshrc 889 npm login 890 npm login 891 vi .zshrc 892 .zshrc 893 zsh .zshrc 894 npm uninstall -g npm-cli-login 895 npm login 896 vi .zshrc 897 cd git 898 ls 899 mkdir LIBS 900 cd lIBS 901 git clone https://github.com/ng-packagr/nx-packaged 902 git clone https://github.com/AsmisAlan/nx-lib-publishable 903 git clone https://github.com/dangviettuan/nx-publishable 904 cd .. 905 ls 906 cd libs 907 ls 908 cd nx-publishable 909 ls 910 yarn install 911 nx g @nrwl/workspace:lib shared-sass --publishable --dry-run 912 nx g @nrwl/workspace:lib shared-sass --buildable --publishable --dry-run 913 nx g @nrwl/angular:lib shared-sass --buildable --publishable --dry-run 914 nx g @nrwl/workspace:lib shared-sass --buildable --publishable --dry-run 915 ls 916 ls libs 917 nx g @nrwl/workspace:lib shared-sass --buildable --publishable 918 npm run build:libs 919 nx build shared-sass 920 npm install -D ng-packagr 921 npm run build:libs 922 nx run-many --all --target build 923 nx build button 924 history 925 nx g @nrwl/workspace:remove shared-sass --dry-run 926 nx migrate latest 927 yarn 928 nx migrate --run-migrations 929 nx migrate --run-migrations 930 nx run-many --all --target build 931 nx buiuld button-showcase 932 nx build button-showcase 933 cd ~ 934 mkdir lmig 935 cd lmig 936 npx create-nx-workspace@latest 937 nx g @nrwl/workspace:lib lmds-styles --buildable --publishable --dry-run 938 pwd 939 cd lmig 940 nx g @nrwl/workspace:lib lmds-styles --buildable --publishable --dry-run 941 nx g @nrwl/node:library lmds-style --publishable --importPath="@lmds/lmds-style" --tags="scope:public,type:util,target:all" --dry-run\n 942 nx g @nrwl/node:library lmds-style --publishable --importPath="@lmds/lmds-style" --tags="scope:public,type:util,target:all" --dry-run\n 943 nx run-many --all --target build 944 yarn install 945 nx run-many --all --target build 946 rm lock 947 yarn install 948 nx run-many --all --target build 949 nx migrate latest 950 nx run-many --all --target build 951 ls .brow* 952 nx run-many --all --target build 953 nx run-many --all --target build 954 node -v 955 nx report 956 npm run build 957 npx browserslist 958 npx browserslist 959 nx run-many --all --target build 960 nx run-many --all --target build 961 nx run-many --all --target build 962 nx run-many --all --target build 963 nx run-many --all --target build 964 nx migrate latest 965 npm i -g yarn\nyarn global add @nrwl/cli\nyarn global add npm-check\nyarn global add @ionic/cli\nyarn global add @nrwl/workspace\nyarn global add cordova\nyarn global add @nestjs/cli\nyarn global add @angular/cli\nyarn add @nrwl/cli -D 966 nx migrate latest 967 ng update 968 nx migrate latest 969 FORCE_NG_UPDATE=true ng update 970 nx migrate latest 971 nx migrate latest 972 cd ~/lmig 973 cd lmig 974 nx migrate latest 975 nx run-many --all --target build 976 nx run-many --all --target build 977 nx run-many --all --target build 978 ng update 979 FORCE_NG_UPDATE=true ng update 980 mv workspace.json angular.json 981 ls *.json 982 mv angular.json workspace.json 983 FORCE_NG_UPDATE=true ng update 984 npm-check -u 985 nx migrate latest 986 npm-check -u 987 rm -rf node_modules 988 rm lock 989 yarn install 990 nx run-many --all --target build 991 nx g @nrwl/node:library lmds-style --publishable --importPath="@lmds/lmds-style" --tags="scope:public,type:util,target:all" --dry-run\n 992 nx g @nrwl/node:library lmds-style --publishable --importPath="@lmds/lmds-style" --tags="scope:public,type:util,target:all" 993 nx buuild lmds-style 994 nx build lmds-style 995 nx build lmds-style 996 npm login 997 npm login 998 cd .. 999 cd ~ 1000 ls 1001 pwd 1002 ls 1003 cd .. 1004 cd .. 1005 ls 1006 ls 2022 1007 cd 2022 1008 cd january 1009 ls 1010 ls 1011 yarn install 1012 nx serve 1013 history 100 1014 history 400 > hist.txt 1015 vi hist.txt 1016 history | grep :lib 1017 history 800 | grep lib 1018 nx g @nrwl/node:library msc-style --publishable --importPath="@msc/msc-style" --tags="scope:public,type:util,target:all" 1019 nx g @nrwl/workspace:remove msc-style --dry-run 1020 nx g @nrwl/workspace:remove msc-style 1021 nx g @nrwl/node:library msc-sass --publishable --importPath="@msc/msc-sass" --tags="scope:public,type:util,target:all" 1022 history 800 | grep lib 1023 nx g @nrwl/workspace:remove msc-sass 1024 history 800 | grep lib 1025 nx g @nrwl/angular:library msc-sass --publishable --importPath="@msc/msc-sass" --tags="scope:public,type:ui,target:all" 1026 nx g @nrwl/workspace:remove msc-sass 1027 nx g @nrwl/workspace:remove shared-sass 1028 nx g @nrwl/workspace:remove api-interfaces 1029 nx g @nrwl/angular:library shared-sass --publishable --importPath="@january/shared-sass" --tags="scope:public,type:ui,target:all" 1030 nx g @nrwl/angular:library shared-widgets --publishable --importPath="@january/shared-widgets" --tags="scope:public,type:ui,target:all" 1031 nx migrate@latest 1032 nx migrate latest 1033 yarn 1034 nx --version 1035 cd .. 1036 cd .. 1037 mkdir SLS 1038 cd SLS 1039 cd .. 1040 rmdir SLS 1041 mkdir sls 1042 cd sls 1043 npx create-nx-workspace@latest 1044 nx g @nrwl/angular:library sls-shared-widgets --publishable --importPath="@sls/sls-shared-widgets" --tags="scope:public,type:ui,target:all" 1045 pwd 1046 cd sls 1047 nx g @nrwl/angular:library sls-shared-widgets --publishable --importPath="@sls/sls-shared-widgets" --tags="scope:public,type:ui,target:all" --dry-run 1048 nx g @nrwl/angular:library sls-shared-widgets --publishable --importPath="@sls/sls-shared-widgets" --tags="scope:public,type:ui,target:all" --dry-run 1049 nx g @nrwl/angular:library sls-shared-widgets --publishable --importPath="@sls/sls-shared-widgets" --tags="scope:public,type:ui,target:all" 1050 nx g @nrwl/angular:library sls-shared-sass --publishable --importPath="@sls/sls-shared-sass" --tags="scope:public,type:ui,target:all" 1051 cd .. 1052 rm -rf sls 1053 history 1054 npx create-nx-workspace@latest 1055 cd sls 1056 nx g @nrwl/angular:library sls-shared-sass --publishable --importPath="@sls/sls-shared-sass" --tags="scope:public,type:ui,target:all" 1057 nx g @nrwl/angular:library sls-shared-widgets --publishable --importPath="@sls/sls-shared-widgets" --tags="scope:public,type:ui,target:all" 1058 history | greop all 1059 history | grep all 1060 history | grep uild 1061 nx run-many --all --target build 1062 nx migrate latest 1063 nx g @nrwl/angular:library sls-shared-feature --publishable --importPath="@sls/sls-shared-feature" --tags="scope:public,type:ui,target:all" 1064 nx generate @nrwl/angular:component widget/button --project=sls-shared-widgets --dry-run 1065 nx generate @nrwl/angular:component widget/button --project=sls-shared-widgets 1066 nx generate @nrwl/angular:component widget/card --project=sls-shared-widgets 1067 nx generate @nrwl/angular:component widget/heading --project=sls-shared-widgets 1068 nx generate @nrwl/angular:component widget/nav --project=sls-shared-widgets 1069 nx generate @nrwl/angular:component widget/checkbox --project=sls-shared-widgets 1070 nx generate @nrwl/angular:component widget/radio --project=sls-shared-widgets 1071 nx generate @nrwl/angular:component widget/icon --project=sls-shared-widgets 1072 nx generate @nrwl/angular:component login --project=sls-shared-feature --dry-run 1073 nx generate @nrwl/angular:component feature/login --project=sls-shared-feature --dry-run 1074 nx generate @nrwl/angular:component feature/login --project=sls-shared-feature 1075 nx generate @nrwl/angular:component feature/home --project=sls-shared-feature 1076 nx generate @nrwl/angular:component feature/dash-board --project=sls-shared-feature 1077 nx generate @nrwl/angular:component feature/about --project=sls-shared-feature 1078 nx generate @nrwl/angular:component feature/chat --project=sls-shared-feature 1079 nx generate @nrwl/angular:component feature/register --project=sls-shared-feature 1080 nx generate @nrwl/angular:component feature/video-chat --project=sls-shared-feature 1081 nx generate @nrwl/angular:component feature/feature-list --project=sls-shared-feature 1082 nx generate @nrwl/angular:component feature/user --project=sls-shared-feature 1083 nx generate @nrwl/angular:component feature/admin --project=sls-shared-feature 1084 nx generate @nrwl/angular:component feature/setting --project=sls-shared-feature 1085 nx run-many --all --target build 1086 nx run-many --all --target build 1087 nx serve demo 1088 nx generate @nrwl/angular:component widget/alert --project=sls-shared-widgets 1089 nx run-many --all --target build 1090 nx run-many --all --target build 1091 nx buuild sls-shared-widgets 1092 nx build sls-shared-widgets 1093 nx build sls-shared-widgets 1094 nx build sls-shared-widgets 1095 nx build sls-shared-widgets 1096 nx build sls-shared-widgets 1097 histopry 50

https://nx.dev/structure/buildable-and-publishable-libraries

buildable option is only for non-optimized libs not to be published it can safely be omitted