Skip to content

Commit

Permalink
Merge pull request #10 from hotwired/update-package
Browse files Browse the repository at this point in the history
Update package for publishing
  • Loading branch information
dhh authored Sep 19, 2023
2 parents c621d4b + afa73f4 commit 45d4035
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 215 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
build
node_modules
/build
/dist
/node_modules
*.log
package-lock.json
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2022 37signals, LLC
Copyright (c) 2023 37signals LLC

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion bin/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const esbuild = require("esbuild")
const package = require("../package.json")
const year = new Date().getFullYear()
const banner = `/*\nStrada ${package.version}\nCopyright © ${year} 37signals, LLC\n*/`
const banner = `/*\nStrada ${package.version}\nCopyright © ${year} 37signals LLC\n*/`

const options = {
entryPoints: ["src/index.js"],
Expand Down
205 changes: 0 additions & 205 deletions dist/strada.js

This file was deleted.

30 changes: 24 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
{
"name": "@hotwired/strada",
"version": "0.9.3",
"version": "1.0.0-beta1",
"description": "Create fully native controls, driven by your web app.",
"main": "dist/strada.js",
"files": [
"dist"
"dist/*.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hotwired/strada-web.git"
},
"keywords": [
"hotwire",
"strada"
],
"author": "37signals LLC",
"contributors": [
"Jay Ohms <jay@37signals.com>"
],
"repository": "git://github.com/hotwired/strada-web.git",
"author": "37signals, LLC",
"license": "MIT",
"bugs": {
"url": "https://github.com/hotwired/strada-web/issues"
},
"homepage": "https://strada.hotwired.dev",
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rm -rf build/* dist/*",
"prebuild": "npm run clean",
"build": "bin/build.js"
"build": "bin/build.js",
"release": "yarn build && npm publish"
},
"devDependencies": {
"esbuild": "^0.17.16"
Expand Down

0 comments on commit 45d4035

Please sign in to comment.