Skip to content

Commit

Permalink
feat(docmaps-sdk, @docmaps/etl): Revert preconstruct (#61)
Browse files Browse the repository at this point in the history
Revert #59: 
This reverts commit 9d9ae42

* add manypkg
  • Loading branch information
ships authored May 17, 2023
1 parent 9d9ae42 commit f31747c
Show file tree
Hide file tree
Showing 9 changed files with 705 additions and 2,629 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm preconstruct build
npx multi-semantic-release
run: npx multi-semantic-release
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ cross-package behavior, such as release automation.
**Releases and tags:** Github Actions uses [multi-semantic-release](https://github.com/dhoulb/multi-semantic-release) to automatically generate semvers based on commit history for each package in the repository. Multiple tags
are generated for a single commit if it updates multiple packages.

The packages are themselves distributed each from its own `dist/` folder, but
that folder is built by `preconstruct build` run in the workspace root at release time.

## Persistent URLs

Documentation: https://w3id.org/docmaps
Expand Down
6 changes: 0 additions & 6 deletions babel.config.json

This file was deleted.

14 changes: 2 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,13 @@
"author": "early evening @ships",
"license": "MTI",
"dependencies": {
"@manypkg/cli": "^0.20.0",
"@rdfjs/formats-common": "^3.1.0",
"@rdfjs/parser-jsonld": "^2.1.0",
"@rdfjs/parser-n3": "^2.0.1",
"@rdfjs/serializer-turtle": "^1.1.1",
"multi-semantic-release": "^3.0.2",
"rdf-ext": "^2.2.0",
"rdf-validate-shacl": "^0.4.5"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/preset-env": "^7.21.5",
"@babel/preset-typescript": "^7.21.5",
"@preconstruct/cli": "^2.6.4",
"multi-semantic-release": "^3.0.2"
},
"preconstruct": {
"packages": [
"packages/*"
]
}
}
7 changes: 3 additions & 4 deletions packages/ts-etl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"version": "0.1.2",
"description": "ETL tool for Docmaps",
"type": "module",
"main": "dist/docmaps-etl.cjs.js",
"module": "dist/docmaps-etl.esm.js",
"main": "dist/index.js",
"scripts": {
"test": "ava",
"clean": "rm -rf dist/",
Expand All @@ -13,7 +12,7 @@
"start": "node --loader=ts-node/esm --experimental-specifier-resolution=node --nolazy -r ts-node/register/transpile-only src/cli.ts",
"lint": "npx eslint .",
"lint:fix": "npx eslint --fix .",
"prepublishOnly": "ls -la dist/docmaps-etl.cjs.js",
"prepare": "tsc --declaration",
"build": "tsc"
},
"bin": {
Expand All @@ -32,7 +31,7 @@
"@commander-js/extra-typings": "^10.0.3",
"commander": "^10.0.1",
"crossref-openapi-client-ts": "^1.3.0",
"docmaps-sdk": "^0.5.1",
"docmaps-sdk": "^0.0.0",
"fp-ts": "^2.14.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ts-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ For Code of Conduct, see the repository-wide [CODE_OF_CONDUCT.md](/CODE_OF_CONDU

For info about local development of this repository, see [CONTRIBUTING.md](CONTRIBUTING.md).

## Builds & Releases
## Releases

Packages are hosted on NPM and automated by preconstruct and semantic-release (see repository root for more info).
Packages are hosted on NPM and automated by senmantic-release (see repository root for more info).

## Current next steps

Expand Down
19 changes: 9 additions & 10 deletions packages/ts-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
"homepage": "https://github.com/Docmaps-Project/docmaps/tree/main/packages/ts-sdk",
"description": "",
"type": "module",
"main": "dist/docmaps-sdk.cjs.js",
"module": "dist/docmaps-sdk.esm.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "ava",
"debug": "node --loader=ts-node/esm --experimental-specifier-resolution=node --nolazy -r ts-node/register/transpile-only --inspect-brk src/debuggable.ts",
"lint": "npx eslint .",
"lint:fix": "npx eslint --fix .",
"clean": "rm -rf dist/ node_modules/",
"clean": "rm -rf dist/",
"build": "tsc",
"prepublishOnly": "ls -la dist/docmaps-sdk.cjs.js"
"prepare": "tsc --declaration"
},
"keywords": [],
"author": "",
Expand All @@ -28,7 +27,7 @@
],
"dependencies": {
"@rdfjs/serializer-jsonld-ext": "~4.0.0",
"fp-ts": "^2.13.1",
"fp-ts": "^2.14.0",
"io-ts": "^2.2.20",
"io-ts-types": "^0.5.19",
"monocle-ts": "^2.3.13",
Expand All @@ -42,19 +41,19 @@
"@tsconfig/node-lts-strictest-esm": "^18.12.1",
"@types/jsonld": "^1.5.8",
"@types/n3": "^1.10.4",
"@types/node": "*",
"@types/node": "^18.16.2",
"@types/rdf-ext": "^2.0.0",
"@types/rdfjs__data-model": "^2.0.1",
"@types/rdfjs__parser-n3": "^2.0.0",
"@types/rdfjs__serializer-jsonld-ext": "^2.0.5",
"@types/readable-stream": "^2.3.15",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"ava": "^5.2.0",
"eslint": "^8.36.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.6",
"prettier": "^2.8.8",
"rdf-ext": "^2.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
Expand Down
1 change: 0 additions & 1 deletion packages/ts-sdk/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "@tsconfig/node-lts-strictest-esm/tsconfig.json",
"compilerOptions": {
"module": "esnext",
"isolatedModules": true,
"target": "ES2020",
"esModuleInterop": true,
"moduleResolution": "node",
Expand Down
Loading

0 comments on commit f31747c

Please sign in to comment.