You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/plugin-workspace-guide.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,15 +126,15 @@ At the prompt, enter the name of the package to add an `angular` folder to it wi
126
126
127
127
## Migrating your plugin workspace
128
128
129
-
One of the additional nice benefits of using plugin workspaces is updating them is a made simple and efficient through Nx tooling. The TSC maintains the plugin workspace migrations so whenever one is available you can update your plugin workspace (which will often contain auto version bumps of supporting packages to latest NativeScript versions, configuration improvements and other welcome additions to help you create and maintain great NativeScript plugins):
129
+
One of the nice benefits of using our plugin workspaces is updating them is made simple and efficient through Nx tooling. The TSC maintains plugin workspace migrations so whenever one is available you can update your plugin workspace with just a few simple commands (which will often provide dependency version bumps of supporting packages to latest NativeScript versions, configuration improvements, as well as other welcome additions to help you create and maintain NativeScript plugins):
130
130
131
131
```cli
132
132
nx migrate @nativescript/plugin-tools
133
133
```
134
134
135
135
That will fetch `latest` version of `plugin-tools`, analyze the package to see if any migrations are available and then print a message if there are migrations to run.
136
136
137
-
Sometimes `@nativescript/plugin-tools` updates will not contain any migrations so you won't always see migrations available but if it states they are available you can run them as the message states:
137
+
Sometimes `@nativescript/plugin-tools` updates won't need any migrations so you won't always see migrations available but if it states they are available you can run them as the message states:
138
138
139
139
```cli
140
140
// install latest updates
@@ -144,9 +144,9 @@ npm install
144
144
nx migrate --run-migrations=migrations.json
145
145
```
146
146
147
-
Your plugin workspace will now be up to date regarding various configurations, settings and core dependencies. Depending on other customizations you made there may be other subtle things to adjust on your own.
147
+
Your plugin workspace will now be up to date regarding various configurations, settings and core dependencies. Depending on other customizations you made there may be other things to adjust on your own.
148
148
149
-
After running migrations you can always _delete_ the `migrations.json`folder as it will no longer be used. A `migrations.json` file is always generated if migrations are available to run and after applied you no longer need that file.
149
+
After running migrations you can always _delete_ the `migrations.json`file as it will no longer be used. A `migrations.json` file is always generated if migrations are available to run. After applied, you no longer need the file.
0 commit comments