Skip to content

Releases: fortembr/pawn-markdown

v5.15.1-alpha.3: Restructure Setup Files

27 May 05:38
Compare
Choose a tag to compare

We swan dove in on this one. The below sections, referenced in v5.15.1-alpha.2, have been updated. Comments on what was completed is connected to each item.

The immediate need is to update the following:

  • npm run scripts
    Deleted all scripts and kept the following:
  "scripts": {
    "start:dev": "node build/dev-server.js",
    "build": "node build/build.js",
    "test:unit": "jest --config test/unit/jest.conf.js --runInBand",
    "test:unit:report": "jest --config test/unit/jest.conf.js --runInBand --coverage"
  },
  • eslint
    Deleted the eslint ignore file, and the eslint js file in favor of the eslint json file. New json file below strips out much of the custom stuff that was previously necessary. Stuff that can easily be found in the box.
{
  "extends": ["airbnb", "prettier", "plugin:node/recommended"],
  "plugins": ["prettier"],
  "rules": {
    "prettier/prettier": "error",
    "spaced-comment": "off",
    "no-console": "warn",
    "consistent-return": "off",
    "func-names": "off",
    "object-shorthand": "off",
    "no-process-exit": "off",
    "no-param-reassign": "off",
    "no-underscore-dangle": "off",
    "class-methods-use-this": "off",
    "node/no-unpublished-require": "off",
    "prefer-destructuring": ["error", { "object": true, "array": false }],
    "no-unused-vars": [
      "error",
      {
        "argsIgnorePattern": "req|res|next|val|err"
      }
    ]
  },
  "env": {
    "browser": true,
    "commonjs": true,
    "es6": true,
    "es2017": true,
    "es2020": true,
    "jquery": true,
    "node": true,
    "mocha": true
  }
}
  • prettier
    Formatting updated to cover JS. In a future version we will also attempt to use it for formatting the CSS files.

  • gulp
    Dropped all tasks. They were custom tasks based on deleted packages.

  • babel
    This was completely dropped from the project. We've taken the stance to only support modern browsers.

  • stylelint
    Delete stylelint config file as the packages were previously deleted.

  • editorconfig
    Deleted this config file. Since we are using ESLint and Prettier, there is no real need to use this anymore.

  • post css
    This is part of the vendor prefix package from autoprefixer. No change needed.

  • webpack
    Existing files deleted because we are migrating to Typescript, and everything will have to be re-written anyways.

  • docker

  • travis yaml
    These two sections haven't been touched yet. Honestly, our team doesn't yet know how to use Docker and YAML. We'll look into this further as the project progresses.

  • jest
    Our team has only worked with Mocha/Chai. Conducting a review to determine if we'll keep Jest or if we'll migrate this to Mocha.

v5.15.1-alpha.2: Removed Old Packages

27 May 04:31
Compare
Choose a tag to compare
Pre-release

Many of the packages used were outdated, not updated recently or have been deprecated. This first pass of updating to Node v16, and we've removed many packages. The app still doesn't startup without errors, but we are working to get the app operational on v16.

The immediate need is to update the following:
-npm run scripts
-eslint
-prettier
-gulp
-webpack
-jest
-babel
-stylelint
-editorconfig
-docker
-travis yaml
-post css

Once these are done, then we're hoping to get into the real fun. The app would have to run before we can begin the next phase, but it will likely be upgrading Vue correctly and migrating to Typescript. More to follow.

v5.15.1-alpha.1: Rebrand to Pawn Markdown

25 May 02:24
Compare
Choose a tag to compare

This release is specific to the rebranding from Stack Edit to Pawn Markdown (a.k.a. PawnMD). This decision was discussed in-depth, and we ultimately decided to rebrand this tool to distance ourselves from Stack Edit. The Stack Edit team did great things with this project, but they have since abandoned it.

Since, the editor still uses Node v12.x, we will need to upgrade this to the latest Node.js LTS. This will be a complex feat but completely worth it as new versions of tools have more features and capabilities. Another thing we're considering is a migration to TypeScript.

Part of this version includes updating our linter settings so that we can actually use the source project files. This is a process, but we'll get there.

Note: Our team uses NVM instead of Node to manage multiple projects with multiple Node.js versions. We recommend that you do the same and use the .nvmrc file to ensure that you're using the right Node version.

Update Node Version via NVM

nvm use

We'll keep the repo updated, but won't release a web version until we believe it's ready.

v5.15.0: Heroku Launch

23 May 20:47
Compare
Choose a tag to compare

The original Stack Edit repo was last edited on Mar 29, 2021. Our team made several attempts to reach out to the Stack Edit team, but we heard nothing back after months. We took it upon ourselves to pick up the Stack Edit helm and keep it going.

It will take awhile for us to get fully up to speed on how everything is structured and setup, but as we work through bugs, we'll learn more about it.

This release is specific to us hosting the product with Heroku. This includes changing the package.json name and version, the engines and devDependencies were moved to dependencies.

Note:
We'll be updating the branding in the next version, and afterwards we'll begin looking into issues.