Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 #25

Merged
merged 44 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
9416cdd
Updated to v2.0.0.
Jul 3, 2024
803efec
Deleted export files.
Jul 3, 2024
0230630
Added CDN links.
Jul 3, 2024
e32eb10
Added build instructions and packages.
Jul 3, 2024
d02bc24
Added configuration files for tsup and tsc, and updated packages, and…
Jul 3, 2024
59ee23c
Moved old JS code to temp folder and added constants.ts.
Jul 3, 2024
d59bc63
Added core ts file and ran first build.
Jul 3, 2024
1a97031
Ignore fix.
Jul 3, 2024
5f96b13
NuGet and NPM packages now only contain the right files.
Jul 4, 2024
a8607f7
Added intializer.
Jul 4, 2024
4bfb3c7
Added first type and file structure.
Jul 4, 2024
91effe1
Added more types.
Jul 4, 2024
aad1aaa
Added private functions.
Jul 4, 2024
3cd0054
More private methods.
Jul 4, 2024
deac627
Added private binding option functions.
Jul 4, 2024
0197b70
Added variables.
Jul 4, 2024
ebfd614
Added all private functions and upgraded.
Jul 4, 2024
5b5ef39
Added APIs and support functions.
Jul 4, 2024
1cddddb
Fix missing initializer.
Jul 4, 2024
2dc6370
Added missing API code.
Jul 4, 2024
fb08481
Moved to lambdas.
Jul 4, 2024
145549e
Moved to the new code method.
Jul 4, 2024
12bd029
Removed code that was needed, and added more types.
Jul 4, 2024
87c2705
Removed dead file.
Jul 4, 2024
75a7e91
Validation functions are now in their own file.
Jul 4, 2024
848d15d
Data functions moved into their own file.
Jul 4, 2024
532bc0f
Moved dom element handling functions into their own file.
Jul 4, 2024
517848d
More types.
Jul 4, 2024
b8730ba
Strict clean ups.
Jul 4, 2024
450ccd2
Strict clean ups.
Jul 4, 2024
708420e
README updates.
Jul 4, 2024
53b930d
Package updates.
Jul 4, 2024
e16024e
Keyword updates.
Jul 4, 2024
aff365c
Updates and improvements.
Jul 4, 2024
ed744b1
Removed lots of warnings.
Jul 4, 2024
e54359c
Removed more warnings.
Jul 4, 2024
e112e1f
Removed final warnings.
Jul 4, 2024
c61333c
Strict mode is now always on.
Jul 4, 2024
d3e1ea7
Minor comment updates.
Jul 4, 2024
39ed5cb
Removed source testing files (no longer needed).
Jul 4, 2024
4790512
Improved testing files.
Jul 4, 2024
f400643
Removed more strict warnings.
Jul 5, 2024
3f9a86f
Added comments.
Jul 5, 2024
1f84dc2
Removed deprecated methods.
Jul 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/.vs
/.vscode
.DS_Store
*.nupkg
*.nupkg
/build
/node_modules
19 changes: 19 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/.github
/.vscode
/test
/build
CODE_OF_CONDUCT.md
CONTRIBUTING.md
journey.js.nuspec
PACK.sh
PUBLISH.sh
README_NUGET.md
SECURITY.md
SERVE.sh
package-lock.json
tsconfig.json
tsup.build.config.ts
tsup.build.esm.config.ts
tsup.build.min.config.ts
BUILD_INSTRUCTIONS.md
*.nupkg
83 changes: 83 additions & 0 deletions BUILD_INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Building Journey.js v2.0.0

Before getting started with Journey.js, please read through the following instructions:


## Step 1: Install Packages:

Install the packages using the following NPM commands:

### 1. Install TypeScript:

```markdown
npm install -g typescript
```

### 2. Install tsup:

```markdown
npm i tsup -D
```

### 3. Install terser:

```markdown
npm install terser -D
```

### 4. Install swc/core (if ES5 is required):

```markdown
npm install @swc/core -D
```


## Step 2: Build Project:

### 1. Full Build:

To build the TypeScript, run the following command:

```markdown
npm run build-typescript
```

To build the SASS, run the following command:

```markdown
npm run build-sass
```

To build the everything, run the following command:

```markdown
npm run build
```

### 2. Minimized Build:

To build the TypeScript, run the following command:

```markdown
npm run build-minimized-typescript
```

To build the SASS, run the following command:

```markdown
npm run build-minimized-sass
```

To build the everything, run the following command:

```markdown
npm run build-minimized
```

### 3. ESM Build:

To build the TypeScript, run the following command:

```markdown
npm run build-typescript-esm
```
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
Journey.js

[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Journey.js%2C%20a%20free%20JavaScript%journey%builder&url=https://github.com/williamtroup/Journey.js&hashtags=javascript,html,journey,guide)
[![npm](https://img.shields.io/badge/npmjs-v1.7.2-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v1.7.2-purple)](https://www.nuget.org/packages/jJourney.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.0.0-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.0-purple)](https://www.nuget.org/packages/jJourney.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Journey.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Journey.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/)
</h1>

> <p align="center">🚶 A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps!</p>
> <p align="center">v1.7.2</p>
> <p align="center">v2.0.0</p>
<br />

![Journey.js](docs/images/main.png)
Expand All @@ -21,7 +21,7 @@ Journey.js
<h1>What features does Journey.js have?</h1>

- Zero-dependencies and extremely lightweight!
- Exportable for use in other frameworks!
- Written in TypeScript, allowing greater support for React, Angular, and other libraries!
- Full API available via public functions.
- Fully styled in CSS/SASS and compatible with the Bootstrap library.
- Full CSS theme support (using :root variables, with a default dark-mode theme).
Expand Down Expand Up @@ -125,6 +125,13 @@ npm install jjourney.js
```

Or, you can download the latest zipped up version [here](https://www.william-troup.com/journey-js/download.html).

Or, you can also use the following CDN links:

```markdown
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.min.js
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.js.min.css
```
<br>
<br>

Expand Down
15 changes: 11 additions & 4 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Journey.js v1.7.2
# Journey.js v2.0.0

[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Journey.js%2C%20a%20free%20JavaScript%journey%builder&url=https://github.com/williamtroup/Journey.js&hashtags=javascript,html,journey,guide)
[![npm](https://img.shields.io/badge/npmjs-v1.7.2-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v1.7.2-purple)](https://www.nuget.org/packages/jJourney.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.0.0-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.0-purple)](https://www.nuget.org/packages/jJourney.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Journey.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Journey.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/)
Expand All @@ -13,7 +13,7 @@
## What features does Journey.js have?

- Zero-dependencies and extremely lightweight!
- Exportable for use in other frameworks!
- Written in TypeScript, allowing greater support for React, Angular, and other libraries!
- Full API available via public functions.
- Fully styled in CSS/SASS and compatible with the Bootstrap library.
- Full CSS theme support (using :root variables, with a default dark-mode theme).
Expand Down Expand Up @@ -110,6 +110,13 @@ npm install jjourney.js

Or, you can download the latest zipped up version [here](https://www.william-troup.com/journey-js/download.html).

Or, you can also use the following CDN links:

```markdown
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.min.js
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.js.min.css
```


## How do I get started?

Expand Down
2 changes: 2 additions & 0 deletions dist/journey.d.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

export { }
2 changes: 2 additions & 0 deletions dist/journey.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

export { }
Loading