2.0.48 • Published 5 months ago

property-wize-types v2.0.48

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

Using property-wize-types Project's Type Definitions

The property-wize-types project is a library for defining types for frontend and middleware projects. You can add new type files under the src/types folder of the property-wize-types project. After adding a new type file, run the npm run generate-index command to generate the index.ts file. Then, run npx tsc command to compile the project.

In the other two projects, dependencies to the property-wize-types project have been configured, and after compilation, you can use the newly added types in these two projects.

Steps

  1. Add New Type Definitions: Add the new type file to the src/types folder of the property-wize-types project.

  2. Generate index.ts File: Run the following command to generate the index.ts file:

npm run generate-index

  1. Compile the Project: Run the following command to compile the project:

npx tsc

  1. Use in Other Projects: Dependencies to the property-wize-types project have already been configured in the other two projects. You can directly import and use the newly added types.

Example

Suppose you have added a new type file named NewType.ts to the src/types folder. Follow these steps:

  1. Define the new type in the NewType.ts file.
  2. Run npm run generate-index to generate the index.ts file.
  3. Run npx tsc to compile the project.
  4. Import and use the NewType type in the other projects.
// Importing the newly added type in other projects
import { NewType } from 'property-wize-types';

Publish the property-wize-types Project manually

After adding new type definitions and compiling the project, you can publish the property-wize-types project to npm. Run the following command to publish the project:

./publish -v -p

This will update the version and publish the property-wize-types project to npm with the version specified in the package.json file.

Before you can do this, need to run npm login on the commandline window to login to npm. This will redirect to the webpage, where you can enter your username and password. After logging in, you can run the publish command to publish the project.

Publish the property-wize-types Project automatically

Run the following script to update the version only.

./publish -v

Once the changes is pushed or merged into dev branch. Github workflow will automatically publish the package.

2.0.29

7 months ago

2.0.37

6 months ago

2.0.38

6 months ago

2.0.35

6 months ago

2.0.36

6 months ago

2.0.33

7 months ago

2.0.34

6 months ago

2.0.31

7 months ago

2.0.32

7 months ago

2.0.30

7 months ago

2.0.39

6 months ago

2.0.48

5 months ago

2.0.46

5 months ago

2.0.44

6 months ago

2.0.45

5 months ago

2.0.42

6 months ago

2.0.43

6 months ago

2.0.40

6 months ago

2.0.41

6 months ago

2.0.19

7 months ago

2.0.17

8 months ago

2.0.18

8 months ago

2.0.26

7 months ago

2.0.27

7 months ago

2.0.24

7 months ago

2.0.25

7 months ago

2.0.22

7 months ago

2.0.23

7 months ago

2.0.20

7 months ago

2.0.21

7 months ago

2.0.15

8 months ago

2.0.16

8 months ago

2.0.13

8 months ago

2.0.14

8 months ago

2.0.11

8 months ago

2.0.12

8 months ago

2.0.7

8 months ago

2.0.9

8 months ago

2.0.8

8 months ago

2.0.10

8 months ago

2.0.3

8 months ago

2.0.2

8 months ago

2.0.5

8 months ago

2.0.4

8 months ago

2.0.6

8 months ago

2.0.1

8 months ago

2.0.0

8 months ago

1.3.69

10 months ago

1.4.11

9 months ago

1.4.12

9 months ago

1.4.15

9 months ago

1.4.14

9 months ago

1.4.16

9 months ago

1.4.6

9 months ago

1.4.5

9 months ago

1.4.4

9 months ago

1.4.3

9 months ago

1.4.2

9 months ago

1.4.1

9 months ago

1.3.90

9 months ago

1.4.0

9 months ago

1.3.93

9 months ago

1.3.94

9 months ago

1.3.91

9 months ago

1.3.92

9 months ago

1.3.97

9 months ago

1.3.98

9 months ago

1.3.95

9 months ago

1.3.96

9 months ago

1.3.99

9 months ago

1.3.71

10 months ago

1.3.72

10 months ago

1.3.70

10 months ago

1.3.75

10 months ago

1.3.76

10 months ago

1.3.73

10 months ago

1.3.74

10 months ago

1.3.79

10 months ago

1.3.77

10 months ago

1.3.78

10 months ago

1.3.82

10 months ago

1.3.83

10 months ago

1.3.80

10 months ago

1.3.81

10 months ago

1.3.86

10 months ago

1.4.9

9 months ago

1.3.87

10 months ago

1.4.8

9 months ago

1.3.84

10 months ago

1.4.7

9 months ago

1.3.85

10 months ago

1.3.88

10 months ago

1.3.89

9 months ago

1.3.50

10 months ago

1.3.53

10 months ago

1.3.54

10 months ago

1.3.51

10 months ago

1.3.52

10 months ago

1.3.57

10 months ago

1.3.58

10 months ago

1.3.55

10 months ago

1.3.56

10 months ago

1.3.59

10 months ago

1.3.60

10 months ago

1.3.61

10 months ago

1.3.64

10 months ago

1.3.65

10 months ago

1.3.62

10 months ago

1.3.63

10 months ago

1.3.68

10 months ago

1.3.66

10 months ago

1.3.67

10 months ago

1.3.35

1 year ago

1.3.36

1 year ago

1.3.33

1 year ago

1.3.34

1 year ago

1.3.39

1 year ago

1.3.37

1 year ago

1.3.38

1 year ago

1.3.42

1 year ago

1.3.43

1 year ago

1.3.40

1 year ago

1.3.41

1 year ago

1.3.46

1 year ago

1.3.47

12 months ago

1.3.44

1 year ago

1.3.45

1 year ago

1.3.48

10 months ago

1.3.49

10 months ago

1.3.32

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.3.24

1 year ago

1.3.25

1 year ago

1.3.23

1 year ago

1.3.28

1 year ago

1.3.29

1 year ago

1.3.26

1 year ago

1.3.27

1 year ago

1.3.13

1 year ago

1.3.14

1 year ago

1.3.17

1 year ago

1.3.18

1 year ago

1.3.15

1 year ago

1.3.16

1 year ago

1.3.19

1 year ago

1.3.20

1 year ago

1.3.21

1 year ago

1.3.22

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.10

1 year ago

1.3.11

1 year ago

1.3.12

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.8

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago