Skip to content

Commit

Permalink
Move to src/packages/
Browse files Browse the repository at this point in the history
  • Loading branch information
nicfv committed Apr 27, 2024
1 parent d818e4b commit 83d1ff7
Show file tree
Hide file tree
Showing 87 changed files with 74 additions and 20 deletions.
1 change: 1 addition & 0 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is the index file for all packages. It is still a work in progress.
9 changes: 3 additions & 6 deletions package.json → src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
"version": "1.0.0",
"description": "nicfv's public NPM packages in one repository",
"scripts": {
"docs": "npm run build --workspaces --if-present",
"test": "npm test --workspaces",
"docs": "typedoc",
"clean": "rm -rf node_modules package-lock.json docs && npm run clean --workspaces --if-present"
},
"workspaces": [
"datafit",
"dimensional",
"exray",
"smath",
"viridis"
"packages/*"
],
"devDependencies": {
"typedoc": "0.25.13"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion datafit/package.json → src/packages/datafit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"types"
],
"scripts": {
"build": "npm run postpack && typedoc --options ../typedoc.json src && node dist/test.js && rm dist/test.js types/test.d.ts",
"build": "npm run postpack && typedoc && node dist/test.js && rm dist/test.js types/test.d.ts",
"test": "tsc -v && tsc --noEmit",
"clean": "rm -rf node_modules package-lock.json && npm run postpack",
"prepack": "npm run build",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/packages/datafit/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"../typedoc.json"
],
"entryPoints": [
"src/index.ts",
],
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"types"
],
"scripts": {
"build": "npm run postpack && typedoc --options ../typedoc.json src && node dist/test.js && rm dist/test.js types/test.d.ts",
"build": "npm run postpack && typedoc && node dist/test.js && rm dist/test.js types/test.d.ts",
"test": "tsc -v && tsc --noEmit",
"clean": "rm -rf node_modules package-lock.json && npm run postpack",
"prepack": "npm run build",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/packages/dimensional/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"../typedoc.json"
],
"entryPoints": [
"src/index.ts",
],
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion exray/package.json → src/packages/exray/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"types"
],
"scripts": {
"build": "npm run postpack && typedoc --options ../typedoc.json src && node dist/test.js && rm dist/test.js types/test.d.ts",
"build": "npm run postpack && typedoc && node dist/test.js && rm dist/test.js types/test.d.ts",
"test": "tsc -v && tsc --noEmit",
"clean": "rm -rf node_modules package-lock.json && npm run postpack",
"prepack": "npm run build",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/packages/exray/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"../typedoc.json"
],
"entryPoints": [
"src/index.ts",
],
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion smath/package.json → src/packages/smath/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"types"
],
"scripts": {
"build": "npm run postpack && typedoc --options ../typedoc.json src && node dist/test.js && rm dist/test.js types/test.d.ts",
"build": "npm run postpack && typedoc && node dist/test.js && rm dist/test.js types/test.d.ts",
"test": "tsc -v && tsc --noEmit",
"clean": "rm -rf node_modules package-lock.json && npm run postpack",
"prepack": "npm run build",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/packages/smath/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"../typedoc.json"
],
"entryPoints": [
"src/index.ts",
],
}
14 changes: 14 additions & 0 deletions src/packages/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"disableSources": true,
"emit": "both",
// "excludeExternals": true,
// "excludePrivate": true,
// "excludeProtected": true,
// "hideGenerator": true,
"includeVersion": true,
// "treatValidationWarningsAsErrors": true,
// "entryPoints": [
// "src/index.ts",
// ],
// "logLevel": "Verbose",
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/packages/viridis/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"../typedoc.json"
],
"entryPoints": [
"src/index.ts",
],
}
12 changes: 12 additions & 0 deletions src/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"entryPointStrategy": "packages",
"entryPoints": [
"packages/*",
],
"excludeExternals": true,
"excludePrivate": true,
"excludeProtected": true,
"hideGenerator": true,
"name": "npm.nicfv.com",
// "treatValidationWarningsAsErrors": true,
}
10 changes: 0 additions & 10 deletions typedoc.json

This file was deleted.

0 comments on commit 83d1ff7

Please sign in to comment.