Skip to content

Commit

Permalink
Fixed version in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Sep 24, 2024
1 parent 2daa7d6 commit 3bd4068
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "datapackage.org",
"type": "module",
"version": "2.0-draft",
"version": "2.0",
"engines": {
"node": "^20.0.0",
"npm": "^10.0.0"
Expand All @@ -22,6 +22,7 @@
"@apidevtools/json-schema-ref-parser": "^11.6.4",
"@astrojs/markdown-remark": "^5.1.1",
"@astrojs/starlight": "^0.24.4",
"@npmcli/package-json": "^5.2.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
Expand Down
3 changes: 2 additions & 1 deletion profiles/build.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import JsonSchema from "@apidevtools/json-schema-ref-parser"
import { readPackage } from "@npmcli/package-json/lib/read-package.js"
import fs from "fs-extra"
import { glob } from "glob"
import yaml from "js-yaml"
import nodePath from "path"
import process from "process"

const VERSION = "2.0"
const VERSION = (await readPackage("./package.json")).version
const SOURCE_DIR = "profiles/source"
const TARGET_DIR = `profiles/target`
const VERSION_DIR = `${TARGET_DIR}/${VERSION}`
Expand Down

0 comments on commit 3bd4068

Please sign in to comment.