Skip to content

Commit

Permalink
Revert "feat(@docmaps/etl,docmaps-sdk): use preconstruct for producti…
Browse files Browse the repository at this point in the history
…on building (#59)"

This reverts commit 9d9ae42.
  • Loading branch information
ships committed May 17, 2023
1 parent 9d9ae42 commit ff55df8
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 1,841 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.

9 changes: 0 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@
"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/*"
]
}
}
5 changes: 2 additions & 3 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 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
7 changes: 3 additions & 4 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 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 ff55df8

Please sign in to comment.