Mirror of Steamdown (Markdown -> Steam Markup converter)
0

Configure Feed

Select the types of activity you want to include in your feed.

Set package versions to `1.0.0-beta.1`

authored by

Spenser Black and committed by
GitHub
(Nov 14, 2024, 2:09 AM UTC) c0aac7b5 ea397005

+32 -5
+1 -1
eslint.config.mjs
··· 4 4 5 5 export default [ 6 6 { files: ["**/*.{js,mjs,cjs,ts}"] }, 7 - { ignores: ["babel.config.js", "jest.config.js", "**/__tests__/", "**/dist/"] }, 7 + { ignores: ["babel.config.js", "jest.config.js", "scripts/*", "**/__tests__/", "**/dist/"] }, 8 8 pluginJs.configs.recommended, 9 9 ...tseslint.configs.recommended, 10 10 {
+1 -1
packages/cli/package.json
··· 1 1 { 2 2 "name": "@steamdown/cli", 3 - "version": "1.0.0", 3 + "version": "1.0.0-beta.1", 4 4 "author": "Spenser Black <spenserblack01@gmail.com>", 5 5 "license": "MIT", 6 6 "description": "A simple wrapper around the Steamdown parser/renderer for the command line.",
+1 -1
packages/html/package.json
··· 1 1 { 2 2 "name": "@steamdown/html", 3 - "version": "1.0.0", 3 + "version": "1.0.0-beta.1", 4 4 "author": "Spenser Black <spenserblack01@gmail.com>", 5 5 "license": "MIT", 6 6 "description": "Generate HTML from Steamdown",
+1 -1
packages/site/package.json
··· 1 1 { 2 2 "name": "@steamdown/site", 3 3 "private": true, 4 - "version": "0.0.0", 4 + "version": "1.0.0-beta.1", 5 5 "type": "module", 6 6 "scripts": { 7 7 "dev": "vite",
+1 -1
packages/steamdown/package.json
··· 1 1 { 2 2 "name": "@steamdown/core", 3 - "version": "1.0.0", 3 + "version": "1.0.0-beta.1", 4 4 "author": "Spenser Black <spenserblack01@gmail.com>", 5 5 "license": "MIT", 6 6 "description": "A Markdown-like language that renders to Steam's markup language.",
+27
scripts/version.cjs
··· 1 + #!/usr/bin/env node 2 + const fs = require("node:fs"); 3 + const path = require("node:path"); 4 + 5 + const root = path.resolve(__dirname, ".."); 6 + 7 + const run = () => { 8 + const version = process.argv[2]; 9 + 10 + if (!version) { 11 + console.error(`usage: node ${__filename} <version>`); 12 + return 1; 13 + } 14 + 15 + const packages = path.resolve(root, "packages"); 16 + 17 + fs.readdirSync(packages).forEach((pkg) => { 18 + const manifest = path.resolve(packages, pkg, "package.json"); 19 + const data = JSON.parse(fs.readFileSync(manifest, "utf8")); 20 + data.version = version; 21 + fs.writeFileSync(manifest, JSON.stringify(data, null, 2) + "\n"); 22 + }); 23 + 24 + return 0; 25 + }; 26 + 27 + process.exit(run());