Commit 9ab017a
authored
Create version 1.0.1 for public release (#3)
Context:
The initial 1.0.0 release revealed some problems in the build process:
- The `dist` directory included two copies of the source code; one
directly inside `dist/` and the other in `dist/src`.
- The `dist` directory mistakenly included the `test` directory.
- When installed as a package, the code in `node_modules` could not be
navigated using TypeScript-enabled editor features because there was
no `tsconfig.json` in the root directory.
Changes:
The installed package is now structured as follows:
- `dist/`: Contains a compiled JavaScript version of the package's `src`
directory, along with type definitions and mappings.
- `src/`: Contains the original TypeScript source code.
- `LICENSE.md`
- `package.json`
- `README.md`
- `tsconfig.build.json`: Included to help document the built package.
- `tsconfig.json`: Included so that editors can navigate the TypeScript
source code, since most imports use path aliases.
This new structure solves the issues outlined in the Context section.1 parent 0a0eac5 commit 9ab017a
File tree
6 files changed
+11
-12
lines changed6 files changed
+11
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
58 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
0 commit comments