chore(dev): Changes for v3
This commit is contained in:
parent
80880b7b4f
commit
d39c92828a
17 changed files with 275 additions and 2610 deletions
|
@ -116,13 +116,9 @@ yarn new plugin
|
|||
With Node.js installed, all you need to do to setup the stand-alone development environment is run this command:
|
||||
|
||||
```bash
|
||||
npx @freesewing/new-design@next
|
||||
npx @freesewing/new-design
|
||||
```
|
||||
|
||||
<Fixme compact>
|
||||
Remove `@next` tag when v3 is released
|
||||
</Fixme>
|
||||
|
||||
After you've answered [some questions](#questions), it will take a while to set
|
||||
everything up. When it's done, you will have a new folder with the development
|
||||
environment inside.
|
||||
|
|
|
@ -6,10 +6,10 @@ order: 20
|
|||
Now we will use `nvm` to install Node.js. Run the following command:
|
||||
|
||||
```bash
|
||||
nvm install lts/gallium
|
||||
nvm install lts/hydrogen
|
||||
```
|
||||
|
||||
This will install the so-called LTS version of Node.js 16 on your system.
|
||||
This will install the so-called LTS version of Node.js 18 on your system.
|
||||
|
||||
LTS versions -- short for Long Term Support -- are good Node.js versions
|
||||
to use because they are stable and supported for a long time.
|
||||
|
|
|
@ -116,13 +116,9 @@ yarn new plugin
|
|||
With Node.js installed, all you need to do to setup the stand-alone development environment is run this command:
|
||||
|
||||
```bash
|
||||
npx @freesewing/new-design@next
|
||||
npx @freesewing/new-design
|
||||
```
|
||||
|
||||
<Fixme compact>
|
||||
Remove `@next` tag when v3 is releasedi
|
||||
</Fixme>
|
||||
|
||||
After you've answered [some questions](#questions), it will take a while to set
|
||||
everything up. When it's done, you will have a new folder with the development
|
||||
environment inside.
|
||||
|
|
|
@ -6,10 +6,10 @@ order: 20
|
|||
Now we will use `nvm` to install Node.js. Run the following command:
|
||||
|
||||
```bash
|
||||
nvm install lts/gallium
|
||||
nvm install lts/hydrogen
|
||||
```
|
||||
|
||||
This will install the so-called LTS version of Node.js 16 on your system.
|
||||
This will install the so-called LTS version of Node.js 18 on your system.
|
||||
|
||||
LTS versions -- short for Long Term Support -- are good Node.js versions
|
||||
to use because they are stable and supported for a long time.
|
||||
|
|
|
@ -57,7 +57,7 @@ the screen or opening a new terminal.
|
|||
|
||||
Now that you have NVM installed, you can install Node.js. The latest version can be
|
||||
installed using `nvm install default`. You can also install a specific version
|
||||
using `nvm install v16.17.0`. For the purposes of debugging it can be useful to
|
||||
using `nvm install v18.17.0`. For the purposes of debugging it can be useful to
|
||||
have the same version of Node.js installed as the main project uses, which you can
|
||||
then activate using `nvm use <version>`. You can determine what version the
|
||||
FreeSewing project uses by checking
|
||||
|
@ -65,7 +65,7 @@ FreeSewing project uses by checking
|
|||
|
||||
<Warning> At the time this guide was written the latest version of Node.js/npm has
|
||||
a bug in the dependency resolution process which causes the freesewing project
|
||||
to fail to build. Use the latest LTS version (currently 16.17.0) or the specific
|
||||
to fail to build. Use the latest LTS version (currently 18.17.0) or the specific
|
||||
version used by the main project to avoid this issue. </Warning>
|
||||
|
||||
Node.js comes with the Node Package Manager (npm) by default which can be used to
|
||||
|
@ -139,7 +139,7 @@ rest of this process.
|
|||
Open a Powershell terminal or command prompt. Run `nvm ls available` to show
|
||||
versions that can be installed. Choose the appropriate version (you should use
|
||||
the same version as the freesewing project or latest LTS version) then run `nvm
|
||||
install 16.17.0` and `nvm use 16.17.0` (where `16.17.0` is the full version
|
||||
install 18.17.0` and `nvm use 18.17.0` (where `18.17.0` is the full version
|
||||
string of the version you wish to use) to activate the newly installed version.
|
||||
You will receive a prompt for elevated permissions and will need to accept it in
|
||||
order to activate the new version of Node.js.
|
||||
|
@ -147,7 +147,7 @@ order to activate the new version of Node.js.
|
|||
<Warning>
|
||||
At the time this guide was written the latest version of Node.js/npm has
|
||||
a bug in the dependency resolution process which causes the freesewing project
|
||||
to fail to build. Use the latest LTS version (currently 16.17.0) or the specific
|
||||
to fail to build. Use the latest LTS version (currently 18.17.0) or the specific
|
||||
version used by the main project to avoid this issue.
|
||||
</Warning>
|
||||
|
||||
|
|
|
@ -18,11 +18,9 @@ the JavaScript ecosystem, I can summarize that entire section in this one-liner
|
|||
that sets up the FreeSewing development environment on your system:
|
||||
|
||||
```sh
|
||||
npx @freesewing/new-design@next
|
||||
npx @freesewing/new-design
|
||||
```
|
||||
|
||||
<Fixme compact>Remove `@next` suffex once v3 is published</Fixme>
|
||||
|
||||
## Part 2: Parametric design
|
||||
|
||||
In [Part 2](/tutorials/pattern-design/part2) I will show you how to design a
|
||||
|
|
|
@ -25,11 +25,9 @@ If you have NodeJS on your system, getting that development environment up
|
|||
and running takes only a single command:
|
||||
|
||||
```sh
|
||||
npx @freesewing/new-design@next
|
||||
npx @freesewing/new-design
|
||||
```
|
||||
|
||||
<Fixme compact>Remove `@next` suffex once v3 is published</Fixme>
|
||||
|
||||
If you don't have NodeJS on your system --- or if you're not sure what
|
||||
NodeJS is to begin with --- read on to learn how to install it.
|
||||
|
||||
|
|
|
@ -8,9 +8,8 @@ FreeSewing provides a development environment that visualizes your design for yo
|
|||
To set it up, I will open a terminal and enter the following command:
|
||||
|
||||
```sh
|
||||
npx @freesewing/new-design@next
|
||||
npx @freesewing/new-design
|
||||
```
|
||||
<Fixme compact>Remove `@next` suffix once v3 is in production</Fixme>
|
||||
|
||||
It will ask if it is ok to install the development environment in a new folder
|
||||
named `freesewing`. You can accept the default, or pick a different folder name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue