Skip to content

Commit

Permalink
non-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Mar 4, 2024
1 parent 02af4ca commit 33ec5d1
Show file tree
Hide file tree
Showing 70 changed files with 2,188 additions and 13,466 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,39 @@ jobs:
- name: Run Tests
run: pnpm test

types-scenarios:
name: "Types: ${{ matrix.tsVersion }}"
runs-on: ubuntu-latest
needs: test

strategy:
matrix:
tsVersion:
- '~4.9'
- '~5.0'
- '~5.1'
- '~5.2'
- '~5.3'
- 'beta'
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Swap TS Version
run: pnpm add --save-dev typescript@${{ matrix.tsVersion }}
- name: Check Types
run: |
pnpm tsc -v
pnpm test:types
try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
Expand Down
15 changes: 7 additions & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Prettier is also run from each package, so the ignores here
# protect against files that may not be within a package
# unconventional js
/blueprints/*/files/

# misc
!.*
.lint-todo/
# compiled output
/dist/
/declarations/

# ember-try
/.node_modules.ember-try/
/pnpm-lock.ember-try.yaml
# misc
/coverage/
File renamed without changes.
21 changes: 0 additions & 21 deletions config/ember-cli-update.json

This file was deleted.

17 changes: 0 additions & 17 deletions ember-string/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions ember-string/.npmignore

This file was deleted.

9 changes: 0 additions & 9 deletions ember-string/.prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions ember-string/.prettierrc.cjs

This file was deleted.

77 changes: 0 additions & 77 deletions ember-string/package.json

This file was deleted.

Empty file.
91 changes: 71 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,83 @@
{
"private": true,
"name": "@ember/string",
"version": "3.1.1",
"description": "A set of utilities to transform strings",
"type": "module",
"repository": "https://github.com/emberjs/ember-string",
"license": "MIT",
"author": "",
"scripts": {
"build": "pnpm --filter @ember/string build",
"lint": "pnpm --filter '*' lint",
"lint:fix": "pnpm --filter '*' lint:fix",
"prepare": "pnpm build",
"start": "concurrently 'npm:start:*' --restart-after 5000 --prefix-colors cyan,white,yellow",
"start:addon": "pnpm --filter @ember/string start --no-watch.clearScreen",
"start:test-app": "pnpm --filter test-app start",
"test": "pnpm --filter '*' test",
"test:ember": "pnpm --filter '*' test:ember"
"exports": {
".": {
"types": "./declarations/index.d.ts",
"default": "./dist/index.js"
}
},
"volta": {
"node": "18.4.0"
"typesVersions": {
"*": {
"*": [
"declarations/*"
]
}
},
"engines": {
"node": "12.* || 14.* || >= 16"
"files": [
"dist",
"declarations",
"addon-main.cjs"
],
"scripts": {
"build": "concurrently 'npm:build:*'",
"build:js": "rollup --config",
"build:types": "tsc --declaration",
"lint": "pnpm build; concurrently 'npm:lint:*(!fix)' --names 'lint:'",
"lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"lint:types": "tsc --noEmit --emitDeclarationOnly false",
"lint:package": "publint",
"lint:published-types": "pnpm pack; attw; rm *.tgz",
"start": "concurrently 'npm:start:*'",
"start:js": "rollup --config --watch --no-watch.clearScreen",
"start:types": "tsc --declaration --watch",
"test": "vitest --run",
"test:types": "tsc --noEmit --project ./tests/type-tests/tsconfig.json",
"test:watch": "vitest",
"prepack": "rollup --config"
},
"pnpm": {
"overrides": {
"@types/eslint": "^7.0.0"
}
"dependencies": {
"decorator-transforms": "^1.0.1"
},
"devDependencies": {
"@babel/core": "^7.23.6",
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/runtime": "^7.17.0",
"@embroider/addon-dev": "^4.1.0",
"@tsconfig/ember": "^3.0.2",
"@types/ember__debug": "^4.0.7",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@rollup/plugin-babel": "^6.0.4",
"babel-plugin-ember-template-compilation": "^2.2.1",
"concurrently": "^8.2.2",
"ember-template-lint": "^5.13.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^11.12.0",
"eslint-plugin-n": "^16.4.0",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.1.1",
"prettier-plugin-ember-template-tag": "^1.1.0",
"@arethetypeswrong/cli": "^0.15.0",
"publint": "^0.2.7"
"publint": "^0.2.7",
"rollup": "^4.9.1",
"rollup-plugin-copy": "^3.5.0",
"vitest": "^0.18.0",
"typescript": "^5.3.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"volta": {
"node": "20.11.1",
"pnpm": "8.15.4"
}
}
Loading

0 comments on commit 33ec5d1

Please sign in to comment.