Skip to content

Commit

Permalink
cleanup build pipeline (#20)
Browse files Browse the repository at this point in the history
* cleanup build pipeline

* fixes
  • Loading branch information
birkskyum authored Feb 23, 2023
1 parent 02de5f9 commit 2122263
Show file tree
Hide file tree
Showing 11 changed files with 158 additions and 202 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-style-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ jobs:
- name: Build style spec
run: |
npm run build-style-spec
npm run generate-style-spec
npm run generate-typings
npm run build
npm run compile
npm run build-gl-style-format
npm run build-gl-style-migrate
npm run build-gl-style-validate
- name: Build Release Notes
id: release_notes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ jobs:
- run: npm ci
- run: npm run generate-style-spec
- run: npm run generate-typings
- run: npm run build-style-spec
- run: npm run build
- run: npm run jest-ci -- --selectProjects build
if: success() || failure()
43 changes: 38 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@maplibre/maplibre-gl-style-spec",
"description": "a specification for maplibre gl styles",
"version": "18.0.1-pre.13",
"version": "18.0.1-pre.14",
"author": "MapLibre",
"keywords": [
"mapbox",
Expand All @@ -17,11 +17,7 @@
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build-style-spec": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.style-spec.ts",
"build-gl-style-format": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.gl-style-format.ts",
"build-gl-style-migrate": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.gl-style-migrate.ts",
"build-gl-style-validate": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.gl-style-validate.ts",
"build": "npm run build-style-spec && npm run build-gl-style-format && npm run build-gl-style-migrate && npm run build-gl-style-validate",
"build": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.ts",
"generate-style-spec": "ts-node build/generate-style-spec.ts",
"generate-typings": "ts-node build/generate-typings.ts",
"test-build": "jest --selectProjects=build",
Expand All @@ -38,9 +34,9 @@
"url": "[email protected]:maplibre/maplibre-gl-style-spec.git"
},
"bin": {
"gl-style-migrate": "dist/gl-style-migrate.js",
"gl-style-validate": "dist/gl-style-validate.js",
"gl-style-format": "dist/gl-style-format.js"
"gl-style-migrate": "dist/gl-style-migrate.mjs",
"gl-style-validate": "dist/gl-style-validate.mjs",
"gl-style-format": "dist/gl-style-format.mjs"
},
"dependencies": {
"@mapbox/jsonlint-lines-primitives": "~2.0.2",
Expand Down Expand Up @@ -80,6 +76,7 @@
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.3.1",
"rollup": "^3.15.0",
"rollup-plugin-executable": "^1.6.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"semver": "^7.3.8",
"ts-jest": "^29.0.5",
Expand Down
44 changes: 0 additions & 44 deletions rollup.config.gl-style-format.ts

This file was deleted.

44 changes: 0 additions & 44 deletions rollup.config.gl-style-migrate.ts

This file was deleted.

44 changes: 0 additions & 44 deletions rollup.config.gl-style-validate.ts

This file was deleted.

50 changes: 0 additions & 50 deletions rollup.config.style-spec.ts

This file was deleted.

Loading

0 comments on commit 2122263

Please sign in to comment.